/** * The Selling Partner API for Promotions * The Selling Partner API for Promotions enables selling partners to create and manage promotions. * * The version of the OpenAPI document: 2025-12-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { PromotionSummary } from './PromotionSummary.js'; /** * The SearchPromotionsResponse model module. * @module promotions_v2025_12_01/model/SearchPromotionsResponse * @version 2025-12-01 */ export declare class SearchPromotionsResponse { totalResults: number; promotions: PromotionSummary[]; /** * Constructs a new SearchPromotionsResponse. * The response schema for the `searchPromotions` operation. **Note:** The `selectionDetails` field is not present in the selection object within promotion summaries. * @alias module:promotions_v2025_12_01/model/SearchPromotionsResponse * @class * @param totalResults {Number} The total number of promotions matching the search criteria, across all pages. This count remains consistent across paginated requests. **Note:** In rare cases, individual records cannot be returned and are omitted from the response. When this happens, a page may contain fewer items than expected, and the combined number of items across all pages may be less than `totalResults`. The request itself still completes successfully. * @param promotions {PromotionSummary[]} A list of promotion summaries that matches the search criteria. */ constructor(totalResults: number, promotions: PromotionSummary[]); /** * Constructs a SearchPromotionsResponse from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {SearchPromotionsResponse} obj Optional instance to populate. * @return {SearchPromotionsResponse} The populated SearchPromotionsResponse instance. */ static constructFromObject(data: Object, obj: SearchPromotionsResponse): SearchPromotionsResponse; } //# sourceMappingURL=SearchPromotionsResponse.d.ts.map