Type Alias EmailTemplate

EmailTemplate: {
    EMAIL_TEMPLATE_TYPE: string;
    createEmailTemplate(
        templateId: string,
        templateData: EmailTemplateSkeleton,
    ): Promise<EmailTemplateSkeleton>;
    createEmailTemplateExportTemplate(): EmailTemplateExportInterface;
    deleteEmailTemplate(templateId: string): Promise<EmailTemplateSkeleton>;
    deleteEmailTemplates(): Promise<EmailTemplateSkeleton[]>;
    exportEmailTemplates(): Promise<EmailTemplateExportInterface>;
    getEmailTemplate(templateId: string): Promise<EmailTemplateSkeleton>;
    getEmailTemplates(): Promise<EmailTemplateSkeleton[]>;
    importEmailTemplates(
        importData: EmailTemplateExportInterface,
    ): Promise<EmailTemplateSkeleton[]>;
    putEmailTemplate(
        templateId: string,
        templateData: EmailTemplateSkeleton,
    ): Promise<EmailTemplateSkeleton>;
    readEmailTemplate(templateId: string): Promise<EmailTemplateSkeleton>;
    readEmailTemplates(): Promise<EmailTemplateSkeleton[]>;
    updateEmailTemplate(
        templateId: string,
        templateData: EmailTemplateSkeleton,
    ): Promise<EmailTemplateSkeleton>;
}

Type declaration