@sp-api-sdk/shipping-api-v2 1.1.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/api-model/api/shipping-api.js +356 -54
- package/dist/cjs/src/api-model/base.js +7 -2
- package/dist/cjs/src/api-model/common.js +1 -1
- package/dist/cjs/src/api-model/configuration.js +8 -0
- package/dist/es/src/api-model/api/shipping-api.js +356 -54
- package/dist/es/src/api-model/base.js +6 -1
- package/dist/es/src/api-model/common.js +1 -1
- package/dist/es/src/api-model/configuration.js +8 -0
- package/dist/types/src/api-model/api/shipping-api.d.ts +437 -151
- package/dist/types/src/api-model/base.d.ts +14 -2
- package/dist/types/src/api-model/configuration.d.ts +8 -0
- package/dist/types/src/api-model/models/access-point.d.ts +5 -5
- package/dist/types/src/api-model/models/address.d.ts +1 -1
- package/dist/types/src/api-model/models/available-value-added-service-group.d.ts +1 -1
- package/dist/types/src/api-model/models/benefits.d.ts +1 -1
- package/dist/types/src/api-model/models/carrier-account-input.d.ts +2 -2
- package/dist/types/src/api-model/models/channel-details.d.ts +3 -3
- package/dist/types/src/api-model/models/charge-component.d.ts +1 -1
- package/dist/types/src/api-model/models/collect-on-delivery.d.ts +1 -1
- package/dist/types/src/api-model/models/collection-forms-history-record.d.ts +2 -2
- package/dist/types/src/api-model/models/direct-purchase-request.d.ts +4 -4
- package/dist/types/src/api-model/models/direct-purchase-response.d.ts +1 -1
- package/dist/types/src/api-model/models/direct-purchase-result.d.ts +1 -1
- package/dist/types/src/api-model/models/event.d.ts +2 -2
- package/dist/types/src/api-model/models/exception-operating-hours.d.ts +2 -2
- package/dist/types/src/api-model/models/generate-collection-form-request.d.ts +2 -2
- package/dist/types/src/api-model/models/generate-collection-form-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-access-points-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-access-points-result.d.ts +1 -1
- package/dist/types/src/api-model/models/get-carrier-account-form-inputs-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-carrier-accounts-request.d.ts +1 -1
- package/dist/types/src/api-model/models/get-carrier-accounts-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-collection-form-history-request.d.ts +3 -3
- package/dist/types/src/api-model/models/get-collection-form-history-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-collection-form-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-rates-request.d.ts +9 -9
- package/dist/types/src/api-model/models/get-rates-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-rates-result.d.ts +2 -2
- package/dist/types/src/api-model/models/get-shipment-documents-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-shipment-documents-result.d.ts +1 -1
- package/dist/types/src/api-model/models/get-tracking-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-tracking-result.d.ts +2 -2
- package/dist/types/src/api-model/models/get-unmanifested-shipments-request.d.ts +1 -1
- package/dist/types/src/api-model/models/get-unmanifested-shipments-response.d.ts +1 -1
- package/dist/types/src/api-model/models/ineligibility-reason.d.ts +1 -1
- package/dist/types/src/api-model/models/ineligible-rate.d.ts +1 -1
- package/dist/types/src/api-model/models/item.d.ts +6 -6
- package/dist/types/src/api-model/models/link-carrier-account-request.d.ts +2 -2
- package/dist/types/src/api-model/models/link-carrier-account-response.d.ts +1 -1
- package/dist/types/src/api-model/models/linkable-account-type.d.ts +2 -2
- package/dist/types/src/api-model/models/linkable-carrier.d.ts +1 -1
- package/dist/types/src/api-model/models/one-click-shipment-request.d.ts +9 -9
- package/dist/types/src/api-model/models/one-click-shipment-response.d.ts +1 -1
- package/dist/types/src/api-model/models/one-click-shipment-result.d.ts +5 -5
- package/dist/types/src/api-model/models/one-click-shipment-value-added-service.d.ts +1 -1
- package/dist/types/src/api-model/models/operating-hours.d.ts +1 -1
- package/dist/types/src/api-model/models/package-document-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/package-document.d.ts +2 -2
- package/dist/types/src/api-model/models/package.d.ts +5 -5
- package/dist/types/src/api-model/models/print-option.d.ts +1 -1
- package/dist/types/src/api-model/models/promise.d.ts +1 -1
- package/dist/types/src/api-model/models/purchase-shipment-request.d.ts +2 -2
- package/dist/types/src/api-model/models/purchase-shipment-response.d.ts +1 -1
- package/dist/types/src/api-model/models/purchase-shipment-result.d.ts +2 -2
- package/dist/types/src/api-model/models/rate-item.d.ts +3 -3
- package/dist/types/src/api-model/models/rate.d.ts +8 -8
- package/dist/types/src/api-model/models/requested-document-specification.d.ts +3 -3
- package/dist/types/src/api-model/models/supported-document-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/supported-document-specification.d.ts +3 -3
- package/dist/types/src/api-model/models/tax-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/tracking-summary.d.ts +1 -1
- package/dist/types/src/api-model/models/unlink-carrier-account-request.d.ts +1 -1
- package/dist/types/src/api-model/models/unmanifested-carrier-information.d.ts +1 -1
- package/dist/types/src/api-model/models/unmanifested-shipment-location.d.ts +1 -1
- package/dist/types/src/api-model/models/value-added-service-details.d.ts +1 -1
- package/dist/types/src/api-model/models/value-added-service.d.ts +1 -1
- package/package.json +5 -5
|
@@ -16,7 +16,7 @@ import globalAxios from 'axios';
|
|
|
16
16
|
// @ts-ignore
|
|
17
17
|
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
18
18
|
// @ts-ignore
|
|
19
|
-
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI } from '../base';
|
|
19
|
+
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from '../base';
|
|
20
20
|
/**
|
|
21
21
|
* ShippingApi - axios parameter creator
|
|
22
22
|
* @export
|
|
@@ -26,7 +26,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
26
26
|
/**
|
|
27
27
|
* Cancels a purchased shipment. Returns an empty object if the shipment is successfully cancelled. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
28
28
|
* @param {string} shipmentId The shipment identifier originally returned by the purchaseShipment operation.
|
|
29
|
-
* @param {
|
|
29
|
+
* @param {CancelShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
@@ -60,7 +60,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
60
60
|
* @param {DirectPurchaseRequest} body
|
|
61
61
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
62
62
|
* @param {string} [locale] The IETF Language Tag. Note that this only supports the primary language subtag with one secondary language subtag (i.e. en-US, fr-CA). The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary language subtags.
|
|
63
|
-
* @param {
|
|
63
|
+
* @param {DirectPurchaseShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
@@ -100,7 +100,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* This API Call to generate the collection form. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
101
101
|
* @param {GenerateCollectionFormRequest} body
|
|
102
102
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
103
|
-
* @param {
|
|
103
|
+
* @param {GenerateCollectionFormXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
@@ -135,10 +135,10 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
135
135
|
},
|
|
136
136
|
/**
|
|
137
137
|
* Returns a list of access points in proximity of input postal code. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
138
|
-
* @param {Array<
|
|
138
|
+
* @param {Array<GetAccessPointsAccessPointTypesEnum>} accessPointTypes
|
|
139
139
|
* @param {string} countryCode
|
|
140
140
|
* @param {string} postalCode
|
|
141
|
-
* @param {
|
|
141
|
+
* @param {GetAccessPointsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
@@ -183,7 +183,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
183
183
|
* Returns the JSON schema to use for providing additional inputs when needed to purchase a shipping offering. Call the getAdditionalInputs operation when the response to a previous call to the getRates operation indicates that additional inputs are required for the rate (shipping offering) that you want to purchase. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
184
184
|
* @param {string} requestToken The request token returned in the response to the getRates operation.
|
|
185
185
|
* @param {string} rateId The rate identifier for the shipping offering (rate) returned in the response to the getRates operation.
|
|
186
|
-
* @param {
|
|
186
|
+
* @param {GetAdditionalInputsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
187
187
|
* @param {*} [options] Override http request option.
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
@@ -221,7 +221,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
221
221
|
},
|
|
222
222
|
/**
|
|
223
223
|
* This API will return a list of input schema required to register a shipper account with the carrier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
224
|
-
* @param {
|
|
224
|
+
* @param {GetCarrierAccountFormInputsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
225
225
|
* @param {*} [options] Override http request option.
|
|
226
226
|
* @throws {RequiredError}
|
|
227
227
|
*/
|
|
@@ -250,7 +250,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
250
250
|
/**
|
|
251
251
|
* This API will return Get all carrier accounts for a merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
252
252
|
* @param {GetCarrierAccountsRequest} body
|
|
253
|
-
* @param {
|
|
253
|
+
* @param {GetCarrierAccountsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
254
254
|
* @param {*} [options] Override http request option.
|
|
255
255
|
* @throws {RequiredError}
|
|
256
256
|
*/
|
|
@@ -283,7 +283,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
283
283
|
/**
|
|
284
284
|
* This API reprint a collection form. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
285
285
|
* @param {string} collectionFormId collection form Id to reprint a collection.
|
|
286
|
-
* @param {
|
|
286
|
+
* @param {GetCollectionFormXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
287
287
|
* @param {*} [options] Override http request option.
|
|
288
288
|
* @throws {RequiredError}
|
|
289
289
|
*/
|
|
@@ -315,7 +315,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
315
315
|
/**
|
|
316
316
|
* This API Call to get the history of the previously generated collection forms. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
317
317
|
* @param {GetCollectionFormHistoryRequest} body
|
|
318
|
-
* @param {
|
|
318
|
+
* @param {GetCollectionFormHistoryXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
319
319
|
* @param {*} [options] Override http request option.
|
|
320
320
|
* @throws {RequiredError}
|
|
321
321
|
*/
|
|
@@ -348,7 +348,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
348
348
|
/**
|
|
349
349
|
* Returns the available shipping service offerings. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
350
350
|
* @param {GetRatesRequest} body
|
|
351
|
-
* @param {
|
|
351
|
+
* @param {GetRatesXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
*/
|
|
@@ -384,7 +384,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
384
384
|
* @param {string} packageClientReferenceId The package client reference identifier originally provided in the request body parameter for the getRates operation.
|
|
385
385
|
* @param {string} [format] The file format of the document. Must be one of the supported formats returned by the getRates operation.
|
|
386
386
|
* @param {number} [dpi] The resolution of the document (for example, 300 means 300 dots per inch). Must be one of the supported resolutions returned in the response to the getRates operation.
|
|
387
|
-
* @param {
|
|
387
|
+
* @param {GetShipmentDocumentsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
388
388
|
* @param {*} [options] Override http request option.
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
*/
|
|
@@ -428,7 +428,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
428
428
|
* Returns tracking information for a purchased shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
429
429
|
* @param {string} trackingId A carrier-generated tracking identifier originally returned by the purchaseShipment operation.
|
|
430
430
|
* @param {string} carrierId A carrier identifier originally returned by the getRates operation for the selected rate.
|
|
431
|
-
* @param {
|
|
431
|
+
* @param {GetTrackingXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
432
432
|
* @param {*} [options] Override http request option.
|
|
433
433
|
* @throws {RequiredError}
|
|
434
434
|
*/
|
|
@@ -467,7 +467,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
467
467
|
/**
|
|
468
468
|
* This API Get all unmanifested carriers with shipment locations. Any locations which has unmanifested shipments with an eligible carrier for manifesting shall be returned. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
469
469
|
* @param {GetUnmanifestedShipmentsRequest} body
|
|
470
|
-
* @param {
|
|
470
|
+
* @param {GetUnmanifestedShipmentsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
471
471
|
* @param {*} [options] Override http request option.
|
|
472
472
|
* @throws {RequiredError}
|
|
473
473
|
*/
|
|
@@ -501,7 +501,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
501
501
|
* This API associates/links the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
502
502
|
* @param {string} carrierId The unique identifier associated with the carrier account.
|
|
503
503
|
* @param {LinkCarrierAccountRequest} body
|
|
504
|
-
* @param {
|
|
504
|
+
* @param {LinkCarrierAccountXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
505
505
|
* @param {*} [options] Override http request option.
|
|
506
506
|
* @throws {RequiredError}
|
|
507
507
|
*/
|
|
@@ -537,7 +537,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
537
537
|
/**
|
|
538
538
|
* Purchases a shipping service identifier and returns purchase-related details and documents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
539
539
|
* @param {OneClickShipmentRequest} body
|
|
540
|
-
* @param {
|
|
540
|
+
* @param {OneClickShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
541
541
|
* @param {*} [options] Override http request option.
|
|
542
542
|
* @throws {RequiredError}
|
|
543
543
|
*/
|
|
@@ -571,7 +571,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
571
571
|
* Purchases a shipping service and returns purchase related details and documents. Note: You must complete the purchase within 10 minutes of rate creation by the shipping service provider. If you make the request after the 10 minutes have expired, you will receive an error response with the error code equal to \"TOKEN_EXPIRED\". If you receive this error response, you must get the rates for the shipment again. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
572
572
|
* @param {PurchaseShipmentRequest} body
|
|
573
573
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
574
|
-
* @param {
|
|
574
|
+
* @param {PurchaseShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
575
575
|
* @param {*} [options] Override http request option.
|
|
576
576
|
* @throws {RequiredError}
|
|
577
577
|
*/
|
|
@@ -608,7 +608,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
608
608
|
* This API Unlink the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
609
609
|
* @param {string} carrierId carrier Id to unlink with merchant.
|
|
610
610
|
* @param {UnlinkCarrierAccountRequest} body
|
|
611
|
-
* @param {
|
|
611
|
+
* @param {UnlinkCarrierAccountXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
612
612
|
* @param {*} [options] Override http request option.
|
|
613
613
|
* @throws {RequiredError}
|
|
614
614
|
*/
|
|
@@ -653,117 +653,137 @@ export const ShippingApiFp = function (configuration) {
|
|
|
653
653
|
/**
|
|
654
654
|
* Cancels a purchased shipment. Returns an empty object if the shipment is successfully cancelled. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
655
655
|
* @param {string} shipmentId The shipment identifier originally returned by the purchaseShipment operation.
|
|
656
|
-
* @param {
|
|
656
|
+
* @param {CancelShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
657
657
|
* @param {*} [options] Override http request option.
|
|
658
658
|
* @throws {RequiredError}
|
|
659
659
|
*/
|
|
660
660
|
async cancelShipment(shipmentId, xAmznShippingBusinessId, options) {
|
|
661
661
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelShipment(shipmentId, xAmznShippingBusinessId, options);
|
|
662
|
-
|
|
662
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
663
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.cancelShipment']?.[localVarOperationServerIndex]?.url;
|
|
664
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
663
665
|
},
|
|
664
666
|
/**
|
|
665
667
|
* Purchases the shipping service for a shipment using the best fit service offering. Returns purchase related details and documents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
666
668
|
* @param {DirectPurchaseRequest} body
|
|
667
669
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
668
670
|
* @param {string} [locale] The IETF Language Tag. Note that this only supports the primary language subtag with one secondary language subtag (i.e. en-US, fr-CA). The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary language subtags.
|
|
669
|
-
* @param {
|
|
671
|
+
* @param {DirectPurchaseShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
670
672
|
* @param {*} [options] Override http request option.
|
|
671
673
|
* @throws {RequiredError}
|
|
672
674
|
*/
|
|
673
675
|
async directPurchaseShipment(body, xAmznIdempotencyKey, locale, xAmznShippingBusinessId, options) {
|
|
674
676
|
const localVarAxiosArgs = await localVarAxiosParamCreator.directPurchaseShipment(body, xAmznIdempotencyKey, locale, xAmznShippingBusinessId, options);
|
|
675
|
-
|
|
677
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
678
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.directPurchaseShipment']?.[localVarOperationServerIndex]?.url;
|
|
679
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
676
680
|
},
|
|
677
681
|
/**
|
|
678
682
|
* This API Call to generate the collection form. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
679
683
|
* @param {GenerateCollectionFormRequest} body
|
|
680
684
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
681
|
-
* @param {
|
|
685
|
+
* @param {GenerateCollectionFormXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
682
686
|
* @param {*} [options] Override http request option.
|
|
683
687
|
* @throws {RequiredError}
|
|
684
688
|
*/
|
|
685
689
|
async generateCollectionForm(body, xAmznIdempotencyKey, xAmznShippingBusinessId, options) {
|
|
686
690
|
const localVarAxiosArgs = await localVarAxiosParamCreator.generateCollectionForm(body, xAmznIdempotencyKey, xAmznShippingBusinessId, options);
|
|
687
|
-
|
|
691
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
692
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.generateCollectionForm']?.[localVarOperationServerIndex]?.url;
|
|
693
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
688
694
|
},
|
|
689
695
|
/**
|
|
690
696
|
* Returns a list of access points in proximity of input postal code. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
691
|
-
* @param {Array<
|
|
697
|
+
* @param {Array<GetAccessPointsAccessPointTypesEnum>} accessPointTypes
|
|
692
698
|
* @param {string} countryCode
|
|
693
699
|
* @param {string} postalCode
|
|
694
|
-
* @param {
|
|
700
|
+
* @param {GetAccessPointsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
695
701
|
* @param {*} [options] Override http request option.
|
|
696
702
|
* @throws {RequiredError}
|
|
697
703
|
*/
|
|
698
704
|
async getAccessPoints(accessPointTypes, countryCode, postalCode, xAmznShippingBusinessId, options) {
|
|
699
705
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccessPoints(accessPointTypes, countryCode, postalCode, xAmznShippingBusinessId, options);
|
|
700
|
-
|
|
706
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
707
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getAccessPoints']?.[localVarOperationServerIndex]?.url;
|
|
708
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
701
709
|
},
|
|
702
710
|
/**
|
|
703
711
|
* Returns the JSON schema to use for providing additional inputs when needed to purchase a shipping offering. Call the getAdditionalInputs operation when the response to a previous call to the getRates operation indicates that additional inputs are required for the rate (shipping offering) that you want to purchase. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
704
712
|
* @param {string} requestToken The request token returned in the response to the getRates operation.
|
|
705
713
|
* @param {string} rateId The rate identifier for the shipping offering (rate) returned in the response to the getRates operation.
|
|
706
|
-
* @param {
|
|
714
|
+
* @param {GetAdditionalInputsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
707
715
|
* @param {*} [options] Override http request option.
|
|
708
716
|
* @throws {RequiredError}
|
|
709
717
|
*/
|
|
710
718
|
async getAdditionalInputs(requestToken, rateId, xAmznShippingBusinessId, options) {
|
|
711
719
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAdditionalInputs(requestToken, rateId, xAmznShippingBusinessId, options);
|
|
712
|
-
|
|
720
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
721
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getAdditionalInputs']?.[localVarOperationServerIndex]?.url;
|
|
722
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
713
723
|
},
|
|
714
724
|
/**
|
|
715
725
|
* This API will return a list of input schema required to register a shipper account with the carrier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
716
|
-
* @param {
|
|
726
|
+
* @param {GetCarrierAccountFormInputsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
717
727
|
* @param {*} [options] Override http request option.
|
|
718
728
|
* @throws {RequiredError}
|
|
719
729
|
*/
|
|
720
730
|
async getCarrierAccountFormInputs(xAmznShippingBusinessId, options) {
|
|
721
731
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCarrierAccountFormInputs(xAmznShippingBusinessId, options);
|
|
722
|
-
|
|
732
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
733
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getCarrierAccountFormInputs']?.[localVarOperationServerIndex]?.url;
|
|
734
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
723
735
|
},
|
|
724
736
|
/**
|
|
725
737
|
* This API will return Get all carrier accounts for a merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
726
738
|
* @param {GetCarrierAccountsRequest} body
|
|
727
|
-
* @param {
|
|
739
|
+
* @param {GetCarrierAccountsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
728
740
|
* @param {*} [options] Override http request option.
|
|
729
741
|
* @throws {RequiredError}
|
|
730
742
|
*/
|
|
731
743
|
async getCarrierAccounts(body, xAmznShippingBusinessId, options) {
|
|
732
744
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCarrierAccounts(body, xAmznShippingBusinessId, options);
|
|
733
|
-
|
|
745
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
746
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getCarrierAccounts']?.[localVarOperationServerIndex]?.url;
|
|
747
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
734
748
|
},
|
|
735
749
|
/**
|
|
736
750
|
* This API reprint a collection form. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
737
751
|
* @param {string} collectionFormId collection form Id to reprint a collection.
|
|
738
|
-
* @param {
|
|
752
|
+
* @param {GetCollectionFormXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
739
753
|
* @param {*} [options] Override http request option.
|
|
740
754
|
* @throws {RequiredError}
|
|
741
755
|
*/
|
|
742
756
|
async getCollectionForm(collectionFormId, xAmznShippingBusinessId, options) {
|
|
743
757
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCollectionForm(collectionFormId, xAmznShippingBusinessId, options);
|
|
744
|
-
|
|
758
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
759
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getCollectionForm']?.[localVarOperationServerIndex]?.url;
|
|
760
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
745
761
|
},
|
|
746
762
|
/**
|
|
747
763
|
* This API Call to get the history of the previously generated collection forms. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
748
764
|
* @param {GetCollectionFormHistoryRequest} body
|
|
749
|
-
* @param {
|
|
765
|
+
* @param {GetCollectionFormHistoryXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
750
766
|
* @param {*} [options] Override http request option.
|
|
751
767
|
* @throws {RequiredError}
|
|
752
768
|
*/
|
|
753
769
|
async getCollectionFormHistory(body, xAmznShippingBusinessId, options) {
|
|
754
770
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCollectionFormHistory(body, xAmznShippingBusinessId, options);
|
|
755
|
-
|
|
771
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
772
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getCollectionFormHistory']?.[localVarOperationServerIndex]?.url;
|
|
773
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
756
774
|
},
|
|
757
775
|
/**
|
|
758
776
|
* Returns the available shipping service offerings. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
759
777
|
* @param {GetRatesRequest} body
|
|
760
|
-
* @param {
|
|
778
|
+
* @param {GetRatesXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
761
779
|
* @param {*} [options] Override http request option.
|
|
762
780
|
* @throws {RequiredError}
|
|
763
781
|
*/
|
|
764
782
|
async getRates(body, xAmznShippingBusinessId, options) {
|
|
765
783
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getRates(body, xAmznShippingBusinessId, options);
|
|
766
|
-
|
|
784
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
785
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getRates']?.[localVarOperationServerIndex]?.url;
|
|
786
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
767
787
|
},
|
|
768
788
|
/**
|
|
769
789
|
* Returns the shipping documents associated with a package in a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
@@ -771,83 +791,97 @@ export const ShippingApiFp = function (configuration) {
|
|
|
771
791
|
* @param {string} packageClientReferenceId The package client reference identifier originally provided in the request body parameter for the getRates operation.
|
|
772
792
|
* @param {string} [format] The file format of the document. Must be one of the supported formats returned by the getRates operation.
|
|
773
793
|
* @param {number} [dpi] The resolution of the document (for example, 300 means 300 dots per inch). Must be one of the supported resolutions returned in the response to the getRates operation.
|
|
774
|
-
* @param {
|
|
794
|
+
* @param {GetShipmentDocumentsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
775
795
|
* @param {*} [options] Override http request option.
|
|
776
796
|
* @throws {RequiredError}
|
|
777
797
|
*/
|
|
778
798
|
async getShipmentDocuments(shipmentId, packageClientReferenceId, format, dpi, xAmznShippingBusinessId, options) {
|
|
779
799
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentDocuments(shipmentId, packageClientReferenceId, format, dpi, xAmznShippingBusinessId, options);
|
|
780
|
-
|
|
800
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
801
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getShipmentDocuments']?.[localVarOperationServerIndex]?.url;
|
|
802
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
781
803
|
},
|
|
782
804
|
/**
|
|
783
805
|
* Returns tracking information for a purchased shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
784
806
|
* @param {string} trackingId A carrier-generated tracking identifier originally returned by the purchaseShipment operation.
|
|
785
807
|
* @param {string} carrierId A carrier identifier originally returned by the getRates operation for the selected rate.
|
|
786
|
-
* @param {
|
|
808
|
+
* @param {GetTrackingXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
787
809
|
* @param {*} [options] Override http request option.
|
|
788
810
|
* @throws {RequiredError}
|
|
789
811
|
*/
|
|
790
812
|
async getTracking(trackingId, carrierId, xAmznShippingBusinessId, options) {
|
|
791
813
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTracking(trackingId, carrierId, xAmznShippingBusinessId, options);
|
|
792
|
-
|
|
814
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
815
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getTracking']?.[localVarOperationServerIndex]?.url;
|
|
816
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
793
817
|
},
|
|
794
818
|
/**
|
|
795
819
|
* This API Get all unmanifested carriers with shipment locations. Any locations which has unmanifested shipments with an eligible carrier for manifesting shall be returned. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
796
820
|
* @param {GetUnmanifestedShipmentsRequest} body
|
|
797
|
-
* @param {
|
|
821
|
+
* @param {GetUnmanifestedShipmentsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
798
822
|
* @param {*} [options] Override http request option.
|
|
799
823
|
* @throws {RequiredError}
|
|
800
824
|
*/
|
|
801
825
|
async getUnmanifestedShipments(body, xAmznShippingBusinessId, options) {
|
|
802
826
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUnmanifestedShipments(body, xAmznShippingBusinessId, options);
|
|
803
|
-
|
|
827
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
828
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.getUnmanifestedShipments']?.[localVarOperationServerIndex]?.url;
|
|
829
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
804
830
|
},
|
|
805
831
|
/**
|
|
806
832
|
* This API associates/links the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
807
833
|
* @param {string} carrierId The unique identifier associated with the carrier account.
|
|
808
834
|
* @param {LinkCarrierAccountRequest} body
|
|
809
|
-
* @param {
|
|
835
|
+
* @param {LinkCarrierAccountXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
810
836
|
* @param {*} [options] Override http request option.
|
|
811
837
|
* @throws {RequiredError}
|
|
812
838
|
*/
|
|
813
839
|
async linkCarrierAccount(carrierId, body, xAmznShippingBusinessId, options) {
|
|
814
840
|
const localVarAxiosArgs = await localVarAxiosParamCreator.linkCarrierAccount(carrierId, body, xAmznShippingBusinessId, options);
|
|
815
|
-
|
|
841
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
842
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.linkCarrierAccount']?.[localVarOperationServerIndex]?.url;
|
|
843
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
816
844
|
},
|
|
817
845
|
/**
|
|
818
846
|
* Purchases a shipping service identifier and returns purchase-related details and documents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
819
847
|
* @param {OneClickShipmentRequest} body
|
|
820
|
-
* @param {
|
|
848
|
+
* @param {OneClickShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
821
849
|
* @param {*} [options] Override http request option.
|
|
822
850
|
* @throws {RequiredError}
|
|
823
851
|
*/
|
|
824
852
|
async oneClickShipment(body, xAmznShippingBusinessId, options) {
|
|
825
853
|
const localVarAxiosArgs = await localVarAxiosParamCreator.oneClickShipment(body, xAmznShippingBusinessId, options);
|
|
826
|
-
|
|
854
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
855
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.oneClickShipment']?.[localVarOperationServerIndex]?.url;
|
|
856
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
827
857
|
},
|
|
828
858
|
/**
|
|
829
859
|
* Purchases a shipping service and returns purchase related details and documents. Note: You must complete the purchase within 10 minutes of rate creation by the shipping service provider. If you make the request after the 10 minutes have expired, you will receive an error response with the error code equal to \"TOKEN_EXPIRED\". If you receive this error response, you must get the rates for the shipment again. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
830
860
|
* @param {PurchaseShipmentRequest} body
|
|
831
861
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
832
|
-
* @param {
|
|
862
|
+
* @param {PurchaseShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
833
863
|
* @param {*} [options] Override http request option.
|
|
834
864
|
* @throws {RequiredError}
|
|
835
865
|
*/
|
|
836
866
|
async purchaseShipment(body, xAmznIdempotencyKey, xAmznShippingBusinessId, options) {
|
|
837
867
|
const localVarAxiosArgs = await localVarAxiosParamCreator.purchaseShipment(body, xAmznIdempotencyKey, xAmznShippingBusinessId, options);
|
|
838
|
-
|
|
868
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
869
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.purchaseShipment']?.[localVarOperationServerIndex]?.url;
|
|
870
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
839
871
|
},
|
|
840
872
|
/**
|
|
841
873
|
* This API Unlink the specified carrier account with the merchant. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 80 | 100 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then 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).
|
|
842
874
|
* @param {string} carrierId carrier Id to unlink with merchant.
|
|
843
875
|
* @param {UnlinkCarrierAccountRequest} body
|
|
844
|
-
* @param {
|
|
876
|
+
* @param {UnlinkCarrierAccountXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
845
877
|
* @param {*} [options] Override http request option.
|
|
846
878
|
* @throws {RequiredError}
|
|
847
879
|
*/
|
|
848
880
|
async unlinkCarrierAccount(carrierId, body, xAmznShippingBusinessId, options) {
|
|
849
881
|
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkCarrierAccount(carrierId, body, xAmznShippingBusinessId, options);
|
|
850
|
-
|
|
882
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
883
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.unlinkCarrierAccount']?.[localVarOperationServerIndex]?.url;
|
|
884
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
851
885
|
},
|
|
852
886
|
};
|
|
853
887
|
};
|
|
@@ -1191,3 +1225,271 @@ export class ShippingApi extends BaseAPI {
|
|
|
1191
1225
|
return ShippingApiFp(this.configuration).unlinkCarrierAccount(requestParameters.carrierId, requestParameters.body, requestParameters.xAmznShippingBusinessId, options).then((request) => request(this.axios, this.basePath));
|
|
1192
1226
|
}
|
|
1193
1227
|
}
|
|
1228
|
+
/**
|
|
1229
|
+
* @export
|
|
1230
|
+
*/
|
|
1231
|
+
export const CancelShipmentXAmznShippingBusinessIdEnum = {
|
|
1232
|
+
Us: 'AmazonShipping_US',
|
|
1233
|
+
In: 'AmazonShipping_IN',
|
|
1234
|
+
Uk: 'AmazonShipping_UK',
|
|
1235
|
+
Uae: 'AmazonShipping_UAE',
|
|
1236
|
+
Sa: 'AmazonShipping_SA',
|
|
1237
|
+
Eg: 'AmazonShipping_EG',
|
|
1238
|
+
It: 'AmazonShipping_IT',
|
|
1239
|
+
Es: 'AmazonShipping_ES',
|
|
1240
|
+
Fr: 'AmazonShipping_FR',
|
|
1241
|
+
Jp: 'AmazonShipping_JP'
|
|
1242
|
+
};
|
|
1243
|
+
/**
|
|
1244
|
+
* @export
|
|
1245
|
+
*/
|
|
1246
|
+
export const DirectPurchaseShipmentXAmznShippingBusinessIdEnum = {
|
|
1247
|
+
Us: 'AmazonShipping_US',
|
|
1248
|
+
In: 'AmazonShipping_IN',
|
|
1249
|
+
Uk: 'AmazonShipping_UK',
|
|
1250
|
+
Uae: 'AmazonShipping_UAE',
|
|
1251
|
+
Sa: 'AmazonShipping_SA',
|
|
1252
|
+
Eg: 'AmazonShipping_EG',
|
|
1253
|
+
It: 'AmazonShipping_IT',
|
|
1254
|
+
Es: 'AmazonShipping_ES',
|
|
1255
|
+
Fr: 'AmazonShipping_FR',
|
|
1256
|
+
Jp: 'AmazonShipping_JP'
|
|
1257
|
+
};
|
|
1258
|
+
/**
|
|
1259
|
+
* @export
|
|
1260
|
+
*/
|
|
1261
|
+
export const GenerateCollectionFormXAmznShippingBusinessIdEnum = {
|
|
1262
|
+
Us: 'AmazonShipping_US',
|
|
1263
|
+
In: 'AmazonShipping_IN',
|
|
1264
|
+
Uk: 'AmazonShipping_UK',
|
|
1265
|
+
Uae: 'AmazonShipping_UAE',
|
|
1266
|
+
Sa: 'AmazonShipping_SA',
|
|
1267
|
+
Eg: 'AmazonShipping_EG',
|
|
1268
|
+
It: 'AmazonShipping_IT',
|
|
1269
|
+
Es: 'AmazonShipping_ES',
|
|
1270
|
+
Fr: 'AmazonShipping_FR',
|
|
1271
|
+
Jp: 'AmazonShipping_JP'
|
|
1272
|
+
};
|
|
1273
|
+
/**
|
|
1274
|
+
* @export
|
|
1275
|
+
*/
|
|
1276
|
+
export const GetAccessPointsAccessPointTypesEnum = {
|
|
1277
|
+
Helix: 'HELIX',
|
|
1278
|
+
CampusLocker: 'CAMPUS_LOCKER',
|
|
1279
|
+
OmniLocker: 'OMNI_LOCKER',
|
|
1280
|
+
OdinLocker: 'ODIN_LOCKER',
|
|
1281
|
+
DobbyLocker: 'DOBBY_LOCKER',
|
|
1282
|
+
CoreLocker: 'CORE_LOCKER',
|
|
1283
|
+
_3P: '3P',
|
|
1284
|
+
CampusRoom: 'CAMPUS_ROOM'
|
|
1285
|
+
};
|
|
1286
|
+
/**
|
|
1287
|
+
* @export
|
|
1288
|
+
*/
|
|
1289
|
+
export const GetAccessPointsXAmznShippingBusinessIdEnum = {
|
|
1290
|
+
Us: 'AmazonShipping_US',
|
|
1291
|
+
In: 'AmazonShipping_IN',
|
|
1292
|
+
Uk: 'AmazonShipping_UK',
|
|
1293
|
+
Uae: 'AmazonShipping_UAE',
|
|
1294
|
+
Sa: 'AmazonShipping_SA',
|
|
1295
|
+
Eg: 'AmazonShipping_EG',
|
|
1296
|
+
It: 'AmazonShipping_IT',
|
|
1297
|
+
Es: 'AmazonShipping_ES',
|
|
1298
|
+
Fr: 'AmazonShipping_FR',
|
|
1299
|
+
Jp: 'AmazonShipping_JP'
|
|
1300
|
+
};
|
|
1301
|
+
/**
|
|
1302
|
+
* @export
|
|
1303
|
+
*/
|
|
1304
|
+
export const GetAdditionalInputsXAmznShippingBusinessIdEnum = {
|
|
1305
|
+
Us: 'AmazonShipping_US',
|
|
1306
|
+
In: 'AmazonShipping_IN',
|
|
1307
|
+
Uk: 'AmazonShipping_UK',
|
|
1308
|
+
Uae: 'AmazonShipping_UAE',
|
|
1309
|
+
Sa: 'AmazonShipping_SA',
|
|
1310
|
+
Eg: 'AmazonShipping_EG',
|
|
1311
|
+
It: 'AmazonShipping_IT',
|
|
1312
|
+
Es: 'AmazonShipping_ES',
|
|
1313
|
+
Fr: 'AmazonShipping_FR',
|
|
1314
|
+
Jp: 'AmazonShipping_JP'
|
|
1315
|
+
};
|
|
1316
|
+
/**
|
|
1317
|
+
* @export
|
|
1318
|
+
*/
|
|
1319
|
+
export const GetCarrierAccountFormInputsXAmznShippingBusinessIdEnum = {
|
|
1320
|
+
Us: 'AmazonShipping_US',
|
|
1321
|
+
In: 'AmazonShipping_IN',
|
|
1322
|
+
Uk: 'AmazonShipping_UK',
|
|
1323
|
+
Uae: 'AmazonShipping_UAE',
|
|
1324
|
+
Sa: 'AmazonShipping_SA',
|
|
1325
|
+
Eg: 'AmazonShipping_EG',
|
|
1326
|
+
It: 'AmazonShipping_IT',
|
|
1327
|
+
Es: 'AmazonShipping_ES',
|
|
1328
|
+
Fr: 'AmazonShipping_FR',
|
|
1329
|
+
Jp: 'AmazonShipping_JP'
|
|
1330
|
+
};
|
|
1331
|
+
/**
|
|
1332
|
+
* @export
|
|
1333
|
+
*/
|
|
1334
|
+
export const GetCarrierAccountsXAmznShippingBusinessIdEnum = {
|
|
1335
|
+
Us: 'AmazonShipping_US',
|
|
1336
|
+
In: 'AmazonShipping_IN',
|
|
1337
|
+
Uk: 'AmazonShipping_UK',
|
|
1338
|
+
Uae: 'AmazonShipping_UAE',
|
|
1339
|
+
Sa: 'AmazonShipping_SA',
|
|
1340
|
+
Eg: 'AmazonShipping_EG',
|
|
1341
|
+
It: 'AmazonShipping_IT',
|
|
1342
|
+
Es: 'AmazonShipping_ES',
|
|
1343
|
+
Fr: 'AmazonShipping_FR',
|
|
1344
|
+
Jp: 'AmazonShipping_JP'
|
|
1345
|
+
};
|
|
1346
|
+
/**
|
|
1347
|
+
* @export
|
|
1348
|
+
*/
|
|
1349
|
+
export const GetCollectionFormXAmznShippingBusinessIdEnum = {
|
|
1350
|
+
Us: 'AmazonShipping_US',
|
|
1351
|
+
In: 'AmazonShipping_IN',
|
|
1352
|
+
Uk: 'AmazonShipping_UK',
|
|
1353
|
+
Uae: 'AmazonShipping_UAE',
|
|
1354
|
+
Sa: 'AmazonShipping_SA',
|
|
1355
|
+
Eg: 'AmazonShipping_EG',
|
|
1356
|
+
It: 'AmazonShipping_IT',
|
|
1357
|
+
Es: 'AmazonShipping_ES',
|
|
1358
|
+
Fr: 'AmazonShipping_FR',
|
|
1359
|
+
Jp: 'AmazonShipping_JP'
|
|
1360
|
+
};
|
|
1361
|
+
/**
|
|
1362
|
+
* @export
|
|
1363
|
+
*/
|
|
1364
|
+
export const GetCollectionFormHistoryXAmznShippingBusinessIdEnum = {
|
|
1365
|
+
Us: 'AmazonShipping_US',
|
|
1366
|
+
In: 'AmazonShipping_IN',
|
|
1367
|
+
Uk: 'AmazonShipping_UK',
|
|
1368
|
+
Uae: 'AmazonShipping_UAE',
|
|
1369
|
+
Sa: 'AmazonShipping_SA',
|
|
1370
|
+
Eg: 'AmazonShipping_EG',
|
|
1371
|
+
It: 'AmazonShipping_IT',
|
|
1372
|
+
Es: 'AmazonShipping_ES',
|
|
1373
|
+
Fr: 'AmazonShipping_FR',
|
|
1374
|
+
Jp: 'AmazonShipping_JP'
|
|
1375
|
+
};
|
|
1376
|
+
/**
|
|
1377
|
+
* @export
|
|
1378
|
+
*/
|
|
1379
|
+
export const GetRatesXAmznShippingBusinessIdEnum = {
|
|
1380
|
+
Us: 'AmazonShipping_US',
|
|
1381
|
+
In: 'AmazonShipping_IN',
|
|
1382
|
+
Uk: 'AmazonShipping_UK',
|
|
1383
|
+
Uae: 'AmazonShipping_UAE',
|
|
1384
|
+
Sa: 'AmazonShipping_SA',
|
|
1385
|
+
Eg: 'AmazonShipping_EG',
|
|
1386
|
+
It: 'AmazonShipping_IT',
|
|
1387
|
+
Es: 'AmazonShipping_ES',
|
|
1388
|
+
Fr: 'AmazonShipping_FR',
|
|
1389
|
+
Jp: 'AmazonShipping_JP'
|
|
1390
|
+
};
|
|
1391
|
+
/**
|
|
1392
|
+
* @export
|
|
1393
|
+
*/
|
|
1394
|
+
export const GetShipmentDocumentsXAmznShippingBusinessIdEnum = {
|
|
1395
|
+
Us: 'AmazonShipping_US',
|
|
1396
|
+
In: 'AmazonShipping_IN',
|
|
1397
|
+
Uk: 'AmazonShipping_UK',
|
|
1398
|
+
Uae: 'AmazonShipping_UAE',
|
|
1399
|
+
Sa: 'AmazonShipping_SA',
|
|
1400
|
+
Eg: 'AmazonShipping_EG',
|
|
1401
|
+
It: 'AmazonShipping_IT',
|
|
1402
|
+
Es: 'AmazonShipping_ES',
|
|
1403
|
+
Fr: 'AmazonShipping_FR',
|
|
1404
|
+
Jp: 'AmazonShipping_JP'
|
|
1405
|
+
};
|
|
1406
|
+
/**
|
|
1407
|
+
* @export
|
|
1408
|
+
*/
|
|
1409
|
+
export const GetTrackingXAmznShippingBusinessIdEnum = {
|
|
1410
|
+
Us: 'AmazonShipping_US',
|
|
1411
|
+
In: 'AmazonShipping_IN',
|
|
1412
|
+
Uk: 'AmazonShipping_UK',
|
|
1413
|
+
Uae: 'AmazonShipping_UAE',
|
|
1414
|
+
Sa: 'AmazonShipping_SA',
|
|
1415
|
+
Eg: 'AmazonShipping_EG',
|
|
1416
|
+
It: 'AmazonShipping_IT',
|
|
1417
|
+
Es: 'AmazonShipping_ES',
|
|
1418
|
+
Fr: 'AmazonShipping_FR',
|
|
1419
|
+
Jp: 'AmazonShipping_JP'
|
|
1420
|
+
};
|
|
1421
|
+
/**
|
|
1422
|
+
* @export
|
|
1423
|
+
*/
|
|
1424
|
+
export const GetUnmanifestedShipmentsXAmznShippingBusinessIdEnum = {
|
|
1425
|
+
Us: 'AmazonShipping_US',
|
|
1426
|
+
In: 'AmazonShipping_IN',
|
|
1427
|
+
Uk: 'AmazonShipping_UK',
|
|
1428
|
+
Uae: 'AmazonShipping_UAE',
|
|
1429
|
+
Sa: 'AmazonShipping_SA',
|
|
1430
|
+
Eg: 'AmazonShipping_EG',
|
|
1431
|
+
It: 'AmazonShipping_IT',
|
|
1432
|
+
Es: 'AmazonShipping_ES',
|
|
1433
|
+
Fr: 'AmazonShipping_FR',
|
|
1434
|
+
Jp: 'AmazonShipping_JP'
|
|
1435
|
+
};
|
|
1436
|
+
/**
|
|
1437
|
+
* @export
|
|
1438
|
+
*/
|
|
1439
|
+
export const LinkCarrierAccountXAmznShippingBusinessIdEnum = {
|
|
1440
|
+
Us: 'AmazonShipping_US',
|
|
1441
|
+
In: 'AmazonShipping_IN',
|
|
1442
|
+
Uk: 'AmazonShipping_UK',
|
|
1443
|
+
Uae: 'AmazonShipping_UAE',
|
|
1444
|
+
Sa: 'AmazonShipping_SA',
|
|
1445
|
+
Eg: 'AmazonShipping_EG',
|
|
1446
|
+
It: 'AmazonShipping_IT',
|
|
1447
|
+
Es: 'AmazonShipping_ES',
|
|
1448
|
+
Fr: 'AmazonShipping_FR',
|
|
1449
|
+
Jp: 'AmazonShipping_JP'
|
|
1450
|
+
};
|
|
1451
|
+
/**
|
|
1452
|
+
* @export
|
|
1453
|
+
*/
|
|
1454
|
+
export const OneClickShipmentXAmznShippingBusinessIdEnum = {
|
|
1455
|
+
Us: 'AmazonShipping_US',
|
|
1456
|
+
In: 'AmazonShipping_IN',
|
|
1457
|
+
Uk: 'AmazonShipping_UK',
|
|
1458
|
+
Uae: 'AmazonShipping_UAE',
|
|
1459
|
+
Sa: 'AmazonShipping_SA',
|
|
1460
|
+
Eg: 'AmazonShipping_EG',
|
|
1461
|
+
It: 'AmazonShipping_IT',
|
|
1462
|
+
Es: 'AmazonShipping_ES',
|
|
1463
|
+
Fr: 'AmazonShipping_FR',
|
|
1464
|
+
Jp: 'AmazonShipping_JP'
|
|
1465
|
+
};
|
|
1466
|
+
/**
|
|
1467
|
+
* @export
|
|
1468
|
+
*/
|
|
1469
|
+
export const PurchaseShipmentXAmznShippingBusinessIdEnum = {
|
|
1470
|
+
Us: 'AmazonShipping_US',
|
|
1471
|
+
In: 'AmazonShipping_IN',
|
|
1472
|
+
Uk: 'AmazonShipping_UK',
|
|
1473
|
+
Uae: 'AmazonShipping_UAE',
|
|
1474
|
+
Sa: 'AmazonShipping_SA',
|
|
1475
|
+
Eg: 'AmazonShipping_EG',
|
|
1476
|
+
It: 'AmazonShipping_IT',
|
|
1477
|
+
Es: 'AmazonShipping_ES',
|
|
1478
|
+
Fr: 'AmazonShipping_FR',
|
|
1479
|
+
Jp: 'AmazonShipping_JP'
|
|
1480
|
+
};
|
|
1481
|
+
/**
|
|
1482
|
+
* @export
|
|
1483
|
+
*/
|
|
1484
|
+
export const UnlinkCarrierAccountXAmznShippingBusinessIdEnum = {
|
|
1485
|
+
Us: 'AmazonShipping_US',
|
|
1486
|
+
In: 'AmazonShipping_IN',
|
|
1487
|
+
Uk: 'AmazonShipping_UK',
|
|
1488
|
+
Uae: 'AmazonShipping_UAE',
|
|
1489
|
+
Sa: 'AmazonShipping_SA',
|
|
1490
|
+
Eg: 'AmazonShipping_EG',
|
|
1491
|
+
It: 'AmazonShipping_IT',
|
|
1492
|
+
Es: 'AmazonShipping_ES',
|
|
1493
|
+
Fr: 'AmazonShipping_FR',
|
|
1494
|
+
Jp: 'AmazonShipping_JP'
|
|
1495
|
+
};
|