hunk.code_window: import { CreateLog } from '../../../logs/usecases/create-log/create-log.usecase';
   import { CreateLogCommand } from '../../../logs/usecases/create-log/create-log.command';
   import { SendMessageCommand } from './send-message.command';
   import * as Sentry from '@sentry/node';
   import { CreateExecutionDetails } from '../../../execution-details/usecases/create-execution-details/create-execution-details.usecase';
   import { CreateExecutionDetailsCommand } from '../../../execution-details/usecases/create-execution-details/create-execution-details.command';
   export abstract class SendMessageType {
     protected constructor(
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.file_path: apps/api/src/app/events/usecases/send-message/send-message-type.usecase.ts
hunk.type: replace
file: import { IsEmail, IsEnum, IsNotEmpty } from 'class-validator';
  import { MemberRoleEnum } from '@novu/shared';
  
  export class InviteMemberDto {
    @IsEmail()
    @IsNotEmpty()
    email: string;
  
    @IsEnum(MemberRoleEnum)
    role: MemberRoleEnum;
  }
  