@sp-api-sdk/external-fulfillment-shipments-api-2024-09-11 1.1.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/LICENSE +21 -0
- package/README.md +99 -0
- package/dist/cjs/api-model/api/external-fulfillment-shipments-api.js +766 -0
- package/dist/cjs/api-model/api.js +30 -0
- package/dist/cjs/api-model/base.js +52 -0
- package/dist/cjs/api-model/common.js +108 -0
- package/dist/cjs/api-model/configuration.js +87 -0
- package/dist/cjs/api-model/index.js +32 -0
- package/dist/cjs/api-model/models/address.js +15 -0
- package/dist/cjs/api-model/models/amount.js +15 -0
- package/dist/cjs/api-model/models/cancellation.js +21 -0
- package/dist/cjs/api-model/models/charge-breakup.js +15 -0
- package/dist/cjs/api-model/models/charge.js +23 -0
- package/dist/cjs/api-model/models/compliance-attributes.js +15 -0
- package/dist/cjs/api-model/models/courier-supported-attributes.js +15 -0
- package/dist/cjs/api-model/models/custom-attribute-type.js +26 -0
- package/dist/cjs/api-model/models/custom-attribute.js +15 -0
- package/dist/cjs/api-model/models/dimension.js +20 -0
- package/dist/cjs/api-model/models/document-v2.js +15 -0
- package/dist/cjs/api-model/models/document.js +22 -0
- package/dist/cjs/api-model/models/error-list.js +15 -0
- package/dist/cjs/api-model/models/gift-attributes.js +15 -0
- package/dist/cjs/api-model/models/index.js +73 -0
- package/dist/cjs/api-model/models/invoice-info.js +15 -0
- package/dist/cjs/api-model/models/invoice-requirement.js +25 -0
- package/dist/cjs/api-model/models/invoice-response.js +15 -0
- package/dist/cjs/api-model/models/line-item-with-reason.js +20 -0
- package/dist/cjs/api-model/models/line-item.js +15 -0
- package/dist/cjs/api-model/models/marketplace-attributes.js +20 -0
- package/dist/cjs/api-model/models/model-error.js +15 -0
- package/dist/cjs/api-model/models/original-line-item.js +15 -0
- package/dist/cjs/api-model/models/package-delivery-status.js +15 -0
- package/dist/cjs/api-model/models/package-dimensions.js +15 -0
- package/dist/cjs/api-model/models/package-line-item.js +15 -0
- package/dist/cjs/api-model/models/package-ship-label.js +15 -0
- package/dist/cjs/api-model/models/package-status.js +27 -0
- package/dist/cjs/api-model/models/package-sub-status.js +25 -0
- package/dist/cjs/api-model/models/package.js +29 -0
- package/dist/cjs/api-model/models/packages.js +15 -0
- package/dist/cjs/api-model/models/packing-slip-requirement.js +24 -0
- package/dist/cjs/api-model/models/pagination.js +15 -0
- package/dist/cjs/api-model/models/party-identification-info.js +22 -0
- package/dist/cjs/api-model/models/piece-type.js +23 -0
- package/dist/cjs/api-model/models/presence-status.js +23 -0
- package/dist/cjs/api-model/models/priority.js +23 -0
- package/dist/cjs/api-model/models/recommended-package-line-item.js +15 -0
- package/dist/cjs/api-model/models/recommended-package.js +15 -0
- package/dist/cjs/api-model/models/replaced-shipment-info.js +15 -0
- package/dist/cjs/api-model/models/requirement-level.js +23 -0
- package/dist/cjs/api-model/models/ship-label-metadata.js +15 -0
- package/dist/cjs/api-model/models/ship-labels-input.js +15 -0
- package/dist/cjs/api-model/models/ship-labels-response.js +15 -0
- package/dist/cjs/api-model/models/shipment-acknowledgement-request.js +15 -0
- package/dist/cjs/api-model/models/shipment-info.js +25 -0
- package/dist/cjs/api-model/models/shipment-line-item.js +15 -0
- package/dist/cjs/api-model/models/shipment-requirements.js +15 -0
- package/dist/cjs/api-model/models/shipment.js +44 -0
- package/dist/cjs/api-model/models/shipments-response.js +15 -0
- package/dist/cjs/api-model/models/shipping-info.js +20 -0
- package/dist/cjs/api-model/models/shipping-options-response.js +15 -0
- package/dist/cjs/api-model/models/shipping-options.js +22 -0
- package/dist/cjs/api-model/models/status.js +23 -0
- package/dist/cjs/api-model/models/tax-registration-info.js +20 -0
- package/dist/cjs/api-model/models/tax.js +27 -0
- package/dist/cjs/api-model/models/time-window.js +20 -0
- package/dist/cjs/api-model/models/weight.js +20 -0
- package/dist/cjs/client.js +13 -0
- package/dist/cjs/index.js +19 -0
- package/dist/es/api-model/api/external-fulfillment-shipments-api.js +756 -0
- package/dist/es/api-model/api.js +14 -0
- package/dist/es/api-model/base.js +44 -0
- package/dist/es/api-model/common.js +96 -0
- package/dist/es/api-model/configuration.js +83 -0
- package/dist/es/api-model/index.js +16 -0
- package/dist/es/api-model/models/address.js +14 -0
- package/dist/es/api-model/models/amount.js +14 -0
- package/dist/es/api-model/models/cancellation.js +18 -0
- package/dist/es/api-model/models/charge-breakup.js +14 -0
- package/dist/es/api-model/models/charge.js +20 -0
- package/dist/es/api-model/models/compliance-attributes.js +14 -0
- package/dist/es/api-model/models/courier-supported-attributes.js +14 -0
- package/dist/es/api-model/models/custom-attribute-type.js +23 -0
- package/dist/es/api-model/models/custom-attribute.js +14 -0
- package/dist/es/api-model/models/dimension.js +17 -0
- package/dist/es/api-model/models/document-v2.js +14 -0
- package/dist/es/api-model/models/document.js +19 -0
- package/dist/es/api-model/models/error-list.js +14 -0
- package/dist/es/api-model/models/gift-attributes.js +14 -0
- package/dist/es/api-model/models/index.js +57 -0
- package/dist/es/api-model/models/invoice-info.js +14 -0
- package/dist/es/api-model/models/invoice-requirement.js +22 -0
- package/dist/es/api-model/models/invoice-response.js +14 -0
- package/dist/es/api-model/models/line-item-with-reason.js +17 -0
- package/dist/es/api-model/models/line-item.js +14 -0
- package/dist/es/api-model/models/marketplace-attributes.js +17 -0
- package/dist/es/api-model/models/model-error.js +14 -0
- package/dist/es/api-model/models/original-line-item.js +14 -0
- package/dist/es/api-model/models/package-delivery-status.js +14 -0
- package/dist/es/api-model/models/package-dimensions.js +14 -0
- package/dist/es/api-model/models/package-line-item.js +14 -0
- package/dist/es/api-model/models/package-ship-label.js +14 -0
- package/dist/es/api-model/models/package-status.js +24 -0
- package/dist/es/api-model/models/package-sub-status.js +22 -0
- package/dist/es/api-model/models/package.js +26 -0
- package/dist/es/api-model/models/packages.js +14 -0
- package/dist/es/api-model/models/packing-slip-requirement.js +21 -0
- package/dist/es/api-model/models/pagination.js +14 -0
- package/dist/es/api-model/models/party-identification-info.js +19 -0
- package/dist/es/api-model/models/piece-type.js +20 -0
- package/dist/es/api-model/models/presence-status.js +20 -0
- package/dist/es/api-model/models/priority.js +20 -0
- package/dist/es/api-model/models/recommended-package-line-item.js +14 -0
- package/dist/es/api-model/models/recommended-package.js +14 -0
- package/dist/es/api-model/models/replaced-shipment-info.js +14 -0
- package/dist/es/api-model/models/requirement-level.js +20 -0
- package/dist/es/api-model/models/ship-label-metadata.js +14 -0
- package/dist/es/api-model/models/ship-labels-input.js +14 -0
- package/dist/es/api-model/models/ship-labels-response.js +14 -0
- package/dist/es/api-model/models/shipment-acknowledgement-request.js +14 -0
- package/dist/es/api-model/models/shipment-info.js +22 -0
- package/dist/es/api-model/models/shipment-line-item.js +14 -0
- package/dist/es/api-model/models/shipment-requirements.js +14 -0
- package/dist/es/api-model/models/shipment.js +41 -0
- package/dist/es/api-model/models/shipments-response.js +14 -0
- package/dist/es/api-model/models/shipping-info.js +17 -0
- package/dist/es/api-model/models/shipping-options-response.js +14 -0
- package/dist/es/api-model/models/shipping-options.js +19 -0
- package/dist/es/api-model/models/status.js +20 -0
- package/dist/es/api-model/models/tax-registration-info.js +17 -0
- package/dist/es/api-model/models/tax.js +24 -0
- package/dist/es/api-model/models/time-window.js +17 -0
- package/dist/es/api-model/models/weight.js +17 -0
- package/dist/es/client.js +9 -0
- package/dist/es/index.js +3 -0
- package/dist/types/api-model/api/external-fulfillment-shipments-api.d.ts +556 -0
- package/dist/types/api-model/api.d.ts +12 -0
- package/dist/types/api-model/base.d.ts +42 -0
- package/dist/types/api-model/common.d.ts +28 -0
- package/dist/types/api-model/configuration.d.ts +74 -0
- package/dist/types/api-model/index.d.ts +14 -0
- package/dist/types/api-model/models/address.d.ts +72 -0
- package/dist/types/api-model/models/amount.d.ts +24 -0
- package/dist/types/api-model/models/cancellation.d.ts +38 -0
- package/dist/types/api-model/models/charge-breakup.d.ts +20 -0
- package/dist/types/api-model/models/charge.d.ts +37 -0
- package/dist/types/api-model/models/compliance-attributes.d.ts +21 -0
- package/dist/types/api-model/models/courier-supported-attributes.d.ts +24 -0
- package/dist/types/api-model/models/custom-attribute-type.d.ts +22 -0
- package/dist/types/api-model/models/custom-attribute.d.ts +26 -0
- package/dist/types/api-model/models/dimension.d.ts +29 -0
- package/dist/types/api-model/models/document-v2.d.ts +20 -0
- package/dist/types/api-model/models/document.d.ts +31 -0
- package/dist/types/api-model/models/error-list.d.ts +20 -0
- package/dist/types/api-model/models/gift-attributes.d.ts +26 -0
- package/dist/types/api-model/models/index.d.ts +57 -0
- package/dist/types/api-model/models/invoice-info.d.ts +24 -0
- package/dist/types/api-model/models/invoice-requirement.d.ts +35 -0
- package/dist/types/api-model/models/invoice-response.d.ts +18 -0
- package/dist/types/api-model/models/line-item-with-reason.d.ts +27 -0
- package/dist/types/api-model/models/line-item.d.ts +24 -0
- package/dist/types/api-model/models/marketplace-attributes.d.ts +37 -0
- package/dist/types/api-model/models/model-error.d.ts +28 -0
- package/dist/types/api-model/models/original-line-item.d.ts +29 -0
- package/dist/types/api-model/models/package-delivery-status.d.ts +24 -0
- package/dist/types/api-model/models/package-dimensions.d.ts +20 -0
- package/dist/types/api-model/models/package-line-item.d.ts +38 -0
- package/dist/types/api-model/models/package-ship-label.d.ts +27 -0
- package/dist/types/api-model/models/package-status.d.ts +23 -0
- package/dist/types/api-model/models/package-sub-status.d.ts +21 -0
- package/dist/types/api-model/models/package.d.ts +56 -0
- package/dist/types/api-model/models/packages.d.ts +21 -0
- package/dist/types/api-model/models/packing-slip-requirement.d.ts +34 -0
- package/dist/types/api-model/models/pagination.d.ts +20 -0
- package/dist/types/api-model/models/party-identification-info.d.ts +35 -0
- package/dist/types/api-model/models/piece-type.d.ts +19 -0
- package/dist/types/api-model/models/presence-status.d.ts +19 -0
- package/dist/types/api-model/models/priority.d.ts +19 -0
- package/dist/types/api-model/models/recommended-package-line-item.d.ts +20 -0
- package/dist/types/api-model/models/recommended-package.d.ts +25 -0
- package/dist/types/api-model/models/replaced-shipment-info.d.ts +31 -0
- package/dist/types/api-model/models/requirement-level.d.ts +19 -0
- package/dist/types/api-model/models/ship-label-metadata.d.ts +31 -0
- package/dist/types/api-model/models/ship-labels-input.d.ts +22 -0
- package/dist/types/api-model/models/ship-labels-response.d.ts +21 -0
- package/dist/types/api-model/models/shipment-acknowledgement-request.d.ts +25 -0
- package/dist/types/api-model/models/shipment-info.d.ts +55 -0
- package/dist/types/api-model/models/shipment-line-item.d.ts +75 -0
- package/dist/types/api-model/models/shipment-requirements.d.ts +20 -0
- package/dist/types/api-model/models/shipment.d.ts +104 -0
- package/dist/types/api-model/models/shipments-response.d.ts +23 -0
- package/dist/types/api-model/models/shipping-info.d.ts +40 -0
- package/dist/types/api-model/models/shipping-options-response.d.ts +22 -0
- package/dist/types/api-model/models/shipping-options.d.ts +38 -0
- package/dist/types/api-model/models/status.d.ts +19 -0
- package/dist/types/api-model/models/tax-registration-info.d.ts +35 -0
- package/dist/types/api-model/models/tax.d.ts +38 -0
- package/dist/types/api-model/models/time-window.d.ts +33 -0
- package/dist/types/api-model/models/weight.d.ts +29 -0
- package/dist/types/client.d.ts +6 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +44 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api/external-fulfillment-shipments-api"), exports);
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
20
|
+
const axios_1 = __importDefault(require("axios"));
|
|
21
|
+
exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
|
|
22
|
+
exports.COLLECTION_FORMATS = {
|
|
23
|
+
csv: ",",
|
|
24
|
+
ssv: " ",
|
|
25
|
+
tsv: "\t",
|
|
26
|
+
pipes: "|",
|
|
27
|
+
};
|
|
28
|
+
class BaseAPI {
|
|
29
|
+
basePath;
|
|
30
|
+
axios;
|
|
31
|
+
configuration;
|
|
32
|
+
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
33
|
+
this.basePath = basePath;
|
|
34
|
+
this.axios = axios;
|
|
35
|
+
if (configuration) {
|
|
36
|
+
this.configuration = configuration;
|
|
37
|
+
this.basePath = configuration.basePath ?? basePath;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.BaseAPI = BaseAPI;
|
|
42
|
+
;
|
|
43
|
+
class RequiredError extends Error {
|
|
44
|
+
field;
|
|
45
|
+
constructor(field, msg) {
|
|
46
|
+
super(msg);
|
|
47
|
+
this.field = field;
|
|
48
|
+
this.name = "RequiredError";
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.RequiredError = RequiredError;
|
|
52
|
+
exports.operationServerMap = {};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
17
|
+
const base_1 = require("./base");
|
|
18
|
+
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @throws {RequiredError}
|
|
22
|
+
*/
|
|
23
|
+
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
24
|
+
if (paramValue === null || paramValue === undefined) {
|
|
25
|
+
throw new base_1.RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.assertParamExists = assertParamExists;
|
|
29
|
+
const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
30
|
+
if (configuration && configuration.apiKey) {
|
|
31
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
32
|
+
? await configuration.apiKey(keyParamName)
|
|
33
|
+
: await configuration.apiKey;
|
|
34
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
exports.setApiKeyToObject = setApiKeyToObject;
|
|
38
|
+
const setBasicAuthToObject = function (object, configuration) {
|
|
39
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
40
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
44
|
+
const setBearerAuthToObject = async function (object, configuration) {
|
|
45
|
+
if (configuration && configuration.accessToken) {
|
|
46
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
47
|
+
? await configuration.accessToken()
|
|
48
|
+
: await configuration.accessToken;
|
|
49
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
53
|
+
const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
54
|
+
if (configuration && configuration.accessToken) {
|
|
55
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
56
|
+
? await configuration.accessToken(name, scopes)
|
|
57
|
+
: await configuration.accessToken;
|
|
58
|
+
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
exports.setOAuthToObject = setOAuthToObject;
|
|
62
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
63
|
+
if (parameter == null)
|
|
64
|
+
return;
|
|
65
|
+
if (typeof parameter === "object") {
|
|
66
|
+
if (Array.isArray(parameter)) {
|
|
67
|
+
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
if (urlSearchParams.has(key)) {
|
|
75
|
+
urlSearchParams.append(key, parameter);
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
urlSearchParams.set(key, parameter);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
const setSearchParams = function (url, ...objects) {
|
|
83
|
+
const searchParams = new URLSearchParams(url.search);
|
|
84
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
85
|
+
url.search = searchParams.toString();
|
|
86
|
+
};
|
|
87
|
+
exports.setSearchParams = setSearchParams;
|
|
88
|
+
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
89
|
+
const nonString = typeof value !== 'string';
|
|
90
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
91
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
92
|
+
: nonString;
|
|
93
|
+
return needsSerialization
|
|
94
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
95
|
+
: (value || "");
|
|
96
|
+
};
|
|
97
|
+
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
98
|
+
const toPathString = function (url) {
|
|
99
|
+
return url.pathname + url.search + url.hash;
|
|
100
|
+
};
|
|
101
|
+
exports.toPathString = toPathString;
|
|
102
|
+
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
103
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
104
|
+
const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
|
|
105
|
+
return axios.request(axiosRequestArgs);
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
exports.createRequestFunction = createRequestFunction;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.Configuration = void 0;
|
|
17
|
+
class Configuration {
|
|
18
|
+
/**
|
|
19
|
+
* parameter for apiKey security
|
|
20
|
+
* @param name security name
|
|
21
|
+
*/
|
|
22
|
+
apiKey;
|
|
23
|
+
/**
|
|
24
|
+
* parameter for basic security
|
|
25
|
+
*/
|
|
26
|
+
username;
|
|
27
|
+
/**
|
|
28
|
+
* parameter for basic security
|
|
29
|
+
*/
|
|
30
|
+
password;
|
|
31
|
+
/**
|
|
32
|
+
* parameter for oauth2 security
|
|
33
|
+
* @param name security name
|
|
34
|
+
* @param scopes oauth2 scope
|
|
35
|
+
*/
|
|
36
|
+
accessToken;
|
|
37
|
+
/**
|
|
38
|
+
* override base path
|
|
39
|
+
*/
|
|
40
|
+
basePath;
|
|
41
|
+
/**
|
|
42
|
+
* override server index
|
|
43
|
+
*/
|
|
44
|
+
serverIndex;
|
|
45
|
+
/**
|
|
46
|
+
* base options for axios calls
|
|
47
|
+
*/
|
|
48
|
+
baseOptions;
|
|
49
|
+
/**
|
|
50
|
+
* The FormData constructor that will be used to create multipart form data
|
|
51
|
+
* requests. You can inject this here so that execution environments that
|
|
52
|
+
* do not support the FormData class can still run the generated client.
|
|
53
|
+
*
|
|
54
|
+
* @type {new () => FormData}
|
|
55
|
+
*/
|
|
56
|
+
formDataCtor;
|
|
57
|
+
constructor(param = {}) {
|
|
58
|
+
this.apiKey = param.apiKey;
|
|
59
|
+
this.username = param.username;
|
|
60
|
+
this.password = param.password;
|
|
61
|
+
this.accessToken = param.accessToken;
|
|
62
|
+
this.basePath = param.basePath;
|
|
63
|
+
this.serverIndex = param.serverIndex;
|
|
64
|
+
this.baseOptions = {
|
|
65
|
+
...param.baseOptions,
|
|
66
|
+
headers: {
|
|
67
|
+
...param.baseOptions?.headers,
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
this.formDataCtor = param.formDataCtor;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Check if the given MIME is a JSON MIME.
|
|
74
|
+
* JSON MIME examples:
|
|
75
|
+
* application/json
|
|
76
|
+
* application/json; charset=UTF8
|
|
77
|
+
* APPLICATION/JSON
|
|
78
|
+
* application/vnd.company+json
|
|
79
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
80
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
81
|
+
*/
|
|
82
|
+
isJsonMime(mime) {
|
|
83
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
84
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.Configuration = Configuration;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api"), exports);
|
|
31
|
+
__exportStar(require("./configuration"), exports);
|
|
32
|
+
__exportStar(require("./models"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CancellationCancellationTypeEnum = void 0;
|
|
17
|
+
exports.CancellationCancellationTypeEnum = {
|
|
18
|
+
SellerRejected: 'SELLER_REJECTED',
|
|
19
|
+
MarketplaceCancelled: 'MARKETPLACE_CANCELLED',
|
|
20
|
+
SystemCancelled: 'SYSTEM_CANCELLED'
|
|
21
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ChargeChargeTypeEnum = void 0;
|
|
17
|
+
exports.ChargeChargeTypeEnum = {
|
|
18
|
+
Product: 'PRODUCT',
|
|
19
|
+
Shipping: 'SHIPPING',
|
|
20
|
+
GiftWrap: 'GIFT_WRAP',
|
|
21
|
+
Total: 'TOTAL',
|
|
22
|
+
Other: 'OTHER'
|
|
23
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CustomAttributeType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The data type of the custom attribute value to aid with parsing during deserialization.
|
|
19
|
+
*/
|
|
20
|
+
exports.CustomAttributeType = {
|
|
21
|
+
String: 'STRING',
|
|
22
|
+
Boolean: 'BOOLEAN',
|
|
23
|
+
Integer: 'INTEGER',
|
|
24
|
+
Double: 'DOUBLE',
|
|
25
|
+
JsonString: 'JSON_STRING'
|
|
26
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DimensionDimensionUnitEnum = void 0;
|
|
17
|
+
exports.DimensionDimensionUnitEnum = {
|
|
18
|
+
Cm: 'CM',
|
|
19
|
+
M: 'M'
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DocumentFormatEnum = void 0;
|
|
17
|
+
exports.DocumentFormatEnum = {
|
|
18
|
+
Zpl: 'ZPL',
|
|
19
|
+
Pdf: 'PDF',
|
|
20
|
+
Png: 'PNG',
|
|
21
|
+
PlainText: 'PLAIN_TEXT'
|
|
22
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* The Selling Partner API for Amazon External Fulfillment Shipments Processing
|
|
6
|
+
* You can use the External Fulfillment Shipments API to retrieve, manage, and track shipments processed through Amazon\'s external fulfillment network. Use this API to get shipment details, monitor status changes, and access fulfillment requirements.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2024-09-11
|
|
9
|
+
* Contact: marketplaceapitest@amazon.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./address"), exports);
|
|
18
|
+
__exportStar(require("./amount"), exports);
|
|
19
|
+
__exportStar(require("./cancellation"), exports);
|
|
20
|
+
__exportStar(require("./charge"), exports);
|
|
21
|
+
__exportStar(require("./charge-breakup"), exports);
|
|
22
|
+
__exportStar(require("./compliance-attributes"), exports);
|
|
23
|
+
__exportStar(require("./courier-supported-attributes"), exports);
|
|
24
|
+
__exportStar(require("./custom-attribute"), exports);
|
|
25
|
+
__exportStar(require("./custom-attribute-type"), exports);
|
|
26
|
+
__exportStar(require("./dimension"), exports);
|
|
27
|
+
__exportStar(require("./document"), exports);
|
|
28
|
+
__exportStar(require("./document-v2"), exports);
|
|
29
|
+
__exportStar(require("./error-list"), exports);
|
|
30
|
+
__exportStar(require("./gift-attributes"), exports);
|
|
31
|
+
__exportStar(require("./invoice-info"), exports);
|
|
32
|
+
__exportStar(require("./invoice-requirement"), exports);
|
|
33
|
+
__exportStar(require("./invoice-response"), exports);
|
|
34
|
+
__exportStar(require("./line-item"), exports);
|
|
35
|
+
__exportStar(require("./line-item-with-reason"), exports);
|
|
36
|
+
__exportStar(require("./marketplace-attributes"), exports);
|
|
37
|
+
__exportStar(require("./model-error"), exports);
|
|
38
|
+
__exportStar(require("./original-line-item"), exports);
|
|
39
|
+
__exportStar(require("./package"), exports);
|
|
40
|
+
__exportStar(require("./package-delivery-status"), exports);
|
|
41
|
+
__exportStar(require("./package-dimensions"), exports);
|
|
42
|
+
__exportStar(require("./package-line-item"), exports);
|
|
43
|
+
__exportStar(require("./package-ship-label"), exports);
|
|
44
|
+
__exportStar(require("./package-status"), exports);
|
|
45
|
+
__exportStar(require("./package-sub-status"), exports);
|
|
46
|
+
__exportStar(require("./packages"), exports);
|
|
47
|
+
__exportStar(require("./packing-slip-requirement"), exports);
|
|
48
|
+
__exportStar(require("./pagination"), exports);
|
|
49
|
+
__exportStar(require("./party-identification-info"), exports);
|
|
50
|
+
__exportStar(require("./piece-type"), exports);
|
|
51
|
+
__exportStar(require("./presence-status"), exports);
|
|
52
|
+
__exportStar(require("./priority"), exports);
|
|
53
|
+
__exportStar(require("./recommended-package"), exports);
|
|
54
|
+
__exportStar(require("./recommended-package-line-item"), exports);
|
|
55
|
+
__exportStar(require("./replaced-shipment-info"), exports);
|
|
56
|
+
__exportStar(require("./requirement-level"), exports);
|
|
57
|
+
__exportStar(require("./ship-label-metadata"), exports);
|
|
58
|
+
__exportStar(require("./ship-labels-input"), exports);
|
|
59
|
+
__exportStar(require("./ship-labels-response"), exports);
|
|
60
|
+
__exportStar(require("./shipment"), exports);
|
|
61
|
+
__exportStar(require("./shipment-acknowledgement-request"), exports);
|
|
62
|
+
__exportStar(require("./shipment-info"), exports);
|
|
63
|
+
__exportStar(require("./shipment-line-item"), exports);
|
|
64
|
+
__exportStar(require("./shipment-requirements"), exports);
|
|
65
|
+
__exportStar(require("./shipments-response"), exports);
|
|
66
|
+
__exportStar(require("./shipping-info"), exports);
|
|
67
|
+
__exportStar(require("./shipping-options"), exports);
|
|
68
|
+
__exportStar(require("./shipping-options-response"), exports);
|
|
69
|
+
__exportStar(require("./status"), exports);
|
|
70
|
+
__exportStar(require("./tax"), exports);
|
|
71
|
+
__exportStar(require("./tax-registration-info"), exports);
|
|
72
|
+
__exportStar(require("./time-window"), exports);
|
|
73
|
+
__exportStar(require("./weight"), exports);
|