@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.3.1 → 4.4.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/dist/cjs/api-model/api/fulfillment-outbound-api.js +70 -14
- package/dist/cjs/api-model/models/delivery-offering.js +15 -0
- package/dist/cjs/api-model/models/delivery-quantity.js +19 -0
- package/dist/cjs/api-model/models/get-delivery-offerings-request.js +15 -0
- package/dist/cjs/api-model/models/get-delivery-offerings-response.js +15 -0
- package/dist/cjs/api-model/models/get-delivery-offerings-result.js +15 -0
- package/dist/cjs/api-model/models/index.js +5 -0
- package/dist/cjs/client.js +7 -0
- package/dist/es/api-model/api/fulfillment-outbound-api.js +70 -14
- package/dist/es/api-model/models/delivery-offering.js +14 -0
- package/dist/es/api-model/models/delivery-quantity.js +16 -0
- package/dist/es/api-model/models/get-delivery-offerings-request.js +14 -0
- package/dist/es/api-model/models/get-delivery-offerings-response.js +14 -0
- package/dist/es/api-model/models/get-delivery-offerings-result.js +14 -0
- package/dist/es/api-model/models/index.js +5 -0
- package/dist/es/client.js +7 -0
- package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +46 -13
- package/dist/types/api-model/models/delivery-offering.d.ts +24 -0
- package/dist/types/api-model/models/delivery-quantity.d.ts +28 -0
- package/dist/types/api-model/models/get-delivery-offerings-request.d.ts +28 -0
- package/dist/types/api-model/models/get-delivery-offerings-response.d.ts +22 -0
- package/dist/types/api-model/models/get-delivery-offerings-result.d.ts +21 -0
- package/dist/types/api-model/models/index.d.ts +5 -0
- package/package.json +4 -4
|
@@ -118,6 +118,35 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
118
118
|
options: localVarRequestOptions,
|
|
119
119
|
};
|
|
120
120
|
},
|
|
121
|
+
/**
|
|
122
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
123
|
+
* @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
deliveryOfferings: async (body, options = {}) => {
|
|
128
|
+
// verify required parameter 'body' is not null or undefined
|
|
129
|
+
(0, common_1.assertParamExists)('deliveryOfferings', 'body', body);
|
|
130
|
+
const localVarPath = `/fba/outbound/2020-07-01/deliveryOfferings`;
|
|
131
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
132
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
133
|
+
let baseOptions;
|
|
134
|
+
if (configuration) {
|
|
135
|
+
baseOptions = configuration.baseOptions;
|
|
136
|
+
}
|
|
137
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
138
|
+
const localVarHeaderParameter = {};
|
|
139
|
+
const localVarQueryParameter = {};
|
|
140
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
141
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
142
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
143
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
144
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
145
|
+
return {
|
|
146
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
147
|
+
options: localVarRequestOptions,
|
|
148
|
+
};
|
|
149
|
+
},
|
|
121
150
|
/**
|
|
122
151
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
123
152
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -318,12 +347,13 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
318
347
|
},
|
|
319
348
|
/**
|
|
320
349
|
* Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **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 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).
|
|
321
|
-
* @param {number}
|
|
322
|
-
* @param {string} [amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
350
|
+
* @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
323
351
|
* @param {*} [options] Override http request option.
|
|
324
352
|
* @throws {RequiredError}
|
|
325
353
|
*/
|
|
326
|
-
getPackageTrackingDetails: async (packageNumber,
|
|
354
|
+
getPackageTrackingDetails: async (packageNumber, options = {}) => {
|
|
355
|
+
// verify required parameter 'packageNumber' is not null or undefined
|
|
356
|
+
(0, common_1.assertParamExists)('getPackageTrackingDetails', 'packageNumber', packageNumber);
|
|
327
357
|
const localVarPath = `/fba/outbound/2020-07-01/tracking`;
|
|
328
358
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
329
359
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -337,9 +367,6 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
337
367
|
if (packageNumber !== undefined) {
|
|
338
368
|
localVarQueryParameter['packageNumber'] = packageNumber;
|
|
339
369
|
}
|
|
340
|
-
if (amazonFulfillmentTrackingNumber !== undefined) {
|
|
341
|
-
localVarQueryParameter['amazonFulfillmentTrackingNumber'] = amazonFulfillmentTrackingNumber;
|
|
342
|
-
}
|
|
343
370
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
344
371
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
345
372
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -536,6 +563,18 @@ const FulfillmentOutboundApiFp = function (configuration) {
|
|
|
536
563
|
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
|
|
537
564
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
538
565
|
},
|
|
566
|
+
/**
|
|
567
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
568
|
+
* @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
async deliveryOfferings(body, options) {
|
|
573
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOfferings(body, options);
|
|
574
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
575
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.deliveryOfferings']?.[localVarOperationServerIndex]?.url;
|
|
576
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
577
|
+
},
|
|
539
578
|
/**
|
|
540
579
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
541
580
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -615,13 +654,12 @@ const FulfillmentOutboundApiFp = function (configuration) {
|
|
|
615
654
|
},
|
|
616
655
|
/**
|
|
617
656
|
* Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **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 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).
|
|
618
|
-
* @param {number}
|
|
619
|
-
* @param {string} [amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
657
|
+
* @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
620
658
|
* @param {*} [options] Override http request option.
|
|
621
659
|
* @throws {RequiredError}
|
|
622
660
|
*/
|
|
623
|
-
async getPackageTrackingDetails(packageNumber,
|
|
624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber,
|
|
661
|
+
async getPackageTrackingDetails(packageNumber, options) {
|
|
662
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, options);
|
|
625
663
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
626
664
|
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.getPackageTrackingDetails']?.[localVarOperationServerIndex]?.url;
|
|
627
665
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -716,6 +754,15 @@ const FulfillmentOutboundApiFactory = function (configuration, basePath, axios)
|
|
|
716
754
|
createFulfillmentReturn(requestParameters, options) {
|
|
717
755
|
return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
718
756
|
},
|
|
757
|
+
/**
|
|
758
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
759
|
+
* @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
|
|
760
|
+
* @param {*} [options] Override http request option.
|
|
761
|
+
* @throws {RequiredError}
|
|
762
|
+
*/
|
|
763
|
+
deliveryOfferings(requestParameters, options) {
|
|
764
|
+
return localVarFp.deliveryOfferings(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
765
|
+
},
|
|
719
766
|
/**
|
|
720
767
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
721
768
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -776,8 +823,8 @@ const FulfillmentOutboundApiFactory = function (configuration, basePath, axios)
|
|
|
776
823
|
* @param {*} [options] Override http request option.
|
|
777
824
|
* @throws {RequiredError}
|
|
778
825
|
*/
|
|
779
|
-
getPackageTrackingDetails(requestParameters
|
|
780
|
-
return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber,
|
|
826
|
+
getPackageTrackingDetails(requestParameters, options) {
|
|
827
|
+
return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(axios, basePath));
|
|
781
828
|
},
|
|
782
829
|
/**
|
|
783
830
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **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 preceding table 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)
|
|
@@ -849,6 +896,15 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
|
|
|
849
896
|
createFulfillmentReturn(requestParameters, options) {
|
|
850
897
|
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
851
898
|
}
|
|
899
|
+
/**
|
|
900
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
901
|
+
* @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
|
|
902
|
+
* @param {*} [options] Override http request option.
|
|
903
|
+
* @throws {RequiredError}
|
|
904
|
+
*/
|
|
905
|
+
deliveryOfferings(requestParameters, options) {
|
|
906
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).deliveryOfferings(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
907
|
+
}
|
|
852
908
|
/**
|
|
853
909
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
854
910
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -909,8 +965,8 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
|
|
|
909
965
|
* @param {*} [options] Override http request option.
|
|
910
966
|
* @throws {RequiredError}
|
|
911
967
|
*/
|
|
912
|
-
getPackageTrackingDetails(requestParameters
|
|
913
|
-
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber,
|
|
968
|
+
getPackageTrackingDetails(requestParameters, options) {
|
|
969
|
+
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(this.axios, this.basePath));
|
|
914
970
|
}
|
|
915
971
|
/**
|
|
916
972
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **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 preceding table 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)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
6
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
6
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DeliveryQuantityUnitOfMeasureEnum = void 0;
|
|
17
|
+
exports.DeliveryQuantityUnitOfMeasureEnum = {
|
|
18
|
+
Each: 'Each'
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
6
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
6
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
6
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -32,8 +32,10 @@ __exportStar(require("./delivery-document"), exports);
|
|
|
32
32
|
__exportStar(require("./delivery-information"), exports);
|
|
33
33
|
__exportStar(require("./delivery-message"), exports);
|
|
34
34
|
__exportStar(require("./delivery-offer"), exports);
|
|
35
|
+
__exportStar(require("./delivery-offering"), exports);
|
|
35
36
|
__exportStar(require("./delivery-policy"), exports);
|
|
36
37
|
__exportStar(require("./delivery-preferences"), exports);
|
|
38
|
+
__exportStar(require("./delivery-quantity"), exports);
|
|
37
39
|
__exportStar(require("./delivery-window"), exports);
|
|
38
40
|
__exportStar(require("./destination"), exports);
|
|
39
41
|
__exportStar(require("./drop-off-location"), exports);
|
|
@@ -54,6 +56,9 @@ __exportStar(require("./fulfillment-return-item-status"), exports);
|
|
|
54
56
|
__exportStar(require("./fulfillment-shipment"), exports);
|
|
55
57
|
__exportStar(require("./fulfillment-shipment-item"), exports);
|
|
56
58
|
__exportStar(require("./fulfillment-shipment-package"), exports);
|
|
59
|
+
__exportStar(require("./get-delivery-offerings-request"), exports);
|
|
60
|
+
__exportStar(require("./get-delivery-offerings-response"), exports);
|
|
61
|
+
__exportStar(require("./get-delivery-offerings-result"), exports);
|
|
57
62
|
__exportStar(require("./get-delivery-offers-product"), exports);
|
|
58
63
|
__exportStar(require("./get-delivery-offers-request"), exports);
|
|
59
64
|
__exportStar(require("./get-delivery-offers-response"), exports);
|
package/dist/cjs/client.js
CHANGED
|
@@ -11,6 +11,13 @@ exports.clientRateLimits = [
|
|
|
11
11
|
rate: 2,
|
|
12
12
|
burst: 30,
|
|
13
13
|
},
|
|
14
|
+
{
|
|
15
|
+
method: 'post',
|
|
16
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
17
|
+
urlRegex: new RegExp('^/fba/outbound/2020-07-01/deliveryOfferings$'),
|
|
18
|
+
rate: 5,
|
|
19
|
+
burst: 30,
|
|
20
|
+
},
|
|
14
21
|
{
|
|
15
22
|
method: 'post',
|
|
16
23
|
// eslint-disable-next-line prefer-regex-literals
|
|
@@ -112,6 +112,35 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
112
112
|
options: localVarRequestOptions,
|
|
113
113
|
};
|
|
114
114
|
},
|
|
115
|
+
/**
|
|
116
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
117
|
+
* @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
deliveryOfferings: async (body, options = {}) => {
|
|
122
|
+
// verify required parameter 'body' is not null or undefined
|
|
123
|
+
assertParamExists('deliveryOfferings', 'body', body);
|
|
124
|
+
const localVarPath = `/fba/outbound/2020-07-01/deliveryOfferings`;
|
|
125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
127
|
+
let baseOptions;
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
132
|
+
const localVarHeaderParameter = {};
|
|
133
|
+
const localVarQueryParameter = {};
|
|
134
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
136
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
138
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
139
|
+
return {
|
|
140
|
+
url: toPathString(localVarUrlObj),
|
|
141
|
+
options: localVarRequestOptions,
|
|
142
|
+
};
|
|
143
|
+
},
|
|
115
144
|
/**
|
|
116
145
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
117
146
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -312,12 +341,13 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
312
341
|
},
|
|
313
342
|
/**
|
|
314
343
|
* Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **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 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).
|
|
315
|
-
* @param {number}
|
|
316
|
-
* @param {string} [amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
344
|
+
* @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
317
345
|
* @param {*} [options] Override http request option.
|
|
318
346
|
* @throws {RequiredError}
|
|
319
347
|
*/
|
|
320
|
-
getPackageTrackingDetails: async (packageNumber,
|
|
348
|
+
getPackageTrackingDetails: async (packageNumber, options = {}) => {
|
|
349
|
+
// verify required parameter 'packageNumber' is not null or undefined
|
|
350
|
+
assertParamExists('getPackageTrackingDetails', 'packageNumber', packageNumber);
|
|
321
351
|
const localVarPath = `/fba/outbound/2020-07-01/tracking`;
|
|
322
352
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
323
353
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -331,9 +361,6 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
331
361
|
if (packageNumber !== undefined) {
|
|
332
362
|
localVarQueryParameter['packageNumber'] = packageNumber;
|
|
333
363
|
}
|
|
334
|
-
if (amazonFulfillmentTrackingNumber !== undefined) {
|
|
335
|
-
localVarQueryParameter['amazonFulfillmentTrackingNumber'] = amazonFulfillmentTrackingNumber;
|
|
336
|
-
}
|
|
337
364
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
338
365
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
339
366
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -529,6 +556,18 @@ export const FulfillmentOutboundApiFp = function (configuration) {
|
|
|
529
556
|
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
|
|
530
557
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
531
558
|
},
|
|
559
|
+
/**
|
|
560
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
561
|
+
* @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
|
|
562
|
+
* @param {*} [options] Override http request option.
|
|
563
|
+
* @throws {RequiredError}
|
|
564
|
+
*/
|
|
565
|
+
async deliveryOfferings(body, options) {
|
|
566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOfferings(body, options);
|
|
567
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
568
|
+
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.deliveryOfferings']?.[localVarOperationServerIndex]?.url;
|
|
569
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
570
|
+
},
|
|
532
571
|
/**
|
|
533
572
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
534
573
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -608,13 +647,12 @@ export const FulfillmentOutboundApiFp = function (configuration) {
|
|
|
608
647
|
},
|
|
609
648
|
/**
|
|
610
649
|
* Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **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 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).
|
|
611
|
-
* @param {number}
|
|
612
|
-
* @param {string} [amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
650
|
+
* @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
613
651
|
* @param {*} [options] Override http request option.
|
|
614
652
|
* @throws {RequiredError}
|
|
615
653
|
*/
|
|
616
|
-
async getPackageTrackingDetails(packageNumber,
|
|
617
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber,
|
|
654
|
+
async getPackageTrackingDetails(packageNumber, options) {
|
|
655
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, options);
|
|
618
656
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
619
657
|
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.getPackageTrackingDetails']?.[localVarOperationServerIndex]?.url;
|
|
620
658
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -708,6 +746,15 @@ export const FulfillmentOutboundApiFactory = function (configuration, basePath,
|
|
|
708
746
|
createFulfillmentReturn(requestParameters, options) {
|
|
709
747
|
return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
710
748
|
},
|
|
749
|
+
/**
|
|
750
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
751
|
+
* @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
|
|
752
|
+
* @param {*} [options] Override http request option.
|
|
753
|
+
* @throws {RequiredError}
|
|
754
|
+
*/
|
|
755
|
+
deliveryOfferings(requestParameters, options) {
|
|
756
|
+
return localVarFp.deliveryOfferings(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
757
|
+
},
|
|
711
758
|
/**
|
|
712
759
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
713
760
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -768,8 +815,8 @@ export const FulfillmentOutboundApiFactory = function (configuration, basePath,
|
|
|
768
815
|
* @param {*} [options] Override http request option.
|
|
769
816
|
* @throws {RequiredError}
|
|
770
817
|
*/
|
|
771
|
-
getPackageTrackingDetails(requestParameters
|
|
772
|
-
return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber,
|
|
818
|
+
getPackageTrackingDetails(requestParameters, options) {
|
|
819
|
+
return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(axios, basePath));
|
|
773
820
|
},
|
|
774
821
|
/**
|
|
775
822
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **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 preceding table 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)
|
|
@@ -840,6 +887,15 @@ export class FulfillmentOutboundApi extends BaseAPI {
|
|
|
840
887
|
createFulfillmentReturn(requestParameters, options) {
|
|
841
888
|
return FulfillmentOutboundApiFp(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
842
889
|
}
|
|
890
|
+
/**
|
|
891
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
892
|
+
* @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
|
|
893
|
+
* @param {*} [options] Override http request option.
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
*/
|
|
896
|
+
deliveryOfferings(requestParameters, options) {
|
|
897
|
+
return FulfillmentOutboundApiFp(this.configuration).deliveryOfferings(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
898
|
+
}
|
|
843
899
|
/**
|
|
844
900
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
845
901
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -900,8 +956,8 @@ export class FulfillmentOutboundApi extends BaseAPI {
|
|
|
900
956
|
* @param {*} [options] Override http request option.
|
|
901
957
|
* @throws {RequiredError}
|
|
902
958
|
*/
|
|
903
|
-
getPackageTrackingDetails(requestParameters
|
|
904
|
-
return FulfillmentOutboundApiFp(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber,
|
|
959
|
+
getPackageTrackingDetails(requestParameters, options) {
|
|
960
|
+
return FulfillmentOutboundApiFp(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(this.axios, this.basePath));
|
|
905
961
|
}
|
|
906
962
|
/**
|
|
907
963
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **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 preceding table 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)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
5
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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,16 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
5
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 const DeliveryQuantityUnitOfMeasureEnum = {
|
|
15
|
+
Each: 'Each'
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
5
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
5
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
5
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 {};
|
|
@@ -16,8 +16,10 @@ export * from './delivery-document';
|
|
|
16
16
|
export * from './delivery-information';
|
|
17
17
|
export * from './delivery-message';
|
|
18
18
|
export * from './delivery-offer';
|
|
19
|
+
export * from './delivery-offering';
|
|
19
20
|
export * from './delivery-policy';
|
|
20
21
|
export * from './delivery-preferences';
|
|
22
|
+
export * from './delivery-quantity';
|
|
21
23
|
export * from './delivery-window';
|
|
22
24
|
export * from './destination';
|
|
23
25
|
export * from './drop-off-location';
|
|
@@ -38,6 +40,9 @@ export * from './fulfillment-return-item-status';
|
|
|
38
40
|
export * from './fulfillment-shipment';
|
|
39
41
|
export * from './fulfillment-shipment-item';
|
|
40
42
|
export * from './fulfillment-shipment-package';
|
|
43
|
+
export * from './get-delivery-offerings-request';
|
|
44
|
+
export * from './get-delivery-offerings-response';
|
|
45
|
+
export * from './get-delivery-offerings-result';
|
|
41
46
|
export * from './get-delivery-offers-product';
|
|
42
47
|
export * from './get-delivery-offers-request';
|
|
43
48
|
export * from './get-delivery-offers-response';
|
package/dist/es/client.js
CHANGED
|
@@ -8,6 +8,13 @@ export const clientRateLimits = [
|
|
|
8
8
|
rate: 2,
|
|
9
9
|
burst: 30,
|
|
10
10
|
},
|
|
11
|
+
{
|
|
12
|
+
method: 'post',
|
|
13
|
+
// eslint-disable-next-line prefer-regex-literals
|
|
14
|
+
urlRegex: new RegExp('^/fba/outbound/2020-07-01/deliveryOfferings$'),
|
|
15
|
+
rate: 5,
|
|
16
|
+
burst: 30,
|
|
17
|
+
},
|
|
11
18
|
{
|
|
12
19
|
method: 'post',
|
|
13
20
|
// eslint-disable-next-line prefer-regex-literals
|
|
@@ -18,6 +18,8 @@ import type { CreateFulfillmentOrderRequest } from '../models';
|
|
|
18
18
|
import type { CreateFulfillmentOrderResponse } from '../models';
|
|
19
19
|
import type { CreateFulfillmentReturnRequest } from '../models';
|
|
20
20
|
import type { CreateFulfillmentReturnResponse } from '../models';
|
|
21
|
+
import type { GetDeliveryOfferingsRequest } from '../models';
|
|
22
|
+
import type { GetDeliveryOfferingsResponse } from '../models';
|
|
21
23
|
import type { GetDeliveryOffersRequest } from '../models';
|
|
22
24
|
import type { GetDeliveryOffersResponse } from '../models';
|
|
23
25
|
import type { GetFeatureInventoryResponse } from '../models';
|
|
@@ -59,6 +61,13 @@ export declare const FulfillmentOutboundApiAxiosParamCreator: (configuration?: C
|
|
|
59
61
|
* @throws {RequiredError}
|
|
60
62
|
*/
|
|
61
63
|
createFulfillmentReturn: (sellerFulfillmentOrderId: string, body: CreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
66
|
+
* @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
deliveryOfferings: (body: GetDeliveryOfferingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
71
|
/**
|
|
63
72
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
64
73
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -108,12 +117,11 @@ export declare const FulfillmentOutboundApiAxiosParamCreator: (configuration?: C
|
|
|
108
117
|
getFulfillmentPreview: (body: GetFulfillmentPreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
109
118
|
/**
|
|
110
119
|
* Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **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 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).
|
|
111
|
-
* @param {number}
|
|
112
|
-
* @param {string} [amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
120
|
+
* @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
113
121
|
* @param {*} [options] Override http request option.
|
|
114
122
|
* @throws {RequiredError}
|
|
115
123
|
*/
|
|
116
|
-
getPackageTrackingDetails: (packageNumber
|
|
124
|
+
getPackageTrackingDetails: (packageNumber: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
117
125
|
/**
|
|
118
126
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **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 preceding table 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)
|
|
119
127
|
* @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
|
|
@@ -175,6 +183,13 @@ export declare const FulfillmentOutboundApiFp: (configuration?: Configuration) =
|
|
|
175
183
|
* @throws {RequiredError}
|
|
176
184
|
*/
|
|
177
185
|
createFulfillmentReturn(sellerFulfillmentOrderId: string, body: CreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFulfillmentReturnResponse>>;
|
|
186
|
+
/**
|
|
187
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
188
|
+
* @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
deliveryOfferings(body: GetDeliveryOfferingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDeliveryOfferingsResponse>>;
|
|
178
193
|
/**
|
|
179
194
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
180
195
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -224,12 +239,11 @@ export declare const FulfillmentOutboundApiFp: (configuration?: Configuration) =
|
|
|
224
239
|
getFulfillmentPreview(body: GetFulfillmentPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFulfillmentPreviewResponse>>;
|
|
225
240
|
/**
|
|
226
241
|
* Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **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 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).
|
|
227
|
-
* @param {number}
|
|
228
|
-
* @param {string} [amazonFulfillmentTrackingNumber] The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
242
|
+
* @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
229
243
|
* @param {*} [options] Override http request option.
|
|
230
244
|
* @throws {RequiredError}
|
|
231
245
|
*/
|
|
232
|
-
getPackageTrackingDetails(packageNumber
|
|
246
|
+
getPackageTrackingDetails(packageNumber: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPackageTrackingDetailsResponse>>;
|
|
233
247
|
/**
|
|
234
248
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **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 preceding table 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)
|
|
235
249
|
* @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
|
|
@@ -290,6 +304,13 @@ export declare const FulfillmentOutboundApiFactory: (configuration?: Configurati
|
|
|
290
304
|
* @throws {RequiredError}
|
|
291
305
|
*/
|
|
292
306
|
createFulfillmentReturn(requestParameters: FulfillmentOutboundApiCreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFulfillmentReturnResponse>;
|
|
307
|
+
/**
|
|
308
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
309
|
+
* @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
deliveryOfferings(requestParameters: FulfillmentOutboundApiDeliveryOfferingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDeliveryOfferingsResponse>;
|
|
293
314
|
/**
|
|
294
315
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
295
316
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -338,7 +359,7 @@ export declare const FulfillmentOutboundApiFactory: (configuration?: Configurati
|
|
|
338
359
|
* @param {*} [options] Override http request option.
|
|
339
360
|
* @throws {RequiredError}
|
|
340
361
|
*/
|
|
341
|
-
getPackageTrackingDetails(requestParameters
|
|
362
|
+
getPackageTrackingDetails(requestParameters: FulfillmentOutboundApiGetPackageTrackingDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetPackageTrackingDetailsResponse>;
|
|
342
363
|
/**
|
|
343
364
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **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 preceding table 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)
|
|
344
365
|
* @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
|
|
@@ -399,6 +420,15 @@ export interface FulfillmentOutboundApiCreateFulfillmentReturnRequest {
|
|
|
399
420
|
*/
|
|
400
421
|
readonly body: CreateFulfillmentReturnRequest;
|
|
401
422
|
}
|
|
423
|
+
/**
|
|
424
|
+
* Request parameters for deliveryOfferings operation in FulfillmentOutboundApi.
|
|
425
|
+
*/
|
|
426
|
+
export interface FulfillmentOutboundApiDeliveryOfferingsRequest {
|
|
427
|
+
/**
|
|
428
|
+
* GetDeliveryOfferingsRequest parameter
|
|
429
|
+
*/
|
|
430
|
+
readonly body: GetDeliveryOfferingsRequest;
|
|
431
|
+
}
|
|
402
432
|
/**
|
|
403
433
|
* Request parameters for deliveryOffers operation in FulfillmentOutboundApi.
|
|
404
434
|
*/
|
|
@@ -480,11 +510,7 @@ export interface FulfillmentOutboundApiGetPackageTrackingDetailsRequest {
|
|
|
480
510
|
/**
|
|
481
511
|
* The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
482
512
|
*/
|
|
483
|
-
readonly packageNumber
|
|
484
|
-
/**
|
|
485
|
-
* The Amazon fulfillment tracking number. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
486
|
-
*/
|
|
487
|
-
readonly amazonFulfillmentTrackingNumber?: string;
|
|
513
|
+
readonly packageNumber: number;
|
|
488
514
|
}
|
|
489
515
|
/**
|
|
490
516
|
* Request parameters for listAllFulfillmentOrders operation in FulfillmentOutboundApi.
|
|
@@ -571,6 +597,13 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
571
597
|
* @throws {RequiredError}
|
|
572
598
|
*/
|
|
573
599
|
createFulfillmentReturn(requestParameters: FulfillmentOutboundApiCreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFulfillmentReturnResponse, any, {}>>;
|
|
600
|
+
/**
|
|
601
|
+
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
602
|
+
* @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
|
|
603
|
+
* @param {*} [options] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
*/
|
|
606
|
+
deliveryOfferings(requestParameters: FulfillmentOutboundApiDeliveryOfferingsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDeliveryOfferingsResponse, any, {}>>;
|
|
574
607
|
/**
|
|
575
608
|
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 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 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).
|
|
576
609
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -619,7 +652,7 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
619
652
|
* @param {*} [options] Override http request option.
|
|
620
653
|
* @throws {RequiredError}
|
|
621
654
|
*/
|
|
622
|
-
getPackageTrackingDetails(requestParameters
|
|
655
|
+
getPackageTrackingDetails(requestParameters: FulfillmentOutboundApiGetPackageTrackingDetailsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPackageTrackingDetailsResponse, any, {}>>;
|
|
623
656
|
/**
|
|
624
657
|
* Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **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 preceding table 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)
|
|
625
658
|
* @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
3
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 { DateRange } from './date-range';
|
|
13
|
+
import type { DeliveryPolicy } from './delivery-policy';
|
|
14
|
+
/**
|
|
15
|
+
* An available offering for delivery of a product.
|
|
16
|
+
*/
|
|
17
|
+
export interface DeliveryOffering {
|
|
18
|
+
/**
|
|
19
|
+
* Date timestamp
|
|
20
|
+
*/
|
|
21
|
+
'expiresAt'?: string;
|
|
22
|
+
'dateRange'?: DateRange;
|
|
23
|
+
'policy'?: DeliveryPolicy;
|
|
24
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
3
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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
|
+
* A quantity based on unit of measure.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeliveryQuantity {
|
|
16
|
+
/**
|
|
17
|
+
* The unit of measure for the amount.
|
|
18
|
+
*/
|
|
19
|
+
'unitOfMeasure': DeliveryQuantityUnitOfMeasureEnum;
|
|
20
|
+
/**
|
|
21
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
|
|
22
|
+
*/
|
|
23
|
+
'amount': string;
|
|
24
|
+
}
|
|
25
|
+
export declare const DeliveryQuantityUnitOfMeasureEnum: {
|
|
26
|
+
readonly Each: "Each";
|
|
27
|
+
};
|
|
28
|
+
export type DeliveryQuantityUnitOfMeasureEnum = typeof DeliveryQuantityUnitOfMeasureEnum[keyof typeof DeliveryQuantityUnitOfMeasureEnum];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
3
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 { DeliveryQuantity } from './delivery-quantity';
|
|
13
|
+
import type { VariablePrecisionAddress } from './variable-precision-address';
|
|
14
|
+
/**
|
|
15
|
+
* The request body schema for the `getDeliveryOfferings` operation.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetDeliveryOfferingsRequest {
|
|
18
|
+
'destinationAddress': VariablePrecisionAddress;
|
|
19
|
+
/**
|
|
20
|
+
* The two digit country code the items should ship from. In ISO 3166-1 alpha-2 format.
|
|
21
|
+
*/
|
|
22
|
+
'shipFromCountryCode': string;
|
|
23
|
+
/**
|
|
24
|
+
* The seller SKU of the item.
|
|
25
|
+
*/
|
|
26
|
+
'sellerSku': string;
|
|
27
|
+
'quantity'?: DeliveryQuantity;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
3
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 { GetDeliveryOfferingsResult } from './get-delivery-offerings-result';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the `getDeliveryOfferings` operation.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetDeliveryOfferingsResponse {
|
|
17
|
+
'payload'?: GetDeliveryOfferingsResult;
|
|
18
|
+
/**
|
|
19
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
+
*/
|
|
21
|
+
'errors'?: Array<Error>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
3
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
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 { DeliveryOffering } from './delivery-offering';
|
|
13
|
+
/**
|
|
14
|
+
* A list of delivery offerings, including offering expiration, earliest and latest date and time range, and the delivery offering policy.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetDeliveryOfferingsResult {
|
|
17
|
+
/**
|
|
18
|
+
* An array of delivery offering information.
|
|
19
|
+
*/
|
|
20
|
+
'deliveryOfferings'?: Array<DeliveryOffering>;
|
|
21
|
+
}
|
|
@@ -16,8 +16,10 @@ export * from './delivery-document';
|
|
|
16
16
|
export * from './delivery-information';
|
|
17
17
|
export * from './delivery-message';
|
|
18
18
|
export * from './delivery-offer';
|
|
19
|
+
export * from './delivery-offering';
|
|
19
20
|
export * from './delivery-policy';
|
|
20
21
|
export * from './delivery-preferences';
|
|
22
|
+
export * from './delivery-quantity';
|
|
21
23
|
export * from './delivery-window';
|
|
22
24
|
export * from './destination';
|
|
23
25
|
export * from './drop-off-location';
|
|
@@ -38,6 +40,9 @@ export * from './fulfillment-return-item-status';
|
|
|
38
40
|
export * from './fulfillment-shipment';
|
|
39
41
|
export * from './fulfillment-shipment-item';
|
|
40
42
|
export * from './fulfillment-shipment-package';
|
|
43
|
+
export * from './get-delivery-offerings-request';
|
|
44
|
+
export * from './get-delivery-offerings-response';
|
|
45
|
+
export * from './get-delivery-offerings-result';
|
|
41
46
|
export * from './get-delivery-offers-product';
|
|
42
47
|
export * from './get-delivery-offers-request';
|
|
43
48
|
export * from './get-delivery-offers-response';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/fulfillment-outbound-api-2020-07-01",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.4.0",
|
|
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.21",
|
|
22
|
+
"axios": "^1.13.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"fulfillment outbound api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "3a1ed2407423d0d3b294a0fdc7d9bba38ad2c845"
|
|
44
44
|
}
|