hunk.code_window:   public createWorker(
       name: string,
       processor?: string | Processor<any, any, any>,
       options?: any
     ) {
       // eslint-disable-next-line @typescript-eslint/naming-convention
       const WorkerClass = !BullmqService.pro
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:     options?: WorkerOptions
  
hunk.file_path: packages/application-generic/src/services/bull-mq.service.ts
hunk.type: replace
file: import { IsDefined, IsEnum, IsMongoId, IsOptional, IsString } from 'class-validator';
  import { LogCodeEnum, LogStatusEnum, TopicId } from '@novu/shared';
  import { EnvironmentWithUserCommand } from '../../../shared/commands/project.command';
  
  export class CreateLogCommand extends EnvironmentWithUserCommand {
    @IsDefined()
    @IsString()
    transactionId: string;
  
    @IsOptional()
    @IsMongoId()
    notificationId?: string;
  
    @IsOptional()
    @IsMongoId()
    messageId?: string;
  
    @IsOptional()
    @IsMongoId()
    templateId?: string;
  
    @IsOptional()
    @IsMongoId()
    subscriberId?: string;
  
    @IsOptional()
    @IsMongoId()
    topicId?: TopicId;
  
    @IsOptional()
    @IsEnum(LogStatusEnum)
    status: LogStatusEnum;
  
    @IsString()
    text: string;
  
    @IsOptional()
    @IsEnum(LogCodeEnum)
    code?: LogCodeEnum;
  
    @IsOptional()
    raw?: any; // eslint-disable-line @typescript-eslint/no-explicit-any
  }
  