/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ export type ListCatalogsParams = { /** * Page number for pagination */ page?: number; /** * Number of records per page */ size?: number; /** * Fields to be retrieved as a result. * If the user passes "-" as the value for fields, * it will retrieve all available fields for each catalog. */ fields?: string[]; /** * Sorting options by fields */ sort?: string; /** * List of IDs to filter the catalogs */ id?: string[]; /** * Search query string for filtering by name. Supports: * - Wildcards (*) for substring matching * - Placeholder (?) for single character substitution * - Exact match for full names */ query?: string; /** * Filter by state (true for active, false for inactive) */ state?: boolean; /** * Filter by the depth of the hierarchy to retrieve services. * The depth indicates how many ancestor levels of services * will be included for each catalog. * - A depth of 0 includes only the direct catalog. * - A depth of 1 includes the catalog and its immediate services. * - By default the depth is limited by 3, * meaning all nested services and sub-services will be included. */ depth?: string; /** * Fields to be retrieved as a result for [SUBSERVICES]. * If the user passes "-" as the value for fields, * it will retrieve all available fields for each catalog subservices. */ subFields?: string[]; /** * Filter catalogs with subservices */ hasSubservices?: boolean; };