import type { Promotion } from './Promotion'; /** * @type PromotionResult: Result document containing an array of promotions. * * @property data: The array of promotion documents. * * @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 PromotionResult = { data: Array; limit: number; total: number; } & { [key: string]: any; };