/** * Selling Partner API for Replenishment * The Selling Partner API for Replenishment (Replenishment API) provides programmatic access to replenishment program metrics and offers. These programs provide recurring delivery of any replenishable item at a frequency chosen by the customer. The Replenishment API is available worldwide wherever Amazon Subscribe & Save is available or is supported. The API is available to vendors and FBA selling partners. * * The version of the OpenAPI document: 2022-11-07 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { ApiClient } from '../ApiClient.js'; import { ListOfferMetricsRequest } from '../model/ListOfferMetricsRequest.js'; import { ListOfferMetricsResponse } from '../model/ListOfferMetricsResponse.js'; import { ListOffersRequest } from '../model/ListOffersRequest.js'; import { ListOffersResponse } from '../model/ListOffersResponse.js'; /** * Offers service. * @module replenishment_v2022_11_07/api/OffersApi * @version 2022-11-07 */ export declare class OffersApi { #private; apiClient: any; /** * Constructs a new OffersApi. * @alias module:replenishment_v2022_11_07/api/OffersApi * @class * @param {ApiClient} [apiClient] Optional API client implementation to use, * default to {@link ApiClient#instance} if unspecified. */ constructor(apiClient?: ApiClient); /** * Initialize rate limiters for API operations */ initializeDefaultRateLimiterMap(): void; /** * Get rate limiter for a specific operation * @param {String} operation name */ getRateLimiter(operation: string): any; /** * Returns aggregated replenishment program metrics for a selling partner's offers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {Object} [opts] Optional parameters * @param {ListOfferMetricsRequest} [opts.body] The request body for the `listOfferMetrics` operation. * @return {Promise} */ listOfferMetricsWithHttpInfo(opts?: { body?: ListOfferMetricsRequest; }): Promise; /** * Returns aggregated replenishment program metrics for a selling partner's offers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {Object} [opts] Optional parameters * @param {ListOfferMetricsRequest} [opts.body] The request body for the `listOfferMetrics` operation. * @return {Promise} */ listOfferMetrics(opts?: { body?: ListOfferMetricsRequest; }): Promise; /** * Returns the details of a selling partner's replenishment program offers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {Object} [opts] Optional parameters * @param {ListOffersRequest} [opts.body] The request body for the `listOffers` operation. * @return {Promise} */ listOffersWithHttpInfo(opts?: { body?: ListOffersRequest; }): Promise; /** * Returns the details of a selling partner's replenishment program offers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). * @param {Object} [opts] Optional parameters * @param {ListOffersRequest} [opts.body] The request body for the `listOffers` operation. * @return {Promise} */ listOffers(opts?: { body?: ListOffersRequest; }): Promise; } //# sourceMappingURL=OffersApi.d.ts.map