message-template.dto.d.ts 637 B

1234567891011121314151617181920
  1. import { MessageTemplateContentType } from '../../entities/message-template';
  2. import { IMessageCTA } from '../../entities/messages';
  3. import { ActorTypeEnum, ChannelCTATypeEnum, IEmailBlock, StepTypeEnum } from '../../types';
  4. export declare class ChannelCTADto {
  5. type: ChannelCTATypeEnum;
  6. data: {
  7. url: string;
  8. };
  9. }
  10. export declare class MessageTemplateDto {
  11. type: StepTypeEnum;
  12. content: string | IEmailBlock[];
  13. contentType?: MessageTemplateContentType;
  14. cta?: IMessageCTA;
  15. actor?: {
  16. type: ActorTypeEnum;
  17. data: string | null;
  18. };
  19. }
  20. //# sourceMappingURL=message-template.dto.d.ts.map