@sp-api-sdk/fulfillment-inbound-api-v0 2.6.4 → 2.7.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.
|
@@ -410,15 +410,13 @@ const FbaInboundApiAxiosParamCreator = function (configuration) {
|
|
|
410
410
|
/**
|
|
411
411
|
* Returns a list of items in a specified inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
412
412
|
* @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
|
|
413
|
-
* @param {string} marketplaceId
|
|
413
|
+
* @param {string} [marketplaceId] Deprecated. Do not use.
|
|
414
414
|
* @param {*} [options] Override http request option.
|
|
415
415
|
* @throws {RequiredError}
|
|
416
416
|
*/
|
|
417
417
|
getShipmentItemsByShipmentId: async (shipmentId, marketplaceId, options = {}) => {
|
|
418
418
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
419
419
|
(0, common_1.assertParamExists)('getShipmentItemsByShipmentId', 'shipmentId', shipmentId);
|
|
420
|
-
// verify required parameter 'marketplaceId' is not null or undefined
|
|
421
|
-
(0, common_1.assertParamExists)('getShipmentItemsByShipmentId', 'marketplaceId', marketplaceId);
|
|
422
420
|
const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/items`
|
|
423
421
|
.replace(`{${"shipmentId"}}`, encodeURIComponent(String(shipmentId)));
|
|
424
422
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -783,7 +781,7 @@ const FbaInboundApiFp = function (configuration) {
|
|
|
783
781
|
/**
|
|
784
782
|
* Returns a list of items in a specified inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
785
783
|
* @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
|
|
786
|
-
* @param {string} marketplaceId
|
|
784
|
+
* @param {string} [marketplaceId] Deprecated. Do not use.
|
|
787
785
|
* @param {*} [options] Override http request option.
|
|
788
786
|
* @throws {RequiredError}
|
|
789
787
|
*/
|
|
@@ -404,15 +404,13 @@ export const FbaInboundApiAxiosParamCreator = function (configuration) {
|
|
|
404
404
|
/**
|
|
405
405
|
* Returns a list of items in a specified inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
406
406
|
* @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
|
|
407
|
-
* @param {string} marketplaceId
|
|
407
|
+
* @param {string} [marketplaceId] Deprecated. Do not use.
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
409
409
|
* @throws {RequiredError}
|
|
410
410
|
*/
|
|
411
411
|
getShipmentItemsByShipmentId: async (shipmentId, marketplaceId, options = {}) => {
|
|
412
412
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
413
413
|
assertParamExists('getShipmentItemsByShipmentId', 'shipmentId', shipmentId);
|
|
414
|
-
// verify required parameter 'marketplaceId' is not null or undefined
|
|
415
|
-
assertParamExists('getShipmentItemsByShipmentId', 'marketplaceId', marketplaceId);
|
|
416
414
|
const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/items`
|
|
417
415
|
.replace(`{${"shipmentId"}}`, encodeURIComponent(String(shipmentId)));
|
|
418
416
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -776,7 +774,7 @@ export const FbaInboundApiFp = function (configuration) {
|
|
|
776
774
|
/**
|
|
777
775
|
* Returns a list of items in a specified inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
778
776
|
* @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
|
|
779
|
-
* @param {string} marketplaceId
|
|
777
|
+
* @param {string} [marketplaceId] Deprecated. Do not use.
|
|
780
778
|
* @param {*} [options] Override http request option.
|
|
781
779
|
* @throws {RequiredError}
|
|
782
780
|
*/
|
|
@@ -131,11 +131,11 @@ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configurat
|
|
|
131
131
|
/**
|
|
132
132
|
* Returns a list of items in a specified inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
133
133
|
* @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
|
|
134
|
-
* @param {string} marketplaceId
|
|
134
|
+
* @param {string} [marketplaceId] Deprecated. Do not use.
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
getShipmentItemsByShipmentId: (shipmentId: string, marketplaceId
|
|
138
|
+
getShipmentItemsByShipmentId: (shipmentId: string, marketplaceId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
139
139
|
/**
|
|
140
140
|
* Returns a list of inbound shipments based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
141
141
|
* @param {GetShipmentsQueryTypeEnum} queryType Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.
|
|
@@ -285,11 +285,11 @@ export declare const FbaInboundApiFp: (configuration?: Configuration) => {
|
|
|
285
285
|
/**
|
|
286
286
|
* Returns a list of items in a specified inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
287
287
|
* @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
|
|
288
|
-
* @param {string} marketplaceId
|
|
288
|
+
* @param {string} [marketplaceId] Deprecated. Do not use.
|
|
289
289
|
* @param {*} [options] Override http request option.
|
|
290
290
|
* @throws {RequiredError}
|
|
291
291
|
*/
|
|
292
|
-
getShipmentItemsByShipmentId(shipmentId: string, marketplaceId
|
|
292
|
+
getShipmentItemsByShipmentId(shipmentId: string, marketplaceId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentItemsResponse>>;
|
|
293
293
|
/**
|
|
294
294
|
* Returns a list of inbound shipments based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
295
295
|
* @param {GetShipmentsQueryTypeEnum} queryType Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.
|
|
@@ -711,11 +711,11 @@ export interface FbaInboundApiGetShipmentItemsByShipmentIdRequest {
|
|
|
711
711
|
*/
|
|
712
712
|
readonly shipmentId: string;
|
|
713
713
|
/**
|
|
714
|
-
*
|
|
714
|
+
* Deprecated. Do not use.
|
|
715
715
|
* @type {string}
|
|
716
716
|
* @memberof FbaInboundApiGetShipmentItemsByShipmentId
|
|
717
717
|
*/
|
|
718
|
-
readonly marketplaceId
|
|
718
|
+
readonly marketplaceId?: string;
|
|
719
719
|
}
|
|
720
720
|
/**
|
|
721
721
|
* Request parameters for getShipments operation in FbaInboundApi.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/fulfillment-inbound-api-v0",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.7.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.8",
|
|
22
22
|
"axios": "^1.7.9"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"fulfillment inbound api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "d8ee43e876007f59ecc6c67831cf797343d6d6e3"
|
|
44
44
|
}
|