hunk.code_window:         credentials: encryptCredentials(command.credentials ?? {}),
           active: command.active,
         };
         const isActiveAndChannelSupportsPrimary = command.active && CHANNELS_WITH_PRIMARY.includes(command.channel);
         if (isMultiProviderConfigurationEnabled && isActiveAndChannelSupportsPrimary) {
           await this.disableNovuIntegration.execute({
             channel: command.channel,
             providerId: command.providerId,
             environmentId: command.environmentId,
             organizationId: command.organizationId,
             userId: command.userId,
           });
  
hunk.labels: keep keep keep keep keep replace replace replace replace replace replace replace replace keep
hunk.file_path: apps/api/src/app/integrations/usecases/create-integration/create-integration.usecase.ts
hunk.type: replace
file: import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
  import {
    EnvironmentId,
    OrganizationId,
    ChannelTypeEnum,
    ITemplateVariable,
    LayoutDescription,
    LayoutId,
    LayoutName,
    LayoutIdentifier,
    UserId,
  } from '@novu/dal';
  
  export class LayoutDto {
    @ApiPropertyOptional()
    _id?: LayoutId;
  
    @ApiProperty()
    _organizationId: OrganizationId;
  
    @ApiProperty()
    _environmentId: EnvironmentId;
  
    @ApiProperty()
    _creatorId: UserId;
  
    @ApiProperty()
    name: LayoutName;
  
    @ApiProperty()
    identifier: LayoutIdentifier;
  
    @ApiProperty()
    description?: LayoutDescription;
  
    @ApiProperty()
    channel: ChannelTypeEnum;
  
    @ApiProperty()
    content: string;
  
    @ApiProperty()
    contentType: string;
  
    @ApiPropertyOptional()
    variables?: ITemplateVariable[];
  
    @ApiProperty()
    isDefault: boolean;
  
    @ApiProperty()
    isDeleted: boolean;
  
    @ApiPropertyOptional()
    createdAt?: string;
  
    @ApiPropertyOptional()
    updatedAt?: string;
  
    @ApiPropertyOptional()
    _parentId?: string;
  }
  