@sp-api-sdk/product-pricing-api-v0 1.10.3 → 1.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/cjs/src/api-model/api/product-pricing-api.js +136 -20
  2. package/dist/cjs/src/api-model/models/batch-offers-request-params.js +15 -0
  3. package/dist/cjs/src/api-model/models/batch-offers-response.js +15 -0
  4. package/dist/cjs/src/api-model/models/batch-request.js +15 -0
  5. package/dist/cjs/src/api-model/models/condition-type.js +7 -8
  6. package/dist/cjs/src/api-model/models/customer-type.js +25 -0
  7. package/dist/cjs/src/api-model/models/detailed-shipping-time-type.js +5 -10
  8. package/dist/cjs/src/api-model/models/errors.js +15 -0
  9. package/dist/cjs/src/api-model/models/fulfillment-channel-type.js +4 -5
  10. package/dist/cjs/src/api-model/models/get-item-offers-batch-request.js +15 -0
  11. package/dist/cjs/src/api-model/models/get-item-offers-batch-response.js +15 -0
  12. package/dist/cjs/src/api-model/models/get-listing-offers-batch-request.js +15 -0
  13. package/dist/cjs/src/api-model/models/get-listing-offers-batch-response.js +15 -0
  14. package/dist/cjs/src/api-model/models/get-offers-http-status-line.js +15 -0
  15. package/dist/cjs/src/api-model/models/http-method.js +28 -0
  16. package/dist/cjs/src/api-model/models/http-response-headers.js +15 -0
  17. package/dist/cjs/src/api-model/models/index.js +23 -0
  18. package/dist/cjs/src/api-model/models/item-condition.js +28 -0
  19. package/dist/cjs/src/api-model/models/item-offers-request-params-all-of.js +15 -0
  20. package/dist/cjs/src/api-model/models/item-offers-request-params.js +15 -0
  21. package/dist/cjs/src/api-model/models/item-offers-request.js +15 -0
  22. package/dist/cjs/src/api-model/models/item-offers-response-all-of.js +15 -0
  23. package/dist/cjs/src/api-model/models/item-offers-response.js +15 -0
  24. package/dist/cjs/src/api-model/models/listing-offers-request-params-all-of.js +15 -0
  25. package/dist/cjs/src/api-model/models/listing-offers-request-params.js +15 -0
  26. package/dist/cjs/src/api-model/models/listing-offers-request.js +15 -0
  27. package/dist/cjs/src/api-model/models/listing-offers-response-all-of.js +15 -0
  28. package/dist/cjs/src/api-model/models/listing-offers-response.js +15 -0
  29. package/dist/cjs/src/api-model/models/offer-customer-type.js +4 -5
  30. package/dist/cjs/src/api-model/models/quantity-discount-type.js +3 -4
  31. package/dist/cjs/src/client.js +14 -0
  32. package/dist/es/src/api-model/api/product-pricing-api.js +137 -21
  33. package/dist/es/src/api-model/models/batch-offers-request-params.js +14 -0
  34. package/dist/es/src/api-model/models/batch-offers-response.js +14 -0
  35. package/dist/es/src/api-model/models/batch-request.js +14 -0
  36. package/dist/es/src/api-model/models/condition-type.js +7 -8
  37. package/dist/es/src/api-model/models/customer-type.js +22 -0
  38. package/dist/es/src/api-model/models/detailed-shipping-time-type.js +5 -10
  39. package/dist/es/src/api-model/models/errors.js +14 -0
  40. package/dist/es/src/api-model/models/fulfillment-channel-type.js +4 -5
  41. package/dist/es/src/api-model/models/get-item-offers-batch-request.js +14 -0
  42. package/dist/es/src/api-model/models/get-item-offers-batch-response.js +14 -0
  43. package/dist/es/src/api-model/models/get-listing-offers-batch-request.js +14 -0
  44. package/dist/es/src/api-model/models/get-listing-offers-batch-response.js +14 -0
  45. package/dist/es/src/api-model/models/get-offers-http-status-line.js +14 -0
  46. package/dist/es/src/api-model/models/http-method.js +25 -0
  47. package/dist/es/src/api-model/models/http-response-headers.js +14 -0
  48. package/dist/es/src/api-model/models/index.js +23 -0
  49. package/dist/es/src/api-model/models/item-condition.js +25 -0
  50. package/dist/es/src/api-model/models/item-offers-request-params-all-of.js +14 -0
  51. package/dist/es/src/api-model/models/item-offers-request-params.js +14 -0
  52. package/dist/es/src/api-model/models/item-offers-request.js +14 -0
  53. package/dist/es/src/api-model/models/item-offers-response-all-of.js +14 -0
  54. package/dist/es/src/api-model/models/item-offers-response.js +14 -0
  55. package/dist/es/src/api-model/models/listing-offers-request-params-all-of.js +14 -0
  56. package/dist/es/src/api-model/models/listing-offers-request-params.js +14 -0
  57. package/dist/es/src/api-model/models/listing-offers-request.js +14 -0
  58. package/dist/es/src/api-model/models/listing-offers-response-all-of.js +14 -0
  59. package/dist/es/src/api-model/models/listing-offers-response.js +14 -0
  60. package/dist/es/src/api-model/models/offer-customer-type.js +4 -5
  61. package/dist/es/src/api-model/models/quantity-discount-type.js +3 -4
  62. package/dist/es/src/client.js +14 -0
  63. package/dist/types/src/api-model/api/product-pricing-api.d.ts +124 -36
  64. package/dist/types/src/api-model/base.d.ts +2 -2
  65. package/dist/types/src/api-model/common.d.ts +7 -7
  66. package/dist/types/src/api-model/models/asinidentifier.d.ts +2 -2
  67. package/dist/types/src/api-model/models/batch-offers-request-params.d.ts +38 -0
  68. package/dist/types/src/api-model/models/batch-offers-response.d.ts +39 -0
  69. package/dist/types/src/api-model/models/batch-request.d.ts +39 -0
  70. package/dist/types/src/api-model/models/buy-box-price-type.d.ts +9 -9
  71. package/dist/types/src/api-model/models/competitive-price-type.d.ts +9 -9
  72. package/dist/types/src/api-model/models/competitive-pricing-type.d.ts +3 -3
  73. package/dist/types/src/api-model/models/condition-type.d.ts +8 -7
  74. package/dist/types/src/api-model/models/customer-type.d.ts +21 -0
  75. package/dist/types/src/api-model/models/detailed-shipping-time-type.d.ts +10 -13
  76. package/dist/types/src/api-model/models/errors.d.ts +24 -0
  77. package/dist/types/src/api-model/models/fulfillment-channel-type.d.ts +5 -4
  78. package/dist/types/src/api-model/models/get-item-offers-batch-request.d.ts +25 -0
  79. package/dist/types/src/api-model/models/get-item-offers-batch-response.d.ts +25 -0
  80. package/dist/types/src/api-model/models/get-listing-offers-batch-request.d.ts +25 -0
  81. package/dist/types/src/api-model/models/get-listing-offers-batch-response.d.ts +25 -0
  82. package/dist/types/src/api-model/models/get-offers-http-status-line.d.ts +30 -0
  83. package/dist/types/src/api-model/models/get-offers-response.d.ts +2 -2
  84. package/dist/types/src/api-model/models/get-offers-result.d.ts +8 -8
  85. package/dist/types/src/api-model/models/get-pricing-response.d.ts +2 -2
  86. package/dist/types/src/api-model/models/http-method.d.ts +24 -0
  87. package/dist/types/src/api-model/models/http-response-headers.d.ts +31 -0
  88. package/dist/types/src/api-model/models/identifier-type.d.ts +2 -2
  89. package/dist/types/src/api-model/models/index.d.ts +23 -0
  90. package/dist/types/src/api-model/models/item-condition.d.ts +24 -0
  91. package/dist/types/src/api-model/models/item-identifier.d.ts +4 -4
  92. package/dist/types/src/api-model/models/item-offers-request-params-all-of.d.ts +24 -0
  93. package/dist/types/src/api-model/models/item-offers-request-params.d.ts +18 -0
  94. package/dist/types/src/api-model/models/item-offers-request.d.ts +18 -0
  95. package/dist/types/src/api-model/models/item-offers-response-all-of.d.ts +25 -0
  96. package/dist/types/src/api-model/models/item-offers-response.d.ts +18 -0
  97. package/dist/types/src/api-model/models/listing-offers-request-params-all-of.d.ts +24 -0
  98. package/dist/types/src/api-model/models/listing-offers-request-params.d.ts +18 -0
  99. package/dist/types/src/api-model/models/listing-offers-request.d.ts +18 -0
  100. package/dist/types/src/api-model/models/listing-offers-response-all-of.d.ts +25 -0
  101. package/dist/types/src/api-model/models/listing-offers-response.d.ts +18 -0
  102. package/dist/types/src/api-model/models/lowest-price-type.d.ts +9 -9
  103. package/dist/types/src/api-model/models/model-error.d.ts +3 -3
  104. package/dist/types/src/api-model/models/money-type.d.ts +2 -2
  105. package/dist/types/src/api-model/models/offer-count-type.d.ts +3 -3
  106. package/dist/types/src/api-model/models/offer-customer-type.d.ts +5 -4
  107. package/dist/types/src/api-model/models/offer-detail.d.ts +16 -16
  108. package/dist/types/src/api-model/models/offer-listing-count-type.d.ts +2 -2
  109. package/dist/types/src/api-model/models/offer-type.d.ts +9 -9
  110. package/dist/types/src/api-model/models/points.d.ts +2 -2
  111. package/dist/types/src/api-model/models/price-type.d.ts +4 -4
  112. package/dist/types/src/api-model/models/price.d.ts +4 -4
  113. package/dist/types/src/api-model/models/prime-information-type.d.ts +2 -2
  114. package/dist/types/src/api-model/models/product.d.ts +6 -6
  115. package/dist/types/src/api-model/models/quantity-discount-price-type.d.ts +3 -3
  116. package/dist/types/src/api-model/models/quantity-discount-type.d.ts +4 -3
  117. package/dist/types/src/api-model/models/sales-rank-type.d.ts +2 -2
  118. package/dist/types/src/api-model/models/seller-feedback-type.d.ts +2 -2
  119. package/dist/types/src/api-model/models/seller-skuidentifier.d.ts +3 -3
  120. package/dist/types/src/api-model/models/ships-from-type.d.ts +2 -2
  121. package/dist/types/src/api-model/models/summary.d.ts +10 -10
  122. package/package.json +4 -4
@@ -28,7 +28,7 @@ const base_1 = require("../base");
28
28
  const ProductPricingApiAxiosParamCreator = function (configuration) {
29
29
  return {
30
30
  /**
31
- * Returns competitive pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
31
+ * Returns competitive pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
32
32
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
33
33
  * @param {'Asin' | 'Sku'} itemType Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. Possible values: Asin, Sku.
34
34
  * @param {Array<string>} [asins] A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
@@ -67,7 +67,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
67
67
  if (customerType !== undefined) {
68
68
  localVarQueryParameter['CustomerType'] = customerType;
69
69
  }
70
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
70
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
71
71
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
72
72
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
73
73
  return {
@@ -76,7 +76,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
76
76
  };
77
77
  },
78
78
  /**
79
- * Returns the lowest priced offers for a single item based on ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
79
+ * Returns the lowest priced offers for a single item based on ASIN. **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 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).
80
80
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
81
81
  * @param {'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club'} itemCondition Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
82
82
  * @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
@@ -111,7 +111,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
111
111
  if (customerType !== undefined) {
112
112
  localVarQueryParameter['CustomerType'] = customerType;
113
113
  }
114
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
114
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
115
115
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
116
116
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
117
117
  return {
@@ -120,7 +120,36 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
120
120
  };
121
121
  },
122
122
  /**
123
- * Returns the lowest priced offers for a single SKU listing. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
123
+ * Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 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).
124
+ * @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ getItemOffersBatch: async (getItemOffersBatchRequestBody, options = {}) => {
129
+ // verify required parameter 'getItemOffersBatchRequestBody' is not null or undefined
130
+ (0, common_1.assertParamExists)('getItemOffersBatch', 'getItemOffersBatchRequestBody', getItemOffersBatchRequestBody);
131
+ const localVarPath = `/batches/products/pricing/v0/itemOffers`;
132
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
133
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
134
+ let baseOptions;
135
+ if (configuration) {
136
+ baseOptions = configuration.baseOptions;
137
+ }
138
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
139
+ const localVarHeaderParameter = {};
140
+ const localVarQueryParameter = {};
141
+ localVarHeaderParameter['Content-Type'] = 'application/json';
142
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
143
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
144
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
145
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getItemOffersBatchRequestBody, localVarRequestOptions, configuration);
146
+ return {
147
+ url: (0, common_1.toPathString)(localVarUrlObj),
148
+ options: localVarRequestOptions,
149
+ };
150
+ },
151
+ /**
152
+ * Returns the lowest priced offers for a single SKU listing. **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 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).
124
153
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
125
154
  * @param {'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club'} itemCondition Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
126
155
  * @param {string} sellerSKU Identifies an item in the given marketplace. SellerSKU is qualified by the seller\&#39;s SellerId, which is included with every operation that you submit.
@@ -155,16 +184,45 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
155
184
  if (customerType !== undefined) {
156
185
  localVarQueryParameter['CustomerType'] = customerType;
157
186
  }
158
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
187
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
188
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
189
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
190
+ return {
191
+ url: (0, common_1.toPathString)(localVarUrlObj),
192
+ options: localVarRequestOptions,
193
+ };
194
+ },
195
+ /**
196
+ * Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 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).
197
+ * @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
198
+ * @param {*} [options] Override http request option.
199
+ * @throws {RequiredError}
200
+ */
201
+ getListingOffersBatch: async (getListingOffersBatchRequestBody, options = {}) => {
202
+ // verify required parameter 'getListingOffersBatchRequestBody' is not null or undefined
203
+ (0, common_1.assertParamExists)('getListingOffersBatch', 'getListingOffersBatchRequestBody', getListingOffersBatchRequestBody);
204
+ const localVarPath = `/batches/products/pricing/v0/listingOffers`;
205
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
206
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
207
+ let baseOptions;
208
+ if (configuration) {
209
+ baseOptions = configuration.baseOptions;
210
+ }
211
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
212
+ const localVarHeaderParameter = {};
213
+ const localVarQueryParameter = {};
214
+ localVarHeaderParameter['Content-Type'] = 'application/json';
215
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
159
216
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
160
217
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
218
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getListingOffersBatchRequestBody, localVarRequestOptions, configuration);
161
219
  return {
162
220
  url: (0, common_1.toPathString)(localVarUrlObj),
163
221
  options: localVarRequestOptions,
164
222
  };
165
223
  },
166
224
  /**
167
- * Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
225
+ * Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
168
226
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
169
227
  * @param {'Asin' | 'Sku'} itemType Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter.
170
228
  * @param {Array<string>} [asins] A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
@@ -207,7 +265,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
207
265
  if (offerType !== undefined) {
208
266
  localVarQueryParameter['OfferType'] = offerType;
209
267
  }
210
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
268
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
211
269
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
212
270
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
213
271
  return {
@@ -226,7 +284,7 @@ const ProductPricingApiFp = function (configuration) {
226
284
  const localVarAxiosParamCreator = (0, exports.ProductPricingApiAxiosParamCreator)(configuration);
227
285
  return {
228
286
  /**
229
- * Returns competitive pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
287
+ * Returns competitive pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
230
288
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
231
289
  * @param {'Asin' | 'Sku'} itemType Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. Possible values: Asin, Sku.
232
290
  * @param {Array<string>} [asins] A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
@@ -240,7 +298,7 @@ const ProductPricingApiFp = function (configuration) {
240
298
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
241
299
  },
242
300
  /**
243
- * Returns the lowest priced offers for a single item based on ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
301
+ * Returns the lowest priced offers for a single item based on ASIN. **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 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).
244
302
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
245
303
  * @param {'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club'} itemCondition Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
246
304
  * @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
@@ -253,7 +311,17 @@ const ProductPricingApiFp = function (configuration) {
253
311
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
254
312
  },
255
313
  /**
256
- * Returns the lowest priced offers for a single SKU listing. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
314
+ * Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 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).
315
+ * @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ async getItemOffersBatch(getItemOffersBatchRequestBody, options) {
320
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getItemOffersBatch(getItemOffersBatchRequestBody, options);
321
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
322
+ },
323
+ /**
324
+ * Returns the lowest priced offers for a single SKU listing. **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 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).
257
325
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
258
326
  * @param {'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club'} itemCondition Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
259
327
  * @param {string} sellerSKU Identifies an item in the given marketplace. SellerSKU is qualified by the seller\&#39;s SellerId, which is included with every operation that you submit.
@@ -266,7 +334,17 @@ const ProductPricingApiFp = function (configuration) {
266
334
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
267
335
  },
268
336
  /**
269
- * Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
337
+ * Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 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).
338
+ * @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
339
+ * @param {*} [options] Override http request option.
340
+ * @throws {RequiredError}
341
+ */
342
+ async getListingOffersBatch(getListingOffersBatchRequestBody, options) {
343
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getListingOffersBatch(getListingOffersBatchRequestBody, options);
344
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
345
+ },
346
+ /**
347
+ * Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
270
348
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
271
349
  * @param {'Asin' | 'Sku'} itemType Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter.
272
350
  * @param {Array<string>} [asins] A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
@@ -291,7 +369,7 @@ const ProductPricingApiFactory = function (configuration, basePath, axios) {
291
369
  const localVarFp = (0, exports.ProductPricingApiFp)(configuration);
292
370
  return {
293
371
  /**
294
- * Returns competitive pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
372
+ * Returns competitive pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
295
373
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
296
374
  * @param {'Asin' | 'Sku'} itemType Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. Possible values: Asin, Sku.
297
375
  * @param {Array<string>} [asins] A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
@@ -304,7 +382,7 @@ const ProductPricingApiFactory = function (configuration, basePath, axios) {
304
382
  return localVarFp.getCompetitivePricing(marketplaceId, itemType, asins, skus, customerType, options).then((request) => request(axios, basePath));
305
383
  },
306
384
  /**
307
- * Returns the lowest priced offers for a single item based on ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
385
+ * Returns the lowest priced offers for a single item based on ASIN. **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 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).
308
386
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
309
387
  * @param {'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club'} itemCondition Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
310
388
  * @param {string} asin The Amazon Standard Identification Number (ASIN) of the item.
@@ -316,7 +394,16 @@ const ProductPricingApiFactory = function (configuration, basePath, axios) {
316
394
  return localVarFp.getItemOffers(marketplaceId, itemCondition, asin, customerType, options).then((request) => request(axios, basePath));
317
395
  },
318
396
  /**
319
- * Returns the lowest priced offers for a single SKU listing. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
397
+ * Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 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).
398
+ * @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
399
+ * @param {*} [options] Override http request option.
400
+ * @throws {RequiredError}
401
+ */
402
+ getItemOffersBatch(getItemOffersBatchRequestBody, options) {
403
+ return localVarFp.getItemOffersBatch(getItemOffersBatchRequestBody, options).then((request) => request(axios, basePath));
404
+ },
405
+ /**
406
+ * Returns the lowest priced offers for a single SKU listing. **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 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).
320
407
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
321
408
  * @param {'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club'} itemCondition Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
322
409
  * @param {string} sellerSKU Identifies an item in the given marketplace. SellerSKU is qualified by the seller\&#39;s SellerId, which is included with every operation that you submit.
@@ -328,7 +415,16 @@ const ProductPricingApiFactory = function (configuration, basePath, axios) {
328
415
  return localVarFp.getListingOffers(marketplaceId, itemCondition, sellerSKU, customerType, options).then((request) => request(axios, basePath));
329
416
  },
330
417
  /**
331
- * Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
418
+ * Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 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).
419
+ * @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
420
+ * @param {*} [options] Override http request option.
421
+ * @throws {RequiredError}
422
+ */
423
+ getListingOffersBatch(getListingOffersBatchRequestBody, options) {
424
+ return localVarFp.getListingOffersBatch(getListingOffersBatchRequestBody, options).then((request) => request(axios, basePath));
425
+ },
426
+ /**
427
+ * Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
332
428
  * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
333
429
  * @param {'Asin' | 'Sku'} itemType Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter.
334
430
  * @param {Array<string>} [asins] A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
@@ -352,7 +448,7 @@ exports.ProductPricingApiFactory = ProductPricingApiFactory;
352
448
  */
353
449
  class ProductPricingApi extends base_1.BaseAPI {
354
450
  /**
355
- * Returns competitive pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
451
+ * Returns competitive pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
356
452
  * @param {ProductPricingApiGetCompetitivePricingRequest} requestParameters Request parameters.
357
453
  * @param {*} [options] Override http request option.
358
454
  * @throws {RequiredError}
@@ -362,7 +458,7 @@ class ProductPricingApi extends base_1.BaseAPI {
362
458
  return (0, exports.ProductPricingApiFp)(this.configuration).getCompetitivePricing(requestParameters.marketplaceId, requestParameters.itemType, requestParameters.asins, requestParameters.skus, requestParameters.customerType, options).then((request) => request(this.axios, this.basePath));
363
459
  }
364
460
  /**
365
- * Returns the lowest priced offers for a single item based on ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
461
+ * Returns the lowest priced offers for a single item based on ASIN. **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 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).
366
462
  * @param {ProductPricingApiGetItemOffersRequest} requestParameters Request parameters.
367
463
  * @param {*} [options] Override http request option.
368
464
  * @throws {RequiredError}
@@ -372,7 +468,17 @@ class ProductPricingApi extends base_1.BaseAPI {
372
468
  return (0, exports.ProductPricingApiFp)(this.configuration).getItemOffers(requestParameters.marketplaceId, requestParameters.itemCondition, requestParameters.asin, requestParameters.customerType, options).then((request) => request(this.axios, this.basePath));
373
469
  }
374
470
  /**
375
- * Returns the lowest priced offers for a single SKU listing. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
471
+ * Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 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).
472
+ * @param {ProductPricingApiGetItemOffersBatchRequest} requestParameters Request parameters.
473
+ * @param {*} [options] Override http request option.
474
+ * @throws {RequiredError}
475
+ * @memberof ProductPricingApi
476
+ */
477
+ getItemOffersBatch(requestParameters, options) {
478
+ return (0, exports.ProductPricingApiFp)(this.configuration).getItemOffersBatch(requestParameters.getItemOffersBatchRequestBody, options).then((request) => request(this.axios, this.basePath));
479
+ }
480
+ /**
481
+ * Returns the lowest priced offers for a single SKU listing. **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 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).
376
482
  * @param {ProductPricingApiGetListingOffersRequest} requestParameters Request parameters.
377
483
  * @param {*} [options] Override http request option.
378
484
  * @throws {RequiredError}
@@ -382,7 +488,17 @@ class ProductPricingApi extends base_1.BaseAPI {
382
488
  return (0, exports.ProductPricingApiFp)(this.configuration).getListingOffers(requestParameters.marketplaceId, requestParameters.itemCondition, requestParameters.sellerSKU, requestParameters.customerType, options).then((request) => request(this.axios, this.basePath));
383
489
  }
384
490
  /**
385
- * Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
491
+ * Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 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).
492
+ * @param {ProductPricingApiGetListingOffersBatchRequest} requestParameters Request parameters.
493
+ * @param {*} [options] Override http request option.
494
+ * @throws {RequiredError}
495
+ * @memberof ProductPricingApi
496
+ */
497
+ getListingOffersBatch(requestParameters, options) {
498
+ return (0, exports.ProductPricingApiFp)(this.configuration).getListingOffersBatch(requestParameters.getListingOffersBatchRequestBody, options).then((request) => request(this.axios, this.basePath));
499
+ }
500
+ /**
501
+ * Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
386
502
  * @param {ProductPricingApiGetPricingRequest} requestParameters Request parameters.
387
503
  * @param {*} [options] Override http request option.
388
504
  * @throws {RequiredError}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -19,11 +19,10 @@ exports.ConditionType = void 0;
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
22
- var ConditionType;
23
- (function (ConditionType) {
24
- ConditionType["New"] = "New";
25
- ConditionType["Used"] = "Used";
26
- ConditionType["Collectible"] = "Collectible";
27
- ConditionType["Refurbished"] = "Refurbished";
28
- ConditionType["Club"] = "Club";
29
- })(ConditionType = exports.ConditionType || (exports.ConditionType = {}));
22
+ exports.ConditionType = {
23
+ New: 'New',
24
+ Used: 'Used',
25
+ Collectible: 'Collectible',
26
+ Refurbished: 'Refurbished',
27
+ Club: 'Club'
28
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CustomerType = void 0;
17
+ /**
18
+ * Indicates whether to request Consumer or Business offers. Default is Consumer.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.CustomerType = {
23
+ Consumer: 'Consumer',
24
+ Business: 'Business'
25
+ };
@@ -14,13 +14,8 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.DetailedShippingTimeTypeAvailabilityTypeEnum = void 0;
17
- /**
18
- * @export
19
- * @enum {string}
20
- */
21
- var DetailedShippingTimeTypeAvailabilityTypeEnum;
22
- (function (DetailedShippingTimeTypeAvailabilityTypeEnum) {
23
- DetailedShippingTimeTypeAvailabilityTypeEnum["Now"] = "NOW";
24
- DetailedShippingTimeTypeAvailabilityTypeEnum["FutureWithoutDate"] = "FUTURE_WITHOUT_DATE";
25
- DetailedShippingTimeTypeAvailabilityTypeEnum["FutureWithDate"] = "FUTURE_WITH_DATE";
26
- })(DetailedShippingTimeTypeAvailabilityTypeEnum = exports.DetailedShippingTimeTypeAvailabilityTypeEnum || (exports.DetailedShippingTimeTypeAvailabilityTypeEnum = {}));
17
+ exports.DetailedShippingTimeTypeAvailabilityTypeEnum = {
18
+ Now: 'NOW',
19
+ FutureWithoutDate: 'FUTURE_WITHOUT_DATE',
20
+ FutureWithDate: 'FUTURE_WITH_DATE'
21
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -19,8 +19,7 @@ exports.FulfillmentChannelType = void 0;
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
22
- var FulfillmentChannelType;
23
- (function (FulfillmentChannelType) {
24
- FulfillmentChannelType["Amazon"] = "Amazon";
25
- FulfillmentChannelType["Merchant"] = "Merchant";
26
- })(FulfillmentChannelType = exports.FulfillmentChannelType || (exports.FulfillmentChannelType = {}));
22
+ exports.FulfillmentChannelType = {
23
+ Amazon: 'Amazon',
24
+ Merchant: 'Merchant'
25
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.HttpMethod = void 0;
17
+ /**
18
+ * The HTTP method associated with the individual APIs being called as part of the batch request.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.HttpMethod = {
23
+ Get: 'GET',
24
+ Put: 'PUT',
25
+ Patch: 'PATCH',
26
+ Delete: 'DELETE',
27
+ Post: 'POST'
28
+ };