mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-24 14:17:47 -06:00
feat: adiciona a funcionalidade de fake call
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user