@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,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { InboundShipmentSummary } from './inbound-shipment-summary';
|
|
13
|
+
/**
|
|
14
|
+
* A list of inbound shipment summaries filtered by the attributes specified in the request.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ShipmentListing
|
|
17
|
+
*/
|
|
18
|
+
export interface ShipmentListing {
|
|
19
|
+
/**
|
|
20
|
+
* A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ShipmentListing
|
|
23
|
+
*/
|
|
24
|
+
'nextToken'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* List of inbound shipment summaries.
|
|
27
|
+
* @type {Array<InboundShipmentSummary>}
|
|
28
|
+
* @memberof ShipmentListing
|
|
29
|
+
*/
|
|
30
|
+
'shipments'?: Array<InboundShipmentSummary>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Denotes the field name on which the shipments are to be sorted.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const ShipmentSortableField: {
|
|
18
|
+
readonly UpdatedAt: "UPDATED_AT";
|
|
19
|
+
readonly CreatedAt: "CREATED_AT";
|
|
20
|
+
};
|
|
21
|
+
export type ShipmentSortableField = typeof ShipmentSortableField[keyof typeof ShipmentSortableField];
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DistributionPackageQuantity } from './distribution-package-quantity';
|
|
13
|
+
import type { InboundEligibilityStatus } from './inbound-eligibility-status';
|
|
14
|
+
import type { SkuIneligibilityReason } from './sku-ineligibility-reason';
|
|
15
|
+
/**
|
|
16
|
+
* Represents eligibility of one SKU.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SkuEligibility
|
|
19
|
+
*/
|
|
20
|
+
export interface SkuEligibility {
|
|
21
|
+
/**
|
|
22
|
+
* If not eligible, these are list of error codes and descriptions.
|
|
23
|
+
* @type {Array<SkuIneligibilityReason>}
|
|
24
|
+
* @memberof SkuEligibility
|
|
25
|
+
*/
|
|
26
|
+
'ineligibilityReasons'?: Array<SkuIneligibilityReason>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {DistributionPackageQuantity}
|
|
30
|
+
* @memberof SkuEligibility
|
|
31
|
+
*/
|
|
32
|
+
'packageQuantity': DistributionPackageQuantity;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {InboundEligibilityStatus}
|
|
36
|
+
* @memberof SkuEligibility
|
|
37
|
+
*/
|
|
38
|
+
'status': InboundEligibilityStatus;
|
|
39
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Represents the ineligibility reason for one SKU.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SkuIneligibilityReason
|
|
16
|
+
*/
|
|
17
|
+
export interface SkuIneligibilityReason {
|
|
18
|
+
/**
|
|
19
|
+
* Code for the SKU ineligibility.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SkuIneligibilityReason
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Detailed description of the SKU ineligibility.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SkuIneligibilityReason
|
|
28
|
+
*/
|
|
29
|
+
'description': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Enum to specify if returned shipment should include SKU quantity details
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const SkuQuantitiesVisibility: {
|
|
18
|
+
readonly Show: "SHOW";
|
|
19
|
+
readonly Hide: "HIDE";
|
|
20
|
+
};
|
|
21
|
+
export type SkuQuantitiesVisibility = typeof SkuQuantitiesVisibility[keyof typeof SkuQuantitiesVisibility];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { InventoryQuantity } from './inventory-quantity';
|
|
13
|
+
/**
|
|
14
|
+
* Quantity details for a SKU as part of a shipment
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SkuQuantity
|
|
17
|
+
*/
|
|
18
|
+
export interface SkuQuantity {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {InventoryQuantity}
|
|
22
|
+
* @memberof SkuQuantity
|
|
23
|
+
*/
|
|
24
|
+
'expectedQuantity': InventoryQuantity;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {InventoryQuantity}
|
|
28
|
+
* @memberof SkuQuantity
|
|
29
|
+
*/
|
|
30
|
+
'receivedQuantity'?: InventoryQuantity;
|
|
31
|
+
/**
|
|
32
|
+
* The merchant stock keeping unit
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SkuQuantity
|
|
35
|
+
*/
|
|
36
|
+
'sku': string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Sort order for a collection of items. For example, order or shipment.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const SortOrder: {
|
|
18
|
+
readonly Ascending: "ASCENDING";
|
|
19
|
+
readonly Descending: "DESCENDING";
|
|
20
|
+
};
|
|
21
|
+
export type SortOrder = typeof SortOrder[keyof typeof SortOrder];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CarrierCode } from './carrier-code';
|
|
13
|
+
/**
|
|
14
|
+
* Tracking details for the shipment. If using SPD transportation, this can be for each case. If not using SPD transportation, this is a single tracking entry for the entire shipment.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TrackingDetails
|
|
17
|
+
*/
|
|
18
|
+
export interface TrackingDetails {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CarrierCode}
|
|
22
|
+
* @memberof TrackingDetails
|
|
23
|
+
*/
|
|
24
|
+
'carrierCode'?: CarrierCode;
|
|
25
|
+
/**
|
|
26
|
+
* Timestamp denoting when the shipment will be shipped Date should be in ISO 8601 format as defined by date-time.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TrackingDetails
|
|
29
|
+
*/
|
|
30
|
+
'shipBy': string;
|
|
31
|
+
/**
|
|
32
|
+
* The identifier that is received from transportation to uniquely identify a booking.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TrackingDetails
|
|
35
|
+
*/
|
|
36
|
+
'bookingId'?: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { TrackingDetails } from './tracking-details';
|
|
13
|
+
/**
|
|
14
|
+
* Transportation details for the shipment.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TransportationDetails
|
|
17
|
+
*/
|
|
18
|
+
export interface TransportationDetails {
|
|
19
|
+
/**
|
|
20
|
+
* Tracking details for the shipment. If using SPD transportation, this can be for each case. If not using SPD transportation, this is a single tracking entry for the entire shipment.
|
|
21
|
+
* @type {Array<TrackingDetails>}
|
|
22
|
+
* @memberof TransportationDetails
|
|
23
|
+
*/
|
|
24
|
+
'trackingDetails': Array<TrackingDetails>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Unit of measurement for the package volume.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const VolumeUnitOfMeasurement: {
|
|
18
|
+
readonly CuIn: "CU_IN";
|
|
19
|
+
readonly Cbm: "CBM";
|
|
20
|
+
readonly Cc: "CC";
|
|
21
|
+
};
|
|
22
|
+
export type VolumeUnitOfMeasurement = typeof VolumeUnitOfMeasurement[keyof typeof VolumeUnitOfMeasurement];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for Amazon Warehousing and Distribution
|
|
3
|
+
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-05-09
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Unit of measurement for the package weight.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const WeightUnitOfMeasurement: {
|
|
18
|
+
readonly Pounds: "POUNDS";
|
|
19
|
+
readonly Kilograms: "KILOGRAMS";
|
|
20
|
+
};
|
|
21
|
+
export type WeightUnitOfMeasurement = typeof WeightUnitOfMeasurement[keyof typeof WeightUnitOfMeasurement];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
+
import { AwdApi } from './api-model';
|
|
3
|
+
export declare const clientRateLimits: RateLimit[];
|
|
4
|
+
export declare class AmazonWarehousingAndDistributionApiClient extends AwdApi {
|
|
5
|
+
constructor(configuration: ClientConfiguration);
|
|
6
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sp-api-sdk/amazon-warehousing-and-distribution-api-2024-05-09",
|
|
3
|
+
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
|
+
"description": "The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.",
|
|
5
|
+
"version": "2.0.0",
|
|
6
|
+
"main": "dist/cjs/index.js",
|
|
7
|
+
"module": "dist/es/index.js",
|
|
8
|
+
"types": "dist/types/index.d.ts",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"directories": {
|
|
14
|
+
"lib": "dist"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/**/*.js",
|
|
18
|
+
"dist/**/*.d.ts"
|
|
19
|
+
],
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@sp-api-sdk/common": "2.1.7",
|
|
22
|
+
"axios": "^1.7.9"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/bizon/selling-partner-api-sdk.git",
|
|
27
|
+
"directory": "clients/amazon-warehousing-and-distribution-api-2024-05-09"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/bizon/selling-partner-api-sdk/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/bizon/selling-partner-api-sdk/tree/master/clients/amazon-warehousing-and-distribution-api-2024-05-09",
|
|
33
|
+
"keywords": [
|
|
34
|
+
"amazon",
|
|
35
|
+
"bizon",
|
|
36
|
+
"marketplace web services",
|
|
37
|
+
"mws",
|
|
38
|
+
"selling partner api",
|
|
39
|
+
"sp api",
|
|
40
|
+
"sp sdk",
|
|
41
|
+
"amazon warehousing and distribution api"
|
|
42
|
+
],
|
|
43
|
+
"gitHead": "14dc1de3723e34f66b078e05f9c7044b22a46c43"
|
|
44
|
+
}
|