@sp-api-sdk/amazon-warehousing-and-distribution-api-2024-05-09 3.2.2 → 4.0.1

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.
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ListInventoryDetailsEnum = exports.ListInventorySortOrderEnum = exports.ListInboundShipmentsShipmentStatusEnum = exports.ListInboundShipmentsSortOrderEnum = exports.ListInboundShipmentsSortByEnum = exports.GetInboundShipmentLabelsFormatTypeEnum = exports.GetInboundShipmentLabelsPageTypeEnum = exports.GetInboundShipmentSkuQuantitiesEnum = exports.AwdApi = exports.AwdApiFactory = exports.AwdApiFp = exports.AwdApiAxiosParamCreator = void 0;
19
+ exports.ListInventoryDetailsEnum = exports.ListInventorySortOrderEnum = exports.ListInboundShipmentsShipmentStatusEnum = exports.ListInboundShipmentsSortOrderEnum = exports.ListInboundShipmentsSortByEnum = exports.GetInboundShipmentLabelsFormatTypeEnum = exports.GetInboundShipmentLabelsPageTypeEnum = exports.GetInboundShipmentSkuQuantitiesEnum = exports.AmazonWarehousingAndDistributionApi = exports.AmazonWarehousingAndDistributionApiFactory = exports.AmazonWarehousingAndDistributionApiFp = exports.AmazonWarehousingAndDistributionApiAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -24,10 +24,10 @@ const common_1 = require("../common");
24
24
  // @ts-ignore
25
25
  const base_1 = require("../base");
26
26
  /**
27
- * AwdApi - axios parameter creator
27
+ * AmazonWarehousingAndDistributionApi - axios parameter creator
28
28
  * @export
29
29
  */
30
- const AwdApiAxiosParamCreator = function (configuration) {
30
+ const AmazonWarehousingAndDistributionApiAxiosParamCreator = function (configuration) {
31
31
  return {
32
32
  /**
33
33
  * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
@@ -407,13 +407,13 @@ const AwdApiAxiosParamCreator = function (configuration) {
407
407
  },
408
408
  };
409
409
  };
410
- exports.AwdApiAxiosParamCreator = AwdApiAxiosParamCreator;
410
+ exports.AmazonWarehousingAndDistributionApiAxiosParamCreator = AmazonWarehousingAndDistributionApiAxiosParamCreator;
411
411
  /**
412
- * AwdApi - functional programming interface
412
+ * AmazonWarehousingAndDistributionApi - functional programming interface
413
413
  * @export
414
414
  */
415
- const AwdApiFp = function (configuration) {
416
- const localVarAxiosParamCreator = (0, exports.AwdApiAxiosParamCreator)(configuration);
415
+ const AmazonWarehousingAndDistributionApiFp = function (configuration) {
416
+ const localVarAxiosParamCreator = (0, exports.AmazonWarehousingAndDistributionApiAxiosParamCreator)(configuration);
417
417
  return {
418
418
  /**
419
419
  * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
@@ -424,7 +424,7 @@ const AwdApiFp = function (configuration) {
424
424
  async cancelInbound(orderId, options) {
425
425
  const localVarAxiosArgs = await localVarAxiosParamCreator.cancelInbound(orderId, options);
426
426
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
427
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.cancelInbound']?.[localVarOperationServerIndex]?.url;
427
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.cancelInbound']?.[localVarOperationServerIndex]?.url;
428
428
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
429
429
  },
430
430
  /**
@@ -436,7 +436,7 @@ const AwdApiFp = function (configuration) {
436
436
  async checkInboundEligibility(body, options) {
437
437
  const localVarAxiosArgs = await localVarAxiosParamCreator.checkInboundEligibility(body, options);
438
438
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
439
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.checkInboundEligibility']?.[localVarOperationServerIndex]?.url;
439
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.checkInboundEligibility']?.[localVarOperationServerIndex]?.url;
440
440
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
441
441
  },
442
442
  /**
@@ -448,7 +448,7 @@ const AwdApiFp = function (configuration) {
448
448
  async confirmInbound(orderId, options) {
449
449
  const localVarAxiosArgs = await localVarAxiosParamCreator.confirmInbound(orderId, options);
450
450
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
451
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.confirmInbound']?.[localVarOperationServerIndex]?.url;
451
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.confirmInbound']?.[localVarOperationServerIndex]?.url;
452
452
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
453
453
  },
454
454
  /**
@@ -460,7 +460,7 @@ const AwdApiFp = function (configuration) {
460
460
  async createInbound(body, options) {
461
461
  const localVarAxiosArgs = await localVarAxiosParamCreator.createInbound(body, options);
462
462
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
463
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.createInbound']?.[localVarOperationServerIndex]?.url;
463
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.createInbound']?.[localVarOperationServerIndex]?.url;
464
464
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
465
465
  },
466
466
  /**
@@ -472,7 +472,7 @@ const AwdApiFp = function (configuration) {
472
472
  async getInbound(orderId, options) {
473
473
  const localVarAxiosArgs = await localVarAxiosParamCreator.getInbound(orderId, options);
474
474
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
475
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.getInbound']?.[localVarOperationServerIndex]?.url;
475
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.getInbound']?.[localVarOperationServerIndex]?.url;
476
476
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
477
477
  },
478
478
  /**
@@ -485,7 +485,7 @@ const AwdApiFp = function (configuration) {
485
485
  async getInboundShipment(shipmentId, skuQuantities, options) {
486
486
  const localVarAxiosArgs = await localVarAxiosParamCreator.getInboundShipment(shipmentId, skuQuantities, options);
487
487
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
488
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.getInboundShipment']?.[localVarOperationServerIndex]?.url;
488
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.getInboundShipment']?.[localVarOperationServerIndex]?.url;
489
489
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
490
490
  },
491
491
  /**
@@ -499,7 +499,7 @@ const AwdApiFp = function (configuration) {
499
499
  async getInboundShipmentLabels(shipmentId, pageType, formatType, options) {
500
500
  const localVarAxiosArgs = await localVarAxiosParamCreator.getInboundShipmentLabels(shipmentId, pageType, formatType, options);
501
501
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
502
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.getInboundShipmentLabels']?.[localVarOperationServerIndex]?.url;
502
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.getInboundShipmentLabels']?.[localVarOperationServerIndex]?.url;
503
503
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
504
504
  },
505
505
  /**
@@ -517,7 +517,7 @@ const AwdApiFp = function (configuration) {
517
517
  async listInboundShipments(sortBy, sortOrder, shipmentStatus, updatedAfter, updatedBefore, maxResults, nextToken, options) {
518
518
  const localVarAxiosArgs = await localVarAxiosParamCreator.listInboundShipments(sortBy, sortOrder, shipmentStatus, updatedAfter, updatedBefore, maxResults, nextToken, options);
519
519
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
520
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.listInboundShipments']?.[localVarOperationServerIndex]?.url;
520
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.listInboundShipments']?.[localVarOperationServerIndex]?.url;
521
521
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
522
522
  },
523
523
  /**
@@ -533,7 +533,7 @@ const AwdApiFp = function (configuration) {
533
533
  async listInventory(sku, sortOrder, details, nextToken, maxResults, options) {
534
534
  const localVarAxiosArgs = await localVarAxiosParamCreator.listInventory(sku, sortOrder, details, nextToken, maxResults, options);
535
535
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
536
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.listInventory']?.[localVarOperationServerIndex]?.url;
536
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.listInventory']?.[localVarOperationServerIndex]?.url;
537
537
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
538
538
  },
539
539
  /**
@@ -546,7 +546,7 @@ const AwdApiFp = function (configuration) {
546
546
  async updateInbound(orderId, body, options) {
547
547
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateInbound(orderId, body, options);
548
548
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
549
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.updateInbound']?.[localVarOperationServerIndex]?.url;
549
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.updateInbound']?.[localVarOperationServerIndex]?.url;
550
550
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
551
551
  },
552
552
  /**
@@ -559,22 +559,22 @@ const AwdApiFp = function (configuration) {
559
559
  async updateInboundShipmentTransportDetails(shipmentId, body, options) {
560
560
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateInboundShipmentTransportDetails(shipmentId, body, options);
561
561
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
562
- const localVarOperationServerBasePath = base_1.operationServerMap['AwdApi.updateInboundShipmentTransportDetails']?.[localVarOperationServerIndex]?.url;
562
+ const localVarOperationServerBasePath = base_1.operationServerMap['AmazonWarehousingAndDistributionApi.updateInboundShipmentTransportDetails']?.[localVarOperationServerIndex]?.url;
563
563
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
564
564
  },
565
565
  };
566
566
  };
567
- exports.AwdApiFp = AwdApiFp;
567
+ exports.AmazonWarehousingAndDistributionApiFp = AmazonWarehousingAndDistributionApiFp;
568
568
  /**
569
- * AwdApi - factory interface
569
+ * AmazonWarehousingAndDistributionApi - factory interface
570
570
  * @export
571
571
  */
572
- const AwdApiFactory = function (configuration, basePath, axios) {
573
- const localVarFp = (0, exports.AwdApiFp)(configuration);
572
+ const AmazonWarehousingAndDistributionApiFactory = function (configuration, basePath, axios) {
573
+ const localVarFp = (0, exports.AmazonWarehousingAndDistributionApiFp)(configuration);
574
574
  return {
575
575
  /**
576
576
  * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
577
- * @param {AwdApiCancelInboundRequest} requestParameters Request parameters.
577
+ * @param {AmazonWarehousingAndDistributionApiCancelInboundRequest} requestParameters Request parameters.
578
578
  * @param {*} [options] Override http request option.
579
579
  * @throws {RequiredError}
580
580
  */
@@ -583,7 +583,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
583
583
  },
584
584
  /**
585
585
  * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
586
- * @param {AwdApiCheckInboundEligibilityRequest} requestParameters Request parameters.
586
+ * @param {AmazonWarehousingAndDistributionApiCheckInboundEligibilityRequest} requestParameters Request parameters.
587
587
  * @param {*} [options] Override http request option.
588
588
  * @throws {RequiredError}
589
589
  */
@@ -592,7 +592,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
592
592
  },
593
593
  /**
594
594
  * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, 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).
595
- * @param {AwdApiConfirmInboundRequest} requestParameters Request parameters.
595
+ * @param {AmazonWarehousingAndDistributionApiConfirmInboundRequest} requestParameters Request parameters.
596
596
  * @param {*} [options] Override http request option.
597
597
  * @throws {RequiredError}
598
598
  */
@@ -601,7 +601,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
601
601
  },
602
602
  /**
603
603
  * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
604
- * @param {AwdApiCreateInboundRequest} requestParameters Request parameters.
604
+ * @param {AmazonWarehousingAndDistributionApiCreateInboundRequest} requestParameters Request parameters.
605
605
  * @param {*} [options] Override http request option.
606
606
  * @throws {RequiredError}
607
607
  */
@@ -610,7 +610,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
610
610
  },
611
611
  /**
612
612
  * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 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).
613
- * @param {AwdApiGetInboundRequest} requestParameters Request parameters.
613
+ * @param {AmazonWarehousingAndDistributionApiGetInboundRequest} requestParameters Request parameters.
614
614
  * @param {*} [options] Override http request option.
615
615
  * @throws {RequiredError}
616
616
  */
@@ -619,7 +619,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
619
619
  },
620
620
  /**
621
621
  * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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, 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)
622
- * @param {AwdApiGetInboundShipmentRequest} requestParameters Request parameters.
622
+ * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentRequest} requestParameters Request parameters.
623
623
  * @param {*} [options] Override http request option.
624
624
  * @throws {RequiredError}
625
625
  */
@@ -628,7 +628,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
628
628
  },
629
629
  /**
630
630
  * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | 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 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).
631
- * @param {AwdApiGetInboundShipmentLabelsRequest} requestParameters Request parameters.
631
+ * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentLabelsRequest} requestParameters Request parameters.
632
632
  * @param {*} [options] Override http request option.
633
633
  * @throws {RequiredError}
634
634
  */
@@ -637,7 +637,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
637
637
  },
638
638
  /**
639
639
  * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, 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).
640
- * @param {AwdApiListInboundShipmentsRequest} requestParameters Request parameters.
640
+ * @param {AmazonWarehousingAndDistributionApiListInboundShipmentsRequest} requestParameters Request parameters.
641
641
  * @param {*} [options] Override http request option.
642
642
  * @throws {RequiredError}
643
643
  */
@@ -646,7 +646,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
646
646
  },
647
647
  /**
648
648
  * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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, 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).
649
- * @param {AwdApiListInventoryRequest} requestParameters Request parameters.
649
+ * @param {AmazonWarehousingAndDistributionApiListInventoryRequest} requestParameters Request parameters.
650
650
  * @param {*} [options] Override http request option.
651
651
  * @throws {RequiredError}
652
652
  */
@@ -655,7 +655,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
655
655
  },
656
656
  /**
657
657
  * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
658
- * @param {AwdApiUpdateInboundRequest} requestParameters Request parameters.
658
+ * @param {AmazonWarehousingAndDistributionApiUpdateInboundRequest} requestParameters Request parameters.
659
659
  * @param {*} [options] Override http request option.
660
660
  * @throws {RequiredError}
661
661
  */
@@ -664,7 +664,7 @@ const AwdApiFactory = function (configuration, basePath, axios) {
664
664
  },
665
665
  /**
666
666
  * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, 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).
667
- * @param {AwdApiUpdateInboundShipmentTransportDetailsRequest} requestParameters Request parameters.
667
+ * @param {AmazonWarehousingAndDistributionApiUpdateInboundShipmentTransportDetailsRequest} requestParameters Request parameters.
668
668
  * @param {*} [options] Override http request option.
669
669
  * @throws {RequiredError}
670
670
  */
@@ -673,126 +673,126 @@ const AwdApiFactory = function (configuration, basePath, axios) {
673
673
  },
674
674
  };
675
675
  };
676
- exports.AwdApiFactory = AwdApiFactory;
676
+ exports.AmazonWarehousingAndDistributionApiFactory = AmazonWarehousingAndDistributionApiFactory;
677
677
  /**
678
- * AwdApi - object-oriented interface
678
+ * AmazonWarehousingAndDistributionApi - object-oriented interface
679
679
  * @export
680
- * @class AwdApi
680
+ * @class AmazonWarehousingAndDistributionApi
681
681
  * @extends {BaseAPI}
682
682
  */
683
- class AwdApi extends base_1.BaseAPI {
683
+ class AmazonWarehousingAndDistributionApi extends base_1.BaseAPI {
684
684
  /**
685
685
  * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
686
- * @param {AwdApiCancelInboundRequest} requestParameters Request parameters.
686
+ * @param {AmazonWarehousingAndDistributionApiCancelInboundRequest} requestParameters Request parameters.
687
687
  * @param {*} [options] Override http request option.
688
688
  * @throws {RequiredError}
689
- * @memberof AwdApi
689
+ * @memberof AmazonWarehousingAndDistributionApi
690
690
  */
691
691
  cancelInbound(requestParameters, options) {
692
- return (0, exports.AwdApiFp)(this.configuration).cancelInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
692
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).cancelInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
693
693
  }
694
694
  /**
695
695
  * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
696
- * @param {AwdApiCheckInboundEligibilityRequest} requestParameters Request parameters.
696
+ * @param {AmazonWarehousingAndDistributionApiCheckInboundEligibilityRequest} requestParameters Request parameters.
697
697
  * @param {*} [options] Override http request option.
698
698
  * @throws {RequiredError}
699
- * @memberof AwdApi
699
+ * @memberof AmazonWarehousingAndDistributionApi
700
700
  */
701
701
  checkInboundEligibility(requestParameters, options) {
702
- return (0, exports.AwdApiFp)(this.configuration).checkInboundEligibility(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
702
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).checkInboundEligibility(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
703
703
  }
704
704
  /**
705
705
  * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, 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).
706
- * @param {AwdApiConfirmInboundRequest} requestParameters Request parameters.
706
+ * @param {AmazonWarehousingAndDistributionApiConfirmInboundRequest} requestParameters Request parameters.
707
707
  * @param {*} [options] Override http request option.
708
708
  * @throws {RequiredError}
709
- * @memberof AwdApi
709
+ * @memberof AmazonWarehousingAndDistributionApi
710
710
  */
711
711
  confirmInbound(requestParameters, options) {
712
- return (0, exports.AwdApiFp)(this.configuration).confirmInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
712
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).confirmInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
713
713
  }
714
714
  /**
715
715
  * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
716
- * @param {AwdApiCreateInboundRequest} requestParameters Request parameters.
716
+ * @param {AmazonWarehousingAndDistributionApiCreateInboundRequest} requestParameters Request parameters.
717
717
  * @param {*} [options] Override http request option.
718
718
  * @throws {RequiredError}
719
- * @memberof AwdApi
719
+ * @memberof AmazonWarehousingAndDistributionApi
720
720
  */
721
721
  createInbound(requestParameters, options) {
722
- return (0, exports.AwdApiFp)(this.configuration).createInbound(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
722
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).createInbound(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
723
723
  }
724
724
  /**
725
725
  * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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 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).
726
- * @param {AwdApiGetInboundRequest} requestParameters Request parameters.
726
+ * @param {AmazonWarehousingAndDistributionApiGetInboundRequest} requestParameters Request parameters.
727
727
  * @param {*} [options] Override http request option.
728
728
  * @throws {RequiredError}
729
- * @memberof AwdApi
729
+ * @memberof AmazonWarehousingAndDistributionApi
730
730
  */
731
731
  getInbound(requestParameters, options) {
732
- return (0, exports.AwdApiFp)(this.configuration).getInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
732
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).getInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
733
733
  }
734
734
  /**
735
735
  * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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, 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)
736
- * @param {AwdApiGetInboundShipmentRequest} requestParameters Request parameters.
736
+ * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentRequest} requestParameters Request parameters.
737
737
  * @param {*} [options] Override http request option.
738
738
  * @throws {RequiredError}
739
- * @memberof AwdApi
739
+ * @memberof AmazonWarehousingAndDistributionApi
740
740
  */
741
741
  getInboundShipment(requestParameters, options) {
742
- return (0, exports.AwdApiFp)(this.configuration).getInboundShipment(requestParameters.shipmentId, requestParameters.skuQuantities, options).then((request) => request(this.axios, this.basePath));
742
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).getInboundShipment(requestParameters.shipmentId, requestParameters.skuQuantities, options).then((request) => request(this.axios, this.basePath));
743
743
  }
744
744
  /**
745
745
  * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | 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 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).
746
- * @param {AwdApiGetInboundShipmentLabelsRequest} requestParameters Request parameters.
746
+ * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentLabelsRequest} requestParameters Request parameters.
747
747
  * @param {*} [options] Override http request option.
748
748
  * @throws {RequiredError}
749
- * @memberof AwdApi
749
+ * @memberof AmazonWarehousingAndDistributionApi
750
750
  */
751
751
  getInboundShipmentLabels(requestParameters, options) {
752
- return (0, exports.AwdApiFp)(this.configuration).getInboundShipmentLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.formatType, options).then((request) => request(this.axios, this.basePath));
752
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).getInboundShipmentLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.formatType, options).then((request) => request(this.axios, this.basePath));
753
753
  }
754
754
  /**
755
755
  * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, 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).
756
- * @param {AwdApiListInboundShipmentsRequest} requestParameters Request parameters.
756
+ * @param {AmazonWarehousingAndDistributionApiListInboundShipmentsRequest} requestParameters Request parameters.
757
757
  * @param {*} [options] Override http request option.
758
758
  * @throws {RequiredError}
759
- * @memberof AwdApi
759
+ * @memberof AmazonWarehousingAndDistributionApi
760
760
  */
761
761
  listInboundShipments(requestParameters = {}, options) {
762
- return (0, exports.AwdApiFp)(this.configuration).listInboundShipments(requestParameters.sortBy, requestParameters.sortOrder, requestParameters.shipmentStatus, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
762
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).listInboundShipments(requestParameters.sortBy, requestParameters.sortOrder, requestParameters.shipmentStatus, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
763
763
  }
764
764
  /**
765
765
  * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | 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, 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).
766
- * @param {AwdApiListInventoryRequest} requestParameters Request parameters.
766
+ * @param {AmazonWarehousingAndDistributionApiListInventoryRequest} requestParameters Request parameters.
767
767
  * @param {*} [options] Override http request option.
768
768
  * @throws {RequiredError}
769
- * @memberof AwdApi
769
+ * @memberof AmazonWarehousingAndDistributionApi
770
770
  */
771
771
  listInventory(requestParameters = {}, options) {
772
- return (0, exports.AwdApiFp)(this.configuration).listInventory(requestParameters.sku, requestParameters.sortOrder, requestParameters.details, requestParameters.nextToken, requestParameters.maxResults, options).then((request) => request(this.axios, this.basePath));
772
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).listInventory(requestParameters.sku, requestParameters.sortOrder, requestParameters.details, requestParameters.nextToken, requestParameters.maxResults, options).then((request) => request(this.axios, this.basePath));
773
773
  }
774
774
  /**
775
775
  * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table 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).
776
- * @param {AwdApiUpdateInboundRequest} requestParameters Request parameters.
776
+ * @param {AmazonWarehousingAndDistributionApiUpdateInboundRequest} requestParameters Request parameters.
777
777
  * @param {*} [options] Override http request option.
778
778
  * @throws {RequiredError}
779
- * @memberof AwdApi
779
+ * @memberof AmazonWarehousingAndDistributionApi
780
780
  */
781
781
  updateInbound(requestParameters, options) {
782
- return (0, exports.AwdApiFp)(this.configuration).updateInbound(requestParameters.orderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
782
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).updateInbound(requestParameters.orderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
783
783
  }
784
784
  /**
785
785
  * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, 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).
786
- * @param {AwdApiUpdateInboundShipmentTransportDetailsRequest} requestParameters Request parameters.
786
+ * @param {AmazonWarehousingAndDistributionApiUpdateInboundShipmentTransportDetailsRequest} requestParameters Request parameters.
787
787
  * @param {*} [options] Override http request option.
788
788
  * @throws {RequiredError}
789
- * @memberof AwdApi
789
+ * @memberof AmazonWarehousingAndDistributionApi
790
790
  */
791
791
  updateInboundShipmentTransportDetails(requestParameters, options) {
792
- return (0, exports.AwdApiFp)(this.configuration).updateInboundShipmentTransportDetails(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
792
+ return (0, exports.AmazonWarehousingAndDistributionApiFp)(this.configuration).updateInboundShipmentTransportDetails(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
793
793
  }
794
794
  }
795
- exports.AwdApi = AwdApi;
795
+ exports.AmazonWarehousingAndDistributionApi = AmazonWarehousingAndDistributionApi;
796
796
  /**
797
797
  * @export
798
798
  */
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- __exportStar(require("./api/awd-api"), exports);
30
+ __exportStar(require("./api/amazon-warehousing-and-distribution-api"), exports);
@@ -82,7 +82,7 @@ exports.clientRateLimits = [
82
82
  burst: 2,
83
83
  },
84
84
  ];
85
- class AmazonWarehousingAndDistributionApiClient extends api_model_1.AwdApi {
85
+ class AmazonWarehousingAndDistributionApiClient extends api_model_1.AmazonWarehousingAndDistributionApi {
86
86
  constructor(configuration) {
87
87
  const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
88
88
  super(new api_model_1.Configuration(), endpoint, axios);