@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.4.0 → 4.5.2
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 +14 -59
- package/dist/cjs/api-model/configuration.js +12 -1
- package/dist/cjs/api-model/models/index.js +0 -5
- package/dist/cjs/client.js +0 -7
- package/dist/es/api-model/api/fulfillment-outbound-api.js +14 -59
- package/dist/es/api-model/configuration.js +12 -1
- package/dist/es/api-model/models/index.js +0 -5
- package/dist/es/client.js +0 -7
- package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +0 -39
- package/dist/types/api-model/configuration.d.ts +24 -0
- package/dist/types/api-model/models/index.d.ts +0 -5
- package/package.json +3 -3
- package/dist/cjs/api-model/models/delivery-offering.js +0 -15
- package/dist/cjs/api-model/models/delivery-quantity.js +0 -19
- package/dist/cjs/api-model/models/get-delivery-offerings-request.js +0 -15
- package/dist/cjs/api-model/models/get-delivery-offerings-response.js +0 -15
- package/dist/cjs/api-model/models/get-delivery-offerings-result.js +0 -15
- package/dist/es/api-model/models/delivery-offering.js +0 -14
- package/dist/es/api-model/models/delivery-quantity.js +0 -16
- package/dist/es/api-model/models/get-delivery-offerings-request.js +0 -14
- package/dist/es/api-model/models/get-delivery-offerings-response.js +0 -14
- package/dist/es/api-model/models/get-delivery-offerings-result.js +0 -14
- package/dist/types/api-model/models/delivery-offering.d.ts +0 -24
- package/dist/types/api-model/models/delivery-quantity.d.ts +0 -28
- package/dist/types/api-model/models/get-delivery-offerings-request.d.ts +0 -28
- package/dist/types/api-model/models/get-delivery-offerings-response.d.ts +0 -22
- package/dist/types/api-model/models/get-delivery-offerings-result.d.ts +0 -21
|
@@ -48,6 +48,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
48
48
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
49
49
|
const localVarHeaderParameter = {};
|
|
50
50
|
const localVarQueryParameter = {};
|
|
51
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
51
52
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
52
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53
54
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -76,6 +77,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
76
77
|
const localVarHeaderParameter = {};
|
|
77
78
|
const localVarQueryParameter = {};
|
|
78
79
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
80
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
79
81
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
80
82
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
83
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -109,35 +111,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
109
111
|
const localVarHeaderParameter = {};
|
|
110
112
|
const localVarQueryParameter = {};
|
|
111
113
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
112
|
-
|
|
113
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
114
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
115
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
116
|
-
return {
|
|
117
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
118
|
-
options: localVarRequestOptions,
|
|
119
|
-
};
|
|
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';
|
|
114
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
141
115
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
142
116
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
143
117
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -167,6 +141,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
167
141
|
const localVarHeaderParameter = {};
|
|
168
142
|
const localVarQueryParameter = {};
|
|
169
143
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
144
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
170
145
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
171
146
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
172
147
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -212,6 +187,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
212
187
|
queryStartDate.toISOString() :
|
|
213
188
|
queryStartDate;
|
|
214
189
|
}
|
|
190
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
215
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
216
192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
193
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -250,6 +226,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
250
226
|
if (marketplaceId !== undefined) {
|
|
251
227
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
252
228
|
}
|
|
229
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
253
230
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
254
231
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
255
232
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -280,6 +257,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
280
257
|
if (marketplaceId !== undefined) {
|
|
281
258
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
282
259
|
}
|
|
260
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
283
261
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
284
262
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
263
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -308,6 +286,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
308
286
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
309
287
|
const localVarHeaderParameter = {};
|
|
310
288
|
const localVarQueryParameter = {};
|
|
289
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
311
290
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
312
291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
292
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -336,6 +315,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
336
315
|
const localVarHeaderParameter = {};
|
|
337
316
|
const localVarQueryParameter = {};
|
|
338
317
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
318
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
339
319
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
340
320
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
341
321
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -367,6 +347,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
367
347
|
if (packageNumber !== undefined) {
|
|
368
348
|
localVarQueryParameter['packageNumber'] = packageNumber;
|
|
369
349
|
}
|
|
350
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
370
351
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
371
352
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
372
353
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -401,6 +382,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
401
382
|
if (nextToken !== undefined) {
|
|
402
383
|
localVarQueryParameter['nextToken'] = nextToken;
|
|
403
384
|
}
|
|
385
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
404
386
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
405
387
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
406
388
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -443,6 +425,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
443
425
|
if (language !== undefined) {
|
|
444
426
|
localVarQueryParameter['language'] = language;
|
|
445
427
|
}
|
|
428
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
446
429
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
447
430
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
448
431
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -475,6 +458,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
475
458
|
const localVarHeaderParameter = {};
|
|
476
459
|
const localVarQueryParameter = {};
|
|
477
460
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
461
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
478
462
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
479
463
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
480
464
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -508,6 +492,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
|
|
|
508
492
|
const localVarHeaderParameter = {};
|
|
509
493
|
const localVarQueryParameter = {};
|
|
510
494
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
495
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
511
496
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
512
497
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
513
498
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -563,18 +548,6 @@ const FulfillmentOutboundApiFp = function (configuration) {
|
|
|
563
548
|
const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
|
|
564
549
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
565
550
|
},
|
|
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
|
-
},
|
|
578
551
|
/**
|
|
579
552
|
* 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).
|
|
580
553
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -754,15 +727,6 @@ const FulfillmentOutboundApiFactory = function (configuration, basePath, axios)
|
|
|
754
727
|
createFulfillmentReturn(requestParameters, options) {
|
|
755
728
|
return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
756
729
|
},
|
|
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
|
-
},
|
|
766
730
|
/**
|
|
767
731
|
* 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).
|
|
768
732
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -896,15 +860,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
|
|
|
896
860
|
createFulfillmentReturn(requestParameters, options) {
|
|
897
861
|
return (0, exports.FulfillmentOutboundApiFp)(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
898
862
|
}
|
|
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
|
-
}
|
|
908
863
|
/**
|
|
909
864
|
* 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).
|
|
910
865
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
3
|
/**
|
|
5
4
|
* Selling Partner APIs for Fulfillment Outbound
|
|
6
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.
|
|
@@ -34,6 +33,17 @@ class Configuration {
|
|
|
34
33
|
* @param scopes oauth2 scope
|
|
35
34
|
*/
|
|
36
35
|
accessToken;
|
|
36
|
+
/**
|
|
37
|
+
* parameter for aws4 signature security
|
|
38
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
39
|
+
* @param {string} options.region - aws region
|
|
40
|
+
* @param {string} options.service - name of the service.
|
|
41
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
42
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
43
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
44
|
+
* @memberof Configuration
|
|
45
|
+
*/
|
|
46
|
+
awsv4;
|
|
37
47
|
/**
|
|
38
48
|
* override base path
|
|
39
49
|
*/
|
|
@@ -59,6 +69,7 @@ class Configuration {
|
|
|
59
69
|
this.username = param.username;
|
|
60
70
|
this.password = param.password;
|
|
61
71
|
this.accessToken = param.accessToken;
|
|
72
|
+
this.awsv4 = param.awsv4;
|
|
62
73
|
this.basePath = param.basePath;
|
|
63
74
|
this.serverIndex = param.serverIndex;
|
|
64
75
|
this.baseOptions = {
|
|
@@ -32,10 +32,8 @@ __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);
|
|
36
35
|
__exportStar(require("./delivery-policy"), exports);
|
|
37
36
|
__exportStar(require("./delivery-preferences"), exports);
|
|
38
|
-
__exportStar(require("./delivery-quantity"), exports);
|
|
39
37
|
__exportStar(require("./delivery-window"), exports);
|
|
40
38
|
__exportStar(require("./destination"), exports);
|
|
41
39
|
__exportStar(require("./drop-off-location"), exports);
|
|
@@ -56,9 +54,6 @@ __exportStar(require("./fulfillment-return-item-status"), exports);
|
|
|
56
54
|
__exportStar(require("./fulfillment-shipment"), exports);
|
|
57
55
|
__exportStar(require("./fulfillment-shipment-item"), exports);
|
|
58
56
|
__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);
|
|
62
57
|
__exportStar(require("./get-delivery-offers-product"), exports);
|
|
63
58
|
__exportStar(require("./get-delivery-offers-request"), exports);
|
|
64
59
|
__exportStar(require("./get-delivery-offers-response"), exports);
|
package/dist/cjs/client.js
CHANGED
|
@@ -11,13 +11,6 @@ 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
|
-
},
|
|
21
14
|
{
|
|
22
15
|
method: 'post',
|
|
23
16
|
// eslint-disable-next-line prefer-regex-literals
|
|
@@ -42,6 +42,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
42
42
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
43
43
|
const localVarHeaderParameter = {};
|
|
44
44
|
const localVarQueryParameter = {};
|
|
45
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
45
46
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46
47
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47
48
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -70,6 +71,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
70
71
|
const localVarHeaderParameter = {};
|
|
71
72
|
const localVarQueryParameter = {};
|
|
72
73
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
74
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
73
75
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
76
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
77
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -103,35 +105,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
103
105
|
const localVarHeaderParameter = {};
|
|
104
106
|
const localVarQueryParameter = {};
|
|
105
107
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
106
|
-
|
|
107
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
109
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
110
|
-
return {
|
|
111
|
-
url: toPathString(localVarUrlObj),
|
|
112
|
-
options: localVarRequestOptions,
|
|
113
|
-
};
|
|
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';
|
|
108
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
135
109
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
136
110
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
111
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -161,6 +135,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
161
135
|
const localVarHeaderParameter = {};
|
|
162
136
|
const localVarQueryParameter = {};
|
|
163
137
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
138
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
164
139
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
165
140
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
166
141
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -206,6 +181,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
206
181
|
queryStartDate.toISOString() :
|
|
207
182
|
queryStartDate;
|
|
208
183
|
}
|
|
184
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
209
185
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
210
186
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
187
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -244,6 +220,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
244
220
|
if (marketplaceId !== undefined) {
|
|
245
221
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
246
222
|
}
|
|
223
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
247
224
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
248
225
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
249
226
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -274,6 +251,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
274
251
|
if (marketplaceId !== undefined) {
|
|
275
252
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
276
253
|
}
|
|
254
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
277
255
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
278
256
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
279
257
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -302,6 +280,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
302
280
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
303
281
|
const localVarHeaderParameter = {};
|
|
304
282
|
const localVarQueryParameter = {};
|
|
283
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
305
284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
306
285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
286
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -330,6 +309,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
330
309
|
const localVarHeaderParameter = {};
|
|
331
310
|
const localVarQueryParameter = {};
|
|
332
311
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
312
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
333
313
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
334
314
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
335
315
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -361,6 +341,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
361
341
|
if (packageNumber !== undefined) {
|
|
362
342
|
localVarQueryParameter['packageNumber'] = packageNumber;
|
|
363
343
|
}
|
|
344
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
364
345
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
365
346
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
366
347
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -395,6 +376,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
395
376
|
if (nextToken !== undefined) {
|
|
396
377
|
localVarQueryParameter['nextToken'] = nextToken;
|
|
397
378
|
}
|
|
379
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
398
380
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
399
381
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
382
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -437,6 +419,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
437
419
|
if (language !== undefined) {
|
|
438
420
|
localVarQueryParameter['language'] = language;
|
|
439
421
|
}
|
|
422
|
+
localVarHeaderParameter['Accept'] = 'application/json,payload';
|
|
440
423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
441
424
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
442
425
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -469,6 +452,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
469
452
|
const localVarHeaderParameter = {};
|
|
470
453
|
const localVarQueryParameter = {};
|
|
471
454
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
455
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
472
456
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
473
457
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
474
458
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -502,6 +486,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
|
|
|
502
486
|
const localVarHeaderParameter = {};
|
|
503
487
|
const localVarQueryParameter = {};
|
|
504
488
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
489
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
505
490
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
506
491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
507
492
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -556,18 +541,6 @@ export const FulfillmentOutboundApiFp = function (configuration) {
|
|
|
556
541
|
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
|
|
557
542
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
558
543
|
},
|
|
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
|
-
},
|
|
571
544
|
/**
|
|
572
545
|
* 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).
|
|
573
546
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -746,15 +719,6 @@ export const FulfillmentOutboundApiFactory = function (configuration, basePath,
|
|
|
746
719
|
createFulfillmentReturn(requestParameters, options) {
|
|
747
720
|
return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
748
721
|
},
|
|
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
|
-
},
|
|
758
722
|
/**
|
|
759
723
|
* 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).
|
|
760
724
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -887,15 +851,6 @@ export class FulfillmentOutboundApi extends BaseAPI {
|
|
|
887
851
|
createFulfillmentReturn(requestParameters, options) {
|
|
888
852
|
return FulfillmentOutboundApiFp(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
889
853
|
}
|
|
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
|
-
}
|
|
899
854
|
/**
|
|
900
855
|
* 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).
|
|
901
856
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* Selling Partner APIs for Fulfillment Outbound
|
|
5
4
|
* 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.
|
|
@@ -31,6 +30,17 @@ export class Configuration {
|
|
|
31
30
|
* @param scopes oauth2 scope
|
|
32
31
|
*/
|
|
33
32
|
accessToken;
|
|
33
|
+
/**
|
|
34
|
+
* parameter for aws4 signature security
|
|
35
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
36
|
+
* @param {string} options.region - aws region
|
|
37
|
+
* @param {string} options.service - name of the service.
|
|
38
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
39
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
40
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
41
|
+
* @memberof Configuration
|
|
42
|
+
*/
|
|
43
|
+
awsv4;
|
|
34
44
|
/**
|
|
35
45
|
* override base path
|
|
36
46
|
*/
|
|
@@ -56,6 +66,7 @@ export class Configuration {
|
|
|
56
66
|
this.username = param.username;
|
|
57
67
|
this.password = param.password;
|
|
58
68
|
this.accessToken = param.accessToken;
|
|
69
|
+
this.awsv4 = param.awsv4;
|
|
59
70
|
this.basePath = param.basePath;
|
|
60
71
|
this.serverIndex = param.serverIndex;
|
|
61
72
|
this.baseOptions = {
|
|
@@ -16,10 +16,8 @@ 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';
|
|
20
19
|
export * from './delivery-policy';
|
|
21
20
|
export * from './delivery-preferences';
|
|
22
|
-
export * from './delivery-quantity';
|
|
23
21
|
export * from './delivery-window';
|
|
24
22
|
export * from './destination';
|
|
25
23
|
export * from './drop-off-location';
|
|
@@ -40,9 +38,6 @@ export * from './fulfillment-return-item-status';
|
|
|
40
38
|
export * from './fulfillment-shipment';
|
|
41
39
|
export * from './fulfillment-shipment-item';
|
|
42
40
|
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';
|
|
46
41
|
export * from './get-delivery-offers-product';
|
|
47
42
|
export * from './get-delivery-offers-request';
|
|
48
43
|
export * from './get-delivery-offers-response';
|
package/dist/es/client.js
CHANGED
|
@@ -8,13 +8,6 @@ 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
|
-
},
|
|
18
11
|
{
|
|
19
12
|
method: 'post',
|
|
20
13
|
// eslint-disable-next-line prefer-regex-literals
|
|
@@ -18,8 +18,6 @@ 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';
|
|
23
21
|
import type { GetDeliveryOffersRequest } from '../models';
|
|
24
22
|
import type { GetDeliveryOffersResponse } from '../models';
|
|
25
23
|
import type { GetFeatureInventoryResponse } from '../models';
|
|
@@ -61,13 +59,6 @@ export declare const FulfillmentOutboundApiAxiosParamCreator: (configuration?: C
|
|
|
61
59
|
* @throws {RequiredError}
|
|
62
60
|
*/
|
|
63
61
|
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>;
|
|
71
62
|
/**
|
|
72
63
|
* 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).
|
|
73
64
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -183,13 +174,6 @@ export declare const FulfillmentOutboundApiFp: (configuration?: Configuration) =
|
|
|
183
174
|
* @throws {RequiredError}
|
|
184
175
|
*/
|
|
185
176
|
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>>;
|
|
193
177
|
/**
|
|
194
178
|
* 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).
|
|
195
179
|
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
|
|
@@ -304,13 +288,6 @@ export declare const FulfillmentOutboundApiFactory: (configuration?: Configurati
|
|
|
304
288
|
* @throws {RequiredError}
|
|
305
289
|
*/
|
|
306
290
|
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>;
|
|
314
291
|
/**
|
|
315
292
|
* 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).
|
|
316
293
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -420,15 +397,6 @@ export interface FulfillmentOutboundApiCreateFulfillmentReturnRequest {
|
|
|
420
397
|
*/
|
|
421
398
|
readonly body: CreateFulfillmentReturnRequest;
|
|
422
399
|
}
|
|
423
|
-
/**
|
|
424
|
-
* Request parameters for deliveryOfferings operation in FulfillmentOutboundApi.
|
|
425
|
-
*/
|
|
426
|
-
export interface FulfillmentOutboundApiDeliveryOfferingsRequest {
|
|
427
|
-
/**
|
|
428
|
-
* GetDeliveryOfferingsRequest parameter
|
|
429
|
-
*/
|
|
430
|
-
readonly body: GetDeliveryOfferingsRequest;
|
|
431
|
-
}
|
|
432
400
|
/**
|
|
433
401
|
* Request parameters for deliveryOffers operation in FulfillmentOutboundApi.
|
|
434
402
|
*/
|
|
@@ -597,13 +565,6 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
|
|
|
597
565
|
* @throws {RequiredError}
|
|
598
566
|
*/
|
|
599
567
|
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, {}>>;
|
|
607
568
|
/**
|
|
608
569
|
* 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).
|
|
609
570
|
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
|
|
@@ -9,11 +9,23 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
interface AWSv4Configuration {
|
|
13
|
+
options?: {
|
|
14
|
+
region?: string;
|
|
15
|
+
service?: string;
|
|
16
|
+
};
|
|
17
|
+
credentials?: {
|
|
18
|
+
accessKeyId?: string;
|
|
19
|
+
secretAccessKey?: string;
|
|
20
|
+
sessionToken?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
export interface ConfigurationParameters {
|
|
13
24
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
25
|
username?: string;
|
|
15
26
|
password?: string;
|
|
16
27
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
+
awsv4?: AWSv4Configuration;
|
|
17
29
|
basePath?: string;
|
|
18
30
|
serverIndex?: number;
|
|
19
31
|
baseOptions?: any;
|
|
@@ -39,6 +51,17 @@ export declare class Configuration {
|
|
|
39
51
|
* @param scopes oauth2 scope
|
|
40
52
|
*/
|
|
41
53
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
54
|
+
/**
|
|
55
|
+
* parameter for aws4 signature security
|
|
56
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
+
* @param {string} options.region - aws region
|
|
58
|
+
* @param {string} options.service - name of the service.
|
|
59
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
62
|
+
* @memberof Configuration
|
|
63
|
+
*/
|
|
64
|
+
awsv4?: AWSv4Configuration;
|
|
42
65
|
/**
|
|
43
66
|
* override base path
|
|
44
67
|
*/
|
|
@@ -72,3 +95,4 @@ export declare class Configuration {
|
|
|
72
95
|
*/
|
|
73
96
|
isJsonMime(mime: string): boolean;
|
|
74
97
|
}
|
|
98
|
+
export {};
|
|
@@ -16,10 +16,8 @@ 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';
|
|
20
19
|
export * from './delivery-policy';
|
|
21
20
|
export * from './delivery-preferences';
|
|
22
|
-
export * from './delivery-quantity';
|
|
23
21
|
export * from './delivery-window';
|
|
24
22
|
export * from './destination';
|
|
25
23
|
export * from './drop-off-location';
|
|
@@ -40,9 +38,6 @@ export * from './fulfillment-return-item-status';
|
|
|
40
38
|
export * from './fulfillment-shipment';
|
|
41
39
|
export * from './fulfillment-shipment-item';
|
|
42
40
|
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';
|
|
46
41
|
export * from './get-delivery-offers-product';
|
|
47
42
|
export * from './get-delivery-offers-request';
|
|
48
43
|
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.5.2",
|
|
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.24",
|
|
22
22
|
"axios": "^1.13.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"fulfillment outbound api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "b3fe13460a11917282a12b5bdbcfaf565b9b773e"
|
|
44
44
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,14 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,14 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,14 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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];
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
}
|