@sp-api-sdk/shipping-api-v1 1.8.4 → 1.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/api-model/api/shipping-api.js +9 -9
- package/dist/cjs/src/api-model/models/container.js +3 -8
- package/dist/cjs/src/api-model/models/dimensions.js +4 -9
- package/dist/cjs/src/api-model/models/label-specification.js +6 -16
- package/dist/cjs/src/api-model/models/service-type.js +5 -6
- package/dist/cjs/src/api-model/models/weight.js +6 -11
- package/dist/es/src/api-model/api/shipping-api.js +9 -9
- package/dist/es/src/api-model/models/container.js +3 -8
- package/dist/es/src/api-model/models/dimensions.js +4 -9
- package/dist/es/src/api-model/models/label-specification.js +6 -16
- package/dist/es/src/api-model/models/service-type.js +5 -6
- package/dist/es/src/api-model/models/weight.js +6 -11
- package/dist/types/src/api-model/api/shipping-api.d.ts +31 -31
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +7 -7
- package/dist/types/src/api-model/models/accepted-rate.d.ts +4 -4
- package/dist/types/src/api-model/models/account.d.ts +1 -1
- package/dist/types/src/api-model/models/address.d.ts +11 -11
- package/dist/types/src/api-model/models/cancel-shipment-response.d.ts +1 -1
- package/dist/types/src/api-model/models/container-item.d.ts +4 -4
- package/dist/types/src/api-model/models/container-specification.d.ts +2 -2
- package/dist/types/src/api-model/models/container.d.ts +10 -13
- package/dist/types/src/api-model/models/create-shipment-request.d.ts +4 -4
- package/dist/types/src/api-model/models/create-shipment-response.d.ts +2 -2
- package/dist/types/src/api-model/models/create-shipment-result.d.ts +2 -2
- package/dist/types/src/api-model/models/currency.d.ts +2 -2
- package/dist/types/src/api-model/models/dimensions.d.ts +9 -12
- package/dist/types/src/api-model/models/event.d.ts +3 -3
- package/dist/types/src/api-model/models/get-account-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-rates-request.d.ts +5 -5
- package/dist/types/src/api-model/models/get-rates-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-rates-result.d.ts +1 -1
- package/dist/types/src/api-model/models/get-shipment-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-tracking-information-response.d.ts +2 -2
- package/dist/types/src/api-model/models/label-result.d.ts +3 -3
- package/dist/types/src/api-model/models/label-specification.d.ts +10 -16
- package/dist/types/src/api-model/models/label.d.ts +2 -2
- package/dist/types/src/api-model/models/location.d.ts +4 -4
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/party.d.ts +1 -1
- package/dist/types/src/api-model/models/purchase-labels-request.d.ts +2 -2
- package/dist/types/src/api-model/models/purchase-labels-response.d.ts +2 -2
- package/dist/types/src/api-model/models/purchase-labels-result.d.ts +4 -4
- package/dist/types/src/api-model/models/purchase-shipment-request.d.ts +7 -7
- package/dist/types/src/api-model/models/purchase-shipment-response.d.ts +2 -2
- package/dist/types/src/api-model/models/purchase-shipment-result.d.ts +3 -3
- package/dist/types/src/api-model/models/rate.d.ts +6 -6
- package/dist/types/src/api-model/models/retrieve-shipping-label-request.d.ts +1 -1
- package/dist/types/src/api-model/models/retrieve-shipping-label-response.d.ts +2 -2
- package/dist/types/src/api-model/models/retrieve-shipping-label-result.d.ts +2 -2
- package/dist/types/src/api-model/models/service-rate.d.ts +4 -4
- package/dist/types/src/api-model/models/service-type.d.ts +6 -5
- package/dist/types/src/api-model/models/shipment.d.ts +7 -7
- package/dist/types/src/api-model/models/shipping-promise-set.d.ts +2 -2
- package/dist/types/src/api-model/models/time-range.d.ts +2 -2
- package/dist/types/src/api-model/models/tracking-information.d.ts +4 -4
- package/dist/types/src/api-model/models/tracking-summary.d.ts +1 -1
- package/dist/types/src/api-model/models/weight.d.ts +9 -12
- package/package.json +4 -4
|
@@ -47,7 +47,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
47
47
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
48
48
|
const localVarHeaderParameter = {};
|
|
49
49
|
const localVarQueryParameter = {};
|
|
50
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
50
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
51
51
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52
52
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
53
53
|
return {
|
|
@@ -75,7 +75,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
75
75
|
const localVarHeaderParameter = {};
|
|
76
76
|
const localVarQueryParameter = {};
|
|
77
77
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
78
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
78
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
79
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
80
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
81
81
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -100,7 +100,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
101
101
|
const localVarHeaderParameter = {};
|
|
102
102
|
const localVarQueryParameter = {};
|
|
103
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
103
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
104
104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105
105
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
106
106
|
return {
|
|
@@ -128,7 +128,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
const localVarHeaderParameter = {};
|
|
129
129
|
const localVarQueryParameter = {};
|
|
130
130
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
131
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
131
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
132
132
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
133
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
134
134
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -157,7 +157,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
157
157
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
158
158
|
const localVarHeaderParameter = {};
|
|
159
159
|
const localVarQueryParameter = {};
|
|
160
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
160
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
161
161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
162
162
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
163
163
|
return {
|
|
@@ -185,7 +185,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
185
185
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
186
186
|
const localVarHeaderParameter = {};
|
|
187
187
|
const localVarQueryParameter = {};
|
|
188
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
188
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
189
189
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
190
190
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
191
191
|
return {
|
|
@@ -217,7 +217,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
217
217
|
const localVarHeaderParameter = {};
|
|
218
218
|
const localVarQueryParameter = {};
|
|
219
219
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
220
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
220
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
221
221
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
222
222
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
223
223
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -246,7 +246,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
const localVarHeaderParameter = {};
|
|
247
247
|
const localVarQueryParameter = {};
|
|
248
248
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
249
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
249
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
250
250
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
251
251
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
252
252
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -283,7 +283,7 @@ const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
283
283
|
const localVarHeaderParameter = {};
|
|
284
284
|
const localVarQueryParameter = {};
|
|
285
285
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
286
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
286
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
287
287
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
288
288
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
289
289
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -14,11 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ContainerContainerTypeEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*/
|
|
21
|
-
var ContainerContainerTypeEnum;
|
|
22
|
-
(function (ContainerContainerTypeEnum) {
|
|
23
|
-
ContainerContainerTypeEnum["Package"] = "PACKAGE";
|
|
24
|
-
})(ContainerContainerTypeEnum = exports.ContainerContainerTypeEnum || (exports.ContainerContainerTypeEnum = {}));
|
|
17
|
+
exports.ContainerContainerTypeEnum = {
|
|
18
|
+
Package: 'PACKAGE'
|
|
19
|
+
};
|
|
@@ -14,12 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DimensionsUnitEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var DimensionsUnitEnum;
|
|
22
|
-
(function (DimensionsUnitEnum) {
|
|
23
|
-
DimensionsUnitEnum["In"] = "IN";
|
|
24
|
-
DimensionsUnitEnum["Cm"] = "CM";
|
|
25
|
-
})(DimensionsUnitEnum = exports.DimensionsUnitEnum || (exports.DimensionsUnitEnum = {}));
|
|
17
|
+
exports.DimensionsUnitEnum = {
|
|
18
|
+
In: 'IN',
|
|
19
|
+
Cm: 'CM'
|
|
20
|
+
};
|
|
@@ -14,19 +14,9 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.LabelSpecificationLabelStockSizeEnum = exports.LabelSpecificationLabelFormatEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
LabelSpecificationLabelFormatEnum["Png"] = "PNG";
|
|
24
|
-
})(LabelSpecificationLabelFormatEnum = exports.LabelSpecificationLabelFormatEnum || (exports.LabelSpecificationLabelFormatEnum = {}));
|
|
25
|
-
/**
|
|
26
|
-
* @export
|
|
27
|
-
* @enum {string}
|
|
28
|
-
*/
|
|
29
|
-
var LabelSpecificationLabelStockSizeEnum;
|
|
30
|
-
(function (LabelSpecificationLabelStockSizeEnum) {
|
|
31
|
-
LabelSpecificationLabelStockSizeEnum["_4x6"] = "4x6";
|
|
32
|
-
})(LabelSpecificationLabelStockSizeEnum = exports.LabelSpecificationLabelStockSizeEnum || (exports.LabelSpecificationLabelStockSizeEnum = {}));
|
|
17
|
+
exports.LabelSpecificationLabelFormatEnum = {
|
|
18
|
+
Png: 'PNG'
|
|
19
|
+
};
|
|
20
|
+
exports.LabelSpecificationLabelStockSizeEnum = {
|
|
21
|
+
_4x6: '4x6'
|
|
22
|
+
};
|
|
@@ -19,9 +19,8 @@ exports.ServiceType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
22
|
+
exports.ServiceType = {
|
|
23
|
+
Ground: 'Amazon Shipping Ground',
|
|
24
|
+
Standard: 'Amazon Shipping Standard',
|
|
25
|
+
Premium: 'Amazon Shipping Premium'
|
|
26
|
+
};
|
|
@@ -14,14 +14,9 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.WeightUnitEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
WeightUnitEnum["G"] = "g";
|
|
24
|
-
WeightUnitEnum["Kg"] = "kg";
|
|
25
|
-
WeightUnitEnum["Oz"] = "oz";
|
|
26
|
-
WeightUnitEnum["Lb"] = "lb";
|
|
27
|
-
})(WeightUnitEnum = exports.WeightUnitEnum || (exports.WeightUnitEnum = {}));
|
|
17
|
+
exports.WeightUnitEnum = {
|
|
18
|
+
G: 'g',
|
|
19
|
+
Kg: 'kg',
|
|
20
|
+
Oz: 'oz',
|
|
21
|
+
Lb: 'lb'
|
|
22
|
+
};
|
|
@@ -43,7 +43,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
43
43
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
44
44
|
const localVarHeaderParameter = {};
|
|
45
45
|
const localVarQueryParameter = {};
|
|
46
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
46
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47
47
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48
48
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
49
49
|
return {
|
|
@@ -71,7 +71,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
71
71
|
const localVarHeaderParameter = {};
|
|
72
72
|
const localVarQueryParameter = {};
|
|
73
73
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
74
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
74
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75
75
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
76
76
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
77
77
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -96,7 +96,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
96
96
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
97
97
|
const localVarHeaderParameter = {};
|
|
98
98
|
const localVarQueryParameter = {};
|
|
99
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
99
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
100
100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
101
101
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
102
102
|
return {
|
|
@@ -124,7 +124,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
const localVarHeaderParameter = {};
|
|
125
125
|
const localVarQueryParameter = {};
|
|
126
126
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
127
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
127
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
128
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
129
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
130
130
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -153,7 +153,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
153
153
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
154
154
|
const localVarHeaderParameter = {};
|
|
155
155
|
const localVarQueryParameter = {};
|
|
156
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
157
157
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
158
158
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
159
159
|
return {
|
|
@@ -181,7 +181,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
181
181
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
182
182
|
const localVarHeaderParameter = {};
|
|
183
183
|
const localVarQueryParameter = {};
|
|
184
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
185
185
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
186
186
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
187
187
|
return {
|
|
@@ -213,7 +213,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
213
213
|
const localVarHeaderParameter = {};
|
|
214
214
|
const localVarQueryParameter = {};
|
|
215
215
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
216
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
216
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
217
217
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
218
218
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
219
219
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -242,7 +242,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
const localVarHeaderParameter = {};
|
|
243
243
|
const localVarQueryParameter = {};
|
|
244
244
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
245
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
246
246
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
247
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
248
248
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -279,7 +279,7 @@ export const ShippingApiAxiosParamCreator = function (configuration) {
|
|
|
279
279
|
const localVarHeaderParameter = {};
|
|
280
280
|
const localVarQueryParameter = {};
|
|
281
281
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
282
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
282
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
283
283
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
284
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
285
285
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -11,11 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
*/
|
|
18
|
-
export var ContainerContainerTypeEnum;
|
|
19
|
-
(function (ContainerContainerTypeEnum) {
|
|
20
|
-
ContainerContainerTypeEnum["Package"] = "PACKAGE";
|
|
21
|
-
})(ContainerContainerTypeEnum || (ContainerContainerTypeEnum = {}));
|
|
14
|
+
export const ContainerContainerTypeEnum = {
|
|
15
|
+
Package: 'PACKAGE'
|
|
16
|
+
};
|
|
@@ -11,12 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export var DimensionsUnitEnum;
|
|
19
|
-
(function (DimensionsUnitEnum) {
|
|
20
|
-
DimensionsUnitEnum["In"] = "IN";
|
|
21
|
-
DimensionsUnitEnum["Cm"] = "CM";
|
|
22
|
-
})(DimensionsUnitEnum || (DimensionsUnitEnum = {}));
|
|
14
|
+
export const DimensionsUnitEnum = {
|
|
15
|
+
In: 'IN',
|
|
16
|
+
Cm: 'CM'
|
|
17
|
+
};
|
|
@@ -11,19 +11,9 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
LabelSpecificationLabelFormatEnum["Png"] = "PNG";
|
|
21
|
-
})(LabelSpecificationLabelFormatEnum || (LabelSpecificationLabelFormatEnum = {}));
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
* @enum {string}
|
|
25
|
-
*/
|
|
26
|
-
export var LabelSpecificationLabelStockSizeEnum;
|
|
27
|
-
(function (LabelSpecificationLabelStockSizeEnum) {
|
|
28
|
-
LabelSpecificationLabelStockSizeEnum["_4x6"] = "4x6";
|
|
29
|
-
})(LabelSpecificationLabelStockSizeEnum || (LabelSpecificationLabelStockSizeEnum = {}));
|
|
14
|
+
export const LabelSpecificationLabelFormatEnum = {
|
|
15
|
+
Png: 'PNG'
|
|
16
|
+
};
|
|
17
|
+
export const LabelSpecificationLabelStockSizeEnum = {
|
|
18
|
+
_4x6: '4x6'
|
|
19
|
+
};
|
|
@@ -16,9 +16,8 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(ServiceType || (ServiceType = {}));
|
|
19
|
+
export const ServiceType = {
|
|
20
|
+
Ground: 'Amazon Shipping Ground',
|
|
21
|
+
Standard: 'Amazon Shipping Standard',
|
|
22
|
+
Premium: 'Amazon Shipping Premium'
|
|
23
|
+
};
|
|
@@ -11,14 +11,9 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
WeightUnitEnum["G"] = "g";
|
|
21
|
-
WeightUnitEnum["Kg"] = "kg";
|
|
22
|
-
WeightUnitEnum["Oz"] = "oz";
|
|
23
|
-
WeightUnitEnum["Lb"] = "lb";
|
|
24
|
-
})(WeightUnitEnum || (WeightUnitEnum = {}));
|
|
14
|
+
export const WeightUnitEnum = {
|
|
15
|
+
G: 'g',
|
|
16
|
+
Kg: 'kg',
|
|
17
|
+
Oz: 'oz',
|
|
18
|
+
Lb: 'lb'
|
|
19
|
+
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CancelShipmentResponse } from '../models';
|
|
@@ -30,48 +30,48 @@ import { RetrieveShippingLabelResponse } from '../models';
|
|
|
30
30
|
* ShippingApi - axios parameter creator
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export declare const ShippingApiAxiosParamCreator: (configuration?: Configuration
|
|
33
|
+
export declare const ShippingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
34
34
|
/**
|
|
35
35
|
* Cancel a shipment by the given shipmentId. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
36
36
|
* @param {string} shipmentId
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
|
-
cancelShipment: (shipmentId: string, options?:
|
|
40
|
+
cancelShipment: (shipmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
41
|
/**
|
|
42
42
|
* Create a new shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
43
43
|
* @param {CreateShipmentRequest} body
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
46
46
|
*/
|
|
47
|
-
createShipment: (body: CreateShipmentRequest, options?:
|
|
47
|
+
createShipment: (body: CreateShipmentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
/**
|
|
49
49
|
* Verify if the current account is valid. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
getAccount: (options?:
|
|
53
|
+
getAccount: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
55
|
* Get service rates. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
56
56
|
* @param {GetRatesRequest} body
|
|
57
57
|
* @param {*} [options] Override http request option.
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
60
|
-
getRates: (body: GetRatesRequest, options?:
|
|
60
|
+
getRates: (body: GetRatesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
61
|
/**
|
|
62
62
|
* Return the entire shipment object for the shipmentId. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
63
63
|
* @param {string} shipmentId
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
getShipment: (shipmentId: string, options?:
|
|
67
|
+
getShipment: (shipmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
68
|
/**
|
|
69
69
|
* Return the tracking information of a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
70
70
|
* @param {string} trackingId
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
|
-
getTrackingInformation: (trackingId: string, options?:
|
|
74
|
+
getTrackingInformation: (trackingId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
75
|
/**
|
|
76
76
|
* Purchase shipping labels based on a given rate. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
77
77
|
* @param {string} shipmentId
|
|
@@ -79,14 +79,14 @@ export declare const ShippingApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
79
79
|
* @param {*} [options] Override http request option.
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
*/
|
|
82
|
-
purchaseLabels: (shipmentId: string, body: PurchaseLabelsRequest, options?:
|
|
82
|
+
purchaseLabels: (shipmentId: string, body: PurchaseLabelsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
83
|
/**
|
|
84
84
|
* Purchase shipping labels. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
85
85
|
* @param {PurchaseShipmentRequest} body
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
89
|
-
purchaseShipment: (body: PurchaseShipmentRequest, options?:
|
|
89
|
+
purchaseShipment: (body: PurchaseShipmentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
90
90
|
/**
|
|
91
91
|
* Retrieve shipping label based on the shipment id and tracking id. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
92
92
|
* @param {string} shipmentId
|
|
@@ -95,54 +95,54 @@ export declare const ShippingApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
95
95
|
* @param {*} [options] Override http request option.
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
*/
|
|
98
|
-
retrieveShippingLabel: (shipmentId: string, trackingId: string, body: RetrieveShippingLabelRequest, options?:
|
|
98
|
+
retrieveShippingLabel: (shipmentId: string, trackingId: string, body: RetrieveShippingLabelRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
99
99
|
};
|
|
100
100
|
/**
|
|
101
101
|
* ShippingApi - functional programming interface
|
|
102
102
|
* @export
|
|
103
103
|
*/
|
|
104
|
-
export declare const ShippingApiFp: (configuration?: Configuration
|
|
104
|
+
export declare const ShippingApiFp: (configuration?: Configuration) => {
|
|
105
105
|
/**
|
|
106
106
|
* Cancel a shipment by the given shipmentId. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
107
107
|
* @param {string} shipmentId
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
*/
|
|
111
|
-
cancelShipment(shipmentId: string, options?:
|
|
111
|
+
cancelShipment(shipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelShipmentResponse>>;
|
|
112
112
|
/**
|
|
113
113
|
* Create a new shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
114
114
|
* @param {CreateShipmentRequest} body
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
createShipment(body: CreateShipmentRequest, options?:
|
|
118
|
+
createShipment(body: CreateShipmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateShipmentResponse>>;
|
|
119
119
|
/**
|
|
120
120
|
* Verify if the current account is valid. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
124
|
-
getAccount(options?:
|
|
124
|
+
getAccount(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountResponse>>;
|
|
125
125
|
/**
|
|
126
126
|
* Get service rates. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
127
127
|
* @param {GetRatesRequest} body
|
|
128
128
|
* @param {*} [options] Override http request option.
|
|
129
129
|
* @throws {RequiredError}
|
|
130
130
|
*/
|
|
131
|
-
getRates(body: GetRatesRequest, options?:
|
|
131
|
+
getRates(body: GetRatesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRatesResponse>>;
|
|
132
132
|
/**
|
|
133
133
|
* Return the entire shipment object for the shipmentId. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
134
134
|
* @param {string} shipmentId
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
getShipment(shipmentId: string, options?:
|
|
138
|
+
getShipment(shipmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetShipmentResponse>>;
|
|
139
139
|
/**
|
|
140
140
|
* Return the tracking information of a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
141
141
|
* @param {string} trackingId
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
getTrackingInformation(trackingId: string, options?:
|
|
145
|
+
getTrackingInformation(trackingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTrackingInformationResponse>>;
|
|
146
146
|
/**
|
|
147
147
|
* Purchase shipping labels based on a given rate. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
148
148
|
* @param {string} shipmentId
|
|
@@ -150,14 +150,14 @@ export declare const ShippingApiFp: (configuration?: Configuration | undefined)
|
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
*/
|
|
153
|
-
purchaseLabels(shipmentId: string, body: PurchaseLabelsRequest, options?:
|
|
153
|
+
purchaseLabels(shipmentId: string, body: PurchaseLabelsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PurchaseLabelsResponse>>;
|
|
154
154
|
/**
|
|
155
155
|
* Purchase shipping labels. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
156
156
|
* @param {PurchaseShipmentRequest} body
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
purchaseShipment(body: PurchaseShipmentRequest, options?:
|
|
160
|
+
purchaseShipment(body: PurchaseShipmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PurchaseShipmentResponse>>;
|
|
161
161
|
/**
|
|
162
162
|
* Retrieve shipping label based on the shipment id and tracking id. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
163
163
|
* @param {string} shipmentId
|
|
@@ -166,13 +166,13 @@ export declare const ShippingApiFp: (configuration?: Configuration | undefined)
|
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
retrieveShippingLabel(shipmentId: string, trackingId: string, body: RetrieveShippingLabelRequest, options?:
|
|
169
|
+
retrieveShippingLabel(shipmentId: string, trackingId: string, body: RetrieveShippingLabelRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveShippingLabelResponse>>;
|
|
170
170
|
};
|
|
171
171
|
/**
|
|
172
172
|
* ShippingApi - factory interface
|
|
173
173
|
* @export
|
|
174
174
|
*/
|
|
175
|
-
export declare const ShippingApiFactory: (configuration?: Configuration
|
|
175
|
+
export declare const ShippingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
176
176
|
/**
|
|
177
177
|
* Cancel a shipment by the given shipmentId. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
178
178
|
* @param {string} shipmentId
|
|
@@ -375,7 +375,7 @@ export declare class ShippingApi extends BaseAPI {
|
|
|
375
375
|
* @throws {RequiredError}
|
|
376
376
|
* @memberof ShippingApi
|
|
377
377
|
*/
|
|
378
|
-
cancelShipment(requestParameters: ShippingApiCancelShipmentRequest, options?:
|
|
378
|
+
cancelShipment(requestParameters: ShippingApiCancelShipmentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelShipmentResponse, any>>;
|
|
379
379
|
/**
|
|
380
380
|
* Create a new shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
381
381
|
* @param {ShippingApiCreateShipmentRequest} requestParameters Request parameters.
|
|
@@ -383,14 +383,14 @@ export declare class ShippingApi extends BaseAPI {
|
|
|
383
383
|
* @throws {RequiredError}
|
|
384
384
|
* @memberof ShippingApi
|
|
385
385
|
*/
|
|
386
|
-
createShipment(requestParameters: ShippingApiCreateShipmentRequest, options?:
|
|
386
|
+
createShipment(requestParameters: ShippingApiCreateShipmentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateShipmentResponse, any>>;
|
|
387
387
|
/**
|
|
388
388
|
* Verify if the current account is valid. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
389
389
|
* @param {*} [options] Override http request option.
|
|
390
390
|
* @throws {RequiredError}
|
|
391
391
|
* @memberof ShippingApi
|
|
392
392
|
*/
|
|
393
|
-
getAccount(options?:
|
|
393
|
+
getAccount(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountResponse, any>>;
|
|
394
394
|
/**
|
|
395
395
|
* Get service rates. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
396
396
|
* @param {ShippingApiGetRatesRequest} requestParameters Request parameters.
|
|
@@ -398,7 +398,7 @@ export declare class ShippingApi extends BaseAPI {
|
|
|
398
398
|
* @throws {RequiredError}
|
|
399
399
|
* @memberof ShippingApi
|
|
400
400
|
*/
|
|
401
|
-
getRates(requestParameters: ShippingApiGetRatesRequest, options?:
|
|
401
|
+
getRates(requestParameters: ShippingApiGetRatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRatesResponse, any>>;
|
|
402
402
|
/**
|
|
403
403
|
* Return the entire shipment object for the shipmentId. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
404
404
|
* @param {ShippingApiGetShipmentRequest} requestParameters Request parameters.
|
|
@@ -406,7 +406,7 @@ export declare class ShippingApi extends BaseAPI {
|
|
|
406
406
|
* @throws {RequiredError}
|
|
407
407
|
* @memberof ShippingApi
|
|
408
408
|
*/
|
|
409
|
-
getShipment(requestParameters: ShippingApiGetShipmentRequest, options?:
|
|
409
|
+
getShipment(requestParameters: ShippingApiGetShipmentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetShipmentResponse, any>>;
|
|
410
410
|
/**
|
|
411
411
|
* Return the tracking information of a shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
412
412
|
* @param {ShippingApiGetTrackingInformationRequest} requestParameters Request parameters.
|
|
@@ -414,7 +414,7 @@ export declare class ShippingApi extends BaseAPI {
|
|
|
414
414
|
* @throws {RequiredError}
|
|
415
415
|
* @memberof ShippingApi
|
|
416
416
|
*/
|
|
417
|
-
getTrackingInformation(requestParameters: ShippingApiGetTrackingInformationRequest, options?:
|
|
417
|
+
getTrackingInformation(requestParameters: ShippingApiGetTrackingInformationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTrackingInformationResponse, any>>;
|
|
418
418
|
/**
|
|
419
419
|
* Purchase shipping labels based on a given rate. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
420
420
|
* @param {ShippingApiPurchaseLabelsRequest} requestParameters Request parameters.
|
|
@@ -422,7 +422,7 @@ export declare class ShippingApi extends BaseAPI {
|
|
|
422
422
|
* @throws {RequiredError}
|
|
423
423
|
* @memberof ShippingApi
|
|
424
424
|
*/
|
|
425
|
-
purchaseLabels(requestParameters: ShippingApiPurchaseLabelsRequest, options?:
|
|
425
|
+
purchaseLabels(requestParameters: ShippingApiPurchaseLabelsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PurchaseLabelsResponse, any>>;
|
|
426
426
|
/**
|
|
427
427
|
* Purchase shipping labels. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
428
428
|
* @param {ShippingApiPurchaseShipmentRequest} requestParameters Request parameters.
|
|
@@ -430,7 +430,7 @@ export declare class ShippingApi extends BaseAPI {
|
|
|
430
430
|
* @throws {RequiredError}
|
|
431
431
|
* @memberof ShippingApi
|
|
432
432
|
*/
|
|
433
|
-
purchaseShipment(requestParameters: ShippingApiPurchaseShipmentRequest, options?:
|
|
433
|
+
purchaseShipment(requestParameters: ShippingApiPurchaseShipmentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PurchaseShipmentResponse, any>>;
|
|
434
434
|
/**
|
|
435
435
|
* Retrieve shipping label based on the shipment id and tracking id. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
436
436
|
* @param {ShippingApiRetrieveShippingLabelRequest} requestParameters Request parameters.
|
|
@@ -438,5 +438,5 @@ export declare class ShippingApi extends BaseAPI {
|
|
|
438
438
|
* @throws {RequiredError}
|
|
439
439
|
* @memberof ShippingApi
|
|
440
440
|
*/
|
|
441
|
-
retrieveShippingLabel(requestParameters: ShippingApiRetrieveShippingLabelRequest, options?:
|
|
441
|
+
retrieveShippingLabel(requestParameters: ShippingApiRetrieveShippingLabelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveShippingLabelResponse, any>>;
|
|
442
442
|
}
|