hunk.code_window:       transactionId: command.transactionId,
         directChannelId,
         content,
       });
       const integration = await this.integrationRepository.findOne({
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit:       providerId: subscriberChannel.providerId,
  
hunk.file_path: apps/api/src/app/events/usecases/send-message/send-message-direct.usecase.ts
hunk.type: add
file: import { ChannelCTATypeEnum, ChannelTypeEnum } from './channel.enum';
  
  export interface IEmailBlock {
    subject?: string;
    type: 'text' | 'button';
    content: string;
    url?: string;
    styles?: {
      textDirection?: 'ltr' | 'rtl';
    };
  }
  
  export interface IMessageTemplate {
    _id?: string;
    subject?: string;
    name?: string;
    type: ChannelTypeEnum;
    contentType?: 'editor' | 'customHtml';
    content: string | IEmailBlock[];
    cta?: {
      type: ChannelCTATypeEnum;
      // eslint-disable-next-line @typescript-eslint/no-explicit-any
      data: any;
    };
    active?: boolean;
  }
  