@sp-api-sdk/vendor-shipments-api-v1 2.0.4 → 2.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 (52) hide show
  1. package/dist/cjs/src/api-model/api/vendor-shipping-api.js +36 -132
  2. package/dist/cjs/src/api-model/models/index.js +1 -8
  3. package/dist/cjs/src/api-model/models/{shipment-information.js → transportation-details-for-shipment-confirmation.js} +5 -4
  4. package/dist/cjs/src/client.js +0 -7
  5. package/dist/es/src/api-model/api/vendor-shipping-api.js +36 -132
  6. package/dist/es/src/api-model/models/index.js +1 -8
  7. package/dist/es/src/api-model/models/{label-data.js → transportation-details-for-shipment-confirmation.js} +4 -2
  8. package/dist/es/src/client.js +0 -7
  9. package/dist/types/src/api-model/api/vendor-shipping-api.d.ts +54 -153
  10. package/dist/types/src/api-model/models/carrier-details.d.ts +1 -1
  11. package/dist/types/src/api-model/models/carton-reference-details.d.ts +1 -1
  12. package/dist/types/src/api-model/models/container-identification.d.ts +1 -1
  13. package/dist/types/src/api-model/models/container-sequence-numbers.d.ts +1 -1
  14. package/dist/types/src/api-model/models/containers.d.ts +1 -1
  15. package/dist/types/src/api-model/models/duration.d.ts +1 -1
  16. package/dist/types/src/api-model/models/expiry.d.ts +1 -1
  17. package/dist/types/src/api-model/models/import-details.d.ts +1 -1
  18. package/dist/types/src/api-model/models/index.d.ts +1 -8
  19. package/dist/types/src/api-model/models/pagination.d.ts +2 -2
  20. package/dist/types/src/api-model/models/party-identification.d.ts +1 -1
  21. package/dist/types/src/api-model/models/route.d.ts +1 -1
  22. package/dist/types/src/api-model/models/shipment-confirmation.d.ts +4 -4
  23. package/dist/types/src/api-model/models/shipment-details.d.ts +2 -2
  24. package/dist/types/src/api-model/models/shipment.d.ts +1 -1
  25. package/dist/types/src/api-model/models/submit-shipment-confirmations-request.d.ts +1 -1
  26. package/dist/types/src/api-model/models/submit-shipments.d.ts +2 -2
  27. package/dist/types/src/api-model/models/transaction-reference.d.ts +1 -1
  28. package/dist/types/src/api-model/models/transportation-details-for-shipment-confirmation.d.ts +48 -0
  29. package/dist/types/src/api-model/models/transportation-details.d.ts +2 -2
  30. package/package.json +4 -4
  31. package/dist/cjs/src/api-model/models/get-shipment-labels.js +0 -15
  32. package/dist/cjs/src/api-model/models/label-data.js +0 -19
  33. package/dist/cjs/src/api-model/models/packed-quantity.js +0 -20
  34. package/dist/cjs/src/api-model/models/purchase-order-item-details.js +0 -15
  35. package/dist/cjs/src/api-model/models/transport-label.js +0 -15
  36. package/dist/cjs/src/api-model/models/transportation-labels.js +0 -15
  37. package/dist/cjs/src/api-model/models/vendor-details.js +0 -15
  38. package/dist/es/src/api-model/models/get-shipment-labels.js +0 -14
  39. package/dist/es/src/api-model/models/packed-quantity.js +0 -17
  40. package/dist/es/src/api-model/models/purchase-order-item-details.js +0 -14
  41. package/dist/es/src/api-model/models/shipment-information.js +0 -17
  42. package/dist/es/src/api-model/models/transport-label.js +0 -14
  43. package/dist/es/src/api-model/models/transportation-labels.js +0 -14
  44. package/dist/es/src/api-model/models/vendor-details.js +0 -14
  45. package/dist/types/src/api-model/models/get-shipment-labels.d.ts +0 -31
  46. package/dist/types/src/api-model/models/label-data.d.ts +0 -52
  47. package/dist/types/src/api-model/models/packed-quantity.d.ts +0 -41
  48. package/dist/types/src/api-model/models/purchase-order-item-details.d.ts +0 -25
  49. package/dist/types/src/api-model/models/shipment-information.d.ts +0 -73
  50. package/dist/types/src/api-model/models/transport-label.d.ts +0 -38
  51. package/dist/types/src/api-model/models/transportation-labels.d.ts +0 -32
  52. package/dist/types/src/api-model/models/vendor-details.d.ts +0 -31
@@ -34,22 +34,22 @@ const VendorShippingApiAxiosParamCreator = function (configuration) {
34
34
  * @param {number} [limit] The limit to the number of records returned. Default value is 50 records.
35
35
  * @param {'ASC' | 'DESC'} [sortOrder] Sort in ascending or descending order by purchase order creation date.
36
36
  * @param {string} [nextToken] Used for pagination when there are more shipments than the specified result size limit.
37
- * @param {string} [createdAfter] Get Shipment Details that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
38
- * @param {string} [createdBefore] Get Shipment Details that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
39
- * @param {string} [shipmentConfirmedBefore] Get Shipment Details by passing Shipment confirmed create Date Before. Must be in ISO-8601 date/time format.
40
- * @param {string} [shipmentConfirmedAfter] Get Shipment Details by passing Shipment confirmed create Date After. Must be in ISO-8601 date/time format.
41
- * @param {string} [packageLabelCreatedBefore] Get Shipment Details by passing Package label create Date by buyer. Must be in ISO-8601 date/time format.
42
- * @param {string} [packageLabelCreatedAfter] Get Shipment Details by passing Package label create Date After by buyer. Must be in ISO-8601 date/time format.
43
- * @param {string} [shippedBefore] Get Shipment Details by passing Shipped Date Before. Must be in ISO-8601 date/time format.
44
- * @param {string} [shippedAfter] Get Shipment Details by passing Shipped Date After. Must be in ISO-8601 date/time format.
45
- * @param {string} [estimatedDeliveryBefore] Get Shipment Details by passing Estimated Delivery Date Before. Must be in ISO-8601 date/time format.
46
- * @param {string} [estimatedDeliveryAfter] Get Shipment Details by passing Estimated Delivery Date Before. Must be in ISO-8601 date/time format.
47
- * @param {string} [shipmentDeliveryBefore] Get Shipment Details by passing Shipment Delivery Date Before. Must be in ISO-8601 date/time format.
48
- * @param {string} [shipmentDeliveryAfter] Get Shipment Details by passing Shipment Delivery Date After. Must be in ISO-8601 date/time format.
49
- * @param {string} [requestedPickUpBefore] Get Shipment Details by passing Before Requested pickup date. Must be in ISO-8601 date/time format.
50
- * @param {string} [requestedPickUpAfter] Get Shipment Details by passing After Requested pickup date. Must be in ISO-8601 date/time format.
51
- * @param {string} [scheduledPickUpBefore] Get Shipment Details by passing Before scheduled pickup date. Must be in ISO-8601 date/time format.
52
- * @param {string} [scheduledPickUpAfter] Get Shipment Details by passing After Scheduled pickup date. Must be in ISO-8601 date/time format.
37
+ * @param {string} [createdAfter] Get Shipment Details that became available after this timestamp will be included in the result. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
38
+ * @param {string} [createdBefore] Get Shipment Details that became available before this timestamp will be included in the result. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
39
+ * @param {string} [shipmentConfirmedBefore] Get Shipment Details by passing Shipment confirmed create Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
40
+ * @param {string} [shipmentConfirmedAfter] Get Shipment Details by passing Shipment confirmed create Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
41
+ * @param {string} [packageLabelCreatedBefore] Get Shipment Details by passing Package label create Date by buyer. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
42
+ * @param {string} [packageLabelCreatedAfter] Get Shipment Details by passing Package label create Date After by buyer. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
43
+ * @param {string} [shippedBefore] Get Shipment Details by passing Shipped Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
44
+ * @param {string} [shippedAfter] Get Shipment Details by passing Shipped Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
45
+ * @param {string} [estimatedDeliveryBefore] Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
46
+ * @param {string} [estimatedDeliveryAfter] Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
47
+ * @param {string} [shipmentDeliveryBefore] Get Shipment Details by passing Shipment Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
48
+ * @param {string} [shipmentDeliveryAfter] Get Shipment Details by passing Shipment Delivery Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
49
+ * @param {string} [requestedPickUpBefore] Get Shipment Details by passing Before Requested pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
50
+ * @param {string} [requestedPickUpAfter] Get Shipment Details by passing After Requested pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
51
+ * @param {string} [scheduledPickUpBefore] Get Shipment Details by passing Before scheduled pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
52
+ * @param {string} [scheduledPickUpAfter] Get Shipment Details by passing After Scheduled pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
53
53
  * @param {string} [currentShipmentStatus] Get Shipment Details by passing Current shipment status.
54
54
  * @param {string} [vendorShipmentIdentifier] Get Shipment Details by passing Vendor Shipment ID
55
55
  * @param {string} [buyerReferenceNumber] Get Shipment Details by passing buyer Reference ID
@@ -181,69 +181,9 @@ const VendorShippingApiAxiosParamCreator = function (configuration) {
181
181
  options: localVarRequestOptions,
182
182
  };
183
183
  },
184
- /**
185
- * Returns transport Labels based on the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
186
- * @param {number} [limit] The limit to the number of records returned. Default value is 50 records.
187
- * @param {'ASC' | 'DESC'} [sortOrder] Sort in ascending or descending order by transport label creation date.
188
- * @param {string} [nextToken] Used for pagination when there are more transport label than the specified result size limit.
189
- * @param {string} [labelCreatedAfter] transport Labels that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
190
- * @param {string} [labelcreatedBefore] transport Labels that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
191
- * @param {string} [buyerReferenceNumber] Get transport labels by passing Buyer Reference Number to retreive the corresponding transport label.
192
- * @param {string} [vendorShipmentIdentifier] Get transport labels by passing Vendor Shipment ID to retreive the corresponding transport label.
193
- * @param {string} [sellerWarehouseCode] Get Shipping labels based Vendor Warehouse code. This value should be same as \'shipFromParty.partyId\' in the Shipment.
194
- * @param {*} [options] Override http request option.
195
- * @throws {RequiredError}
196
- */
197
- getShipmentLabels: async (limit, sortOrder, nextToken, labelCreatedAfter, labelcreatedBefore, buyerReferenceNumber, vendorShipmentIdentifier, sellerWarehouseCode, options = {}) => {
198
- const localVarPath = `/vendor/shipping/v1/transportLabels`;
199
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
200
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
201
- let baseOptions;
202
- if (configuration) {
203
- baseOptions = configuration.baseOptions;
204
- }
205
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
206
- const localVarHeaderParameter = {};
207
- const localVarQueryParameter = {};
208
- if (limit !== undefined) {
209
- localVarQueryParameter['limit'] = limit;
210
- }
211
- if (sortOrder !== undefined) {
212
- localVarQueryParameter['sortOrder'] = sortOrder;
213
- }
214
- if (nextToken !== undefined) {
215
- localVarQueryParameter['nextToken'] = nextToken;
216
- }
217
- if (labelCreatedAfter !== undefined) {
218
- localVarQueryParameter['labelCreatedAfter'] = (labelCreatedAfter instanceof Date) ?
219
- labelCreatedAfter.toISOString() :
220
- labelCreatedAfter;
221
- }
222
- if (labelcreatedBefore !== undefined) {
223
- localVarQueryParameter['labelcreatedBefore'] = (labelcreatedBefore instanceof Date) ?
224
- labelcreatedBefore.toISOString() :
225
- labelcreatedBefore;
226
- }
227
- if (buyerReferenceNumber !== undefined) {
228
- localVarQueryParameter['buyerReferenceNumber'] = buyerReferenceNumber;
229
- }
230
- if (vendorShipmentIdentifier !== undefined) {
231
- localVarQueryParameter['vendorShipmentIdentifier'] = vendorShipmentIdentifier;
232
- }
233
- if (sellerWarehouseCode !== undefined) {
234
- localVarQueryParameter['sellerWarehouseCode'] = sellerWarehouseCode;
235
- }
236
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
237
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
238
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
239
- return {
240
- url: (0, common_1.toPathString)(localVarUrlObj),
241
- options: localVarRequestOptions,
242
- };
243
- },
244
184
  /**
245
185
  * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
246
- * @param {SubmitShipmentConfirmationsRequest} body
186
+ * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
247
187
  * @param {*} [options] Override http request option.
248
188
  * @throws {RequiredError}
249
189
  */
@@ -272,7 +212,7 @@ const VendorShippingApiAxiosParamCreator = function (configuration) {
272
212
  },
273
213
  /**
274
214
  * Submits one or more shipment request for vendor Orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
275
- * @param {SubmitShipments} body
215
+ * @param {SubmitShipments} body A request to submit shipment request.
276
216
  * @param {*} [options] Override http request option.
277
217
  * @throws {RequiredError}
278
218
  */
@@ -314,22 +254,22 @@ const VendorShippingApiFp = function (configuration) {
314
254
  * @param {number} [limit] The limit to the number of records returned. Default value is 50 records.
315
255
  * @param {'ASC' | 'DESC'} [sortOrder] Sort in ascending or descending order by purchase order creation date.
316
256
  * @param {string} [nextToken] Used for pagination when there are more shipments than the specified result size limit.
317
- * @param {string} [createdAfter] Get Shipment Details that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
318
- * @param {string} [createdBefore] Get Shipment Details that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
319
- * @param {string} [shipmentConfirmedBefore] Get Shipment Details by passing Shipment confirmed create Date Before. Must be in ISO-8601 date/time format.
320
- * @param {string} [shipmentConfirmedAfter] Get Shipment Details by passing Shipment confirmed create Date After. Must be in ISO-8601 date/time format.
321
- * @param {string} [packageLabelCreatedBefore] Get Shipment Details by passing Package label create Date by buyer. Must be in ISO-8601 date/time format.
322
- * @param {string} [packageLabelCreatedAfter] Get Shipment Details by passing Package label create Date After by buyer. Must be in ISO-8601 date/time format.
323
- * @param {string} [shippedBefore] Get Shipment Details by passing Shipped Date Before. Must be in ISO-8601 date/time format.
324
- * @param {string} [shippedAfter] Get Shipment Details by passing Shipped Date After. Must be in ISO-8601 date/time format.
325
- * @param {string} [estimatedDeliveryBefore] Get Shipment Details by passing Estimated Delivery Date Before. Must be in ISO-8601 date/time format.
326
- * @param {string} [estimatedDeliveryAfter] Get Shipment Details by passing Estimated Delivery Date Before. Must be in ISO-8601 date/time format.
327
- * @param {string} [shipmentDeliveryBefore] Get Shipment Details by passing Shipment Delivery Date Before. Must be in ISO-8601 date/time format.
328
- * @param {string} [shipmentDeliveryAfter] Get Shipment Details by passing Shipment Delivery Date After. Must be in ISO-8601 date/time format.
329
- * @param {string} [requestedPickUpBefore] Get Shipment Details by passing Before Requested pickup date. Must be in ISO-8601 date/time format.
330
- * @param {string} [requestedPickUpAfter] Get Shipment Details by passing After Requested pickup date. Must be in ISO-8601 date/time format.
331
- * @param {string} [scheduledPickUpBefore] Get Shipment Details by passing Before scheduled pickup date. Must be in ISO-8601 date/time format.
332
- * @param {string} [scheduledPickUpAfter] Get Shipment Details by passing After Scheduled pickup date. Must be in ISO-8601 date/time format.
257
+ * @param {string} [createdAfter] Get Shipment Details that became available after this timestamp will be included in the result. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
258
+ * @param {string} [createdBefore] Get Shipment Details that became available before this timestamp will be included in the result. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
259
+ * @param {string} [shipmentConfirmedBefore] Get Shipment Details by passing Shipment confirmed create Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
260
+ * @param {string} [shipmentConfirmedAfter] Get Shipment Details by passing Shipment confirmed create Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
261
+ * @param {string} [packageLabelCreatedBefore] Get Shipment Details by passing Package label create Date by buyer. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
262
+ * @param {string} [packageLabelCreatedAfter] Get Shipment Details by passing Package label create Date After by buyer. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
263
+ * @param {string} [shippedBefore] Get Shipment Details by passing Shipped Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
264
+ * @param {string} [shippedAfter] Get Shipment Details by passing Shipped Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
265
+ * @param {string} [estimatedDeliveryBefore] Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
266
+ * @param {string} [estimatedDeliveryAfter] Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
267
+ * @param {string} [shipmentDeliveryBefore] Get Shipment Details by passing Shipment Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
268
+ * @param {string} [shipmentDeliveryAfter] Get Shipment Details by passing Shipment Delivery Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
269
+ * @param {string} [requestedPickUpBefore] Get Shipment Details by passing Before Requested pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
270
+ * @param {string} [requestedPickUpAfter] Get Shipment Details by passing After Requested pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
271
+ * @param {string} [scheduledPickUpBefore] Get Shipment Details by passing Before scheduled pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
272
+ * @param {string} [scheduledPickUpAfter] Get Shipment Details by passing After Scheduled pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
333
273
  * @param {string} [currentShipmentStatus] Get Shipment Details by passing Current shipment status.
334
274
  * @param {string} [vendorShipmentIdentifier] Get Shipment Details by passing Vendor Shipment ID
335
275
  * @param {string} [buyerReferenceNumber] Get Shipment Details by passing buyer Reference ID
@@ -342,26 +282,9 @@ const VendorShippingApiFp = function (configuration) {
342
282
  const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentDetails(limit, sortOrder, nextToken, createdAfter, createdBefore, shipmentConfirmedBefore, shipmentConfirmedAfter, packageLabelCreatedBefore, packageLabelCreatedAfter, shippedBefore, shippedAfter, estimatedDeliveryBefore, estimatedDeliveryAfter, shipmentDeliveryBefore, shipmentDeliveryAfter, requestedPickUpBefore, requestedPickUpAfter, scheduledPickUpBefore, scheduledPickUpAfter, currentShipmentStatus, vendorShipmentIdentifier, buyerReferenceNumber, buyerWarehouseCode, sellerWarehouseCode, options);
343
283
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
344
284
  },
345
- /**
346
- * Returns transport Labels based on the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
347
- * @param {number} [limit] The limit to the number of records returned. Default value is 50 records.
348
- * @param {'ASC' | 'DESC'} [sortOrder] Sort in ascending or descending order by transport label creation date.
349
- * @param {string} [nextToken] Used for pagination when there are more transport label than the specified result size limit.
350
- * @param {string} [labelCreatedAfter] transport Labels that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
351
- * @param {string} [labelcreatedBefore] transport Labels that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
352
- * @param {string} [buyerReferenceNumber] Get transport labels by passing Buyer Reference Number to retreive the corresponding transport label.
353
- * @param {string} [vendorShipmentIdentifier] Get transport labels by passing Vendor Shipment ID to retreive the corresponding transport label.
354
- * @param {string} [sellerWarehouseCode] Get Shipping labels based Vendor Warehouse code. This value should be same as \'shipFromParty.partyId\' in the Shipment.
355
- * @param {*} [options] Override http request option.
356
- * @throws {RequiredError}
357
- */
358
- async getShipmentLabels(limit, sortOrder, nextToken, labelCreatedAfter, labelcreatedBefore, buyerReferenceNumber, vendorShipmentIdentifier, sellerWarehouseCode, options) {
359
- const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentLabels(limit, sortOrder, nextToken, labelCreatedAfter, labelcreatedBefore, buyerReferenceNumber, vendorShipmentIdentifier, sellerWarehouseCode, options);
360
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
361
- },
362
285
  /**
363
286
  * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
364
- * @param {SubmitShipmentConfirmationsRequest} body
287
+ * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
365
288
  * @param {*} [options] Override http request option.
366
289
  * @throws {RequiredError}
367
290
  */
@@ -371,7 +294,7 @@ const VendorShippingApiFp = function (configuration) {
371
294
  },
372
295
  /**
373
296
  * Submits one or more shipment request for vendor Orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
374
- * @param {SubmitShipments} body
297
+ * @param {SubmitShipments} body A request to submit shipment request.
375
298
  * @param {*} [options] Override http request option.
376
299
  * @throws {RequiredError}
377
300
  */
@@ -398,15 +321,6 @@ const VendorShippingApiFactory = function (configuration, basePath, axios) {
398
321
  getShipmentDetails(requestParameters = {}, options) {
399
322
  return localVarFp.getShipmentDetails(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipmentConfirmedBefore, requestParameters.shipmentConfirmedAfter, requestParameters.packageLabelCreatedBefore, requestParameters.packageLabelCreatedAfter, requestParameters.shippedBefore, requestParameters.shippedAfter, requestParameters.estimatedDeliveryBefore, requestParameters.estimatedDeliveryAfter, requestParameters.shipmentDeliveryBefore, requestParameters.shipmentDeliveryAfter, requestParameters.requestedPickUpBefore, requestParameters.requestedPickUpAfter, requestParameters.scheduledPickUpBefore, requestParameters.scheduledPickUpAfter, requestParameters.currentShipmentStatus, requestParameters.vendorShipmentIdentifier, requestParameters.buyerReferenceNumber, requestParameters.buyerWarehouseCode, requestParameters.sellerWarehouseCode, options).then((request) => request(axios, basePath));
400
323
  },
401
- /**
402
- * Returns transport Labels based on the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
403
- * @param {VendorShippingApiGetShipmentLabelsRequest} requestParameters Request parameters.
404
- * @param {*} [options] Override http request option.
405
- * @throws {RequiredError}
406
- */
407
- getShipmentLabels(requestParameters = {}, options) {
408
- return localVarFp.getShipmentLabels(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.labelCreatedAfter, requestParameters.labelcreatedBefore, requestParameters.buyerReferenceNumber, requestParameters.vendorShipmentIdentifier, requestParameters.sellerWarehouseCode, options).then((request) => request(axios, basePath));
409
- },
410
324
  /**
411
325
  * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
412
326
  * @param {VendorShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
@@ -445,16 +359,6 @@ class VendorShippingApi extends base_1.BaseAPI {
445
359
  getShipmentDetails(requestParameters = {}, options) {
446
360
  return (0, exports.VendorShippingApiFp)(this.configuration).getShipmentDetails(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipmentConfirmedBefore, requestParameters.shipmentConfirmedAfter, requestParameters.packageLabelCreatedBefore, requestParameters.packageLabelCreatedAfter, requestParameters.shippedBefore, requestParameters.shippedAfter, requestParameters.estimatedDeliveryBefore, requestParameters.estimatedDeliveryAfter, requestParameters.shipmentDeliveryBefore, requestParameters.shipmentDeliveryAfter, requestParameters.requestedPickUpBefore, requestParameters.requestedPickUpAfter, requestParameters.scheduledPickUpBefore, requestParameters.scheduledPickUpAfter, requestParameters.currentShipmentStatus, requestParameters.vendorShipmentIdentifier, requestParameters.buyerReferenceNumber, requestParameters.buyerWarehouseCode, requestParameters.sellerWarehouseCode, options).then((request) => request(this.axios, this.basePath));
447
361
  }
448
- /**
449
- * Returns transport Labels based on the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
450
- * @param {VendorShippingApiGetShipmentLabelsRequest} requestParameters Request parameters.
451
- * @param {*} [options] Override http request option.
452
- * @throws {RequiredError}
453
- * @memberof VendorShippingApi
454
- */
455
- getShipmentLabels(requestParameters = {}, options) {
456
- return (0, exports.VendorShippingApiFp)(this.configuration).getShipmentLabels(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.labelCreatedAfter, requestParameters.labelcreatedBefore, requestParameters.buyerReferenceNumber, requestParameters.vendorShipmentIdentifier, requestParameters.sellerWarehouseCode, options).then((request) => request(this.axios, this.basePath));
457
- }
458
362
  /**
459
363
  * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
460
364
  * @param {VendorShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
@@ -27,30 +27,25 @@ __exportStar(require("./dimensions"), exports);
27
27
  __exportStar(require("./duration"), exports);
28
28
  __exportStar(require("./expiry"), exports);
29
29
  __exportStar(require("./get-shipment-details-response"), exports);
30
- __exportStar(require("./get-shipment-labels"), exports);
31
30
  __exportStar(require("./import-details"), exports);
32
31
  __exportStar(require("./inner-containers-details"), exports);
33
32
  __exportStar(require("./item"), exports);
34
33
  __exportStar(require("./item-details"), exports);
35
34
  __exportStar(require("./item-quantity"), exports);
36
- __exportStar(require("./label-data"), exports);
37
35
  __exportStar(require("./location"), exports);
38
36
  __exportStar(require("./model-error"), exports);
39
37
  __exportStar(require("./money"), exports);
40
38
  __exportStar(require("./package-item-details"), exports);
41
39
  __exportStar(require("./packed-items"), exports);
42
- __exportStar(require("./packed-quantity"), exports);
43
40
  __exportStar(require("./pagination"), exports);
44
41
  __exportStar(require("./pallet"), exports);
45
42
  __exportStar(require("./party-identification"), exports);
46
- __exportStar(require("./purchase-order-item-details"), exports);
47
43
  __exportStar(require("./purchase-order-items"), exports);
48
44
  __exportStar(require("./purchase-orders"), exports);
49
45
  __exportStar(require("./route"), exports);
50
46
  __exportStar(require("./shipment"), exports);
51
47
  __exportStar(require("./shipment-confirmation"), exports);
52
48
  __exportStar(require("./shipment-details"), exports);
53
- __exportStar(require("./shipment-information"), exports);
54
49
  __exportStar(require("./shipment-measurements"), exports);
55
50
  __exportStar(require("./shipment-status-details"), exports);
56
51
  __exportStar(require("./stop"), exports);
@@ -59,10 +54,8 @@ __exportStar(require("./submit-shipment-confirmations-response"), exports);
59
54
  __exportStar(require("./submit-shipments"), exports);
60
55
  __exportStar(require("./tax-registration-details"), exports);
61
56
  __exportStar(require("./transaction-reference"), exports);
62
- __exportStar(require("./transport-label"), exports);
63
57
  __exportStar(require("./transport-shipment-measurements"), exports);
64
58
  __exportStar(require("./transportation-details"), exports);
65
- __exportStar(require("./transportation-labels"), exports);
66
- __exportStar(require("./vendor-details"), exports);
59
+ __exportStar(require("./transportation-details-for-shipment-confirmation"), exports);
67
60
  __exportStar(require("./volume"), exports);
68
61
  __exportStar(require("./weight"), exports);
@@ -13,8 +13,9 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ShipmentInformationShipModeEnum = void 0;
17
- exports.ShipmentInformationShipModeEnum = {
18
- SmallParcel: 'SmallParcel',
19
- Ltl: 'LTL'
16
+ exports.TransportationDetailsForShipmentConfirmationTransportationModeEnum = void 0;
17
+ exports.TransportationDetailsForShipmentConfirmationTransportationModeEnum = {
18
+ Road: 'Road',
19
+ Air: 'Air',
20
+ Ocean: 'Ocean'
20
21
  };
@@ -25,13 +25,6 @@ exports.clientRateLimits = [
25
25
  rate: 10,
26
26
  burst: 10,
27
27
  },
28
- {
29
- method: 'get',
30
- // eslint-disable-next-line prefer-regex-literals
31
- urlRegex: new RegExp('^/vendor/shipping/v1/transportLabels$'),
32
- rate: 10,
33
- burst: 10,
34
- },
35
28
  ];
36
29
  class VendorShipmentsApiClient extends api_model_1.VendorShippingApi {
37
30
  constructor(configuration) {
@@ -28,22 +28,22 @@ export const VendorShippingApiAxiosParamCreator = function (configuration) {
28
28
  * @param {number} [limit] The limit to the number of records returned. Default value is 50 records.
29
29
  * @param {'ASC' | 'DESC'} [sortOrder] Sort in ascending or descending order by purchase order creation date.
30
30
  * @param {string} [nextToken] Used for pagination when there are more shipments than the specified result size limit.
31
- * @param {string} [createdAfter] Get Shipment Details that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
32
- * @param {string} [createdBefore] Get Shipment Details that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
33
- * @param {string} [shipmentConfirmedBefore] Get Shipment Details by passing Shipment confirmed create Date Before. Must be in ISO-8601 date/time format.
34
- * @param {string} [shipmentConfirmedAfter] Get Shipment Details by passing Shipment confirmed create Date After. Must be in ISO-8601 date/time format.
35
- * @param {string} [packageLabelCreatedBefore] Get Shipment Details by passing Package label create Date by buyer. Must be in ISO-8601 date/time format.
36
- * @param {string} [packageLabelCreatedAfter] Get Shipment Details by passing Package label create Date After by buyer. Must be in ISO-8601 date/time format.
37
- * @param {string} [shippedBefore] Get Shipment Details by passing Shipped Date Before. Must be in ISO-8601 date/time format.
38
- * @param {string} [shippedAfter] Get Shipment Details by passing Shipped Date After. Must be in ISO-8601 date/time format.
39
- * @param {string} [estimatedDeliveryBefore] Get Shipment Details by passing Estimated Delivery Date Before. Must be in ISO-8601 date/time format.
40
- * @param {string} [estimatedDeliveryAfter] Get Shipment Details by passing Estimated Delivery Date Before. Must be in ISO-8601 date/time format.
41
- * @param {string} [shipmentDeliveryBefore] Get Shipment Details by passing Shipment Delivery Date Before. Must be in ISO-8601 date/time format.
42
- * @param {string} [shipmentDeliveryAfter] Get Shipment Details by passing Shipment Delivery Date After. Must be in ISO-8601 date/time format.
43
- * @param {string} [requestedPickUpBefore] Get Shipment Details by passing Before Requested pickup date. Must be in ISO-8601 date/time format.
44
- * @param {string} [requestedPickUpAfter] Get Shipment Details by passing After Requested pickup date. Must be in ISO-8601 date/time format.
45
- * @param {string} [scheduledPickUpBefore] Get Shipment Details by passing Before scheduled pickup date. Must be in ISO-8601 date/time format.
46
- * @param {string} [scheduledPickUpAfter] Get Shipment Details by passing After Scheduled pickup date. Must be in ISO-8601 date/time format.
31
+ * @param {string} [createdAfter] Get Shipment Details that became available after this timestamp will be included in the result. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
32
+ * @param {string} [createdBefore] Get Shipment Details that became available before this timestamp will be included in the result. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
33
+ * @param {string} [shipmentConfirmedBefore] Get Shipment Details by passing Shipment confirmed create Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
34
+ * @param {string} [shipmentConfirmedAfter] Get Shipment Details by passing Shipment confirmed create Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
35
+ * @param {string} [packageLabelCreatedBefore] Get Shipment Details by passing Package label create Date by buyer. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
36
+ * @param {string} [packageLabelCreatedAfter] Get Shipment Details by passing Package label create Date After by buyer. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
37
+ * @param {string} [shippedBefore] Get Shipment Details by passing Shipped Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
38
+ * @param {string} [shippedAfter] Get Shipment Details by passing Shipped Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
39
+ * @param {string} [estimatedDeliveryBefore] Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
40
+ * @param {string} [estimatedDeliveryAfter] Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
41
+ * @param {string} [shipmentDeliveryBefore] Get Shipment Details by passing Shipment Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
42
+ * @param {string} [shipmentDeliveryAfter] Get Shipment Details by passing Shipment Delivery Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
43
+ * @param {string} [requestedPickUpBefore] Get Shipment Details by passing Before Requested pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
44
+ * @param {string} [requestedPickUpAfter] Get Shipment Details by passing After Requested pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
45
+ * @param {string} [scheduledPickUpBefore] Get Shipment Details by passing Before scheduled pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
46
+ * @param {string} [scheduledPickUpAfter] Get Shipment Details by passing After Scheduled pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
47
47
  * @param {string} [currentShipmentStatus] Get Shipment Details by passing Current shipment status.
48
48
  * @param {string} [vendorShipmentIdentifier] Get Shipment Details by passing Vendor Shipment ID
49
49
  * @param {string} [buyerReferenceNumber] Get Shipment Details by passing buyer Reference ID
@@ -175,69 +175,9 @@ export const VendorShippingApiAxiosParamCreator = function (configuration) {
175
175
  options: localVarRequestOptions,
176
176
  };
177
177
  },
178
- /**
179
- * Returns transport Labels based on the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
180
- * @param {number} [limit] The limit to the number of records returned. Default value is 50 records.
181
- * @param {'ASC' | 'DESC'} [sortOrder] Sort in ascending or descending order by transport label creation date.
182
- * @param {string} [nextToken] Used for pagination when there are more transport label than the specified result size limit.
183
- * @param {string} [labelCreatedAfter] transport Labels that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
184
- * @param {string} [labelcreatedBefore] transport Labels that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
185
- * @param {string} [buyerReferenceNumber] Get transport labels by passing Buyer Reference Number to retreive the corresponding transport label.
186
- * @param {string} [vendorShipmentIdentifier] Get transport labels by passing Vendor Shipment ID to retreive the corresponding transport label.
187
- * @param {string} [sellerWarehouseCode] Get Shipping labels based Vendor Warehouse code. This value should be same as \'shipFromParty.partyId\' in the Shipment.
188
- * @param {*} [options] Override http request option.
189
- * @throws {RequiredError}
190
- */
191
- getShipmentLabels: async (limit, sortOrder, nextToken, labelCreatedAfter, labelcreatedBefore, buyerReferenceNumber, vendorShipmentIdentifier, sellerWarehouseCode, options = {}) => {
192
- const localVarPath = `/vendor/shipping/v1/transportLabels`;
193
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
194
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
195
- let baseOptions;
196
- if (configuration) {
197
- baseOptions = configuration.baseOptions;
198
- }
199
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
200
- const localVarHeaderParameter = {};
201
- const localVarQueryParameter = {};
202
- if (limit !== undefined) {
203
- localVarQueryParameter['limit'] = limit;
204
- }
205
- if (sortOrder !== undefined) {
206
- localVarQueryParameter['sortOrder'] = sortOrder;
207
- }
208
- if (nextToken !== undefined) {
209
- localVarQueryParameter['nextToken'] = nextToken;
210
- }
211
- if (labelCreatedAfter !== undefined) {
212
- localVarQueryParameter['labelCreatedAfter'] = (labelCreatedAfter instanceof Date) ?
213
- labelCreatedAfter.toISOString() :
214
- labelCreatedAfter;
215
- }
216
- if (labelcreatedBefore !== undefined) {
217
- localVarQueryParameter['labelcreatedBefore'] = (labelcreatedBefore instanceof Date) ?
218
- labelcreatedBefore.toISOString() :
219
- labelcreatedBefore;
220
- }
221
- if (buyerReferenceNumber !== undefined) {
222
- localVarQueryParameter['buyerReferenceNumber'] = buyerReferenceNumber;
223
- }
224
- if (vendorShipmentIdentifier !== undefined) {
225
- localVarQueryParameter['vendorShipmentIdentifier'] = vendorShipmentIdentifier;
226
- }
227
- if (sellerWarehouseCode !== undefined) {
228
- localVarQueryParameter['sellerWarehouseCode'] = sellerWarehouseCode;
229
- }
230
- setSearchParams(localVarUrlObj, localVarQueryParameter);
231
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
232
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
233
- return {
234
- url: toPathString(localVarUrlObj),
235
- options: localVarRequestOptions,
236
- };
237
- },
238
178
  /**
239
179
  * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
240
- * @param {SubmitShipmentConfirmationsRequest} body
180
+ * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
241
181
  * @param {*} [options] Override http request option.
242
182
  * @throws {RequiredError}
243
183
  */
@@ -266,7 +206,7 @@ export const VendorShippingApiAxiosParamCreator = function (configuration) {
266
206
  },
267
207
  /**
268
208
  * Submits one or more shipment request for vendor Orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
269
- * @param {SubmitShipments} body
209
+ * @param {SubmitShipments} body A request to submit shipment request.
270
210
  * @param {*} [options] Override http request option.
271
211
  * @throws {RequiredError}
272
212
  */
@@ -307,22 +247,22 @@ export const VendorShippingApiFp = function (configuration) {
307
247
  * @param {number} [limit] The limit to the number of records returned. Default value is 50 records.
308
248
  * @param {'ASC' | 'DESC'} [sortOrder] Sort in ascending or descending order by purchase order creation date.
309
249
  * @param {string} [nextToken] Used for pagination when there are more shipments than the specified result size limit.
310
- * @param {string} [createdAfter] Get Shipment Details that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
311
- * @param {string} [createdBefore] Get Shipment Details that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
312
- * @param {string} [shipmentConfirmedBefore] Get Shipment Details by passing Shipment confirmed create Date Before. Must be in ISO-8601 date/time format.
313
- * @param {string} [shipmentConfirmedAfter] Get Shipment Details by passing Shipment confirmed create Date After. Must be in ISO-8601 date/time format.
314
- * @param {string} [packageLabelCreatedBefore] Get Shipment Details by passing Package label create Date by buyer. Must be in ISO-8601 date/time format.
315
- * @param {string} [packageLabelCreatedAfter] Get Shipment Details by passing Package label create Date After by buyer. Must be in ISO-8601 date/time format.
316
- * @param {string} [shippedBefore] Get Shipment Details by passing Shipped Date Before. Must be in ISO-8601 date/time format.
317
- * @param {string} [shippedAfter] Get Shipment Details by passing Shipped Date After. Must be in ISO-8601 date/time format.
318
- * @param {string} [estimatedDeliveryBefore] Get Shipment Details by passing Estimated Delivery Date Before. Must be in ISO-8601 date/time format.
319
- * @param {string} [estimatedDeliveryAfter] Get Shipment Details by passing Estimated Delivery Date Before. Must be in ISO-8601 date/time format.
320
- * @param {string} [shipmentDeliveryBefore] Get Shipment Details by passing Shipment Delivery Date Before. Must be in ISO-8601 date/time format.
321
- * @param {string} [shipmentDeliveryAfter] Get Shipment Details by passing Shipment Delivery Date After. Must be in ISO-8601 date/time format.
322
- * @param {string} [requestedPickUpBefore] Get Shipment Details by passing Before Requested pickup date. Must be in ISO-8601 date/time format.
323
- * @param {string} [requestedPickUpAfter] Get Shipment Details by passing After Requested pickup date. Must be in ISO-8601 date/time format.
324
- * @param {string} [scheduledPickUpBefore] Get Shipment Details by passing Before scheduled pickup date. Must be in ISO-8601 date/time format.
325
- * @param {string} [scheduledPickUpAfter] Get Shipment Details by passing After Scheduled pickup date. Must be in ISO-8601 date/time format.
250
+ * @param {string} [createdAfter] Get Shipment Details that became available after this timestamp will be included in the result. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
251
+ * @param {string} [createdBefore] Get Shipment Details that became available before this timestamp will be included in the result. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
252
+ * @param {string} [shipmentConfirmedBefore] Get Shipment Details by passing Shipment confirmed create Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
253
+ * @param {string} [shipmentConfirmedAfter] Get Shipment Details by passing Shipment confirmed create Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
254
+ * @param {string} [packageLabelCreatedBefore] Get Shipment Details by passing Package label create Date by buyer. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
255
+ * @param {string} [packageLabelCreatedAfter] Get Shipment Details by passing Package label create Date After by buyer. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
256
+ * @param {string} [shippedBefore] Get Shipment Details by passing Shipped Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
257
+ * @param {string} [shippedAfter] Get Shipment Details by passing Shipped Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
258
+ * @param {string} [estimatedDeliveryBefore] Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
259
+ * @param {string} [estimatedDeliveryAfter] Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
260
+ * @param {string} [shipmentDeliveryBefore] Get Shipment Details by passing Shipment Delivery Date Before. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
261
+ * @param {string} [shipmentDeliveryAfter] Get Shipment Details by passing Shipment Delivery Date After. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
262
+ * @param {string} [requestedPickUpBefore] Get Shipment Details by passing Before Requested pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
263
+ * @param {string} [requestedPickUpAfter] Get Shipment Details by passing After Requested pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
264
+ * @param {string} [scheduledPickUpBefore] Get Shipment Details by passing Before scheduled pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
265
+ * @param {string} [scheduledPickUpAfter] Get Shipment Details by passing After Scheduled pickup date. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
326
266
  * @param {string} [currentShipmentStatus] Get Shipment Details by passing Current shipment status.
327
267
  * @param {string} [vendorShipmentIdentifier] Get Shipment Details by passing Vendor Shipment ID
328
268
  * @param {string} [buyerReferenceNumber] Get Shipment Details by passing buyer Reference ID
@@ -335,26 +275,9 @@ export const VendorShippingApiFp = function (configuration) {
335
275
  const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentDetails(limit, sortOrder, nextToken, createdAfter, createdBefore, shipmentConfirmedBefore, shipmentConfirmedAfter, packageLabelCreatedBefore, packageLabelCreatedAfter, shippedBefore, shippedAfter, estimatedDeliveryBefore, estimatedDeliveryAfter, shipmentDeliveryBefore, shipmentDeliveryAfter, requestedPickUpBefore, requestedPickUpAfter, scheduledPickUpBefore, scheduledPickUpAfter, currentShipmentStatus, vendorShipmentIdentifier, buyerReferenceNumber, buyerWarehouseCode, sellerWarehouseCode, options);
336
276
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
337
277
  },
338
- /**
339
- * Returns transport Labels based on the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
340
- * @param {number} [limit] The limit to the number of records returned. Default value is 50 records.
341
- * @param {'ASC' | 'DESC'} [sortOrder] Sort in ascending or descending order by transport label creation date.
342
- * @param {string} [nextToken] Used for pagination when there are more transport label than the specified result size limit.
343
- * @param {string} [labelCreatedAfter] transport Labels that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
344
- * @param {string} [labelcreatedBefore] transport Labels that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
345
- * @param {string} [buyerReferenceNumber] Get transport labels by passing Buyer Reference Number to retreive the corresponding transport label.
346
- * @param {string} [vendorShipmentIdentifier] Get transport labels by passing Vendor Shipment ID to retreive the corresponding transport label.
347
- * @param {string} [sellerWarehouseCode] Get Shipping labels based Vendor Warehouse code. This value should be same as \'shipFromParty.partyId\' in the Shipment.
348
- * @param {*} [options] Override http request option.
349
- * @throws {RequiredError}
350
- */
351
- async getShipmentLabels(limit, sortOrder, nextToken, labelCreatedAfter, labelcreatedBefore, buyerReferenceNumber, vendorShipmentIdentifier, sellerWarehouseCode, options) {
352
- const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentLabels(limit, sortOrder, nextToken, labelCreatedAfter, labelcreatedBefore, buyerReferenceNumber, vendorShipmentIdentifier, sellerWarehouseCode, options);
353
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
354
- },
355
278
  /**
356
279
  * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
357
- * @param {SubmitShipmentConfirmationsRequest} body
280
+ * @param {SubmitShipmentConfirmationsRequest} body A request to submit shipment confirmation.
358
281
  * @param {*} [options] Override http request option.
359
282
  * @throws {RequiredError}
360
283
  */
@@ -364,7 +287,7 @@ export const VendorShippingApiFp = function (configuration) {
364
287
  },
365
288
  /**
366
289
  * Submits one or more shipment request for vendor Orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
367
- * @param {SubmitShipments} body
290
+ * @param {SubmitShipments} body A request to submit shipment request.
368
291
  * @param {*} [options] Override http request option.
369
292
  * @throws {RequiredError}
370
293
  */
@@ -390,15 +313,6 @@ export const VendorShippingApiFactory = function (configuration, basePath, axios
390
313
  getShipmentDetails(requestParameters = {}, options) {
391
314
  return localVarFp.getShipmentDetails(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipmentConfirmedBefore, requestParameters.shipmentConfirmedAfter, requestParameters.packageLabelCreatedBefore, requestParameters.packageLabelCreatedAfter, requestParameters.shippedBefore, requestParameters.shippedAfter, requestParameters.estimatedDeliveryBefore, requestParameters.estimatedDeliveryAfter, requestParameters.shipmentDeliveryBefore, requestParameters.shipmentDeliveryAfter, requestParameters.requestedPickUpBefore, requestParameters.requestedPickUpAfter, requestParameters.scheduledPickUpBefore, requestParameters.scheduledPickUpAfter, requestParameters.currentShipmentStatus, requestParameters.vendorShipmentIdentifier, requestParameters.buyerReferenceNumber, requestParameters.buyerWarehouseCode, requestParameters.sellerWarehouseCode, options).then((request) => request(axios, basePath));
392
315
  },
393
- /**
394
- * Returns transport Labels based on the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
395
- * @param {VendorShippingApiGetShipmentLabelsRequest} requestParameters Request parameters.
396
- * @param {*} [options] Override http request option.
397
- * @throws {RequiredError}
398
- */
399
- getShipmentLabels(requestParameters = {}, options) {
400
- return localVarFp.getShipmentLabels(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.labelCreatedAfter, requestParameters.labelcreatedBefore, requestParameters.buyerReferenceNumber, requestParameters.vendorShipmentIdentifier, requestParameters.sellerWarehouseCode, options).then((request) => request(axios, basePath));
401
- },
402
316
  /**
403
317
  * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
404
318
  * @param {VendorShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.
@@ -436,16 +350,6 @@ export class VendorShippingApi extends BaseAPI {
436
350
  getShipmentDetails(requestParameters = {}, options) {
437
351
  return VendorShippingApiFp(this.configuration).getShipmentDetails(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.shipmentConfirmedBefore, requestParameters.shipmentConfirmedAfter, requestParameters.packageLabelCreatedBefore, requestParameters.packageLabelCreatedAfter, requestParameters.shippedBefore, requestParameters.shippedAfter, requestParameters.estimatedDeliveryBefore, requestParameters.estimatedDeliveryAfter, requestParameters.shipmentDeliveryBefore, requestParameters.shipmentDeliveryAfter, requestParameters.requestedPickUpBefore, requestParameters.requestedPickUpAfter, requestParameters.scheduledPickUpBefore, requestParameters.scheduledPickUpAfter, requestParameters.currentShipmentStatus, requestParameters.vendorShipmentIdentifier, requestParameters.buyerReferenceNumber, requestParameters.buyerWarehouseCode, requestParameters.sellerWarehouseCode, options).then((request) => request(this.axios, this.basePath));
438
352
  }
439
- /**
440
- * Returns transport Labels based on the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
441
- * @param {VendorShippingApiGetShipmentLabelsRequest} requestParameters Request parameters.
442
- * @param {*} [options] Override http request option.
443
- * @throws {RequiredError}
444
- * @memberof VendorShippingApi
445
- */
446
- getShipmentLabels(requestParameters = {}, options) {
447
- return VendorShippingApiFp(this.configuration).getShipmentLabels(requestParameters.limit, requestParameters.sortOrder, requestParameters.nextToken, requestParameters.labelCreatedAfter, requestParameters.labelcreatedBefore, requestParameters.buyerReferenceNumber, requestParameters.vendorShipmentIdentifier, requestParameters.sellerWarehouseCode, options).then((request) => request(this.axios, this.basePath));
448
- }
449
353
  /**
450
354
  * Submits one or more shipment confirmations for vendor orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 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).
451
355
  * @param {VendorShippingApiSubmitShipmentConfirmationsRequest} requestParameters Request parameters.