@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.1.1 → 4.3.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.
Files changed (27) hide show
  1. package/dist/cjs/api-model/api/fulfillment-outbound-api.js +0 -59
  2. package/dist/cjs/api-model/models/index.js +0 -5
  3. package/dist/cjs/client.js +0 -7
  4. package/dist/es/api-model/api/fulfillment-outbound-api.js +0 -59
  5. package/dist/es/api-model/models/index.js +0 -5
  6. package/dist/es/client.js +0 -7
  7. package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +14 -53
  8. package/dist/types/api-model/models/address.d.ts +1 -1
  9. package/dist/types/api-model/models/delivery-document.d.ts +1 -1
  10. package/dist/types/api-model/models/feature-settings.d.ts +2 -2
  11. package/dist/types/api-model/models/index.d.ts +0 -5
  12. package/package.json +4 -25
  13. package/dist/cjs/api-model/models/delivery-offering.js +0 -15
  14. package/dist/cjs/api-model/models/delivery-quantity.js +0 -19
  15. package/dist/cjs/api-model/models/get-delivery-offerings-request.js +0 -15
  16. package/dist/cjs/api-model/models/get-delivery-offerings-response.js +0 -15
  17. package/dist/cjs/api-model/models/get-delivery-offerings-result.js +0 -15
  18. package/dist/es/api-model/models/delivery-offering.js +0 -14
  19. package/dist/es/api-model/models/delivery-quantity.js +0 -16
  20. package/dist/es/api-model/models/get-delivery-offerings-request.js +0 -14
  21. package/dist/es/api-model/models/get-delivery-offerings-response.js +0 -14
  22. package/dist/es/api-model/models/get-delivery-offerings-result.js +0 -14
  23. package/dist/types/api-model/models/delivery-offering.d.ts +0 -24
  24. package/dist/types/api-model/models/delivery-quantity.d.ts +0 -28
  25. package/dist/types/api-model/models/get-delivery-offerings-request.d.ts +0 -28
  26. package/dist/types/api-model/models/get-delivery-offerings-response.d.ts +0 -22
  27. package/dist/types/api-model/models/get-delivery-offerings-result.d.ts +0 -21
@@ -118,35 +118,6 @@ 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
- },
150
121
  /**
151
122
  * 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).
152
123
  * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
@@ -565,18 +536,6 @@ const FulfillmentOutboundApiFp = function (configuration) {
565
536
  const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
566
537
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
567
538
  },
568
- /**
569
- * 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).
570
- * @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
571
- * @param {*} [options] Override http request option.
572
- * @throws {RequiredError}
573
- */
574
- async deliveryOfferings(body, options) {
575
- const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOfferings(body, options);
576
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
577
- const localVarOperationServerBasePath = base_1.operationServerMap['FulfillmentOutboundApi.deliveryOfferings']?.[localVarOperationServerIndex]?.url;
578
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
579
- },
580
539
  /**
581
540
  * 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).
582
541
  * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
@@ -757,15 +716,6 @@ const FulfillmentOutboundApiFactory = function (configuration, basePath, axios)
757
716
  createFulfillmentReturn(requestParameters, options) {
758
717
  return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
759
718
  },
760
- /**
761
- * 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).
762
- * @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
763
- * @param {*} [options] Override http request option.
764
- * @throws {RequiredError}
765
- */
766
- deliveryOfferings(requestParameters, options) {
767
- return localVarFp.deliveryOfferings(requestParameters.body, options).then((request) => request(axios, basePath));
768
- },
769
719
  /**
770
720
  * 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).
771
721
  * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
@@ -899,15 +849,6 @@ class FulfillmentOutboundApi extends base_1.BaseAPI {
899
849
  createFulfillmentReturn(requestParameters, options) {
900
850
  return (0, exports.FulfillmentOutboundApiFp)(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
901
851
  }
902
- /**
903
- * 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).
904
- * @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
905
- * @param {*} [options] Override http request option.
906
- * @throws {RequiredError}
907
- */
908
- deliveryOfferings(requestParameters, options) {
909
- return (0, exports.FulfillmentOutboundApiFp)(this.configuration).deliveryOfferings(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
910
- }
911
852
  /**
912
853
  * 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).
913
854
  * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
@@ -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);
@@ -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
@@ -112,35 +112,6 @@ 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
- },
144
115
  /**
145
116
  * 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).
146
117
  * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
@@ -558,18 +529,6 @@ export const FulfillmentOutboundApiFp = function (configuration) {
558
529
  const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
559
530
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
560
531
  },
561
- /**
562
- * 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).
563
- * @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
564
- * @param {*} [options] Override http request option.
565
- * @throws {RequiredError}
566
- */
567
- async deliveryOfferings(body, options) {
568
- const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOfferings(body, options);
569
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
570
- const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.deliveryOfferings']?.[localVarOperationServerIndex]?.url;
571
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
572
- },
573
532
  /**
574
533
  * 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).
575
534
  * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
@@ -749,15 +708,6 @@ export const FulfillmentOutboundApiFactory = function (configuration, basePath,
749
708
  createFulfillmentReturn(requestParameters, options) {
750
709
  return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
751
710
  },
752
- /**
753
- * 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).
754
- * @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
755
- * @param {*} [options] Override http request option.
756
- * @throws {RequiredError}
757
- */
758
- deliveryOfferings(requestParameters, options) {
759
- return localVarFp.deliveryOfferings(requestParameters.body, options).then((request) => request(axios, basePath));
760
- },
761
711
  /**
762
712
  * 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).
763
713
  * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
@@ -890,15 +840,6 @@ export class FulfillmentOutboundApi extends BaseAPI {
890
840
  createFulfillmentReturn(requestParameters, options) {
891
841
  return FulfillmentOutboundApiFp(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
892
842
  }
893
- /**
894
- * 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).
895
- * @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
896
- * @param {*} [options] Override http request option.
897
- * @throws {RequiredError}
898
- */
899
- deliveryOfferings(requestParameters, options) {
900
- return FulfillmentOutboundApiFp(this.configuration).deliveryOfferings(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
901
- }
902
843
  /**
903
844
  * 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).
904
845
  * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
@@ -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
@@ -184,13 +175,6 @@ export declare const FulfillmentOutboundApiFp: (configuration?: Configuration) =
184
175
  * @throws {RequiredError}
185
176
  */
186
177
  createFulfillmentReturn(sellerFulfillmentOrderId: string, body: CreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFulfillmentReturnResponse>>;
187
- /**
188
- * 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).
189
- * @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
190
- * @param {*} [options] Override http request option.
191
- * @throws {RequiredError}
192
- */
193
- deliveryOfferings(body: GetDeliveryOfferingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDeliveryOfferingsResponse>>;
194
178
  /**
195
179
  * 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).
196
180
  * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
@@ -306,13 +290,6 @@ export declare const FulfillmentOutboundApiFactory: (configuration?: Configurati
306
290
  * @throws {RequiredError}
307
291
  */
308
292
  createFulfillmentReturn(requestParameters: FulfillmentOutboundApiCreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFulfillmentReturnResponse>;
309
- /**
310
- * 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).
311
- * @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
312
- * @param {*} [options] Override http request option.
313
- * @throws {RequiredError}
314
- */
315
- deliveryOfferings(requestParameters: FulfillmentOutboundApiDeliveryOfferingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDeliveryOfferingsResponse>;
316
293
  /**
317
294
  * 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).
318
295
  * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
@@ -422,15 +399,6 @@ export interface FulfillmentOutboundApiCreateFulfillmentReturnRequest {
422
399
  */
423
400
  readonly body: CreateFulfillmentReturnRequest;
424
401
  }
425
- /**
426
- * Request parameters for deliveryOfferings operation in FulfillmentOutboundApi.
427
- */
428
- export interface FulfillmentOutboundApiDeliveryOfferingsRequest {
429
- /**
430
- * GetDeliveryOfferingsRequest parameter
431
- */
432
- readonly body: GetDeliveryOfferingsRequest;
433
- }
434
402
  /**
435
403
  * Request parameters for deliveryOffers operation in FulfillmentOutboundApi.
436
404
  */
@@ -588,103 +556,96 @@ export declare class FulfillmentOutboundApi extends BaseAPI {
588
556
  * @param {*} [options] Override http request option.
589
557
  * @throws {RequiredError}
590
558
  */
591
- cancelFulfillmentOrder(requestParameters: FulfillmentOutboundApiCancelFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelFulfillmentOrderResponse, any>>;
559
+ cancelFulfillmentOrder(requestParameters: FulfillmentOutboundApiCancelFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CancelFulfillmentOrderResponse, any, {}>>;
592
560
  /**
593
561
  * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **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)
594
562
  * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
595
563
  * @param {*} [options] Override http request option.
596
564
  * @throws {RequiredError}
597
565
  */
598
- createFulfillmentOrder(requestParameters: FulfillmentOutboundApiCreateFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFulfillmentOrderResponse, any>>;
566
+ createFulfillmentOrder(requestParameters: FulfillmentOutboundApiCreateFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFulfillmentOrderResponse, any, {}>>;
599
567
  /**
600
568
  * Creates a fulfillment return. **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).
601
569
  * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
602
570
  * @param {*} [options] Override http request option.
603
571
  * @throws {RequiredError}
604
572
  */
605
- createFulfillmentReturn(requestParameters: FulfillmentOutboundApiCreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFulfillmentReturnResponse, any>>;
606
- /**
607
- * 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).
608
- * @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
609
- * @param {*} [options] Override http request option.
610
- * @throws {RequiredError}
611
- */
612
- deliveryOfferings(requestParameters: FulfillmentOutboundApiDeliveryOfferingsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDeliveryOfferingsResponse, any>>;
573
+ createFulfillmentReturn(requestParameters: FulfillmentOutboundApiCreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateFulfillmentReturnResponse, any, {}>>;
613
574
  /**
614
575
  * 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).
615
576
  * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
616
577
  * @param {*} [options] Override http request option.
617
578
  * @throws {RequiredError}
618
579
  */
619
- deliveryOffers(requestParameters: FulfillmentOutboundApiDeliveryOffersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDeliveryOffersResponse, any>>;
580
+ deliveryOffers(requestParameters: FulfillmentOutboundApiDeliveryOffersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDeliveryOffersResponse, any, {}>>;
620
581
  /**
621
582
  * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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)..
622
583
  * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
623
584
  * @param {*} [options] Override http request option.
624
585
  * @throws {RequiredError}
625
586
  */
626
- getFeatureInventory(requestParameters: FulfillmentOutboundApiGetFeatureInventoryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeatureInventoryResponse, any>>;
587
+ getFeatureInventory(requestParameters: FulfillmentOutboundApiGetFeatureInventoryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeatureInventoryResponse, any, {}>>;
627
588
  /**
628
589
  * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **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).
629
590
  * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
630
591
  * @param {*} [options] Override http request option.
631
592
  * @throws {RequiredError}
632
593
  */
633
- getFeatureSKU(requestParameters: FulfillmentOutboundApiGetFeatureSKURequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeatureSkuResponse, any>>;
594
+ getFeatureSKU(requestParameters: FulfillmentOutboundApiGetFeatureSKURequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeatureSkuResponse, any, {}>>;
634
595
  /**
635
596
  * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **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).
636
597
  * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
637
598
  * @param {*} [options] Override http request option.
638
599
  * @throws {RequiredError}
639
600
  */
640
- getFeatures(requestParameters: FulfillmentOutboundApiGetFeaturesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeaturesResponse, any>>;
601
+ getFeatures(requestParameters: FulfillmentOutboundApiGetFeaturesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFeaturesResponse, any, {}>>;
641
602
  /**
642
603
  * Returns the fulfillment order indicated by the specified order identifier. **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).
643
604
  * @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
644
605
  * @param {*} [options] Override http request option.
645
606
  * @throws {RequiredError}
646
607
  */
647
- getFulfillmentOrder(requestParameters: FulfillmentOutboundApiGetFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFulfillmentOrderResponse, any>>;
608
+ getFulfillmentOrder(requestParameters: FulfillmentOutboundApiGetFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFulfillmentOrderResponse, any, {}>>;
648
609
  /**
649
610
  * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
650
611
  * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
651
612
  * @param {*} [options] Override http request option.
652
613
  * @throws {RequiredError}
653
614
  */
654
- getFulfillmentPreview(requestParameters: FulfillmentOutboundApiGetFulfillmentPreviewRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFulfillmentPreviewResponse, any>>;
615
+ getFulfillmentPreview(requestParameters: FulfillmentOutboundApiGetFulfillmentPreviewRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetFulfillmentPreviewResponse, any, {}>>;
655
616
  /**
656
617
  * 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).
657
618
  * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
658
619
  * @param {*} [options] Override http request option.
659
620
  * @throws {RequiredError}
660
621
  */
661
- getPackageTrackingDetails(requestParameters?: FulfillmentOutboundApiGetPackageTrackingDetailsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPackageTrackingDetailsResponse, any>>;
622
+ getPackageTrackingDetails(requestParameters?: FulfillmentOutboundApiGetPackageTrackingDetailsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPackageTrackingDetailsResponse, any, {}>>;
662
623
  /**
663
624
  * 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)
664
625
  * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
665
626
  * @param {*} [options] Override http request option.
666
627
  * @throws {RequiredError}
667
628
  */
668
- listAllFulfillmentOrders(requestParameters?: FulfillmentOutboundApiListAllFulfillmentOrdersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListAllFulfillmentOrdersResponse, any>>;
629
+ listAllFulfillmentOrders(requestParameters?: FulfillmentOutboundApiListAllFulfillmentOrdersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListAllFulfillmentOrdersResponse, any, {}>>;
669
630
  /**
670
631
  * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **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).
671
632
  * @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
672
633
  * @param {*} [options] Override http request option.
673
634
  * @throws {RequiredError}
674
635
  */
675
- listReturnReasonCodes(requestParameters: FulfillmentOutboundApiListReturnReasonCodesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListReturnReasonCodesResponse, any>>;
636
+ listReturnReasonCodes(requestParameters: FulfillmentOutboundApiListReturnReasonCodesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListReturnReasonCodesResponse, any, {}>>;
676
637
  /**
677
638
  * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
678
639
  * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
679
640
  * @param {*} [options] Override http request option.
680
641
  * @throws {RequiredError}
681
642
  */
682
- submitFulfillmentOrderStatusUpdate(requestParameters: FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitFulfillmentOrderStatusUpdateResponse, any>>;
643
+ submitFulfillmentOrderStatusUpdate(requestParameters: FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitFulfillmentOrderStatusUpdateResponse, any, {}>>;
683
644
  /**
684
645
  * Updates and/or requests shipment for a fulfillment order with an order hold on it. **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).
685
646
  * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
686
647
  * @param {*} [options] Override http request option.
687
648
  * @throws {RequiredError}
688
649
  */
689
- updateFulfillmentOrder(requestParameters: FulfillmentOutboundApiUpdateFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateFulfillmentOrderResponse, any>>;
650
+ updateFulfillmentOrder(requestParameters: FulfillmentOutboundApiUpdateFulfillmentOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<UpdateFulfillmentOrderResponse, any, {}>>;
690
651
  }
@@ -40,7 +40,7 @@ export interface Address {
40
40
  /**
41
41
  * The state or region where the person, business or institution is located.
42
42
  */
43
- 'stateOrRegion': string;
43
+ 'stateOrRegion'?: string;
44
44
  /**
45
45
  * The postal code of the address.
46
46
  */
@@ -14,7 +14,7 @@
14
14
  */
15
15
  export interface DeliveryDocument {
16
16
  /**
17
- * The delivery document type. Values are `SIGNATURE` and `DELIVERY_IMAGE`.
17
+ * The delivery document type. The only possible value is `DELIVERY_IMAGE`.
18
18
  */
19
19
  'documentType': string;
20
20
  /**
@@ -10,11 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Feature settings allows you to apply fulfillment features to an order. To block an order from being shipped using Amazon Logistics (AMZL) and an AMZL tracking number, set `featureName` to `BLOCK_AMZL` and `featureFulfillmentPolicy` to `Required`. Blocking AMZL will incur an additional fee surcharge on your MCF orders and increase the risk of some of your orders being unfulfilled or delivered late if there are no alternative carriers available. Using `BLOCK_AMZL` in an order request will take precedence over your Seller Central account setting. To ship in non-Amazon branded packaging (blank boxes), set `featureName` to `BLANK_BOX`.
13
+ * Feature settings allows you to apply fulfillment features to an order. To block an order from being shipped using Amazon Logistics (AMZL) and an AMZL tracking number, set `featureName` to `BLOCK_AMZL` and `featureFulfillmentPolicy` to `Required`. Blocking AMZL will incur an additional fee surcharge on your MCF orders and increase the risk of some of your orders being unfulfilled or delivered late if there are no alternative carriers available. Using `BLOCK_AMZL` in an order request will take precedence over your Seller Central account setting. To ship in non-Amazon branded packaging (blank boxes), set `featureName` to `BLANK_BOX`. To require a signature from the recipient upon delivery, set `featureName` to `SIGNATURE_CONFIRMATION`. Note that using signature confirmation features will incur additional fees on MCF orders and are currently supported only in the US marketplace. To ensure all items in an order are delivered together, set `featureName` to `DELIVER_TOGETHER`.
14
14
  */
15
15
  export interface FeatureSettings {
16
16
  /**
17
- * The name of the feature.
17
+ * The name of the feature. Valid feature names are: - `BLOCK_AMZL`: Blocks orders from being shipped using Amazon Logistics (AMZL). - Note: Using this feature will incur additional fee surcharges on MCF orders and may increase the risk of unfulfilled or delayed deliveries if alternative carriers are unavailable. Using `BLOCK_AMZL` in an order request will take precedence over your Seller Central account setting. - `BLANK_BOX`: Ships orders in non-Amazon branded packaging (blank boxes). - `SIGNATURE_CONFIRMATION`: Requires a signature from the recipient upon delivery. - Note: Using signature confirmation features will incur additional fees on MCF orders and are currently supported only in the US marketplace.
18
18
  */
19
19
  'featureName'?: string;
20
20
  /**
@@ -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.1.1",
5
+ "version": "4.3.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.18",
22
- "axios": "^1.11.0"
21
+ "@sp-api-sdk/common": "2.1.19",
22
+ "axios": "^1.12.2"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,26 +40,5 @@
40
40
  "sp sdk",
41
41
  "fulfillment outbound api"
42
42
  ],
43
- "xo": {
44
- "extends": [
45
- "xo-bizon"
46
- ],
47
- "settings": {
48
- "import/internal-regex": "^@sp-api-sdk/"
49
- },
50
- "semicolon": false,
51
- "space": 2,
52
- "prettier": true,
53
- "ignores": [
54
- "src/api-model/**"
55
- ],
56
- "rules": {
57
- "unicorn/prevent-abbreviations": "off"
58
- }
59
- },
60
- "prettier": {
61
- "printWidth": 100,
62
- "jsxSingleQuote": true
63
- },
64
- "gitHead": "4c9d1270205ee00090d635b31eeabb323860546d"
43
+ "gitHead": "95f22690de1d02f4739da49cffb24bef8b5b61c9"
65
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
- }