@sp-api-sdk/easy-ship-api-2022-03-23 3.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/LICENSE +21 -0
- package/README.md +107 -0
- package/dist/cjs/api-model/api/easy-ship-api.js +367 -0
- package/dist/cjs/api-model/api.js +30 -0
- package/dist/cjs/api-model/base.js +71 -0
- package/dist/cjs/api-model/common.js +145 -0
- package/dist/cjs/api-model/configuration.js +99 -0
- package/dist/cjs/api-model/index.js +32 -0
- package/dist/cjs/api-model/models/code.js +34 -0
- package/dist/cjs/api-model/models/create-scheduled-package-request.js +15 -0
- package/dist/cjs/api-model/models/create-scheduled-packages-request.js +15 -0
- package/dist/cjs/api-model/models/create-scheduled-packages-response.js +15 -0
- package/dist/cjs/api-model/models/dimensions.js +15 -0
- package/dist/cjs/api-model/models/error-list.js +15 -0
- package/dist/cjs/api-model/models/handover-method.js +25 -0
- package/dist/cjs/api-model/models/index.js +43 -0
- package/dist/cjs/api-model/models/invoice-data.js +15 -0
- package/dist/cjs/api-model/models/item.js +15 -0
- package/dist/cjs/api-model/models/label-format.js +25 -0
- package/dist/cjs/api-model/models/list-handover-slots-request.js +15 -0
- package/dist/cjs/api-model/models/list-handover-slots-response.js +15 -0
- package/dist/cjs/api-model/models/model-error.js +15 -0
- package/dist/cjs/api-model/models/order-schedule-details.js +15 -0
- package/dist/cjs/api-model/models/package-details.js +15 -0
- package/dist/cjs/api-model/models/package-status.js +35 -0
- package/dist/cjs/api-model/models/package.js +15 -0
- package/dist/cjs/api-model/models/packages.js +15 -0
- package/dist/cjs/api-model/models/rejected-order.js +15 -0
- package/dist/cjs/api-model/models/scheduled-package-id.js +15 -0
- package/dist/cjs/api-model/models/time-slot.js +15 -0
- package/dist/cjs/api-model/models/tracking-details.js +15 -0
- package/dist/cjs/api-model/models/unit-of-length.js +24 -0
- package/dist/cjs/api-model/models/unit-of-weight.js +25 -0
- package/dist/cjs/api-model/models/update-package-details.js +15 -0
- package/dist/cjs/api-model/models/update-scheduled-packages-request.js +15 -0
- package/dist/cjs/api-model/models/weight.js +15 -0
- package/dist/cjs/client.js +49 -0
- package/dist/cjs/index.js +19 -0
- package/dist/es/api-model/api/easy-ship-api.js +357 -0
- package/dist/es/api-model/api.js +14 -0
- package/dist/es/api-model/base.js +63 -0
- package/dist/es/api-model/common.js +133 -0
- package/dist/es/api-model/configuration.js +95 -0
- package/dist/es/api-model/index.js +16 -0
- package/dist/es/api-model/models/code.js +31 -0
- package/dist/es/api-model/models/create-scheduled-package-request.js +14 -0
- package/dist/es/api-model/models/create-scheduled-packages-request.js +14 -0
- package/dist/es/api-model/models/create-scheduled-packages-response.js +14 -0
- package/dist/es/api-model/models/dimensions.js +14 -0
- package/dist/es/api-model/models/error-list.js +14 -0
- package/dist/es/api-model/models/handover-method.js +22 -0
- package/dist/es/api-model/models/index.js +27 -0
- package/dist/es/api-model/models/invoice-data.js +14 -0
- package/dist/es/api-model/models/item.js +14 -0
- package/dist/es/api-model/models/label-format.js +22 -0
- package/dist/es/api-model/models/list-handover-slots-request.js +14 -0
- package/dist/es/api-model/models/list-handover-slots-response.js +14 -0
- package/dist/es/api-model/models/model-error.js +14 -0
- package/dist/es/api-model/models/order-schedule-details.js +14 -0
- package/dist/es/api-model/models/package-details.js +14 -0
- package/dist/es/api-model/models/package-status.js +32 -0
- package/dist/es/api-model/models/package.js +14 -0
- package/dist/es/api-model/models/packages.js +14 -0
- package/dist/es/api-model/models/rejected-order.js +14 -0
- package/dist/es/api-model/models/scheduled-package-id.js +14 -0
- package/dist/es/api-model/models/time-slot.js +14 -0
- package/dist/es/api-model/models/tracking-details.js +14 -0
- package/dist/es/api-model/models/unit-of-length.js +21 -0
- package/dist/es/api-model/models/unit-of-weight.js +22 -0
- package/dist/es/api-model/models/update-package-details.js +14 -0
- package/dist/es/api-model/models/update-scheduled-packages-request.js +14 -0
- package/dist/es/api-model/models/weight.js +14 -0
- package/dist/es/client.js +45 -0
- package/dist/es/index.js +3 -0
- package/dist/types/api-model/api/easy-ship-api.d.ts +267 -0
- package/dist/types/api-model/api.d.ts +12 -0
- package/dist/types/api-model/base.d.ts +66 -0
- package/dist/types/api-model/common.d.ts +65 -0
- package/dist/types/api-model/configuration.d.ts +91 -0
- package/dist/types/api-model/index.d.ts +14 -0
- package/dist/types/api-model/models/code.d.ts +30 -0
- package/dist/types/api-model/models/create-scheduled-package-request.d.ts +37 -0
- package/dist/types/api-model/models/create-scheduled-packages-request.d.ts +38 -0
- package/dist/types/api-model/models/create-scheduled-packages-response.d.ts +38 -0
- package/dist/types/api-model/models/dimensions.d.ts +49 -0
- package/dist/types/api-model/models/error-list.d.ts +24 -0
- package/dist/types/api-model/models/handover-method.d.ts +21 -0
- package/dist/types/api-model/models/index.d.ts +27 -0
- package/dist/types/api-model/models/invoice-data.d.ts +30 -0
- package/dist/types/api-model/models/item.d.ts +30 -0
- package/dist/types/api-model/models/label-format.d.ts +21 -0
- package/dist/types/api-model/models/list-handover-slots-request.d.ts +44 -0
- package/dist/types/api-model/models/list-handover-slots-response.d.ts +31 -0
- package/dist/types/api-model/models/model-error.d.ts +36 -0
- package/dist/types/api-model/models/order-schedule-details.d.ts +31 -0
- package/dist/types/api-model/models/package-details.d.ts +38 -0
- package/dist/types/api-model/models/package-status.d.ts +31 -0
- package/dist/types/api-model/models/package.d.ts +80 -0
- package/dist/types/api-model/models/packages.d.ts +25 -0
- package/dist/types/api-model/models/rejected-order.d.ts +30 -0
- package/dist/types/api-model/models/scheduled-package-id.d.ts +30 -0
- package/dist/types/api-model/models/time-slot.d.ts +43 -0
- package/dist/types/api-model/models/tracking-details.d.ts +24 -0
- package/dist/types/api-model/models/unit-of-length.d.ts +20 -0
- package/dist/types/api-model/models/unit-of-weight.d.ts +21 -0
- package/dist/types/api-model/models/update-package-details.d.ts +32 -0
- package/dist/types/api-model/models/update-scheduled-packages-request.d.ts +31 -0
- package/dist/types/api-model/models/weight.d.ts +31 -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,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
17
|
+
const base_1 = require("./base");
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
29
|
+
if (paramValue === null || paramValue === undefined) {
|
|
30
|
+
throw new base_1.RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.assertParamExists = assertParamExists;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
39
|
+
if (configuration && configuration.apiKey) {
|
|
40
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
41
|
+
? await configuration.apiKey(keyParamName)
|
|
42
|
+
: await configuration.apiKey;
|
|
43
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
exports.setApiKeyToObject = setApiKeyToObject;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
const setBasicAuthToObject = function (object, configuration) {
|
|
52
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
53
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @export
|
|
60
|
+
*/
|
|
61
|
+
const setBearerAuthToObject = async function (object, configuration) {
|
|
62
|
+
if (configuration && configuration.accessToken) {
|
|
63
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
64
|
+
? await configuration.accessToken()
|
|
65
|
+
: await configuration.accessToken;
|
|
66
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @export
|
|
73
|
+
*/
|
|
74
|
+
const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
75
|
+
if (configuration && configuration.accessToken) {
|
|
76
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
77
|
+
? await configuration.accessToken(name, scopes)
|
|
78
|
+
: await configuration.accessToken;
|
|
79
|
+
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
exports.setOAuthToObject = setOAuthToObject;
|
|
83
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
84
|
+
if (parameter == null)
|
|
85
|
+
return;
|
|
86
|
+
if (typeof parameter === "object") {
|
|
87
|
+
if (Array.isArray(parameter)) {
|
|
88
|
+
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
if (urlSearchParams.has(key)) {
|
|
96
|
+
urlSearchParams.append(key, parameter);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
urlSearchParams.set(key, parameter);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @export
|
|
106
|
+
*/
|
|
107
|
+
const setSearchParams = function (url, ...objects) {
|
|
108
|
+
const searchParams = new URLSearchParams(url.search);
|
|
109
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
110
|
+
url.search = searchParams.toString();
|
|
111
|
+
};
|
|
112
|
+
exports.setSearchParams = setSearchParams;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @export
|
|
116
|
+
*/
|
|
117
|
+
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
118
|
+
const nonString = typeof value !== 'string';
|
|
119
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
120
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
121
|
+
: nonString;
|
|
122
|
+
return needsSerialization
|
|
123
|
+
? JSON.stringify(value !== undefined ? value : {})
|
|
124
|
+
: (value || "");
|
|
125
|
+
};
|
|
126
|
+
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @export
|
|
130
|
+
*/
|
|
131
|
+
const toPathString = function (url) {
|
|
132
|
+
return url.pathname + url.search + url.hash;
|
|
133
|
+
};
|
|
134
|
+
exports.toPathString = toPathString;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @export
|
|
138
|
+
*/
|
|
139
|
+
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
140
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
141
|
+
const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
|
|
142
|
+
return axios.request(axiosRequestArgs);
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
exports.createRequestFunction = createRequestFunction;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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.Configuration = void 0;
|
|
17
|
+
class Configuration {
|
|
18
|
+
/**
|
|
19
|
+
* parameter for apiKey security
|
|
20
|
+
* @param name security name
|
|
21
|
+
* @memberof Configuration
|
|
22
|
+
*/
|
|
23
|
+
apiKey;
|
|
24
|
+
/**
|
|
25
|
+
* parameter for basic security
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Configuration
|
|
29
|
+
*/
|
|
30
|
+
username;
|
|
31
|
+
/**
|
|
32
|
+
* parameter for basic security
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof Configuration
|
|
36
|
+
*/
|
|
37
|
+
password;
|
|
38
|
+
/**
|
|
39
|
+
* parameter for oauth2 security
|
|
40
|
+
* @param name security name
|
|
41
|
+
* @param scopes oauth2 scope
|
|
42
|
+
* @memberof Configuration
|
|
43
|
+
*/
|
|
44
|
+
accessToken;
|
|
45
|
+
/**
|
|
46
|
+
* override base path
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof Configuration
|
|
50
|
+
*/
|
|
51
|
+
basePath;
|
|
52
|
+
/**
|
|
53
|
+
* override server index
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof Configuration
|
|
57
|
+
*/
|
|
58
|
+
serverIndex;
|
|
59
|
+
/**
|
|
60
|
+
* base options for axios calls
|
|
61
|
+
*
|
|
62
|
+
* @type {any}
|
|
63
|
+
* @memberof Configuration
|
|
64
|
+
*/
|
|
65
|
+
baseOptions;
|
|
66
|
+
/**
|
|
67
|
+
* The FormData constructor that will be used to create multipart form data
|
|
68
|
+
* requests. You can inject this here so that execution environments that
|
|
69
|
+
* do not support the FormData class can still run the generated client.
|
|
70
|
+
*
|
|
71
|
+
* @type {new () => FormData}
|
|
72
|
+
*/
|
|
73
|
+
formDataCtor;
|
|
74
|
+
constructor(param = {}) {
|
|
75
|
+
this.apiKey = param.apiKey;
|
|
76
|
+
this.username = param.username;
|
|
77
|
+
this.password = param.password;
|
|
78
|
+
this.accessToken = param.accessToken;
|
|
79
|
+
this.basePath = param.basePath;
|
|
80
|
+
this.serverIndex = param.serverIndex;
|
|
81
|
+
this.baseOptions = param.baseOptions;
|
|
82
|
+
this.formDataCtor = param.formDataCtor;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Check if the given MIME is a JSON MIME.
|
|
86
|
+
* JSON MIME examples:
|
|
87
|
+
* application/json
|
|
88
|
+
* application/json; charset=UTF8
|
|
89
|
+
* APPLICATION/JSON
|
|
90
|
+
* application/vnd.company+json
|
|
91
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
92
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
93
|
+
*/
|
|
94
|
+
isJsonMime(mime) {
|
|
95
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
96
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.Configuration = Configuration;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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.Code = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* An error code that identifies the type of error that occurred. The error codes listed below are specific to the Easy Ship section.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.Code = {
|
|
23
|
+
InvalidInput: 'InvalidInput',
|
|
24
|
+
InvalidTimeSlotId: 'InvalidTimeSlotId',
|
|
25
|
+
ScheduledPackageAlreadyExists: 'ScheduledPackageAlreadyExists',
|
|
26
|
+
ScheduleWindowExpired: 'ScheduleWindowExpired',
|
|
27
|
+
RetryableAfterGettingNewSlots: 'RetryableAfterGettingNewSlots',
|
|
28
|
+
TimeSlotNotAvailable: 'TimeSlotNotAvailable',
|
|
29
|
+
ResourceNotFound: 'ResourceNotFound',
|
|
30
|
+
InvalidOrderState: 'InvalidOrderState',
|
|
31
|
+
RegionNotSupported: 'RegionNotSupported',
|
|
32
|
+
OrderNotEligibleForRescheduling: 'OrderNotEligibleForRescheduling',
|
|
33
|
+
InternalServerError: 'InternalServerError'
|
|
34
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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.HandoverMethod = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Identifies the method by which a seller will hand a package over to Amazon Logistics.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.HandoverMethod = {
|
|
23
|
+
Pickup: 'Pickup',
|
|
24
|
+
Dropoff: 'Dropoff'
|
|
25
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
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("./code"), exports);
|
|
18
|
+
__exportStar(require("./create-scheduled-package-request"), exports);
|
|
19
|
+
__exportStar(require("./create-scheduled-packages-request"), exports);
|
|
20
|
+
__exportStar(require("./create-scheduled-packages-response"), exports);
|
|
21
|
+
__exportStar(require("./dimensions"), exports);
|
|
22
|
+
__exportStar(require("./error-list"), exports);
|
|
23
|
+
__exportStar(require("./handover-method"), exports);
|
|
24
|
+
__exportStar(require("./invoice-data"), exports);
|
|
25
|
+
__exportStar(require("./item"), exports);
|
|
26
|
+
__exportStar(require("./label-format"), exports);
|
|
27
|
+
__exportStar(require("./list-handover-slots-request"), exports);
|
|
28
|
+
__exportStar(require("./list-handover-slots-response"), exports);
|
|
29
|
+
__exportStar(require("./model-error"), exports);
|
|
30
|
+
__exportStar(require("./order-schedule-details"), exports);
|
|
31
|
+
__exportStar(require("./package"), exports);
|
|
32
|
+
__exportStar(require("./package-details"), exports);
|
|
33
|
+
__exportStar(require("./package-status"), exports);
|
|
34
|
+
__exportStar(require("./packages"), exports);
|
|
35
|
+
__exportStar(require("./rejected-order"), exports);
|
|
36
|
+
__exportStar(require("./scheduled-package-id"), exports);
|
|
37
|
+
__exportStar(require("./time-slot"), exports);
|
|
38
|
+
__exportStar(require("./tracking-details"), exports);
|
|
39
|
+
__exportStar(require("./unit-of-length"), exports);
|
|
40
|
+
__exportStar(require("./unit-of-weight"), exports);
|
|
41
|
+
__exportStar(require("./update-package-details"), exports);
|
|
42
|
+
__exportStar(require("./update-scheduled-packages-request"), exports);
|
|
43
|
+
__exportStar(require("./weight"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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.LabelFormat = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The file format in which the shipping label will be created.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.LabelFormat = {
|
|
23
|
+
Pdf: 'PDF',
|
|
24
|
+
Zpl: 'ZPL'
|
|
25
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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 });
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Easy Ship
|
|
6
|
+
* The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship orders. * Print labels, invoices, and warranties. See the [Marketplace Support Table](https://developer-docs.amazon.com/sp-api/docs/easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) for the differences in Easy Ship operations by marketplace.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2022-03-23
|
|
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.PackageStatus = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The status of the package.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.PackageStatus = {
|
|
23
|
+
ReadyForPickup: 'ReadyForPickup',
|
|
24
|
+
PickedUp: 'PickedUp',
|
|
25
|
+
AtOriginFc: 'AtOriginFC',
|
|
26
|
+
AtDestinationFc: 'AtDestinationFC',
|
|
27
|
+
Delivered: 'Delivered',
|
|
28
|
+
Rejected: 'Rejected',
|
|
29
|
+
Undeliverable: 'Undeliverable',
|
|
30
|
+
ReturnedToSeller: 'ReturnedToSeller',
|
|
31
|
+
LostInTransit: 'LostInTransit',
|
|
32
|
+
LabelCanceled: 'LabelCanceled',
|
|
33
|
+
DamagedInTransit: 'DamagedInTransit',
|
|
34
|
+
OutForDelivery: 'OutForDelivery'
|
|
35
|
+
};
|