/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import * as zod from 'zod'; export const SpacesArticlesSearchQueryParams = zod.object({ size: zod .number() .optional() .describe('Size count of records on result page. limit = (size++)'), page: zod .number() .optional() .describe('Page number of result dataset records. offset = (page*size)'), sort: zod .array(zod.string()) .optional() .describe('Sort the result according to fields.'), q: zod .string() .optional() .describe( 'Search term: location name;\n`?` - matches any one character\n`*` - matches 0 or more characters', ), state: zod.boolean().optional().describe('Active Article only.'), tags: zod .array(zod.string()) .optional() .describe('Tags associated with the article.'), }); export const SpacesArticlesSearchResponse = zod.object({ data: zod .array( zod.object({ id: zod.string().optional(), name: zod.string().optional(), type: zod.string().optional(), }), ) .optional(), next: zod.boolean().optional(), page: zod .number() .optional() .describe('The page number of the partial result.'), });