@sp-api-sdk/amazon-warehousing-and-distribution-api-2024-05-09 2.0.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.
- package/LICENSE +21 -0
- package/README.md +97 -0
- package/dist/cjs/api-model/api/awd-api.js +346 -0
- package/dist/cjs/api-model/api.js +30 -0
- package/dist/cjs/api-model/base.js +71 -0
- package/dist/cjs/api-model/common.js +145 -0
- package/dist/cjs/api-model/configuration.js +99 -0
- package/dist/cjs/api-model/index.js +32 -0
- package/dist/cjs/api-model/models/address.js +15 -0
- package/dist/cjs/api-model/models/carrier-code-type.js +24 -0
- package/dist/cjs/api-model/models/carrier-code.js +15 -0
- package/dist/cjs/api-model/models/dimension-unit-of-measurement.js +25 -0
- package/dist/cjs/api-model/models/distribution-package-contents.js +15 -0
- package/dist/cjs/api-model/models/distribution-package-quantity.js +15 -0
- package/dist/cjs/api-model/models/distribution-package-type.js +25 -0
- package/dist/cjs/api-model/models/distribution-package.js +15 -0
- package/dist/cjs/api-model/models/error-list.js +15 -0
- package/dist/cjs/api-model/models/expiration-details.js +15 -0
- package/dist/cjs/api-model/models/format-type.js +24 -0
- package/dist/cjs/api-model/models/inbound-eligibility-status.js +25 -0
- package/dist/cjs/api-model/models/inbound-eligibility.js +15 -0
- package/dist/cjs/api-model/models/inbound-order-creation-data.js +15 -0
- package/dist/cjs/api-model/models/inbound-order-reference.js +15 -0
- package/dist/cjs/api-model/models/inbound-order.js +15 -0
- package/dist/cjs/api-model/models/inbound-packages.js +15 -0
- package/dist/cjs/api-model/models/inbound-preferences.js +15 -0
- package/dist/cjs/api-model/models/inbound-shipment-status.js +30 -0
- package/dist/cjs/api-model/models/inbound-shipment-summary.js +15 -0
- package/dist/cjs/api-model/models/inbound-shipment.js +15 -0
- package/dist/cjs/api-model/models/inbound-status.js +29 -0
- package/dist/cjs/api-model/models/index.js +81 -0
- package/dist/cjs/api-model/models/inventory-details-visibility.js +25 -0
- package/dist/cjs/api-model/models/inventory-details.js +15 -0
- package/dist/cjs/api-model/models/inventory-listing.js +15 -0
- package/dist/cjs/api-model/models/inventory-quantity.js +15 -0
- package/dist/cjs/api-model/models/inventory-summary.js +15 -0
- package/dist/cjs/api-model/models/inventory-unit-of-measurement.js +26 -0
- package/dist/cjs/api-model/models/label-owner.js +25 -0
- package/dist/cjs/api-model/models/label-status.js +27 -0
- package/dist/cjs/api-model/models/measurement-data.js +15 -0
- package/dist/cjs/api-model/models/model-error.js +15 -0
- package/dist/cjs/api-model/models/order-attribute.js +15 -0
- package/dist/cjs/api-model/models/order-ineligibility-reason.js +15 -0
- package/dist/cjs/api-model/models/order-preference-value.js +25 -0
- package/dist/cjs/api-model/models/order-preference.js +24 -0
- package/dist/cjs/api-model/models/outbound-execution-error.js +15 -0
- package/dist/cjs/api-model/models/outbound-listing.js +15 -0
- package/dist/cjs/api-model/models/outbound-order-creation-data.js +15 -0
- package/dist/cjs/api-model/models/outbound-order-reference.js +15 -0
- package/dist/cjs/api-model/models/outbound-order.js +15 -0
- package/dist/cjs/api-model/models/outbound-shipment-status.js +31 -0
- package/dist/cjs/api-model/models/outbound-shipment.js +15 -0
- package/dist/cjs/api-model/models/outbound-status.js +32 -0
- package/dist/cjs/api-model/models/package-dimensions.js +15 -0
- package/dist/cjs/api-model/models/package-volume.js +15 -0
- package/dist/cjs/api-model/models/package-weight.js +15 -0
- package/dist/cjs/api-model/models/page-type.js +26 -0
- package/dist/cjs/api-model/models/prep-details.js +15 -0
- package/dist/cjs/api-model/models/prep-instruction.js +15 -0
- package/dist/cjs/api-model/models/prep-owner.js +25 -0
- package/dist/cjs/api-model/models/product-attribute.js +15 -0
- package/dist/cjs/api-model/models/product-quantity.js +15 -0
- package/dist/cjs/api-model/models/shipment-labels.js +15 -0
- package/dist/cjs/api-model/models/shipment-listing.js +15 -0
- package/dist/cjs/api-model/models/shipment-sortable-field.js +25 -0
- package/dist/cjs/api-model/models/sku-eligibility.js +15 -0
- package/dist/cjs/api-model/models/sku-ineligibility-reason.js +15 -0
- package/dist/cjs/api-model/models/sku-quantities-visibility.js +25 -0
- package/dist/cjs/api-model/models/sku-quantity.js +15 -0
- package/dist/cjs/api-model/models/sort-order.js +25 -0
- package/dist/cjs/api-model/models/tracking-details.js +15 -0
- package/dist/cjs/api-model/models/transportation-details.js +15 -0
- package/dist/cjs/api-model/models/volume-unit-of-measurement.js +26 -0
- package/dist/cjs/api-model/models/weight-unit-of-measurement.js +25 -0
- package/dist/cjs/client.js +35 -0
- package/dist/cjs/index.js +19 -0
- package/dist/es/api-model/api/awd-api.js +336 -0
- package/dist/es/api-model/api.js +14 -0
- package/dist/es/api-model/base.js +63 -0
- package/dist/es/api-model/common.js +133 -0
- package/dist/es/api-model/configuration.js +95 -0
- package/dist/es/api-model/index.js +16 -0
- package/dist/es/api-model/models/address.js +14 -0
- package/dist/es/api-model/models/carrier-code-type.js +21 -0
- package/dist/es/api-model/models/carrier-code.js +14 -0
- package/dist/es/api-model/models/dimension-unit-of-measurement.js +22 -0
- package/dist/es/api-model/models/distribution-package-contents.js +14 -0
- package/dist/es/api-model/models/distribution-package-quantity.js +14 -0
- package/dist/es/api-model/models/distribution-package-type.js +22 -0
- package/dist/es/api-model/models/distribution-package.js +14 -0
- package/dist/es/api-model/models/error-list.js +14 -0
- package/dist/es/api-model/models/expiration-details.js +14 -0
- package/dist/es/api-model/models/format-type.js +21 -0
- package/dist/es/api-model/models/inbound-eligibility-status.js +22 -0
- package/dist/es/api-model/models/inbound-eligibility.js +14 -0
- package/dist/es/api-model/models/inbound-order-creation-data.js +14 -0
- package/dist/es/api-model/models/inbound-order-reference.js +14 -0
- package/dist/es/api-model/models/inbound-order.js +14 -0
- package/dist/es/api-model/models/inbound-packages.js +14 -0
- package/dist/es/api-model/models/inbound-preferences.js +14 -0
- package/dist/es/api-model/models/inbound-shipment-status.js +27 -0
- package/dist/es/api-model/models/inbound-shipment-summary.js +14 -0
- package/dist/es/api-model/models/inbound-shipment.js +14 -0
- package/dist/es/api-model/models/inbound-status.js +26 -0
- package/dist/es/api-model/models/index.js +65 -0
- package/dist/es/api-model/models/inventory-details-visibility.js +22 -0
- package/dist/es/api-model/models/inventory-details.js +14 -0
- package/dist/es/api-model/models/inventory-listing.js +14 -0
- package/dist/es/api-model/models/inventory-quantity.js +14 -0
- package/dist/es/api-model/models/inventory-summary.js +14 -0
- package/dist/es/api-model/models/inventory-unit-of-measurement.js +23 -0
- package/dist/es/api-model/models/label-owner.js +22 -0
- package/dist/es/api-model/models/label-status.js +24 -0
- package/dist/es/api-model/models/measurement-data.js +14 -0
- package/dist/es/api-model/models/model-error.js +14 -0
- package/dist/es/api-model/models/order-attribute.js +14 -0
- package/dist/es/api-model/models/order-ineligibility-reason.js +14 -0
- package/dist/es/api-model/models/order-preference-value.js +22 -0
- package/dist/es/api-model/models/order-preference.js +21 -0
- package/dist/es/api-model/models/outbound-execution-error.js +14 -0
- package/dist/es/api-model/models/outbound-listing.js +14 -0
- package/dist/es/api-model/models/outbound-order-creation-data.js +14 -0
- package/dist/es/api-model/models/outbound-order-reference.js +14 -0
- package/dist/es/api-model/models/outbound-order.js +14 -0
- package/dist/es/api-model/models/outbound-shipment-status.js +28 -0
- package/dist/es/api-model/models/outbound-shipment.js +14 -0
- package/dist/es/api-model/models/outbound-status.js +29 -0
- package/dist/es/api-model/models/package-dimensions.js +14 -0
- package/dist/es/api-model/models/package-volume.js +14 -0
- package/dist/es/api-model/models/package-weight.js +14 -0
- package/dist/es/api-model/models/page-type.js +23 -0
- package/dist/es/api-model/models/prep-details.js +14 -0
- package/dist/es/api-model/models/prep-instruction.js +14 -0
- package/dist/es/api-model/models/prep-owner.js +22 -0
- package/dist/es/api-model/models/product-attribute.js +14 -0
- package/dist/es/api-model/models/product-quantity.js +14 -0
- package/dist/es/api-model/models/shipment-labels.js +14 -0
- package/dist/es/api-model/models/shipment-listing.js +14 -0
- package/dist/es/api-model/models/shipment-sortable-field.js +22 -0
- package/dist/es/api-model/models/sku-eligibility.js +14 -0
- package/dist/es/api-model/models/sku-ineligibility-reason.js +14 -0
- package/dist/es/api-model/models/sku-quantities-visibility.js +22 -0
- package/dist/es/api-model/models/sku-quantity.js +14 -0
- package/dist/es/api-model/models/sort-order.js +22 -0
- package/dist/es/api-model/models/tracking-details.js +14 -0
- package/dist/es/api-model/models/transportation-details.js +14 -0
- package/dist/es/api-model/models/volume-unit-of-measurement.js +23 -0
- package/dist/es/api-model/models/weight-unit-of-measurement.js +22 -0
- package/dist/es/client.js +31 -0
- package/dist/es/index.js +3 -0
- package/dist/types/api-model/api/awd-api.d.ts +311 -0
- package/dist/types/api-model/api.d.ts +12 -0
- package/dist/types/api-model/base.d.ts +66 -0
- package/dist/types/api-model/common.d.ts +65 -0
- package/dist/types/api-model/configuration.d.ts +91 -0
- package/dist/types/api-model/index.d.ts +14 -0
- package/dist/types/api-model/models/address.d.ts +84 -0
- package/dist/types/api-model/models/carrier-code-type.d.ts +20 -0
- package/dist/types/api-model/models/carrier-code.d.ts +31 -0
- package/dist/types/api-model/models/dimension-unit-of-measurement.d.ts +21 -0
- package/dist/types/api-model/models/distribution-package-contents.d.ts +32 -0
- package/dist/types/api-model/models/distribution-package-quantity.d.ts +31 -0
- package/dist/types/api-model/models/distribution-package-type.d.ts +21 -0
- package/dist/types/api-model/models/distribution-package.d.ts +39 -0
- package/dist/types/api-model/models/error-list.d.ts +24 -0
- package/dist/types/api-model/models/expiration-details.d.ts +30 -0
- package/dist/types/api-model/models/format-type.d.ts +20 -0
- package/dist/types/api-model/models/inbound-eligibility-status.d.ts +21 -0
- package/dist/types/api-model/models/inbound-eligibility.d.ts +45 -0
- package/dist/types/api-model/models/inbound-order-creation-data.d.ts +51 -0
- package/dist/types/api-model/models/inbound-order-reference.d.ts +30 -0
- package/dist/types/api-model/models/inbound-order.d.ts +89 -0
- package/dist/types/api-model/models/inbound-packages.d.ts +25 -0
- package/dist/types/api-model/models/inbound-preferences.d.ts +24 -0
- package/dist/types/api-model/models/inbound-shipment-status.d.ts +26 -0
- package/dist/types/api-model/models/inbound-shipment-summary.d.ts +55 -0
- package/dist/types/api-model/models/inbound-shipment.d.ts +120 -0
- package/dist/types/api-model/models/inbound-status.d.ts +25 -0
- package/dist/types/api-model/models/index.d.ts +65 -0
- package/dist/types/api-model/models/inventory-details-visibility.d.ts +21 -0
- package/dist/types/api-model/models/inventory-details.d.ts +30 -0
- package/dist/types/api-model/models/inventory-listing.d.ts +31 -0
- package/dist/types/api-model/models/inventory-quantity.d.ts +31 -0
- package/dist/types/api-model/models/inventory-summary.d.ts +50 -0
- package/dist/types/api-model/models/inventory-unit-of-measurement.d.ts +22 -0
- package/dist/types/api-model/models/label-owner.d.ts +21 -0
- package/dist/types/api-model/models/label-status.d.ts +23 -0
- package/dist/types/api-model/models/measurement-data.d.ts +39 -0
- package/dist/types/api-model/models/model-error.d.ts +36 -0
- package/dist/types/api-model/models/order-attribute.d.ts +32 -0
- package/dist/types/api-model/models/order-ineligibility-reason.d.ts +30 -0
- package/dist/types/api-model/models/order-preference-value.d.ts +21 -0
- package/dist/types/api-model/models/order-preference.d.ts +20 -0
- package/dist/types/api-model/models/outbound-execution-error.d.ts +36 -0
- package/dist/types/api-model/models/outbound-listing.d.ts +31 -0
- package/dist/types/api-model/models/outbound-order-creation-data.d.ts +39 -0
- package/dist/types/api-model/models/outbound-order-reference.d.ts +24 -0
- package/dist/types/api-model/models/outbound-order.d.ts +108 -0
- package/dist/types/api-model/models/outbound-shipment-status.d.ts +27 -0
- package/dist/types/api-model/models/outbound-shipment.d.ts +76 -0
- package/dist/types/api-model/models/outbound-status.d.ts +28 -0
- package/dist/types/api-model/models/package-dimensions.d.ts +43 -0
- package/dist/types/api-model/models/package-volume.d.ts +31 -0
- package/dist/types/api-model/models/package-weight.d.ts +31 -0
- package/dist/types/api-model/models/page-type.d.ts +22 -0
- package/dist/types/api-model/models/prep-details.d.ts +45 -0
- package/dist/types/api-model/models/prep-instruction.d.ts +31 -0
- package/dist/types/api-model/models/prep-owner.d.ts +21 -0
- package/dist/types/api-model/models/product-attribute.d.ts +30 -0
- package/dist/types/api-model/models/product-quantity.d.ts +50 -0
- package/dist/types/api-model/models/shipment-labels.d.ts +31 -0
- package/dist/types/api-model/models/shipment-listing.d.ts +31 -0
- package/dist/types/api-model/models/shipment-sortable-field.d.ts +21 -0
- package/dist/types/api-model/models/sku-eligibility.d.ts +39 -0
- package/dist/types/api-model/models/sku-ineligibility-reason.d.ts +30 -0
- package/dist/types/api-model/models/sku-quantities-visibility.d.ts +21 -0
- package/dist/types/api-model/models/sku-quantity.d.ts +37 -0
- package/dist/types/api-model/models/sort-order.d.ts +21 -0
- package/dist/types/api-model/models/tracking-details.d.ts +37 -0
- package/dist/types/api-model/models/transportation-details.d.ts +25 -0
- package/dist/types/api-model/models/volume-unit-of-measurement.d.ts +22 -0
- package/dist/types/api-model/models/weight-unit-of-measurement.d.ts +21 -0
- package/dist/types/client.d.ts +6 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +44 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Value for the order preference.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const OrderPreferenceValue = {
|
|
20
|
+
Set: 'SET',
|
|
21
|
+
Unset: 'UNSET'
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Supported preferences for the distribution order.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const OrderPreference = {
|
|
20
|
+
PartialOrder: 'PARTIAL_ORDER'
|
|
21
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Possible shipment statuses for outbound shipments.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const OutboundShipmentStatus = {
|
|
20
|
+
Created: 'CREATED',
|
|
21
|
+
InTransit: 'IN_TRANSIT',
|
|
22
|
+
Delivered: 'DELIVERED',
|
|
23
|
+
Receiving: 'RECEIVING',
|
|
24
|
+
Received: 'RECEIVED',
|
|
25
|
+
Closed: 'CLOSED',
|
|
26
|
+
Cancelled: 'CANCELLED',
|
|
27
|
+
Failed: 'FAILED'
|
|
28
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Statuses supported for an outbound order.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const OutboundStatus = {
|
|
20
|
+
Confirmed: 'CONFIRMED',
|
|
21
|
+
Draft: 'DRAFT',
|
|
22
|
+
Eligible: 'ELIGIBLE',
|
|
23
|
+
Executing: 'EXECUTING',
|
|
24
|
+
Failure: 'FAILURE',
|
|
25
|
+
Ineligible: 'INELIGIBLE',
|
|
26
|
+
InventoryOutbound: 'INVENTORY_OUTBOUND',
|
|
27
|
+
Success: 'SUCCESS',
|
|
28
|
+
Validating: 'VALIDATING'
|
|
29
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Label page type.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const PageType = {
|
|
20
|
+
ThermalNonpcp: 'THERMAL_NONPCP',
|
|
21
|
+
PlainPaper: 'PLAIN_PAPER',
|
|
22
|
+
Letter6: 'LETTER_6'
|
|
23
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* The owner of the preparations, if special preparations are required.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const PrepOwner = {
|
|
20
|
+
Amazon: 'AMAZON',
|
|
21
|
+
Self: 'SELF'
|
|
22
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Denotes the field name on which the shipments are to be sorted.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const ShipmentSortableField = {
|
|
20
|
+
UpdatedAt: 'UPDATED_AT',
|
|
21
|
+
CreatedAt: 'CREATED_AT'
|
|
22
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Enum to specify if returned shipment should include SKU quantity details
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const SkuQuantitiesVisibility = {
|
|
20
|
+
Show: 'SHOW',
|
|
21
|
+
Hide: 'HIDE'
|
|
22
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Sort order for a collection of items. For example, order or shipment.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const SortOrder = {
|
|
20
|
+
Ascending: 'ASCENDING',
|
|
21
|
+
Descending: 'DESCENDING'
|
|
22
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Unit of measurement for the package volume.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const VolumeUnitOfMeasurement = {
|
|
20
|
+
CuIn: 'CU_IN',
|
|
21
|
+
Cbm: 'CBM',
|
|
22
|
+
Cc: 'CC'
|
|
23
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
5
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Unit of measurement for the package weight.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const WeightUnitOfMeasurement = {
|
|
20
|
+
Pounds: 'POUNDS',
|
|
21
|
+
Kilograms: 'KILOGRAMS'
|
|
22
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
+
import { AwdApi, Configuration } from './api-model';
|
|
3
|
+
export const clientRateLimits = [
|
|
4
|
+
{
|
|
5
|
+
method: 'get',
|
|
6
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
7
|
+
urlRegex: new RegExp('^/awd/2024-05-09/inboundShipments/[^/]*$'),
|
|
8
|
+
rate: 2,
|
|
9
|
+
burst: 2,
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
method: 'get',
|
|
13
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
14
|
+
urlRegex: new RegExp('^/awd/2024-05-09/inboundShipments$'),
|
|
15
|
+
rate: 1,
|
|
16
|
+
burst: 1,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
method: 'get',
|
|
20
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
21
|
+
urlRegex: new RegExp('^/awd/2024-05-09/inventory$'),
|
|
22
|
+
rate: 2,
|
|
23
|
+
burst: 2,
|
|
24
|
+
},
|
|
25
|
+
];
|
|
26
|
+
export class AmazonWarehousingAndDistributionApiClient extends AwdApi {
|
|
27
|
+
constructor(configuration) {
|
|
28
|
+
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
29
|
+
super(new Configuration(), endpoint, axios);
|
|
30
|
+
}
|
|
31
|
+
}
|
package/dist/es/index.js
ADDED