@sp-api-sdk/amazon-warehousing-and-distribution-api-2024-05-09 4.0.4 → 4.0.6
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.
|
@@ -468,77 +468,77 @@ export declare class AmazonWarehousingAndDistributionApi extends BaseAPI {
|
|
|
468
468
|
* @param {*} [options] Override http request option.
|
|
469
469
|
* @throws {RequiredError}
|
|
470
470
|
*/
|
|
471
|
-
cancelInbound(requestParameters: AmazonWarehousingAndDistributionApiCancelInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
|
|
471
|
+
cancelInbound(requestParameters: AmazonWarehousingAndDistributionApiCancelInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
472
472
|
/**
|
|
473
473
|
* 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).
|
|
474
474
|
* @param {AmazonWarehousingAndDistributionApiCheckInboundEligibilityRequest} requestParameters Request parameters.
|
|
475
475
|
* @param {*} [options] Override http request option.
|
|
476
476
|
* @throws {RequiredError}
|
|
477
477
|
*/
|
|
478
|
-
checkInboundEligibility(requestParameters: AmazonWarehousingAndDistributionApiCheckInboundEligibilityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InboundEligibility, any>>;
|
|
478
|
+
checkInboundEligibility(requestParameters: AmazonWarehousingAndDistributionApiCheckInboundEligibilityRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InboundEligibility, any, {}>>;
|
|
479
479
|
/**
|
|
480
480
|
* 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).
|
|
481
481
|
* @param {AmazonWarehousingAndDistributionApiConfirmInboundRequest} requestParameters Request parameters.
|
|
482
482
|
* @param {*} [options] Override http request option.
|
|
483
483
|
* @throws {RequiredError}
|
|
484
484
|
*/
|
|
485
|
-
confirmInbound(requestParameters: AmazonWarehousingAndDistributionApiConfirmInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
|
|
485
|
+
confirmInbound(requestParameters: AmazonWarehousingAndDistributionApiConfirmInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
486
486
|
/**
|
|
487
487
|
* 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).
|
|
488
488
|
* @param {AmazonWarehousingAndDistributionApiCreateInboundRequest} requestParameters Request parameters.
|
|
489
489
|
* @param {*} [options] Override http request option.
|
|
490
490
|
* @throws {RequiredError}
|
|
491
491
|
*/
|
|
492
|
-
createInbound(requestParameters: AmazonWarehousingAndDistributionApiCreateInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InboundOrderReference, any>>;
|
|
492
|
+
createInbound(requestParameters: AmazonWarehousingAndDistributionApiCreateInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InboundOrderReference, any, {}>>;
|
|
493
493
|
/**
|
|
494
494
|
* 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).
|
|
495
495
|
* @param {AmazonWarehousingAndDistributionApiGetInboundRequest} requestParameters Request parameters.
|
|
496
496
|
* @param {*} [options] Override http request option.
|
|
497
497
|
* @throws {RequiredError}
|
|
498
498
|
*/
|
|
499
|
-
getInbound(requestParameters: AmazonWarehousingAndDistributionApiGetInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InboundOrder, any>>;
|
|
499
|
+
getInbound(requestParameters: AmazonWarehousingAndDistributionApiGetInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InboundOrder, any, {}>>;
|
|
500
500
|
/**
|
|
501
501
|
* 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)
|
|
502
502
|
* @param {AmazonWarehousingAndDistributionApiGetInboundShipmentRequest} requestParameters Request parameters.
|
|
503
503
|
* @param {*} [options] Override http request option.
|
|
504
504
|
* @throws {RequiredError}
|
|
505
505
|
*/
|
|
506
|
-
getInboundShipment(requestParameters: AmazonWarehousingAndDistributionApiGetInboundShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InboundShipment, any>>;
|
|
506
|
+
getInboundShipment(requestParameters: AmazonWarehousingAndDistributionApiGetInboundShipmentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InboundShipment, any, {}>>;
|
|
507
507
|
/**
|
|
508
508
|
* 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).
|
|
509
509
|
* @param {AmazonWarehousingAndDistributionApiGetInboundShipmentLabelsRequest} requestParameters Request parameters.
|
|
510
510
|
* @param {*} [options] Override http request option.
|
|
511
511
|
* @throws {RequiredError}
|
|
512
512
|
*/
|
|
513
|
-
getInboundShipmentLabels(requestParameters: AmazonWarehousingAndDistributionApiGetInboundShipmentLabelsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShipmentLabels, any>>;
|
|
513
|
+
getInboundShipmentLabels(requestParameters: AmazonWarehousingAndDistributionApiGetInboundShipmentLabelsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShipmentLabels, any, {}>>;
|
|
514
514
|
/**
|
|
515
515
|
* 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).
|
|
516
516
|
* @param {AmazonWarehousingAndDistributionApiListInboundShipmentsRequest} requestParameters Request parameters.
|
|
517
517
|
* @param {*} [options] Override http request option.
|
|
518
518
|
* @throws {RequiredError}
|
|
519
519
|
*/
|
|
520
|
-
listInboundShipments(requestParameters?: AmazonWarehousingAndDistributionApiListInboundShipmentsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShipmentListing, any>>;
|
|
520
|
+
listInboundShipments(requestParameters?: AmazonWarehousingAndDistributionApiListInboundShipmentsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ShipmentListing, any, {}>>;
|
|
521
521
|
/**
|
|
522
522
|
* 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).
|
|
523
523
|
* @param {AmazonWarehousingAndDistributionApiListInventoryRequest} requestParameters Request parameters.
|
|
524
524
|
* @param {*} [options] Override http request option.
|
|
525
525
|
* @throws {RequiredError}
|
|
526
526
|
*/
|
|
527
|
-
listInventory(requestParameters?: AmazonWarehousingAndDistributionApiListInventoryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InventoryListing, any>>;
|
|
527
|
+
listInventory(requestParameters?: AmazonWarehousingAndDistributionApiListInventoryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<InventoryListing, any, {}>>;
|
|
528
528
|
/**
|
|
529
529
|
* 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).
|
|
530
530
|
* @param {AmazonWarehousingAndDistributionApiUpdateInboundRequest} requestParameters Request parameters.
|
|
531
531
|
* @param {*} [options] Override http request option.
|
|
532
532
|
* @throws {RequiredError}
|
|
533
533
|
*/
|
|
534
|
-
updateInbound(requestParameters: AmazonWarehousingAndDistributionApiUpdateInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
|
|
534
|
+
updateInbound(requestParameters: AmazonWarehousingAndDistributionApiUpdateInboundRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
535
535
|
/**
|
|
536
536
|
* 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).
|
|
537
537
|
* @param {AmazonWarehousingAndDistributionApiUpdateInboundShipmentTransportDetailsRequest} requestParameters Request parameters.
|
|
538
538
|
* @param {*} [options] Override http request option.
|
|
539
539
|
* @throws {RequiredError}
|
|
540
540
|
*/
|
|
541
|
-
updateInboundShipmentTransportDetails(requestParameters: AmazonWarehousingAndDistributionApiUpdateInboundShipmentTransportDetailsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
|
|
541
|
+
updateInboundShipmentTransportDetails(requestParameters: AmazonWarehousingAndDistributionApiUpdateInboundShipmentTransportDetailsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
542
542
|
}
|
|
543
543
|
export declare const GetInboundShipmentSkuQuantitiesEnum: {
|
|
544
544
|
readonly Show: "SHOW";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/amazon-warehousing-and-distribution-api-2024-05-09",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.",
|
|
5
|
-
"version": "4.0.
|
|
5
|
+
"version": "4.0.6",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.20",
|
|
22
|
+
"axios": "^1.12.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,26 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"amazon warehousing and distribution api"
|
|
42
42
|
],
|
|
43
|
-
"
|
|
44
|
-
"extends": [
|
|
45
|
-
"xo-bizon"
|
|
46
|
-
],
|
|
47
|
-
"settings": {
|
|
48
|
-
"import/internal-regex": "^@sp-api-sdk/"
|
|
49
|
-
},
|
|
50
|
-
"semicolon": false,
|
|
51
|
-
"space": 2,
|
|
52
|
-
"prettier": true,
|
|
53
|
-
"ignores": [
|
|
54
|
-
"src/api-model/**"
|
|
55
|
-
],
|
|
56
|
-
"rules": {
|
|
57
|
-
"unicorn/prevent-abbreviations": "off"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"prettier": {
|
|
61
|
-
"printWidth": 100,
|
|
62
|
-
"jsxSingleQuote": true
|
|
63
|
-
},
|
|
64
|
-
"gitHead": "4c9d1270205ee00090d635b31eeabb323860546d"
|
|
43
|
+
"gitHead": "03484c02930fb24976769bd4688b4750908169b6"
|
|
65
44
|
}
|