/** * Selling Partner API for Listings Restrictions * The Selling Partner API for Listings Restrictions provides programmatic access to restrictions on Amazon catalog listings. For more information, see the [Listings Restrictions API Use Case Guide](doc:listings-restrictions-api-v2021-08-01-use-case-guide). * * The version of the OpenAPI document: 2021-08-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 { ApiClient } from '../ApiClient.js'; import { RestrictionList } from '../model/RestrictionList.js'; /** * Listings service. * @module listingsrestrictions_v2021_08_01/api/ListingsApi * @version 2021-08-01 */ export declare class ListingsApi { #private; apiClient: any; /** * Constructs a new ListingsApi. * @alias module:listingsrestrictions_v2021_08_01/api/ListingsApi * @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 listing restrictions for an item in the Amazon Catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} asin The Amazon Standard Identification Number (ASIN) of the item. * @param {String} sellerId A selling partner identifier, such as a merchant account. * @param {String[]} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. * @param {Object} [opts] Optional parameters * @param {String} [opts.conditionType] The condition used to filter restrictions. * @param {String} [opts.reasonLocale] A locale for reason text localization. When not provided, the default language code of the first marketplace is used. Examples: \"en_US\", \"fr_CA\", \"fr_FR\". Localized messages default to \"en_US\" when a localization is not available in the specified locale. * @param {String} [opts.productType] The product type of the item. When provided with the brand name, the API evaluates GTIN exemption restrictions in addition to brand restrictions for the specified product type. * @return {Promise} */ getListingsRestrictionsWithHttpInfo(asin: string, sellerId: string, marketplaceIds: string[], opts?: { conditionType?: string; reasonLocale?: string; productType?: string; }): Promise; /** * Returns listing restrictions for an item in the Amazon Catalog. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api). * @param {String} asin The Amazon Standard Identification Number (ASIN) of the item. * @param {String} sellerId A selling partner identifier, such as a merchant account. * @param {String[]} marketplaceIds A comma-delimited list of Amazon marketplace identifiers for the request. * @param {Object} [opts] Optional parameters * @param {String} [opts.conditionType] The condition used to filter restrictions. * @param {String} [opts.reasonLocale] A locale for reason text localization. When not provided, the default language code of the first marketplace is used. Examples: \"en_US\", \"fr_CA\", \"fr_FR\". Localized messages default to \"en_US\" when a localization is not available in the specified locale. * @param {String} [opts.productType] The product type of the item. When provided with the brand name, the API evaluates GTIN exemption restrictions in addition to brand restrictions for the specified product type. * @return {Promise} */ getListingsRestrictions(asin: string, sellerId: string, marketplaceIds: string[], opts?: { conditionType?: string; reasonLocale?: string; productType?: string; }): Promise; } //# sourceMappingURL=ListingsApi.d.ts.map