import type { Query } from './Query'; import type { PromotionCampaignAssignment } from './PromotionCampaignAssignment'; import type { Sort } from './Sort'; /** * @type PromotionCampaignAssignmentSearchResult: Document representing a promotion campaign assignment search result. * * @property hits: The sorted array of campaign search hits. Can be empty. * * @property query: * * @property sorts: The sorting that was applied to the result. * * @property offset: The zero-based index of the first hit/data to include in the result. * * @property limit: Maximum records to retrieve per request. The limit with its constraints (minimum, maximum, default) is defined by the request parameter `limit` of the endpoint returning this schema. * * @property total: The total number of hits that match the search\'s criteria. This can be greater than the number of results returned as search results are pagenated. * */ export type PromotionCampaignAssignmentSearchResult = { hits: Array; query: Query; sorts?: Array; offset: number; limit: number; total: number; } & { [key: string]: any; };