@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.0.1 → 4.1.0

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 (141) hide show
  1. package/dist/cjs/api-model/api/fulfillment-outbound-api.js +93 -51
  2. package/dist/cjs/api-model/base.js +0 -19
  3. package/dist/cjs/api-model/common.js +0 -37
  4. package/dist/cjs/api-model/configuration.js +0 -17
  5. package/dist/cjs/api-model/models/additional-location-info.js +0 -2
  6. package/dist/cjs/api-model/models/current-status.js +0 -2
  7. package/dist/cjs/api-model/models/delivery-offering.js +15 -0
  8. package/dist/cjs/api-model/models/delivery-quantity.js +19 -0
  9. package/dist/cjs/api-model/models/event-code.js +0 -2
  10. package/dist/cjs/api-model/models/fulfillment-action.js +0 -2
  11. package/dist/cjs/api-model/models/fulfillment-order-status.js +0 -2
  12. package/dist/cjs/api-model/models/fulfillment-policy.js +1 -3
  13. package/dist/cjs/api-model/models/fulfillment-return-item-status.js +0 -2
  14. package/dist/cjs/api-model/models/get-delivery-offerings-request.js +15 -0
  15. package/dist/cjs/api-model/models/get-delivery-offerings-response.js +15 -0
  16. package/dist/cjs/api-model/models/get-delivery-offerings-result.js +15 -0
  17. package/dist/cjs/api-model/models/index.js +5 -0
  18. package/dist/cjs/api-model/models/invalid-item-reason-code.js +0 -2
  19. package/dist/cjs/api-model/models/return-item-disposition.js +0 -2
  20. package/dist/cjs/api-model/models/shipping-speed-category.js +0 -2
  21. package/dist/cjs/client.js +7 -0
  22. package/dist/es/api-model/api/fulfillment-outbound-api.js +93 -51
  23. package/dist/es/api-model/base.js +0 -19
  24. package/dist/es/api-model/common.js +0 -37
  25. package/dist/es/api-model/configuration.js +0 -17
  26. package/dist/es/api-model/models/additional-location-info.js +0 -2
  27. package/dist/es/api-model/models/current-status.js +0 -2
  28. package/dist/es/api-model/models/delivery-offering.js +14 -0
  29. package/dist/es/api-model/models/delivery-quantity.js +16 -0
  30. package/dist/es/api-model/models/event-code.js +0 -2
  31. package/dist/es/api-model/models/fulfillment-action.js +0 -2
  32. package/dist/es/api-model/models/fulfillment-order-status.js +0 -2
  33. package/dist/es/api-model/models/fulfillment-policy.js +1 -3
  34. package/dist/es/api-model/models/fulfillment-return-item-status.js +0 -2
  35. package/dist/es/api-model/models/get-delivery-offerings-request.js +14 -0
  36. package/dist/es/api-model/models/get-delivery-offerings-response.js +14 -0
  37. package/dist/es/api-model/models/get-delivery-offerings-result.js +14 -0
  38. package/dist/es/api-model/models/index.js +5 -0
  39. package/dist/es/api-model/models/invalid-item-reason-code.js +0 -2
  40. package/dist/es/api-model/models/return-item-disposition.js +0 -2
  41. package/dist/es/api-model/models/shipping-speed-category.js +0 -2
  42. package/dist/es/client.js +7 -0
  43. package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +79 -134
  44. package/dist/types/api-model/base.d.ts +0 -24
  45. package/dist/types/api-model/common.d.ts +0 -37
  46. package/dist/types/api-model/configuration.d.ts +0 -17
  47. package/dist/types/api-model/models/additional-location-info.d.ts +0 -2
  48. package/dist/types/api-model/models/address.d.ts +0 -22
  49. package/dist/types/api-model/models/amount.d.ts +0 -6
  50. package/dist/types/api-model/models/cancel-fulfillment-order-response.d.ts +0 -4
  51. package/dist/types/api-model/models/codsettings.d.ts +0 -24
  52. package/dist/types/api-model/models/create-fulfillment-order-item.d.ts +1 -30
  53. package/dist/types/api-model/models/create-fulfillment-order-request.d.ts +2 -59
  54. package/dist/types/api-model/models/create-fulfillment-order-response.d.ts +0 -4
  55. package/dist/types/api-model/models/create-fulfillment-return-request.d.ts +1 -5
  56. package/dist/types/api-model/models/create-fulfillment-return-response.d.ts +0 -9
  57. package/dist/types/api-model/models/create-fulfillment-return-result.d.ts +1 -9
  58. package/dist/types/api-model/models/create-return-item.d.ts +1 -13
  59. package/dist/types/api-model/models/current-status.d.ts +0 -2
  60. package/dist/types/api-model/models/date-range.d.ts +0 -6
  61. package/dist/types/api-model/models/delivery-document.d.ts +0 -6
  62. package/dist/types/api-model/models/delivery-information.d.ts +0 -9
  63. package/dist/types/api-model/models/delivery-message.d.ts +1 -7
  64. package/dist/types/api-model/models/delivery-offer.d.ts +0 -14
  65. package/dist/types/api-model/models/delivery-offering.d.ts +24 -0
  66. package/dist/types/api-model/models/delivery-policy.d.ts +0 -7
  67. package/dist/types/api-model/models/delivery-preferences.d.ts +0 -9
  68. package/dist/types/api-model/models/delivery-quantity.d.ts +28 -0
  69. package/dist/types/api-model/models/delivery-window.d.ts +0 -6
  70. package/dist/types/api-model/models/destination.d.ts +0 -9
  71. package/dist/types/api-model/models/drop-off-location.d.ts +0 -6
  72. package/dist/types/api-model/models/event-code.d.ts +0 -2
  73. package/dist/types/api-model/models/feature-settings.d.ts +1 -7
  74. package/dist/types/api-model/models/feature-sku.d.ts +0 -12
  75. package/dist/types/api-model/models/feature.d.ts +0 -8
  76. package/dist/types/api-model/models/fee.d.ts +0 -9
  77. package/dist/types/api-model/models/fulfillment-action.d.ts +0 -2
  78. package/dist/types/api-model/models/fulfillment-order-item.d.ts +0 -39
  79. package/dist/types/api-model/models/fulfillment-order-status.d.ts +0 -2
  80. package/dist/types/api-model/models/fulfillment-order.d.ts +0 -55
  81. package/dist/types/api-model/models/fulfillment-policy.d.ts +1 -3
  82. package/dist/types/api-model/models/fulfillment-preview-item.d.ts +0 -15
  83. package/dist/types/api-model/models/fulfillment-preview-shipment.d.ts +0 -14
  84. package/dist/types/api-model/models/fulfillment-preview.d.ts +0 -33
  85. package/dist/types/api-model/models/fulfillment-return-item-status.d.ts +0 -2
  86. package/dist/types/api-model/models/fulfillment-shipment-item.d.ts +0 -14
  87. package/dist/types/api-model/models/fulfillment-shipment-package.d.ts +4 -20
  88. package/dist/types/api-model/models/fulfillment-shipment.d.ts +2 -20
  89. package/dist/types/api-model/models/get-delivery-offerings-request.d.ts +28 -0
  90. package/dist/types/api-model/models/get-delivery-offerings-response.d.ts +22 -0
  91. package/dist/types/api-model/models/get-delivery-offerings-result.d.ts +21 -0
  92. package/dist/types/api-model/models/get-delivery-offers-product.d.ts +0 -12
  93. package/dist/types/api-model/models/get-delivery-offers-request.d.ts +1 -13
  94. package/dist/types/api-model/models/get-delivery-offers-response.d.ts +1 -10
  95. package/dist/types/api-model/models/get-delivery-offers-result.d.ts +0 -4
  96. package/dist/types/api-model/models/get-delivery-offers-terms.d.ts +0 -12
  97. package/dist/types/api-model/models/get-feature-inventory-response.d.ts +0 -9
  98. package/dist/types/api-model/models/get-feature-inventory-result.d.ts +1 -11
  99. package/dist/types/api-model/models/get-feature-sku-response.d.ts +0 -9
  100. package/dist/types/api-model/models/get-feature-sku-result.d.ts +1 -16
  101. package/dist/types/api-model/models/get-features-response.d.ts +0 -9
  102. package/dist/types/api-model/models/get-features-result.d.ts +0 -4
  103. package/dist/types/api-model/models/get-fulfillment-order-response.d.ts +0 -9
  104. package/dist/types/api-model/models/get-fulfillment-order-result.d.ts +1 -18
  105. package/dist/types/api-model/models/get-fulfillment-preview-item.d.ts +0 -13
  106. package/dist/types/api-model/models/get-fulfillment-preview-request.d.ts +2 -21
  107. package/dist/types/api-model/models/get-fulfillment-preview-response.d.ts +0 -9
  108. package/dist/types/api-model/models/get-fulfillment-preview-result.d.ts +0 -4
  109. package/dist/types/api-model/models/get-package-tracking-details-response.d.ts +0 -9
  110. package/dist/types/api-model/models/index.d.ts +5 -0
  111. package/dist/types/api-model/models/invalid-item-reason-code.d.ts +0 -2
  112. package/dist/types/api-model/models/invalid-item-reason.d.ts +0 -9
  113. package/dist/types/api-model/models/invalid-return-item.d.ts +1 -12
  114. package/dist/types/api-model/models/list-all-fulfillment-orders-response.d.ts +0 -9
  115. package/dist/types/api-model/models/list-all-fulfillment-orders-result.d.ts +1 -7
  116. package/dist/types/api-model/models/list-return-reason-codes-response.d.ts +0 -9
  117. package/dist/types/api-model/models/list-return-reason-codes-result.d.ts +1 -5
  118. package/dist/types/api-model/models/locker-details.d.ts +0 -6
  119. package/dist/types/api-model/models/model-error.d.ts +0 -8
  120. package/dist/types/api-model/models/money.d.ts +0 -6
  121. package/dist/types/api-model/models/origin.d.ts +0 -4
  122. package/dist/types/api-model/models/package-tracking-details.d.ts +1 -45
  123. package/dist/types/api-model/models/payment-information.d.ts +0 -8
  124. package/dist/types/api-model/models/product-identifier.d.ts +0 -4
  125. package/dist/types/api-model/models/reason-code-details.d.ts +1 -9
  126. package/dist/types/api-model/models/return-authorization.d.ts +1 -16
  127. package/dist/types/api-model/models/return-item-disposition.d.ts +0 -2
  128. package/dist/types/api-model/models/return-item.d.ts +1 -31
  129. package/dist/types/api-model/models/scheduled-delivery-info.d.ts +0 -6
  130. package/dist/types/api-model/models/shipping-speed-category.d.ts +0 -2
  131. package/dist/types/api-model/models/submit-fulfillment-order-status-update-request.d.ts +0 -7
  132. package/dist/types/api-model/models/submit-fulfillment-order-status-update-response.d.ts +0 -4
  133. package/dist/types/api-model/models/tracking-address.d.ts +0 -8
  134. package/dist/types/api-model/models/tracking-event.d.ts +0 -16
  135. package/dist/types/api-model/models/unfulfillable-preview-item.d.ts +0 -10
  136. package/dist/types/api-model/models/update-fulfillment-order-item.d.ts +1 -32
  137. package/dist/types/api-model/models/update-fulfillment-order-request.d.ts +0 -38
  138. package/dist/types/api-model/models/update-fulfillment-order-response.d.ts +0 -4
  139. package/dist/types/api-model/models/variable-precision-address.d.ts +0 -18
  140. package/dist/types/api-model/models/weight.d.ts +0 -6
  141. package/package.json +25 -4
@@ -25,7 +25,6 @@ const common_1 = require("../common");
25
25
  const base_1 = require("../base");
26
26
  /**
27
27
  * FulfillmentOutboundApi - axios parameter creator
28
- * @export
29
28
  */
30
29
  const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
31
30
  return {
@@ -88,8 +87,8 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
88
87
  },
89
88
  /**
90
89
  * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
91
- * @param {string} sellerFulfillmentOrderId An identifier assigned by the seller to the fulfillment order at the time it was created. The seller uses their own records to find the correct `SellerFulfillmentOrderId` value based on the buyer\'s request to return items.
92
- * @param {CreateFulfillmentReturnRequest} body CreateFulfillmentReturnRequest parameter
90
+ * @param {string} sellerFulfillmentOrderId An identifier the seller assigns to the fulfillment order at the time it was created. The seller uses their own records to find the correct `sellerFulfillmentOrderId` value based on the buyer\'s request to return items.
91
+ * @param {CreateFulfillmentReturnRequest} body The request body of the `createFulfillmentReturn` operation.
93
92
  * @param {*} [options] Override http request option.
94
93
  * @throws {RequiredError}
95
94
  */
@@ -119,6 +118,35 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
119
118
  options: localVarRequestOptions,
120
119
  };
121
120
  },
121
+ /**
122
+ * Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
123
+ * @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ */
127
+ deliveryOfferings: async (body, options = {}) => {
128
+ // verify required parameter 'body' is not null or undefined
129
+ (0, common_1.assertParamExists)('deliveryOfferings', 'body', body);
130
+ const localVarPath = `/fba/outbound/2020-07-01/deliveryOfferings`;
131
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
132
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
133
+ let baseOptions;
134
+ if (configuration) {
135
+ baseOptions = configuration.baseOptions;
136
+ }
137
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
138
+ const localVarHeaderParameter = {};
139
+ const localVarQueryParameter = {};
140
+ localVarHeaderParameter['Content-Type'] = 'application/json';
141
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
142
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
143
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
144
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
145
+ return {
146
+ url: (0, common_1.toPathString)(localVarUrlObj),
147
+ options: localVarRequestOptions,
148
+ };
149
+ },
122
150
  /**
123
151
  * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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
152
  * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
@@ -152,8 +180,8 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
152
180
  * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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)..
153
181
  * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
154
182
  * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
155
- * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of null will return the first page.
156
- * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format yyyy-MM-ddTHH:mm:ss.sssZ
183
+ * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of `null` will return the first page.
184
+ * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format `yyyy-MM-ddTHH:mm:ss.sssZ`
157
185
  * @param {*} [options] Override http request option.
158
186
  * @throws {RequiredError}
159
187
  */
@@ -193,10 +221,10 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
193
221
  };
194
222
  },
195
223
  /**
196
- * Returns the number of items with the sellerSKU you specify that can have orders fulfilled using the specified feature. Note that if the sellerSKU isn\'t eligible, the response will contain an empty skuInfo object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
224
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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
225
  * @param {string} marketplaceId The marketplace for which to return the count.
198
226
  * @param {string} featureName The name of the feature.
199
- * @param {string} sellerSku Used to identify an item in the given marketplace. `SellerSKU` is qualified by the seller\'s `SellerId`, which is included with every operation that you submit.
227
+ * @param {string} sellerSku Used to identify an item in the given marketplace. `sellerSku` is qualified by the seller\'s `sellerId`, which is included with every operation that you submit.
200
228
  * @param {*} [options] Override http request option.
201
229
  * @throws {RequiredError}
202
230
  */
@@ -319,13 +347,12 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
319
347
  },
320
348
  /**
321
349
  * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
322
- * @param {number} packageNumber The unencrypted package identifier returned by the `getFulfillmentOrder` operation.
350
+ * @param {number} [packageNumber] The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
351
+ * @param {string} [amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.
323
352
  * @param {*} [options] Override http request option.
324
353
  * @throws {RequiredError}
325
354
  */
326
- getPackageTrackingDetails: async (packageNumber, options = {}) => {
327
- // verify required parameter 'packageNumber' is not null or undefined
328
- (0, common_1.assertParamExists)('getPackageTrackingDetails', 'packageNumber', packageNumber);
355
+ getPackageTrackingDetails: async (packageNumber, amazonFulfillmentTrackingNumber, options = {}) => {
329
356
  const localVarPath = `/fba/outbound/2020-07-01/tracking`;
330
357
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
331
358
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -339,6 +366,9 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
339
366
  if (packageNumber !== undefined) {
340
367
  localVarQueryParameter['packageNumber'] = packageNumber;
341
368
  }
369
+ if (amazonFulfillmentTrackingNumber !== undefined) {
370
+ localVarQueryParameter['amazonFulfillmentTrackingNumber'] = amazonFulfillmentTrackingNumber;
371
+ }
342
372
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
343
373
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
344
374
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -348,7 +378,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
348
378
  };
349
379
  },
350
380
  /**
351
- * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the next token parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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)
381
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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)
352
382
  * @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
353
383
  * @param {string} [nextToken] A string token returned in the response to your previous request.
354
384
  * @param {*} [options] Override http request option.
@@ -459,7 +489,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
459
489
  /**
460
490
  * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
461
491
  * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
462
- * @param {UpdateFulfillmentOrderRequest} body UpdateFulfillmentOrderRequest parameter
492
+ * @param {UpdateFulfillmentOrderRequest} body The request body of the `updateFulfillmentOrder` operation.
463
493
  * @param {*} [options] Override http request option.
464
494
  * @throws {RequiredError}
465
495
  */
@@ -494,7 +524,6 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
494
524
  exports.FulfillmentOutboundApiAxiosParamCreator = FulfillmentOutboundApiAxiosParamCreator;
495
525
  /**
496
526
  * FulfillmentOutboundApi - functional programming interface
497
- * @export
498
527
  */
499
528
  const FulfillmentOutboundApiFp = function (configuration) {
500
529
  const localVarAxiosParamCreator = (0, exports.FulfillmentOutboundApiAxiosParamCreator)(configuration);
@@ -525,8 +554,8 @@ const FulfillmentOutboundApiFp = function (configuration) {
525
554
  },
526
555
  /**
527
556
  * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
528
- * @param {string} sellerFulfillmentOrderId An identifier assigned by the seller to the fulfillment order at the time it was created. The seller uses their own records to find the correct `SellerFulfillmentOrderId` value based on the buyer\'s request to return items.
529
- * @param {CreateFulfillmentReturnRequest} body CreateFulfillmentReturnRequest parameter
557
+ * @param {string} sellerFulfillmentOrderId An identifier the seller assigns to the fulfillment order at the time it was created. The seller uses their own records to find the correct `sellerFulfillmentOrderId` value based on the buyer\'s request to return items.
558
+ * @param {CreateFulfillmentReturnRequest} body The request body of the `createFulfillmentReturn` operation.
530
559
  * @param {*} [options] Override http request option.
531
560
  * @throws {RequiredError}
532
561
  */
@@ -536,6 +565,18 @@ const FulfillmentOutboundApiFp = function (configuration) {
536
565
  const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
537
566
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
538
567
  },
568
+ /**
569
+ * Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
570
+ * @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
571
+ * @param {*} [options] Override http request option.
572
+ * @throws {RequiredError}
573
+ */
574
+ async deliveryOfferings(body, options) {
575
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOfferings(body, options);
576
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
577
+ const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.deliveryOfferings']?.[localVarOperationServerIndex]?.url;
578
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
579
+ },
539
580
  /**
540
581
  * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
541
582
  * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
@@ -552,8 +593,8 @@ const FulfillmentOutboundApiFp = function (configuration) {
552
593
  * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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)..
553
594
  * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
554
595
  * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
555
- * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of null will return the first page.
556
- * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format yyyy-MM-ddTHH:mm:ss.sssZ
596
+ * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of `null` will return the first page.
597
+ * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format `yyyy-MM-ddTHH:mm:ss.sssZ`
557
598
  * @param {*} [options] Override http request option.
558
599
  * @throws {RequiredError}
559
600
  */
@@ -564,10 +605,10 @@ const FulfillmentOutboundApiFp = function (configuration) {
564
605
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
565
606
  },
566
607
  /**
567
- * Returns the number of items with the sellerSKU you specify that can have orders fulfilled using the specified feature. Note that if the sellerSKU isn\'t eligible, the response will contain an empty skuInfo object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
608
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
568
609
  * @param {string} marketplaceId The marketplace for which to return the count.
569
610
  * @param {string} featureName The name of the feature.
570
- * @param {string} sellerSku Used to identify an item in the given marketplace. `SellerSKU` is qualified by the seller\'s `SellerId`, which is included with every operation that you submit.
611
+ * @param {string} sellerSku Used to identify an item in the given marketplace. `sellerSku` is qualified by the seller\'s `sellerId`, which is included with every operation that you submit.
571
612
  * @param {*} [options] Override http request option.
572
613
  * @throws {RequiredError}
573
614
  */
@@ -615,18 +656,19 @@ const FulfillmentOutboundApiFp = function (configuration) {
615
656
  },
616
657
  /**
617
658
  * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
618
- * @param {number} packageNumber The unencrypted package identifier returned by the `getFulfillmentOrder` operation.
659
+ * @param {number} [packageNumber] The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
660
+ * @param {string} [amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.
619
661
  * @param {*} [options] Override http request option.
620
662
  * @throws {RequiredError}
621
663
  */
622
- async getPackageTrackingDetails(packageNumber, options) {
623
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, options);
664
+ async getPackageTrackingDetails(packageNumber, amazonFulfillmentTrackingNumber, options) {
665
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, amazonFulfillmentTrackingNumber, options);
624
666
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
625
667
  const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getPackageTrackingDetails']?.[localVarOperationServerIndex]?.url;
626
668
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
627
669
  },
628
670
  /**
629
- * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the next token parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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)
671
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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)
630
672
  * @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
631
673
  * @param {string} [nextToken] A string token returned in the response to your previous request.
632
674
  * @param {*} [options] Override http request option.
@@ -669,7 +711,7 @@ const FulfillmentOutboundApiFp = function (configuration) {
669
711
  /**
670
712
  * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
671
713
  * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
672
- * @param {UpdateFulfillmentOrderRequest} body UpdateFulfillmentOrderRequest parameter
714
+ * @param {UpdateFulfillmentOrderRequest} body The request body of the `updateFulfillmentOrder` operation.
673
715
  * @param {*} [options] Override http request option.
674
716
  * @throws {RequiredError}
675
717
  */
@@ -684,7 +726,6 @@ const FulfillmentOutboundApiFp = function (configuration) {
684
726
  exports.FulfillmentOutboundApiFp = FulfillmentOutboundApiFp;
685
727
  /**
686
728
  * FulfillmentOutboundApi - factory interface
687
- * @export
688
729
  */
689
730
  const FulfillmentOutboundApiFactory = function (configuration, basePath, axios) {
690
731
  const localVarFp = (0, exports.FulfillmentOutboundApiFp)(configuration);
@@ -716,6 +757,15 @@ const FulfillmentOutboundApiFactory = function (configuration, basePath, axios)
716
757
  createFulfillmentReturn(requestParameters, options) {
717
758
  return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
718
759
  },
760
+ /**
761
+ * Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
762
+ * @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
763
+ * @param {*} [options] Override http request option.
764
+ * @throws {RequiredError}
765
+ */
766
+ deliveryOfferings(requestParameters, options) {
767
+ return localVarFp.deliveryOfferings(requestParameters.body, options).then((request) => request(axios, basePath));
768
+ },
719
769
  /**
720
770
  * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
721
771
  * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
@@ -735,7 +785,7 @@ const FulfillmentOutboundApiFactory = function (configuration, basePath, axios)
735
785
  return localVarFp.getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(axios, basePath));
736
786
  },
737
787
  /**
738
- * Returns the number of items with the sellerSKU you specify that can have orders fulfilled using the specified feature. Note that if the sellerSKU isn\'t eligible, the response will contain an empty skuInfo object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
788
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
739
789
  * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
740
790
  * @param {*} [options] Override http request option.
741
791
  * @throws {RequiredError}
@@ -776,11 +826,11 @@ const FulfillmentOutboundApiFactory = function (configuration, basePath, axios)
776
826
  * @param {*} [options] Override http request option.
777
827
  * @throws {RequiredError}
778
828
  */
779
- getPackageTrackingDetails(requestParameters, options) {
780
- return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(axios, basePath));
829
+ getPackageTrackingDetails(requestParameters = {}, options) {
830
+ return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber, requestParameters.amazonFulfillmentTrackingNumber, options).then((request) => request(axios, basePath));
781
831
  },
782
832
  /**
783
- * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the next token parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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)
833
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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)
784
834
  * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
785
835
  * @param {*} [options] Override http request option.
786
836
  * @throws {RequiredError}
@@ -820,9 +870,6 @@ const FulfillmentOutboundApiFactory = function (configuration, basePath, axios)
820
870
  exports.FulfillmentOutboundApiFactory = FulfillmentOutboundApiFactory;
821
871
  /**
822
872
  * FulfillmentOutboundApi - object-oriented interface
823
- * @export
824
- * @class FulfillmentOutboundApi
825
- * @extends {BaseAPI}
826
873
  */
827
874
  class FulfillmentOutboundApi extends base_1.BaseAPI {
828
875
  /**
@@ -830,7 +877,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
830
877
  * @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
831
878
  * @param {*} [options] Override http request option.
832
879
  * @throws {RequiredError}
833
- * @memberof FulfillmentOutboundApi
834
880
  */
835
881
  cancelFulfillmentOrder(requestParameters, options) {
836
882
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
@@ -840,7 +886,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
840
886
  * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
841
887
  * @param {*} [options] Override http request option.
842
888
  * @throws {RequiredError}
843
- * @memberof FulfillmentOutboundApi
844
889
  */
845
890
  createFulfillmentOrder(requestParameters, options) {
846
891
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).createFulfillmentOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
@@ -850,17 +895,24 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
850
895
  * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
851
896
  * @param {*} [options] Override http request option.
852
897
  * @throws {RequiredError}
853
- * @memberof FulfillmentOutboundApi
854
898
  */
855
899
  createFulfillmentReturn(requestParameters, options) {
856
900
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
857
901
  }
902
+ /**
903
+ * Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
904
+ * @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
905
+ * @param {*} [options] Override http request option.
906
+ * @throws {RequiredError}
907
+ */
908
+ deliveryOfferings(requestParameters, options) {
909
+ return (0, exports.FulfillmentOutboundApiFp)(this.configuration).deliveryOfferings(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
910
+ }
858
911
  /**
859
912
  * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
860
913
  * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
861
914
  * @param {*} [options] Override http request option.
862
915
  * @throws {RequiredError}
863
- * @memberof FulfillmentOutboundApi
864
916
  */
865
917
  deliveryOffers(requestParameters, options) {
866
918
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).deliveryOffers(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
@@ -870,17 +922,15 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
870
922
  * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
871
923
  * @param {*} [options] Override http request option.
872
924
  * @throws {RequiredError}
873
- * @memberof FulfillmentOutboundApi
874
925
  */
875
926
  getFeatureInventory(requestParameters, options) {
876
927
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(this.axios, this.basePath));
877
928
  }
878
929
  /**
879
- * Returns the number of items with the sellerSKU you specify that can have orders fulfilled using the specified feature. Note that if the sellerSKU isn\'t eligible, the response will contain an empty skuInfo object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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).
930
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
880
931
  * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
881
932
  * @param {*} [options] Override http request option.
882
933
  * @throws {RequiredError}
883
- * @memberof FulfillmentOutboundApi
884
934
  */
885
935
  getFeatureSKU(requestParameters, options) {
886
936
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(this.axios, this.basePath));
@@ -890,7 +940,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
890
940
  * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
891
941
  * @param {*} [options] Override http request option.
892
942
  * @throws {RequiredError}
893
- * @memberof FulfillmentOutboundApi
894
943
  */
895
944
  getFeatures(requestParameters, options) {
896
945
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFeatures(requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
@@ -900,7 +949,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
900
949
  * @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
901
950
  * @param {*} [options] Override http request option.
902
951
  * @throws {RequiredError}
903
- * @memberof FulfillmentOutboundApi
904
952
  */
905
953
  getFulfillmentOrder(requestParameters, options) {
906
954
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
@@ -910,7 +958,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
910
958
  * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
911
959
  * @param {*} [options] Override http request option.
912
960
  * @throws {RequiredError}
913
- * @memberof FulfillmentOutboundApi
914
961
  */
915
962
  getFulfillmentPreview(requestParameters, options) {
916
963
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getFulfillmentPreview(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
@@ -920,17 +967,15 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
920
967
  * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
921
968
  * @param {*} [options] Override http request option.
922
969
  * @throws {RequiredError}
923
- * @memberof FulfillmentOutboundApi
924
970
  */
925
- getPackageTrackingDetails(requestParameters, options) {
926
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(this.axios, this.basePath));
971
+ getPackageTrackingDetails(requestParameters = {}, options) {
972
+ return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, requestParameters.amazonFulfillmentTrackingNumber, options).then((request) => request(this.axios, this.basePath));
927
973
  }
928
974
  /**
929
- * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the next token parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [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)
975
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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)
930
976
  * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
931
977
  * @param {*} [options] Override http request option.
932
978
  * @throws {RequiredError}
933
- * @memberof FulfillmentOutboundApi
934
979
  */
935
980
  listAllFulfillmentOrders(requestParameters = {}, options) {
936
981
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
@@ -940,7 +985,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
940
985
  * @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
941
986
  * @param {*} [options] Override http request option.
942
987
  * @throws {RequiredError}
943
- * @memberof FulfillmentOutboundApi
944
988
  */
945
989
  listReturnReasonCodes(requestParameters, options) {
946
990
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
@@ -950,7 +994,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
950
994
  * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
951
995
  * @param {*} [options] Override http request option.
952
996
  * @throws {RequiredError}
953
- * @memberof FulfillmentOutboundApi
954
997
  */
955
998
  submitFulfillmentOrderStatusUpdate(requestParameters, options) {
956
999
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
@@ -960,7 +1003,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
960
1003
  * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
961
1004
  * @param {*} [options] Override http request option.
962
1005
  * @throws {RequiredError}
963
- * @memberof FulfillmentOutboundApi
964
1006
  */
965
1007
  updateFulfillmentOrder(requestParameters, options) {
966
1008
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
@@ -19,21 +19,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
22
- /**
23
- *
24
- * @export
25
- */
26
22
  exports.COLLECTION_FORMATS = {
27
23
  csv: ",",
28
24
  ssv: " ",
29
25
  tsv: "\t",
30
26
  pipes: "|",
31
27
  };
32
- /**
33
- *
34
- * @export
35
- * @class BaseAPI
36
- */
37
28
  class BaseAPI {
38
29
  basePath;
39
30
  axios;
@@ -49,12 +40,6 @@ class BaseAPI {
49
40
  }
50
41
  exports.BaseAPI = BaseAPI;
51
42
  ;
52
- /**
53
- *
54
- * @export
55
- * @class RequiredError
56
- * @extends {Error}
57
- */
58
43
  class RequiredError extends Error {
59
44
  field;
60
45
  constructor(field, msg) {
@@ -64,8 +49,4 @@ class RequiredError extends Error {
64
49
  }
65
50
  }
66
51
  exports.RequiredError = RequiredError;
67
- /**
68
- *
69
- * @export
70
- */
71
52
  exports.operationServerMap = {};
@@ -15,15 +15,10 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
17
17
  const base_1 = require("./base");
18
- /**
19
- *
20
- * @export
21
- */
22
18
  exports.DUMMY_BASE_URL = 'https://example.com';
23
19
  /**
24
20
  *
25
21
  * @throws {RequiredError}
26
- * @export
27
22
  */
28
23
  const assertParamExists = function (functionName, paramName, paramValue) {
29
24
  if (paramValue === null || paramValue === undefined) {
@@ -31,10 +26,6 @@ const assertParamExists = function (functionName, paramName, paramValue) {
31
26
  }
32
27
  };
33
28
  exports.assertParamExists = assertParamExists;
34
- /**
35
- *
36
- * @export
37
- */
38
29
  const setApiKeyToObject = async function (object, keyParamName, configuration) {
39
30
  if (configuration && configuration.apiKey) {
40
31
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -44,20 +35,12 @@ const setApiKeyToObject = async function (object, keyParamName, configuration) {
44
35
  }
45
36
  };
46
37
  exports.setApiKeyToObject = setApiKeyToObject;
47
- /**
48
- *
49
- * @export
50
- */
51
38
  const setBasicAuthToObject = function (object, configuration) {
52
39
  if (configuration && (configuration.username || configuration.password)) {
53
40
  object["auth"] = { username: configuration.username, password: configuration.password };
54
41
  }
55
42
  };
56
43
  exports.setBasicAuthToObject = setBasicAuthToObject;
57
- /**
58
- *
59
- * @export
60
- */
61
44
  const setBearerAuthToObject = async function (object, configuration) {
62
45
  if (configuration && configuration.accessToken) {
63
46
  const accessToken = typeof configuration.accessToken === 'function'
@@ -67,10 +50,6 @@ const setBearerAuthToObject = async function (object, configuration) {
67
50
  }
68
51
  };
69
52
  exports.setBearerAuthToObject = setBearerAuthToObject;
70
- /**
71
- *
72
- * @export
73
- */
74
53
  const setOAuthToObject = async function (object, name, scopes, configuration) {
75
54
  if (configuration && configuration.accessToken) {
76
55
  const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
@@ -100,20 +79,12 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
100
79
  }
101
80
  }
102
81
  }
103
- /**
104
- *
105
- * @export
106
- */
107
82
  const setSearchParams = function (url, ...objects) {
108
83
  const searchParams = new URLSearchParams(url.search);
109
84
  setFlattenedQueryParams(searchParams, objects);
110
85
  url.search = searchParams.toString();
111
86
  };
112
87
  exports.setSearchParams = setSearchParams;
113
- /**
114
- *
115
- * @export
116
- */
117
88
  const serializeDataIfNeeded = function (value, requestOptions, configuration) {
118
89
  const nonString = typeof value !== 'string';
119
90
  const needsSerialization = nonString && configuration && configuration.isJsonMime
@@ -124,18 +95,10 @@ const serializeDataIfNeeded = function (value, requestOptions, configuration) {
124
95
  : (value || "");
125
96
  };
126
97
  exports.serializeDataIfNeeded = serializeDataIfNeeded;
127
- /**
128
- *
129
- * @export
130
- */
131
98
  const toPathString = function (url) {
132
99
  return url.pathname + url.search + url.hash;
133
100
  };
134
101
  exports.toPathString = toPathString;
135
- /**
136
- *
137
- * @export
138
- */
139
102
  const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
140
103
  return (axios = globalAxios, basePath = BASE_PATH) => {
141
104
  const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
@@ -18,49 +18,32 @@ class Configuration {
18
18
  /**
19
19
  * parameter for apiKey security
20
20
  * @param name security name
21
- * @memberof Configuration
22
21
  */
23
22
  apiKey;
24
23
  /**
25
24
  * parameter for basic security
26
- *
27
- * @type {string}
28
- * @memberof Configuration
29
25
  */
30
26
  username;
31
27
  /**
32
28
  * parameter for basic security
33
- *
34
- * @type {string}
35
- * @memberof Configuration
36
29
  */
37
30
  password;
38
31
  /**
39
32
  * parameter for oauth2 security
40
33
  * @param name security name
41
34
  * @param scopes oauth2 scope
42
- * @memberof Configuration
43
35
  */
44
36
  accessToken;
45
37
  /**
46
38
  * override base path
47
- *
48
- * @type {string}
49
- * @memberof Configuration
50
39
  */
51
40
  basePath;
52
41
  /**
53
42
  * override server index
54
- *
55
- * @type {number}
56
- * @memberof Configuration
57
43
  */
58
44
  serverIndex;
59
45
  /**
60
46
  * base options for axios calls
61
- *
62
- * @type {any}
63
- * @memberof Configuration
64
47
  */
65
48
  baseOptions;
66
49
  /**