Added Typebot integration

This commit is contained in:
Davidson Gomes
2023-08-18 12:24:05 -03:00
parent 0d16a7aab0
commit dd2caf720c
4 changed files with 82 additions and 2 deletions

View File

@@ -1001,6 +1001,18 @@ export const typebotStatusSchema: JSONSchema7 = {
...isNotEmpty('remoteJid', 'status'),
};
export const typebotStartSchema: JSONSchema7 = {
$id: v4(),
type: 'object',
properties: {
remoteJid: { type: 'string' },
url: { type: 'string' },
typebot: { type: 'string' },
},
required: ['remoteJid', 'url', 'typebot'],
...isNotEmpty('remoteJid', 'url', 'typebot'),
};
export const proxySchema: JSONSchema7 = {
$id: v4(),
type: 'object',