feat: Sending template approval status webhook

This commit is contained in:
Davidson Gomes
2024-07-25 19:38:34 -03:00
parent 31cb83a40c
commit 0bb2b92853
11 changed files with 81 additions and 7 deletions

View File

@@ -29,6 +29,7 @@ export const templateSchema: JSONSchema7 = {
allowCategoryChange: { type: 'boolean' },
language: { type: 'string' },
components: { type: 'array' },
webhookUrl: { type: 'string' },
},
required: ['name', 'category', 'language', 'components'],
...isNotEmpty('name', 'category', 'language', 'components'),