import type { Query } from './Query'; import type { Sort } from './Sort'; /** * @type UnassignedProductSearchRequest: Document representing an unassigned product search request. This search finds products that are not assigned to a specific category within a catalog. * * @property catalogId: The ID of the catalog to which the specified category belongs. * - **Min Length:** 1 * - **Max Length:** 256 * * @property categoryId: The ID of the category to which products are not assigned. * - **Min Length:** 1 * - **Max Length:** 256 * * @property limit: Maximum records to retrieve per request, not to exceed 200. * * @property query: * * @property sorts: The list of sort clauses configured for the search request. Sort clauses are optional. See the description of the search endpoint for details on the default sorting behavior that is used when explicit sorts are not passed. * * @property offset: The zero-based index of the first hit/data to include in the result. * */ export type UnassignedProductSearchRequest = { catalogId: string; categoryId: string; limit?: number; query: Query; sorts?: Array; offset?: number; } & { [key: string]: any; };