feat: adiciona a funcionalidade de fake call

This commit is contained in:
Felipe Medeiros
2024-10-07 01:13:02 -03:00
parent d7ddb99fb0
commit b80b203670
8 changed files with 60 additions and 1 deletions

View File

@@ -54,6 +54,17 @@ const quotedOptionsSchema: JSONSchema7 = {
},
};
export const offerCallSchema: JSONSchema7 = {
$id: v4(),
type: 'object',
properties: {
number: { ...numberDefinition },
isVideo: { type: 'boolean', enum: [true, false] },
callDuration: { type: 'integer', minimum: 1, maximum: 15 },
},
required: ['number', 'callDuration'],
};
export const textMessageSchema: JSONSchema7 = {
$id: v4(),
type: 'object',