mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-27 07:37:44 -06:00
22 lines
411 B
TypeScript
22 lines
411 B
TypeScript
export class TemplateDto {
|
|
name: string;
|
|
category: string;
|
|
allowCategoryChange: boolean;
|
|
language: string;
|
|
components: any;
|
|
webhookUrl?: string;
|
|
}
|
|
|
|
export class TemplateEditDto {
|
|
templateId: string;
|
|
category?: 'AUTHENTICATION' | 'MARKETING' | 'UTILITY';
|
|
allowCategoryChange?: boolean;
|
|
ttl?: number;
|
|
components?: any;
|
|
}
|
|
|
|
export class TemplateDeleteDto {
|
|
name: string;
|
|
hsmId?: string;
|
|
}
|