feat: Add support to get Catalogs and Collections with new routes: '{{baseUrl}}/chat/fetchCatalogs' and '{{baseUrl}}/chat/fetchCollections'

This commit is contained in:
Wayre Avelar
2025-02-04 03:51:47 -03:00
parent 427c994993
commit e27db0612f
5 changed files with 182 additions and 0 deletions

View File

@@ -315,3 +315,21 @@ 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' },
},
};