import { ParamsDTO } from './common' import { Attr } from 'ts-framework' export interface EmailDTO { from: string, to: string, templateId: string, templateName: string, params: ParamsDTO } export class EmailParamsDTO { password?: string recipientEmail: string recipientName?: string redirectUrl: string roles?: string[] senderName?: string type: string } export class PasswordRecoveryDTO { @Attr({ type: String }) recipientEmail: string @Attr({ type: String }) recipientName: string @Attr({ type: String }) redirectUrl: string @Attr({ type: String }) recipientUsername: string @Attr({ type: String }) homeUrl: string @Attr({ type: String }) logoUrl: string }