feat(template): add edit/delete endpoints, DTOs and validation"

This commit is contained in:
ricael
2025-10-30 16:28:53 -03:00
parent c555048783
commit a95c843e77
9 changed files with 233 additions and 1 deletions

View File

@@ -6,3 +6,16 @@ export class TemplateDto {
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;
}

View File

View File