Added Typebot integration

This commit is contained in:
Davidson Gomes
2023-08-04 15:00:55 -03:00
parent 84386847e2
commit 3b3118d764
13 changed files with 648 additions and 2 deletions

View File

@@ -974,3 +974,16 @@ export const rabbitmqSchema: JSONSchema7 = {
required: ['enabled'],
...isNotEmpty('enabled'),
};
export const typebotSchema: JSONSchema7 = {
$id: v4(),
type: 'object',
properties: {
enabled: { type: 'boolean', enum: [true, false] },
url: { type: 'string' },
typebot: { type: 'string' },
expire: { type: 'integer' },
},
required: ['enabled', 'url', 'typebot', 'expire'],
...isNotEmpty('enabled', 'url', 'typebot', 'expire'),
};