@sp-api-sdk/merchant-fulfillment-api-v0 3.1.12 → 4.0.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/README.md +4 -4
- package/dist/index.cjs +775 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2022 -0
- package/dist/index.d.ts +2022 -0
- package/dist/index.js +716 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/merchant-fulfillment-api.js +0 -355
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/additional-inputs.js +0 -15
- package/dist/cjs/api-model/models/additional-seller-input.js +0 -15
- package/dist/cjs/api-model/models/additional-seller-inputs.js +0 -15
- package/dist/cjs/api-model/models/address.js +0 -15
- package/dist/cjs/api-model/models/available-carrier-will-pick-up-option.js +0 -15
- package/dist/cjs/api-model/models/available-delivery-experience-option.js +0 -15
- package/dist/cjs/api-model/models/available-shipping-service-options.js +0 -15
- package/dist/cjs/api-model/models/benefits.js +0 -15
- package/dist/cjs/api-model/models/cancel-shipment-response.js +0 -15
- package/dist/cjs/api-model/models/carrier-will-pick-up-option.js +0 -24
- package/dist/cjs/api-model/models/constraint.js +0 -15
- package/dist/cjs/api-model/models/create-shipment-request.js +0 -15
- package/dist/cjs/api-model/models/create-shipment-response.js +0 -15
- package/dist/cjs/api-model/models/currency-amount.js +0 -15
- package/dist/cjs/api-model/models/dangerous-goods-details.js +0 -36
- package/dist/cjs/api-model/models/delivery-experience-option.js +0 -26
- package/dist/cjs/api-model/models/delivery-experience-type.js +0 -25
- package/dist/cjs/api-model/models/excluded-benefit.js +0 -15
- package/dist/cjs/api-model/models/file-contents.js +0 -15
- package/dist/cjs/api-model/models/file-type.js +0 -24
- package/dist/cjs/api-model/models/get-additional-seller-inputs-request.js +0 -15
- package/dist/cjs/api-model/models/get-additional-seller-inputs-response.js +0 -15
- package/dist/cjs/api-model/models/get-additional-seller-inputs-result.js +0 -15
- package/dist/cjs/api-model/models/get-eligible-shipment-services-request.js +0 -15
- package/dist/cjs/api-model/models/get-eligible-shipment-services-response.js +0 -15
- package/dist/cjs/api-model/models/get-eligible-shipment-services-result.js +0 -15
- package/dist/cjs/api-model/models/get-shipment-response.js +0 -15
- package/dist/cjs/api-model/models/hazmat-type.js +0 -23
- package/dist/cjs/api-model/models/index.js +0 -75
- package/dist/cjs/api-model/models/input-target-type.js +0 -23
- package/dist/cjs/api-model/models/item-level-fields.js +0 -15
- package/dist/cjs/api-model/models/item.js +0 -15
- package/dist/cjs/api-model/models/label-customization.js +0 -15
- package/dist/cjs/api-model/models/label-dimensions.js +0 -15
- package/dist/cjs/api-model/models/label-format-option-request.js +0 -15
- package/dist/cjs/api-model/models/label-format-option.js +0 -15
- package/dist/cjs/api-model/models/label-format.js +0 -26
- package/dist/cjs/api-model/models/label.js +0 -15
- package/dist/cjs/api-model/models/length.js +0 -15
- package/dist/cjs/api-model/models/liquid-volume.js +0 -25
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/package-dimensions.js +0 -15
- package/dist/cjs/api-model/models/predefined-package-dimensions.js +0 -71
- package/dist/cjs/api-model/models/rate-item-id.js +0 -22
- package/dist/cjs/api-model/models/rate-item-type.js +0 -22
- package/dist/cjs/api-model/models/rate-item.js +0 -15
- package/dist/cjs/api-model/models/rejected-shipping-service.js +0 -15
- package/dist/cjs/api-model/models/seller-input-definition.js +0 -15
- package/dist/cjs/api-model/models/shipment-request-details.js +0 -15
- package/dist/cjs/api-model/models/shipment-status.js +0 -25
- package/dist/cjs/api-model/models/shipment.js +0 -15
- package/dist/cjs/api-model/models/shipping-offering-filter.js +0 -15
- package/dist/cjs/api-model/models/shipping-service-options.js +0 -15
- package/dist/cjs/api-model/models/shipping-service.js +0 -15
- package/dist/cjs/api-model/models/standard-id-for-label.js +0 -22
- package/dist/cjs/api-model/models/temporarily-unavailable-carrier.js +0 -15
- package/dist/cjs/api-model/models/terms-and-conditions-not-accepted-carrier.js +0 -15
- package/dist/cjs/api-model/models/unit-of-length.js +0 -23
- package/dist/cjs/api-model/models/unit-of-weight.js +0 -23
- package/dist/cjs/api-model/models/weight.js +0 -15
- package/dist/cjs/client.js +0 -49
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/merchant-fulfillment-api.js +0 -345
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/additional-inputs.js +0 -14
- package/dist/es/api-model/models/additional-seller-input.js +0 -14
- package/dist/es/api-model/models/additional-seller-inputs.js +0 -14
- package/dist/es/api-model/models/address.js +0 -14
- package/dist/es/api-model/models/available-carrier-will-pick-up-option.js +0 -14
- package/dist/es/api-model/models/available-delivery-experience-option.js +0 -14
- package/dist/es/api-model/models/available-shipping-service-options.js +0 -14
- package/dist/es/api-model/models/benefits.js +0 -14
- package/dist/es/api-model/models/cancel-shipment-response.js +0 -14
- package/dist/es/api-model/models/carrier-will-pick-up-option.js +0 -21
- package/dist/es/api-model/models/constraint.js +0 -14
- package/dist/es/api-model/models/create-shipment-request.js +0 -14
- package/dist/es/api-model/models/create-shipment-response.js +0 -14
- package/dist/es/api-model/models/currency-amount.js +0 -14
- package/dist/es/api-model/models/dangerous-goods-details.js +0 -33
- package/dist/es/api-model/models/delivery-experience-option.js +0 -23
- package/dist/es/api-model/models/delivery-experience-type.js +0 -22
- package/dist/es/api-model/models/excluded-benefit.js +0 -14
- package/dist/es/api-model/models/file-contents.js +0 -14
- package/dist/es/api-model/models/file-type.js +0 -21
- package/dist/es/api-model/models/get-additional-seller-inputs-request.js +0 -14
- package/dist/es/api-model/models/get-additional-seller-inputs-response.js +0 -14
- package/dist/es/api-model/models/get-additional-seller-inputs-result.js +0 -14
- package/dist/es/api-model/models/get-eligible-shipment-services-request.js +0 -14
- package/dist/es/api-model/models/get-eligible-shipment-services-response.js +0 -14
- package/dist/es/api-model/models/get-eligible-shipment-services-result.js +0 -14
- package/dist/es/api-model/models/get-shipment-response.js +0 -14
- package/dist/es/api-model/models/hazmat-type.js +0 -20
- package/dist/es/api-model/models/index.js +0 -59
- package/dist/es/api-model/models/input-target-type.js +0 -20
- package/dist/es/api-model/models/item-level-fields.js +0 -14
- package/dist/es/api-model/models/item.js +0 -14
- package/dist/es/api-model/models/label-customization.js +0 -14
- package/dist/es/api-model/models/label-dimensions.js +0 -14
- package/dist/es/api-model/models/label-format-option-request.js +0 -14
- package/dist/es/api-model/models/label-format-option.js +0 -14
- package/dist/es/api-model/models/label-format.js +0 -23
- package/dist/es/api-model/models/label.js +0 -14
- package/dist/es/api-model/models/length.js +0 -14
- package/dist/es/api-model/models/liquid-volume.js +0 -22
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/package-dimensions.js +0 -14
- package/dist/es/api-model/models/predefined-package-dimensions.js +0 -68
- package/dist/es/api-model/models/rate-item-id.js +0 -19
- package/dist/es/api-model/models/rate-item-type.js +0 -19
- package/dist/es/api-model/models/rate-item.js +0 -14
- package/dist/es/api-model/models/rejected-shipping-service.js +0 -14
- package/dist/es/api-model/models/seller-input-definition.js +0 -14
- package/dist/es/api-model/models/shipment-request-details.js +0 -14
- package/dist/es/api-model/models/shipment-status.js +0 -22
- package/dist/es/api-model/models/shipment.js +0 -14
- package/dist/es/api-model/models/shipping-offering-filter.js +0 -14
- package/dist/es/api-model/models/shipping-service-options.js +0 -14
- package/dist/es/api-model/models/shipping-service.js +0 -14
- package/dist/es/api-model/models/standard-id-for-label.js +0 -19
- package/dist/es/api-model/models/temporarily-unavailable-carrier.js +0 -14
- package/dist/es/api-model/models/terms-and-conditions-not-accepted-carrier.js +0 -14
- package/dist/es/api-model/models/unit-of-length.js +0 -20
- package/dist/es/api-model/models/unit-of-weight.js +0 -20
- package/dist/es/api-model/models/weight.js +0 -14
- package/dist/es/client.js +0 -45
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api/merchant-fulfillment-api.d.ts +0 -228
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/additional-inputs.d.ts +0 -22
- package/dist/types/api-model/models/additional-seller-input.d.ts +0 -44
- package/dist/types/api-model/models/additional-seller-inputs.d.ts +0 -22
- package/dist/types/api-model/models/address.d.ts +0 -60
- package/dist/types/api-model/models/available-carrier-will-pick-up-option.d.ts +0 -20
- package/dist/types/api-model/models/available-delivery-experience-option.d.ts +0 -20
- package/dist/types/api-model/models/available-shipping-service-options.d.ts +0 -26
- package/dist/types/api-model/models/benefits.d.ts +0 -25
- package/dist/types/api-model/models/cancel-shipment-response.d.ts +0 -22
- package/dist/types/api-model/models/carrier-will-pick-up-option.d.ts +0 -20
- package/dist/types/api-model/models/constraint.d.ts +0 -24
- package/dist/types/api-model/models/create-shipment-request.d.ts +0 -35
- package/dist/types/api-model/models/create-shipment-response.d.ts +0 -22
- package/dist/types/api-model/models/currency-amount.d.ts +0 -24
- package/dist/types/api-model/models/dangerous-goods-details.d.ts +0 -54
- package/dist/types/api-model/models/delivery-experience-option.d.ts +0 -22
- package/dist/types/api-model/models/delivery-experience-type.d.ts +0 -21
- package/dist/types/api-model/models/excluded-benefit.d.ts +0 -24
- package/dist/types/api-model/models/file-contents.d.ts +0 -26
- package/dist/types/api-model/models/file-type.d.ts +0 -20
- package/dist/types/api-model/models/get-additional-seller-inputs-request.d.ts +0 -26
- package/dist/types/api-model/models/get-additional-seller-inputs-response.d.ts +0 -22
- package/dist/types/api-model/models/get-additional-seller-inputs-result.d.ts +0 -26
- package/dist/types/api-model/models/get-eligible-shipment-services-request.d.ts +0 -20
- package/dist/types/api-model/models/get-eligible-shipment-services-response.d.ts +0 -22
- package/dist/types/api-model/models/get-eligible-shipment-services-result.d.ts +0 -36
- package/dist/types/api-model/models/get-shipment-response.d.ts +0 -22
- package/dist/types/api-model/models/hazmat-type.d.ts +0 -19
- package/dist/types/api-model/models/index.d.ts +0 -59
- package/dist/types/api-model/models/input-target-type.d.ts +0 -19
- package/dist/types/api-model/models/item-level-fields.d.ts +0 -25
- package/dist/types/api-model/models/item.d.ts +0 -47
- package/dist/types/api-model/models/label-customization.d.ts +0 -22
- package/dist/types/api-model/models/label-dimensions.d.ts +0 -26
- package/dist/types/api-model/models/label-format-option-request.d.ts +0 -20
- package/dist/types/api-model/models/label-format-option.d.ts +0 -22
- package/dist/types/api-model/models/label-format.d.ts +0 -22
- package/dist/types/api-model/models/label.d.ts +0 -28
- package/dist/types/api-model/models/length.d.ts +0 -22
- package/dist/types/api-model/models/liquid-volume.d.ts +0 -34
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/package-dimensions.d.ts +0 -32
- package/dist/types/api-model/models/predefined-package-dimensions.d.ts +0 -67
- package/dist/types/api-model/models/rate-item-id.d.ts +0 -18
- package/dist/types/api-model/models/rate-item-type.d.ts +0 -18
- package/dist/types/api-model/models/rate-item.d.ts +0 -26
- package/dist/types/api-model/models/rejected-shipping-service.d.ts +0 -36
- package/dist/types/api-model/models/seller-input-definition.d.ts +0 -41
- package/dist/types/api-model/models/shipment-request-details.d.ts +0 -47
- package/dist/types/api-model/models/shipment-status.d.ts +0 -21
- package/dist/types/api-model/models/shipment.d.ts +0 -60
- package/dist/types/api-model/models/shipping-offering-filter.d.ts +0 -28
- package/dist/types/api-model/models/shipping-service-options.d.ts +0 -28
- package/dist/types/api-model/models/shipping-service.d.ts +0 -72
- package/dist/types/api-model/models/standard-id-for-label.d.ts +0 -18
- package/dist/types/api-model/models/temporarily-unavailable-carrier.d.ts +0 -20
- package/dist/types/api-model/models/terms-and-conditions-not-accepted-carrier.d.ts +0 -20
- package/dist/types/api-model/models/unit-of-length.d.ts +0 -19
- package/dist/types/api-model/models/unit-of-weight.d.ts +0 -19
- package/dist/types/api-model/models/weight.d.ts +0 -22
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
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/merchant-fulfillment-api"), exports);
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
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 = {};
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = 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) || parameter instanceof Set) {
|
|
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
|
-
/**
|
|
89
|
-
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
90
|
-
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
91
|
-
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
92
|
-
*/
|
|
93
|
-
// @ts-ignore
|
|
94
|
-
const replaceWithSerializableTypeIfNeeded = function (key, value) {
|
|
95
|
-
if (value instanceof Set) {
|
|
96
|
-
return Array.from(value);
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
return value;
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
|
|
103
|
-
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
104
|
-
const nonString = typeof value !== 'string';
|
|
105
|
-
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
106
|
-
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
107
|
-
: nonString;
|
|
108
|
-
return needsSerialization
|
|
109
|
-
? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
|
|
110
|
-
: (value || "");
|
|
111
|
-
};
|
|
112
|
-
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
113
|
-
const toPathString = function (url) {
|
|
114
|
-
return url.pathname + url.search + url.hash;
|
|
115
|
-
};
|
|
116
|
-
exports.toPathString = toPathString;
|
|
117
|
-
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
118
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
119
|
-
const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
|
|
120
|
-
return axios.request(axiosRequestArgs);
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
exports.createRequestFunction = createRequestFunction;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Merchant Fulfillment
|
|
5
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.Configuration = void 0;
|
|
16
|
-
class Configuration {
|
|
17
|
-
/**
|
|
18
|
-
* parameter for apiKey security
|
|
19
|
-
* @param name security name
|
|
20
|
-
*/
|
|
21
|
-
apiKey;
|
|
22
|
-
/**
|
|
23
|
-
* parameter for basic security
|
|
24
|
-
*/
|
|
25
|
-
username;
|
|
26
|
-
/**
|
|
27
|
-
* parameter for basic security
|
|
28
|
-
*/
|
|
29
|
-
password;
|
|
30
|
-
/**
|
|
31
|
-
* parameter for oauth2 security
|
|
32
|
-
* @param name security name
|
|
33
|
-
* @param scopes oauth2 scope
|
|
34
|
-
*/
|
|
35
|
-
accessToken;
|
|
36
|
-
/**
|
|
37
|
-
* parameter for aws4 signature security
|
|
38
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
39
|
-
* @param {string} options.region - aws region
|
|
40
|
-
* @param {string} options.service - name of the service.
|
|
41
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
42
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
43
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
44
|
-
* @memberof Configuration
|
|
45
|
-
*/
|
|
46
|
-
awsv4;
|
|
47
|
-
/**
|
|
48
|
-
* override base path
|
|
49
|
-
*/
|
|
50
|
-
basePath;
|
|
51
|
-
/**
|
|
52
|
-
* override server index
|
|
53
|
-
*/
|
|
54
|
-
serverIndex;
|
|
55
|
-
/**
|
|
56
|
-
* base options for axios calls
|
|
57
|
-
*/
|
|
58
|
-
baseOptions;
|
|
59
|
-
/**
|
|
60
|
-
* The FormData constructor that will be used to create multipart form data
|
|
61
|
-
* requests. You can inject this here so that execution environments that
|
|
62
|
-
* do not support the FormData class can still run the generated client.
|
|
63
|
-
*
|
|
64
|
-
* @type {new () => FormData}
|
|
65
|
-
*/
|
|
66
|
-
formDataCtor;
|
|
67
|
-
constructor(param = {}) {
|
|
68
|
-
this.apiKey = param.apiKey;
|
|
69
|
-
this.username = param.username;
|
|
70
|
-
this.password = param.password;
|
|
71
|
-
this.accessToken = param.accessToken;
|
|
72
|
-
this.awsv4 = param.awsv4;
|
|
73
|
-
this.basePath = param.basePath;
|
|
74
|
-
this.serverIndex = param.serverIndex;
|
|
75
|
-
this.baseOptions = {
|
|
76
|
-
...param.baseOptions,
|
|
77
|
-
headers: {
|
|
78
|
-
...param.baseOptions?.headers,
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
this.formDataCtor = param.formDataCtor;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Check if the given MIME is a JSON MIME.
|
|
85
|
-
* JSON MIME examples:
|
|
86
|
-
* application/json
|
|
87
|
-
* application/json; charset=UTF8
|
|
88
|
-
* APPLICATION/JSON
|
|
89
|
-
* application/vnd.company+json
|
|
90
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
91
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
92
|
-
*/
|
|
93
|
-
isJsonMime(mime) {
|
|
94
|
-
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
95
|
-
return mime !== null && jsonMime.test(mime);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
exports.Configuration = Configuration;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
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);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CarrierWillPickUpOption = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Carrier will pick up option.
|
|
19
|
-
*/
|
|
20
|
-
exports.CarrierWillPickUpOption = {
|
|
21
|
-
CarrierWillPickUp: 'CarrierWillPickUp',
|
|
22
|
-
ShipperWillDropOff: 'ShipperWillDropOff',
|
|
23
|
-
NoPreference: 'NoPreference',
|
|
24
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.DangerousGoodsDetailsPackingInstructionEnum = exports.DangerousGoodsDetailsPackingGroupEnum = void 0;
|
|
17
|
-
exports.DangerousGoodsDetailsPackingGroupEnum = {
|
|
18
|
-
I: 'I',
|
|
19
|
-
Ii: 'II',
|
|
20
|
-
Iii: 'III',
|
|
21
|
-
};
|
|
22
|
-
exports.DangerousGoodsDetailsPackingInstructionEnum = {
|
|
23
|
-
Pi965SectionIa: 'PI965_SECTION_IA',
|
|
24
|
-
Pi965SectionIb: 'PI965_SECTION_IB',
|
|
25
|
-
Pi965SectionIi: 'PI965_SECTION_II',
|
|
26
|
-
Pi966SectionI: 'PI966_SECTION_I',
|
|
27
|
-
Pi966SectionIi: 'PI966_SECTION_II',
|
|
28
|
-
Pi967SectionI: 'PI967_SECTION_I',
|
|
29
|
-
Pi967SectionIi: 'PI967_SECTION_II',
|
|
30
|
-
Pi968SectionIa: 'PI968_SECTION_IA',
|
|
31
|
-
Pi968SectionIb: 'PI968_SECTION_IB',
|
|
32
|
-
Pi969SectionI: 'PI969_SECTION_I',
|
|
33
|
-
Pi969SectionIi: 'PI969_SECTION_II',
|
|
34
|
-
Pi970SectionI: 'PI970_SECTION_I',
|
|
35
|
-
Pi970SectionIi: 'PI970_SECTION_II',
|
|
36
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Selling Partner API for Merchant Fulfillment
|
|
6
|
-
* With the Selling Partner API for Merchant Fulfillment, you can build applications that sellers can use to purchase shipping for non-Prime and Prime orders using Amazon\'s Buy Shipping Services.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.DeliveryExperienceOption = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* The delivery confirmation level.
|
|
19
|
-
*/
|
|
20
|
-
exports.DeliveryExperienceOption = {
|
|
21
|
-
DeliveryConfirmationWithAdultSignature: 'DeliveryConfirmationWithAdultSignature',
|
|
22
|
-
DeliveryConfirmationWithSignature: 'DeliveryConfirmationWithSignature',
|
|
23
|
-
DeliveryConfirmationWithoutSignature: 'DeliveryConfirmationWithoutSignature',
|
|
24
|
-
NoTracking: 'NoTracking',
|
|
25
|
-
NoPreference: 'NoPreference',
|
|
26
|
-
};
|