hunk.code_window:   @IsString()
     contentType: MessageTemplateContentType;
     @IsDefined()
     payload: any; // eslint-disable-line @typescript-eslint/no-explicit-any
   }
hunk.labels: keep keep keep keep add keep
hunk.after_edit:   @IsString()
     subject: string;
  
hunk.file_path: apps/api/src/app/content-templates/usecases/parse-preview/preview-email.command.ts
hunk.type: add
file: import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
  import { ChannelTypeEnum } from '@novu/shared';
  
  export class ActivitiesRequestDto {
    @ApiProperty({
      enum: ChannelTypeEnum,
      isArray: true,
    })
    channels: ChannelTypeEnum[] | ChannelTypeEnum;
    @ApiProperty({
      type: String,
      isArray: true,
    })
    @ApiProperty()
    templates: string[] | string;
    @ApiProperty({
      type: String,
      isArray: true,
    })
    @ApiProperty()
    emails: string | string[];
    @ApiProperty({
      type: String,
    })
    @ApiProperty()
    search: string;
    @ApiPropertyOptional({
      type: Number,
      required: false,
    })
    page?: number = 0;
  
    @ApiPropertyOptional({
      type: String,
      required: false,
    })
    transactionId: string;
  }
  