hunk.code_window: export interface IMessageTemplate {
     _id?: string;
     subject?: string;
     name?: string;
     type: StepTypeEnum;
     contentType?: MessageTemplateContentType;
     content: string | IEmailBlock[];
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:   title?: string;
  
hunk.file_path: libs/shared/src/entities/message-template/message-template.interface.ts
hunk.type: add
file: import { ExecutionDetailsStatusEnum, StepTypeEnum } from '@novu/shared';
  import { MantineTheme } from '@mantine/core';
  import { colors } from '../../design-system';
  import {
    Chat,
    Check,
    CheckCircle,
    Clicked,
    Digest,
    ErrorIcon,
    InApp,
    Mail,
    Read,
    Received,
    Seen,
    Sent,
    Sms,
    Timer,
  } from '../../design-system/icons';
  import { WarningIcon } from '../../design-system/icons/general/WarningIcon';
  
  export const getColorByStatus = (theme: MantineTheme, status: ExecutionDetailsStatusEnum): string => {
    if (status === ExecutionDetailsStatusEnum.FAILED) {
      return colors.error;
    }
  
    if (status === ExecutionDetailsStatusEnum.SUCCESS) {
      return colors.success;
    }
  
    return theme.colorScheme === 'dark' ? colors.B60 : colors.B40;
  };
  
  export const getLogoByStatus = (
    status: ExecutionDetailsStatusEnum
  ): React.FunctionComponent<React.ComponentPropsWithoutRef<'svg'>> => {
    switch (status) {
      case ExecutionDetailsStatusEnum.SUCCESS:
        return CheckCircle;
      case ExecutionDetailsStatusEnum.WARNING:
        return WarningIcon;
      case ExecutionDetailsStatusEnum.FAILED:
        return ErrorIcon;
      default:
        return Check;
    }
  };
  
  export const getLogoByType = (
    type: StepTypeEnum
  ): React.FunctionComponent<React.ComponentPropsWithoutRef<'svg'>> | null => {
    if (type === StepTypeEnum.DELAY) {
      return Timer;
    }
  
    if (type === StepTypeEnum.DIGEST) {
      return Digest;
    }
  
    if (type === StepTypeEnum.EMAIL) {
      return Mail;
    }
  
    if (type === StepTypeEnum.SMS) {
      return Sms;
    }
  
    if (type === StepTypeEnum.IN_APP) {
      return InApp;
    }
  
    if (type === StepTypeEnum.CHAT) {
      return Chat;
    }
  
    return null;
  };
  
  export const mappedWebhookStatuses = {
    sent: { label: 'Sent', icon: Sent, status: ['processed'] },
    received: { label: 'Received', icon: Received, status: ['delivered'] },
    read: { label: 'Read', icon: Read, status: [] },
    seen: { label: 'Seen', icon: Seen, status: ['open'] },
    clicked: { label: 'Clicked', icon: Clicked, status: ['click'] },
  };
  