Merge branch 'develop' of github.com:EvolutionAPI/evolution-api into develop

This commit is contained in:
Davidson Gomes
2025-02-10 12:53:06 -03:00
19 changed files with 159 additions and 84 deletions

View File

@@ -0,0 +1,17 @@
import { JSONSchema7 } from 'json-schema';
export const catalogSchema: JSONSchema7 = {
type: 'object',
properties: {
number: { type: 'string' },
limit: { type: 'number' },
},
};
export const collectionsSchema: JSONSchema7 = {
type: 'object',
properties: {
number: { type: 'string' },
limit: { type: 'number' },
},
};

View File

@@ -315,21 +315,3 @@ export const profileSchema: JSONSchema7 = {
isBusiness: { type: 'boolean' },
},
};
export const catalogSchema: JSONSchema7 = {
type: 'object',
properties: {
number: { type: 'string' },
limit: { type: 'number' },
cursor: { type: 'string' },
},
};
export const collectionsSchema: JSONSchema7 = {
type: 'object',
properties: {
number: { type: 'string' },
limit: { type: 'number' },
cursor: { type: 'string' },
},
};

View File

@@ -1,4 +1,5 @@
// Integrations Schema
export * from './business.schema';
export * from './chat.schema';
export * from './group.schema';
export * from './instance.schema';