@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 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = void 0;
|
|
19
|
+
exports.UnlinkCarrierAccountXAmznShippingBusinessIdEnum = exports.PurchaseShipmentXAmznShippingBusinessIdEnum = exports.OneClickShipmentXAmznShippingBusinessIdEnum = exports.LinkCarrierAccountXAmznShippingBusinessIdEnum = exports.GetUnmanifestedShipmentsXAmznShippingBusinessIdEnum = exports.GetTrackingXAmznShippingBusinessIdEnum = exports.GetShipmentDocumentsXAmznShippingBusinessIdEnum = exports.GetRatesXAmznShippingBusinessIdEnum = exports.GetCollectionFormHistoryXAmznShippingBusinessIdEnum = exports.GetCollectionFormXAmznShippingBusinessIdEnum = exports.GetCarrierAccountsXAmznShippingBusinessIdEnum = exports.GetCarrierAccountFormInputsXAmznShippingBusinessIdEnum = exports.GetAdditionalInputsXAmznShippingBusinessIdEnum = exports.GetAccessPointsXAmznShippingBusinessIdEnum = exports.GetAccessPointsAccessPointTypesEnum = exports.GenerateCollectionFormXAmznShippingBusinessIdEnum = exports.DirectPurchaseShipmentXAmznShippingBusinessIdEnum = exports.CancelShipmentXAmznShippingBusinessIdEnum = exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -32,7 +32,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
32
32
|
/**
|
|
33
33
|
* 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).
|
|
34
34
|
* @param {string} shipmentId The shipment identifier originally returned by the purchaseShipment operation.
|
|
35
|
-
* @param {
|
|
35
|
+
* @param {CancelShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
@@ -66,7 +66,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
66
66
|
* @param {DirectPurchaseRequest} body
|
|
67
67
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
68
68
|
* @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.
|
|
69
|
-
* @param {
|
|
69
|
+
* @param {DirectPurchaseShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
71
|
* @throws {RequiredError}
|
|
72
72
|
*/
|
|
@@ -106,7 +106,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
106
106
|
* 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).
|
|
107
107
|
* @param {GenerateCollectionFormRequest} body
|
|
108
108
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
109
|
-
* @param {
|
|
109
|
+
* @param {GenerateCollectionFormXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
@@ -141,10 +141,10 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
},
|
|
142
142
|
/**
|
|
143
143
|
* 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).
|
|
144
|
-
* @param {Array<
|
|
144
|
+
* @param {Array<GetAccessPointsAccessPointTypesEnum>} accessPointTypes
|
|
145
145
|
* @param {string} countryCode
|
|
146
146
|
* @param {string} postalCode
|
|
147
|
-
* @param {
|
|
147
|
+
* @param {GetAccessPointsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
*/
|
|
@@ -189,7 +189,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
189
189
|
* 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).
|
|
190
190
|
* @param {string} requestToken The request token returned in the response to the getRates operation.
|
|
191
191
|
* @param {string} rateId The rate identifier for the shipping offering (rate) returned in the response to the getRates operation.
|
|
192
|
-
* @param {
|
|
192
|
+
* @param {GetAdditionalInputsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
@@ -227,7 +227,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
227
227
|
},
|
|
228
228
|
/**
|
|
229
229
|
* 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).
|
|
230
|
-
* @param {
|
|
230
|
+
* @param {GetCarrierAccountFormInputsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
231
231
|
* @param {*} [options] Override http request option.
|
|
232
232
|
* @throws {RequiredError}
|
|
233
233
|
*/
|
|
@@ -256,7 +256,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
256
256
|
/**
|
|
257
257
|
* 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).
|
|
258
258
|
* @param {GetCarrierAccountsRequest} body
|
|
259
|
-
* @param {
|
|
259
|
+
* @param {GetCarrierAccountsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
260
260
|
* @param {*} [options] Override http request option.
|
|
261
261
|
* @throws {RequiredError}
|
|
262
262
|
*/
|
|
@@ -289,7 +289,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
289
289
|
/**
|
|
290
290
|
* 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).
|
|
291
291
|
* @param {string} collectionFormId collection form Id to reprint a collection.
|
|
292
|
-
* @param {
|
|
292
|
+
* @param {GetCollectionFormXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
293
293
|
* @param {*} [options] Override http request option.
|
|
294
294
|
* @throws {RequiredError}
|
|
295
295
|
*/
|
|
@@ -321,7 +321,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
321
321
|
/**
|
|
322
322
|
* 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).
|
|
323
323
|
* @param {GetCollectionFormHistoryRequest} body
|
|
324
|
-
* @param {
|
|
324
|
+
* @param {GetCollectionFormHistoryXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
325
325
|
* @param {*} [options] Override http request option.
|
|
326
326
|
* @throws {RequiredError}
|
|
327
327
|
*/
|
|
@@ -354,7 +354,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
354
354
|
/**
|
|
355
355
|
* 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).
|
|
356
356
|
* @param {GetRatesRequest} body
|
|
357
|
-
* @param {
|
|
357
|
+
* @param {GetRatesXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
358
358
|
* @param {*} [options] Override http request option.
|
|
359
359
|
* @throws {RequiredError}
|
|
360
360
|
*/
|
|
@@ -390,7 +390,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
390
390
|
* @param {string} packageClientReferenceId The package client reference identifier originally provided in the request body parameter for the getRates operation.
|
|
391
391
|
* @param {string} [format] The file format of the document. Must be one of the supported formats returned by the getRates operation.
|
|
392
392
|
* @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.
|
|
393
|
-
* @param {
|
|
393
|
+
* @param {GetShipmentDocumentsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
394
394
|
* @param {*} [options] Override http request option.
|
|
395
395
|
* @throws {RequiredError}
|
|
396
396
|
*/
|
|
@@ -434,7 +434,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
434
434
|
* 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).
|
|
435
435
|
* @param {string} trackingId A carrier-generated tracking identifier originally returned by the purchaseShipment operation.
|
|
436
436
|
* @param {string} carrierId A carrier identifier originally returned by the getRates operation for the selected rate.
|
|
437
|
-
* @param {
|
|
437
|
+
* @param {GetTrackingXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
438
438
|
* @param {*} [options] Override http request option.
|
|
439
439
|
* @throws {RequiredError}
|
|
440
440
|
*/
|
|
@@ -473,7 +473,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
473
473
|
/**
|
|
474
474
|
* 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).
|
|
475
475
|
* @param {GetUnmanifestedShipmentsRequest} body
|
|
476
|
-
* @param {
|
|
476
|
+
* @param {GetUnmanifestedShipmentsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
477
477
|
* @param {*} [options] Override http request option.
|
|
478
478
|
* @throws {RequiredError}
|
|
479
479
|
*/
|
|
@@ -507,7 +507,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
507
507
|
* 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).
|
|
508
508
|
* @param {string} carrierId The unique identifier associated with the carrier account.
|
|
509
509
|
* @param {LinkCarrierAccountRequest} body
|
|
510
|
-
* @param {
|
|
510
|
+
* @param {LinkCarrierAccountXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
511
511
|
* @param {*} [options] Override http request option.
|
|
512
512
|
* @throws {RequiredError}
|
|
513
513
|
*/
|
|
@@ -543,7 +543,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
543
543
|
/**
|
|
544
544
|
* 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).
|
|
545
545
|
* @param {OneClickShipmentRequest} body
|
|
546
|
-
* @param {
|
|
546
|
+
* @param {OneClickShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
547
547
|
* @param {*} [options] Override http request option.
|
|
548
548
|
* @throws {RequiredError}
|
|
549
549
|
*/
|
|
@@ -577,7 +577,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
577
577
|
* 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).
|
|
578
578
|
* @param {PurchaseShipmentRequest} body
|
|
579
579
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
580
|
-
* @param {
|
|
580
|
+
* @param {PurchaseShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
581
581
|
* @param {*} [options] Override http request option.
|
|
582
582
|
* @throws {RequiredError}
|
|
583
583
|
*/
|
|
@@ -614,7 +614,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
614
614
|
* 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).
|
|
615
615
|
* @param {string} carrierId carrier Id to unlink with merchant.
|
|
616
616
|
* @param {UnlinkCarrierAccountRequest} body
|
|
617
|
-
* @param {
|
|
617
|
+
* @param {UnlinkCarrierAccountXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
618
618
|
* @param {*} [options] Override http request option.
|
|
619
619
|
* @throws {RequiredError}
|
|
620
620
|
*/
|
|
@@ -660,117 +660,137 @@ const ShippingApiFp = function (configuration) {
|
|
|
660
660
|
/**
|
|
661
661
|
* 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).
|
|
662
662
|
* @param {string} shipmentId The shipment identifier originally returned by the purchaseShipment operation.
|
|
663
|
-
* @param {
|
|
663
|
+
* @param {CancelShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
664
664
|
* @param {*} [options] Override http request option.
|
|
665
665
|
* @throws {RequiredError}
|
|
666
666
|
*/
|
|
667
667
|
async cancelShipment(shipmentId, xAmznShippingBusinessId, options) {
|
|
668
668
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelShipment(shipmentId, xAmznShippingBusinessId, options);
|
|
669
|
-
|
|
669
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
670
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.cancelShipment']?.[localVarOperationServerIndex]?.url;
|
|
671
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
670
672
|
},
|
|
671
673
|
/**
|
|
672
674
|
* 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).
|
|
673
675
|
* @param {DirectPurchaseRequest} body
|
|
674
676
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
675
677
|
* @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.
|
|
676
|
-
* @param {
|
|
678
|
+
* @param {DirectPurchaseShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
677
679
|
* @param {*} [options] Override http request option.
|
|
678
680
|
* @throws {RequiredError}
|
|
679
681
|
*/
|
|
680
682
|
async directPurchaseShipment(body, xAmznIdempotencyKey, locale, xAmznShippingBusinessId, options) {
|
|
681
683
|
const localVarAxiosArgs = await localVarAxiosParamCreator.directPurchaseShipment(body, xAmznIdempotencyKey, locale, xAmznShippingBusinessId, options);
|
|
682
|
-
|
|
684
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
685
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.directPurchaseShipment']?.[localVarOperationServerIndex]?.url;
|
|
686
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
683
687
|
},
|
|
684
688
|
/**
|
|
685
689
|
* 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).
|
|
686
690
|
* @param {GenerateCollectionFormRequest} body
|
|
687
691
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
688
|
-
* @param {
|
|
692
|
+
* @param {GenerateCollectionFormXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
689
693
|
* @param {*} [options] Override http request option.
|
|
690
694
|
* @throws {RequiredError}
|
|
691
695
|
*/
|
|
692
696
|
async generateCollectionForm(body, xAmznIdempotencyKey, xAmznShippingBusinessId, options) {
|
|
693
697
|
const localVarAxiosArgs = await localVarAxiosParamCreator.generateCollectionForm(body, xAmznIdempotencyKey, xAmznShippingBusinessId, options);
|
|
694
|
-
|
|
698
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
699
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.generateCollectionForm']?.[localVarOperationServerIndex]?.url;
|
|
700
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
695
701
|
},
|
|
696
702
|
/**
|
|
697
703
|
* 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).
|
|
698
|
-
* @param {Array<
|
|
704
|
+
* @param {Array<GetAccessPointsAccessPointTypesEnum>} accessPointTypes
|
|
699
705
|
* @param {string} countryCode
|
|
700
706
|
* @param {string} postalCode
|
|
701
|
-
* @param {
|
|
707
|
+
* @param {GetAccessPointsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
702
708
|
* @param {*} [options] Override http request option.
|
|
703
709
|
* @throws {RequiredError}
|
|
704
710
|
*/
|
|
705
711
|
async getAccessPoints(accessPointTypes, countryCode, postalCode, xAmznShippingBusinessId, options) {
|
|
706
712
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccessPoints(accessPointTypes, countryCode, postalCode, xAmznShippingBusinessId, options);
|
|
707
|
-
|
|
713
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
714
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getAccessPoints']?.[localVarOperationServerIndex]?.url;
|
|
715
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
708
716
|
},
|
|
709
717
|
/**
|
|
710
718
|
* 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).
|
|
711
719
|
* @param {string} requestToken The request token returned in the response to the getRates operation.
|
|
712
720
|
* @param {string} rateId The rate identifier for the shipping offering (rate) returned in the response to the getRates operation.
|
|
713
|
-
* @param {
|
|
721
|
+
* @param {GetAdditionalInputsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
714
722
|
* @param {*} [options] Override http request option.
|
|
715
723
|
* @throws {RequiredError}
|
|
716
724
|
*/
|
|
717
725
|
async getAdditionalInputs(requestToken, rateId, xAmznShippingBusinessId, options) {
|
|
718
726
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAdditionalInputs(requestToken, rateId, xAmznShippingBusinessId, options);
|
|
719
|
-
|
|
727
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
728
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getAdditionalInputs']?.[localVarOperationServerIndex]?.url;
|
|
729
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
720
730
|
},
|
|
721
731
|
/**
|
|
722
732
|
* 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).
|
|
723
|
-
* @param {
|
|
733
|
+
* @param {GetCarrierAccountFormInputsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
724
734
|
* @param {*} [options] Override http request option.
|
|
725
735
|
* @throws {RequiredError}
|
|
726
736
|
*/
|
|
727
737
|
async getCarrierAccountFormInputs(xAmznShippingBusinessId, options) {
|
|
728
738
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCarrierAccountFormInputs(xAmznShippingBusinessId, options);
|
|
729
|
-
|
|
739
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
740
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getCarrierAccountFormInputs']?.[localVarOperationServerIndex]?.url;
|
|
741
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
730
742
|
},
|
|
731
743
|
/**
|
|
732
744
|
* 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).
|
|
733
745
|
* @param {GetCarrierAccountsRequest} body
|
|
734
|
-
* @param {
|
|
746
|
+
* @param {GetCarrierAccountsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
735
747
|
* @param {*} [options] Override http request option.
|
|
736
748
|
* @throws {RequiredError}
|
|
737
749
|
*/
|
|
738
750
|
async getCarrierAccounts(body, xAmznShippingBusinessId, options) {
|
|
739
751
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCarrierAccounts(body, xAmznShippingBusinessId, options);
|
|
740
|
-
|
|
752
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
753
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getCarrierAccounts']?.[localVarOperationServerIndex]?.url;
|
|
754
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
741
755
|
},
|
|
742
756
|
/**
|
|
743
757
|
* 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).
|
|
744
758
|
* @param {string} collectionFormId collection form Id to reprint a collection.
|
|
745
|
-
* @param {
|
|
759
|
+
* @param {GetCollectionFormXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
746
760
|
* @param {*} [options] Override http request option.
|
|
747
761
|
* @throws {RequiredError}
|
|
748
762
|
*/
|
|
749
763
|
async getCollectionForm(collectionFormId, xAmznShippingBusinessId, options) {
|
|
750
764
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCollectionForm(collectionFormId, xAmznShippingBusinessId, options);
|
|
751
|
-
|
|
765
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
766
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getCollectionForm']?.[localVarOperationServerIndex]?.url;
|
|
767
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
752
768
|
},
|
|
753
769
|
/**
|
|
754
770
|
* 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).
|
|
755
771
|
* @param {GetCollectionFormHistoryRequest} body
|
|
756
|
-
* @param {
|
|
772
|
+
* @param {GetCollectionFormHistoryXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
757
773
|
* @param {*} [options] Override http request option.
|
|
758
774
|
* @throws {RequiredError}
|
|
759
775
|
*/
|
|
760
776
|
async getCollectionFormHistory(body, xAmznShippingBusinessId, options) {
|
|
761
777
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCollectionFormHistory(body, xAmznShippingBusinessId, options);
|
|
762
|
-
|
|
778
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
779
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getCollectionFormHistory']?.[localVarOperationServerIndex]?.url;
|
|
780
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
763
781
|
},
|
|
764
782
|
/**
|
|
765
783
|
* 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).
|
|
766
784
|
* @param {GetRatesRequest} body
|
|
767
|
-
* @param {
|
|
785
|
+
* @param {GetRatesXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
768
786
|
* @param {*} [options] Override http request option.
|
|
769
787
|
* @throws {RequiredError}
|
|
770
788
|
*/
|
|
771
789
|
async getRates(body, xAmznShippingBusinessId, options) {
|
|
772
790
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getRates(body, xAmznShippingBusinessId, options);
|
|
773
|
-
|
|
791
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
792
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getRates']?.[localVarOperationServerIndex]?.url;
|
|
793
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
774
794
|
},
|
|
775
795
|
/**
|
|
776
796
|
* 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).
|
|
@@ -778,83 +798,97 @@ const ShippingApiFp = function (configuration) {
|
|
|
778
798
|
* @param {string} packageClientReferenceId The package client reference identifier originally provided in the request body parameter for the getRates operation.
|
|
779
799
|
* @param {string} [format] The file format of the document. Must be one of the supported formats returned by the getRates operation.
|
|
780
800
|
* @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.
|
|
781
|
-
* @param {
|
|
801
|
+
* @param {GetShipmentDocumentsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
782
802
|
* @param {*} [options] Override http request option.
|
|
783
803
|
* @throws {RequiredError}
|
|
784
804
|
*/
|
|
785
805
|
async getShipmentDocuments(shipmentId, packageClientReferenceId, format, dpi, xAmznShippingBusinessId, options) {
|
|
786
806
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentDocuments(shipmentId, packageClientReferenceId, format, dpi, xAmznShippingBusinessId, options);
|
|
787
|
-
|
|
807
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
808
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getShipmentDocuments']?.[localVarOperationServerIndex]?.url;
|
|
809
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
788
810
|
},
|
|
789
811
|
/**
|
|
790
812
|
* 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).
|
|
791
813
|
* @param {string} trackingId A carrier-generated tracking identifier originally returned by the purchaseShipment operation.
|
|
792
814
|
* @param {string} carrierId A carrier identifier originally returned by the getRates operation for the selected rate.
|
|
793
|
-
* @param {
|
|
815
|
+
* @param {GetTrackingXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
794
816
|
* @param {*} [options] Override http request option.
|
|
795
817
|
* @throws {RequiredError}
|
|
796
818
|
*/
|
|
797
819
|
async getTracking(trackingId, carrierId, xAmznShippingBusinessId, options) {
|
|
798
820
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTracking(trackingId, carrierId, xAmznShippingBusinessId, options);
|
|
799
|
-
|
|
821
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
822
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getTracking']?.[localVarOperationServerIndex]?.url;
|
|
823
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
800
824
|
},
|
|
801
825
|
/**
|
|
802
826
|
* 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).
|
|
803
827
|
* @param {GetUnmanifestedShipmentsRequest} body
|
|
804
|
-
* @param {
|
|
828
|
+
* @param {GetUnmanifestedShipmentsXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
805
829
|
* @param {*} [options] Override http request option.
|
|
806
830
|
* @throws {RequiredError}
|
|
807
831
|
*/
|
|
808
832
|
async getUnmanifestedShipments(body, xAmznShippingBusinessId, options) {
|
|
809
833
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUnmanifestedShipments(body, xAmznShippingBusinessId, options);
|
|
810
|
-
|
|
834
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
835
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.getUnmanifestedShipments']?.[localVarOperationServerIndex]?.url;
|
|
836
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
811
837
|
},
|
|
812
838
|
/**
|
|
813
839
|
* 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).
|
|
814
840
|
* @param {string} carrierId The unique identifier associated with the carrier account.
|
|
815
841
|
* @param {LinkCarrierAccountRequest} body
|
|
816
|
-
* @param {
|
|
842
|
+
* @param {LinkCarrierAccountXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
817
843
|
* @param {*} [options] Override http request option.
|
|
818
844
|
* @throws {RequiredError}
|
|
819
845
|
*/
|
|
820
846
|
async linkCarrierAccount(carrierId, body, xAmznShippingBusinessId, options) {
|
|
821
847
|
const localVarAxiosArgs = await localVarAxiosParamCreator.linkCarrierAccount(carrierId, body, xAmznShippingBusinessId, options);
|
|
822
|
-
|
|
848
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
849
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.linkCarrierAccount']?.[localVarOperationServerIndex]?.url;
|
|
850
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
823
851
|
},
|
|
824
852
|
/**
|
|
825
853
|
* 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).
|
|
826
854
|
* @param {OneClickShipmentRequest} body
|
|
827
|
-
* @param {
|
|
855
|
+
* @param {OneClickShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
828
856
|
* @param {*} [options] Override http request option.
|
|
829
857
|
* @throws {RequiredError}
|
|
830
858
|
*/
|
|
831
859
|
async oneClickShipment(body, xAmznShippingBusinessId, options) {
|
|
832
860
|
const localVarAxiosArgs = await localVarAxiosParamCreator.oneClickShipment(body, xAmznShippingBusinessId, options);
|
|
833
|
-
|
|
861
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
862
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.oneClickShipment']?.[localVarOperationServerIndex]?.url;
|
|
863
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
834
864
|
},
|
|
835
865
|
/**
|
|
836
866
|
* 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).
|
|
837
867
|
* @param {PurchaseShipmentRequest} body
|
|
838
868
|
* @param {string} [xAmznIdempotencyKey] A unique value which the server uses to recognize subsequent retries of the same request.
|
|
839
|
-
* @param {
|
|
869
|
+
* @param {PurchaseShipmentXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
840
870
|
* @param {*} [options] Override http request option.
|
|
841
871
|
* @throws {RequiredError}
|
|
842
872
|
*/
|
|
843
873
|
async purchaseShipment(body, xAmznIdempotencyKey, xAmznShippingBusinessId, options) {
|
|
844
874
|
const localVarAxiosArgs = await localVarAxiosParamCreator.purchaseShipment(body, xAmznIdempotencyKey, xAmznShippingBusinessId, options);
|
|
845
|
-
|
|
875
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
876
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.purchaseShipment']?.[localVarOperationServerIndex]?.url;
|
|
877
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
846
878
|
},
|
|
847
879
|
/**
|
|
848
880
|
* 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).
|
|
849
881
|
* @param {string} carrierId carrier Id to unlink with merchant.
|
|
850
882
|
* @param {UnlinkCarrierAccountRequest} body
|
|
851
|
-
* @param {
|
|
883
|
+
* @param {UnlinkCarrierAccountXAmznShippingBusinessIdEnum} [xAmznShippingBusinessId] Amazon shipping business to assume for this request. The default is AmazonShipping_UK.
|
|
852
884
|
* @param {*} [options] Override http request option.
|
|
853
885
|
* @throws {RequiredError}
|
|
854
886
|
*/
|
|
855
887
|
async unlinkCarrierAccount(carrierId, body, xAmznShippingBusinessId, options) {
|
|
856
888
|
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkCarrierAccount(carrierId, body, xAmznShippingBusinessId, options);
|
|
857
|
-
|
|
889
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
890
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ShippingApi.unlinkCarrierAccount']?.[localVarOperationServerIndex]?.url;
|
|
891
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
858
892
|
},
|
|
859
893
|
};
|
|
860
894
|
};
|
|
@@ -1201,3 +1235,271 @@ class ShippingApi extends base_1.BaseAPI {
|
|
|
1201
1235
|
}
|
|
1202
1236
|
}
|
|
1203
1237
|
exports.ShippingApi = ShippingApi;
|
|
1238
|
+
/**
|
|
1239
|
+
* @export
|
|
1240
|
+
*/
|
|
1241
|
+
exports.CancelShipmentXAmznShippingBusinessIdEnum = {
|
|
1242
|
+
Us: 'AmazonShipping_US',
|
|
1243
|
+
In: 'AmazonShipping_IN',
|
|
1244
|
+
Uk: 'AmazonShipping_UK',
|
|
1245
|
+
Uae: 'AmazonShipping_UAE',
|
|
1246
|
+
Sa: 'AmazonShipping_SA',
|
|
1247
|
+
Eg: 'AmazonShipping_EG',
|
|
1248
|
+
It: 'AmazonShipping_IT',
|
|
1249
|
+
Es: 'AmazonShipping_ES',
|
|
1250
|
+
Fr: 'AmazonShipping_FR',
|
|
1251
|
+
Jp: 'AmazonShipping_JP'
|
|
1252
|
+
};
|
|
1253
|
+
/**
|
|
1254
|
+
* @export
|
|
1255
|
+
*/
|
|
1256
|
+
exports.DirectPurchaseShipmentXAmznShippingBusinessIdEnum = {
|
|
1257
|
+
Us: 'AmazonShipping_US',
|
|
1258
|
+
In: 'AmazonShipping_IN',
|
|
1259
|
+
Uk: 'AmazonShipping_UK',
|
|
1260
|
+
Uae: 'AmazonShipping_UAE',
|
|
1261
|
+
Sa: 'AmazonShipping_SA',
|
|
1262
|
+
Eg: 'AmazonShipping_EG',
|
|
1263
|
+
It: 'AmazonShipping_IT',
|
|
1264
|
+
Es: 'AmazonShipping_ES',
|
|
1265
|
+
Fr: 'AmazonShipping_FR',
|
|
1266
|
+
Jp: 'AmazonShipping_JP'
|
|
1267
|
+
};
|
|
1268
|
+
/**
|
|
1269
|
+
* @export
|
|
1270
|
+
*/
|
|
1271
|
+
exports.GenerateCollectionFormXAmznShippingBusinessIdEnum = {
|
|
1272
|
+
Us: 'AmazonShipping_US',
|
|
1273
|
+
In: 'AmazonShipping_IN',
|
|
1274
|
+
Uk: 'AmazonShipping_UK',
|
|
1275
|
+
Uae: 'AmazonShipping_UAE',
|
|
1276
|
+
Sa: 'AmazonShipping_SA',
|
|
1277
|
+
Eg: 'AmazonShipping_EG',
|
|
1278
|
+
It: 'AmazonShipping_IT',
|
|
1279
|
+
Es: 'AmazonShipping_ES',
|
|
1280
|
+
Fr: 'AmazonShipping_FR',
|
|
1281
|
+
Jp: 'AmazonShipping_JP'
|
|
1282
|
+
};
|
|
1283
|
+
/**
|
|
1284
|
+
* @export
|
|
1285
|
+
*/
|
|
1286
|
+
exports.GetAccessPointsAccessPointTypesEnum = {
|
|
1287
|
+
Helix: 'HELIX',
|
|
1288
|
+
CampusLocker: 'CAMPUS_LOCKER',
|
|
1289
|
+
OmniLocker: 'OMNI_LOCKER',
|
|
1290
|
+
OdinLocker: 'ODIN_LOCKER',
|
|
1291
|
+
DobbyLocker: 'DOBBY_LOCKER',
|
|
1292
|
+
CoreLocker: 'CORE_LOCKER',
|
|
1293
|
+
_3P: '3P',
|
|
1294
|
+
CampusRoom: 'CAMPUS_ROOM'
|
|
1295
|
+
};
|
|
1296
|
+
/**
|
|
1297
|
+
* @export
|
|
1298
|
+
*/
|
|
1299
|
+
exports.GetAccessPointsXAmznShippingBusinessIdEnum = {
|
|
1300
|
+
Us: 'AmazonShipping_US',
|
|
1301
|
+
In: 'AmazonShipping_IN',
|
|
1302
|
+
Uk: 'AmazonShipping_UK',
|
|
1303
|
+
Uae: 'AmazonShipping_UAE',
|
|
1304
|
+
Sa: 'AmazonShipping_SA',
|
|
1305
|
+
Eg: 'AmazonShipping_EG',
|
|
1306
|
+
It: 'AmazonShipping_IT',
|
|
1307
|
+
Es: 'AmazonShipping_ES',
|
|
1308
|
+
Fr: 'AmazonShipping_FR',
|
|
1309
|
+
Jp: 'AmazonShipping_JP'
|
|
1310
|
+
};
|
|
1311
|
+
/**
|
|
1312
|
+
* @export
|
|
1313
|
+
*/
|
|
1314
|
+
exports.GetAdditionalInputsXAmznShippingBusinessIdEnum = {
|
|
1315
|
+
Us: 'AmazonShipping_US',
|
|
1316
|
+
In: 'AmazonShipping_IN',
|
|
1317
|
+
Uk: 'AmazonShipping_UK',
|
|
1318
|
+
Uae: 'AmazonShipping_UAE',
|
|
1319
|
+
Sa: 'AmazonShipping_SA',
|
|
1320
|
+
Eg: 'AmazonShipping_EG',
|
|
1321
|
+
It: 'AmazonShipping_IT',
|
|
1322
|
+
Es: 'AmazonShipping_ES',
|
|
1323
|
+
Fr: 'AmazonShipping_FR',
|
|
1324
|
+
Jp: 'AmazonShipping_JP'
|
|
1325
|
+
};
|
|
1326
|
+
/**
|
|
1327
|
+
* @export
|
|
1328
|
+
*/
|
|
1329
|
+
exports.GetCarrierAccountFormInputsXAmznShippingBusinessIdEnum = {
|
|
1330
|
+
Us: 'AmazonShipping_US',
|
|
1331
|
+
In: 'AmazonShipping_IN',
|
|
1332
|
+
Uk: 'AmazonShipping_UK',
|
|
1333
|
+
Uae: 'AmazonShipping_UAE',
|
|
1334
|
+
Sa: 'AmazonShipping_SA',
|
|
1335
|
+
Eg: 'AmazonShipping_EG',
|
|
1336
|
+
It: 'AmazonShipping_IT',
|
|
1337
|
+
Es: 'AmazonShipping_ES',
|
|
1338
|
+
Fr: 'AmazonShipping_FR',
|
|
1339
|
+
Jp: 'AmazonShipping_JP'
|
|
1340
|
+
};
|
|
1341
|
+
/**
|
|
1342
|
+
* @export
|
|
1343
|
+
*/
|
|
1344
|
+
exports.GetCarrierAccountsXAmznShippingBusinessIdEnum = {
|
|
1345
|
+
Us: 'AmazonShipping_US',
|
|
1346
|
+
In: 'AmazonShipping_IN',
|
|
1347
|
+
Uk: 'AmazonShipping_UK',
|
|
1348
|
+
Uae: 'AmazonShipping_UAE',
|
|
1349
|
+
Sa: 'AmazonShipping_SA',
|
|
1350
|
+
Eg: 'AmazonShipping_EG',
|
|
1351
|
+
It: 'AmazonShipping_IT',
|
|
1352
|
+
Es: 'AmazonShipping_ES',
|
|
1353
|
+
Fr: 'AmazonShipping_FR',
|
|
1354
|
+
Jp: 'AmazonShipping_JP'
|
|
1355
|
+
};
|
|
1356
|
+
/**
|
|
1357
|
+
* @export
|
|
1358
|
+
*/
|
|
1359
|
+
exports.GetCollectionFormXAmznShippingBusinessIdEnum = {
|
|
1360
|
+
Us: 'AmazonShipping_US',
|
|
1361
|
+
In: 'AmazonShipping_IN',
|
|
1362
|
+
Uk: 'AmazonShipping_UK',
|
|
1363
|
+
Uae: 'AmazonShipping_UAE',
|
|
1364
|
+
Sa: 'AmazonShipping_SA',
|
|
1365
|
+
Eg: 'AmazonShipping_EG',
|
|
1366
|
+
It: 'AmazonShipping_IT',
|
|
1367
|
+
Es: 'AmazonShipping_ES',
|
|
1368
|
+
Fr: 'AmazonShipping_FR',
|
|
1369
|
+
Jp: 'AmazonShipping_JP'
|
|
1370
|
+
};
|
|
1371
|
+
/**
|
|
1372
|
+
* @export
|
|
1373
|
+
*/
|
|
1374
|
+
exports.GetCollectionFormHistoryXAmznShippingBusinessIdEnum = {
|
|
1375
|
+
Us: 'AmazonShipping_US',
|
|
1376
|
+
In: 'AmazonShipping_IN',
|
|
1377
|
+
Uk: 'AmazonShipping_UK',
|
|
1378
|
+
Uae: 'AmazonShipping_UAE',
|
|
1379
|
+
Sa: 'AmazonShipping_SA',
|
|
1380
|
+
Eg: 'AmazonShipping_EG',
|
|
1381
|
+
It: 'AmazonShipping_IT',
|
|
1382
|
+
Es: 'AmazonShipping_ES',
|
|
1383
|
+
Fr: 'AmazonShipping_FR',
|
|
1384
|
+
Jp: 'AmazonShipping_JP'
|
|
1385
|
+
};
|
|
1386
|
+
/**
|
|
1387
|
+
* @export
|
|
1388
|
+
*/
|
|
1389
|
+
exports.GetRatesXAmznShippingBusinessIdEnum = {
|
|
1390
|
+
Us: 'AmazonShipping_US',
|
|
1391
|
+
In: 'AmazonShipping_IN',
|
|
1392
|
+
Uk: 'AmazonShipping_UK',
|
|
1393
|
+
Uae: 'AmazonShipping_UAE',
|
|
1394
|
+
Sa: 'AmazonShipping_SA',
|
|
1395
|
+
Eg: 'AmazonShipping_EG',
|
|
1396
|
+
It: 'AmazonShipping_IT',
|
|
1397
|
+
Es: 'AmazonShipping_ES',
|
|
1398
|
+
Fr: 'AmazonShipping_FR',
|
|
1399
|
+
Jp: 'AmazonShipping_JP'
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* @export
|
|
1403
|
+
*/
|
|
1404
|
+
exports.GetShipmentDocumentsXAmznShippingBusinessIdEnum = {
|
|
1405
|
+
Us: 'AmazonShipping_US',
|
|
1406
|
+
In: 'AmazonShipping_IN',
|
|
1407
|
+
Uk: 'AmazonShipping_UK',
|
|
1408
|
+
Uae: 'AmazonShipping_UAE',
|
|
1409
|
+
Sa: 'AmazonShipping_SA',
|
|
1410
|
+
Eg: 'AmazonShipping_EG',
|
|
1411
|
+
It: 'AmazonShipping_IT',
|
|
1412
|
+
Es: 'AmazonShipping_ES',
|
|
1413
|
+
Fr: 'AmazonShipping_FR',
|
|
1414
|
+
Jp: 'AmazonShipping_JP'
|
|
1415
|
+
};
|
|
1416
|
+
/**
|
|
1417
|
+
* @export
|
|
1418
|
+
*/
|
|
1419
|
+
exports.GetTrackingXAmznShippingBusinessIdEnum = {
|
|
1420
|
+
Us: 'AmazonShipping_US',
|
|
1421
|
+
In: 'AmazonShipping_IN',
|
|
1422
|
+
Uk: 'AmazonShipping_UK',
|
|
1423
|
+
Uae: 'AmazonShipping_UAE',
|
|
1424
|
+
Sa: 'AmazonShipping_SA',
|
|
1425
|
+
Eg: 'AmazonShipping_EG',
|
|
1426
|
+
It: 'AmazonShipping_IT',
|
|
1427
|
+
Es: 'AmazonShipping_ES',
|
|
1428
|
+
Fr: 'AmazonShipping_FR',
|
|
1429
|
+
Jp: 'AmazonShipping_JP'
|
|
1430
|
+
};
|
|
1431
|
+
/**
|
|
1432
|
+
* @export
|
|
1433
|
+
*/
|
|
1434
|
+
exports.GetUnmanifestedShipmentsXAmznShippingBusinessIdEnum = {
|
|
1435
|
+
Us: 'AmazonShipping_US',
|
|
1436
|
+
In: 'AmazonShipping_IN',
|
|
1437
|
+
Uk: 'AmazonShipping_UK',
|
|
1438
|
+
Uae: 'AmazonShipping_UAE',
|
|
1439
|
+
Sa: 'AmazonShipping_SA',
|
|
1440
|
+
Eg: 'AmazonShipping_EG',
|
|
1441
|
+
It: 'AmazonShipping_IT',
|
|
1442
|
+
Es: 'AmazonShipping_ES',
|
|
1443
|
+
Fr: 'AmazonShipping_FR',
|
|
1444
|
+
Jp: 'AmazonShipping_JP'
|
|
1445
|
+
};
|
|
1446
|
+
/**
|
|
1447
|
+
* @export
|
|
1448
|
+
*/
|
|
1449
|
+
exports.LinkCarrierAccountXAmznShippingBusinessIdEnum = {
|
|
1450
|
+
Us: 'AmazonShipping_US',
|
|
1451
|
+
In: 'AmazonShipping_IN',
|
|
1452
|
+
Uk: 'AmazonShipping_UK',
|
|
1453
|
+
Uae: 'AmazonShipping_UAE',
|
|
1454
|
+
Sa: 'AmazonShipping_SA',
|
|
1455
|
+
Eg: 'AmazonShipping_EG',
|
|
1456
|
+
It: 'AmazonShipping_IT',
|
|
1457
|
+
Es: 'AmazonShipping_ES',
|
|
1458
|
+
Fr: 'AmazonShipping_FR',
|
|
1459
|
+
Jp: 'AmazonShipping_JP'
|
|
1460
|
+
};
|
|
1461
|
+
/**
|
|
1462
|
+
* @export
|
|
1463
|
+
*/
|
|
1464
|
+
exports.OneClickShipmentXAmznShippingBusinessIdEnum = {
|
|
1465
|
+
Us: 'AmazonShipping_US',
|
|
1466
|
+
In: 'AmazonShipping_IN',
|
|
1467
|
+
Uk: 'AmazonShipping_UK',
|
|
1468
|
+
Uae: 'AmazonShipping_UAE',
|
|
1469
|
+
Sa: 'AmazonShipping_SA',
|
|
1470
|
+
Eg: 'AmazonShipping_EG',
|
|
1471
|
+
It: 'AmazonShipping_IT',
|
|
1472
|
+
Es: 'AmazonShipping_ES',
|
|
1473
|
+
Fr: 'AmazonShipping_FR',
|
|
1474
|
+
Jp: 'AmazonShipping_JP'
|
|
1475
|
+
};
|
|
1476
|
+
/**
|
|
1477
|
+
* @export
|
|
1478
|
+
*/
|
|
1479
|
+
exports.PurchaseShipmentXAmznShippingBusinessIdEnum = {
|
|
1480
|
+
Us: 'AmazonShipping_US',
|
|
1481
|
+
In: 'AmazonShipping_IN',
|
|
1482
|
+
Uk: 'AmazonShipping_UK',
|
|
1483
|
+
Uae: 'AmazonShipping_UAE',
|
|
1484
|
+
Sa: 'AmazonShipping_SA',
|
|
1485
|
+
Eg: 'AmazonShipping_EG',
|
|
1486
|
+
It: 'AmazonShipping_IT',
|
|
1487
|
+
Es: 'AmazonShipping_ES',
|
|
1488
|
+
Fr: 'AmazonShipping_FR',
|
|
1489
|
+
Jp: 'AmazonShipping_JP'
|
|
1490
|
+
};
|
|
1491
|
+
/**
|
|
1492
|
+
* @export
|
|
1493
|
+
*/
|
|
1494
|
+
exports.UnlinkCarrierAccountXAmznShippingBusinessIdEnum = {
|
|
1495
|
+
Us: 'AmazonShipping_US',
|
|
1496
|
+
In: 'AmazonShipping_IN',
|
|
1497
|
+
Uk: 'AmazonShipping_UK',
|
|
1498
|
+
Uae: 'AmazonShipping_UAE',
|
|
1499
|
+
Sa: 'AmazonShipping_SA',
|
|
1500
|
+
Eg: 'AmazonShipping_EG',
|
|
1501
|
+
It: 'AmazonShipping_IT',
|
|
1502
|
+
Es: 'AmazonShipping_ES',
|
|
1503
|
+
Fr: 'AmazonShipping_FR',
|
|
1504
|
+
Jp: 'AmazonShipping_JP'
|
|
1505
|
+
};
|