@sp-api-sdk/merchant-fulfillment-api-v0 1.10.3 → 1.10.6
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/merchant-fulfillment-api.js +8 -8
- package/dist/cjs/src/api-model/models/carrier-will-pick-up-option.js +5 -6
- package/dist/cjs/src/api-model/models/delivery-experience-option.js +7 -8
- package/dist/cjs/src/api-model/models/delivery-experience-type.js +6 -7
- package/dist/cjs/src/api-model/models/file-type.js +5 -6
- package/dist/cjs/src/api-model/models/hazmat-type.js +4 -5
- package/dist/cjs/src/api-model/models/input-target-type.js +4 -5
- package/dist/cjs/src/api-model/models/label-format.js +7 -8
- package/dist/cjs/src/api-model/models/predefined-package-dimensions.js +52 -53
- package/dist/cjs/src/api-model/models/shipment-status.js +6 -7
- package/dist/cjs/src/api-model/models/standard-id-for-label.js +3 -4
- package/dist/cjs/src/api-model/models/unit-of-length.js +4 -5
- package/dist/cjs/src/api-model/models/unit-of-weight.js +4 -5
- package/dist/es/src/api-model/api/merchant-fulfillment-api.js +8 -8
- package/dist/es/src/api-model/models/carrier-will-pick-up-option.js +5 -6
- package/dist/es/src/api-model/models/delivery-experience-option.js +7 -8
- package/dist/es/src/api-model/models/delivery-experience-type.js +6 -7
- package/dist/es/src/api-model/models/file-type.js +5 -6
- package/dist/es/src/api-model/models/hazmat-type.js +4 -5
- package/dist/es/src/api-model/models/input-target-type.js +4 -5
- package/dist/es/src/api-model/models/label-format.js +7 -8
- package/dist/es/src/api-model/models/predefined-package-dimensions.js +52 -53
- package/dist/es/src/api-model/models/shipment-status.js +6 -7
- package/dist/es/src/api-model/models/standard-id-for-label.js +3 -4
- package/dist/es/src/api-model/models/unit-of-length.js +4 -5
- package/dist/es/src/api-model/models/unit-of-weight.js +4 -5
- package/dist/types/src/api-model/api/merchant-fulfillment-api.d.ts +28 -28
- 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/additional-inputs.d.ts +2 -2
- package/dist/types/src/api-model/models/additional-seller-input.d.ts +9 -9
- package/dist/types/src/api-model/models/additional-seller-inputs.d.ts +2 -2
- package/dist/types/src/api-model/models/address.d.ts +11 -11
- package/dist/types/src/api-model/models/available-carrier-will-pick-up-option.d.ts +2 -2
- package/dist/types/src/api-model/models/available-delivery-experience-option.d.ts +2 -2
- package/dist/types/src/api-model/models/available-shipping-service-options.d.ts +2 -2
- package/dist/types/src/api-model/models/cancel-shipment-response.d.ts +2 -2
- package/dist/types/src/api-model/models/carrier-will-pick-up-option.d.ts +6 -5
- package/dist/types/src/api-model/models/constraint.d.ts +2 -2
- package/dist/types/src/api-model/models/create-shipment-request.d.ts +6 -6
- package/dist/types/src/api-model/models/create-shipment-response.d.ts +2 -2
- package/dist/types/src/api-model/models/currency-amount.d.ts +2 -2
- package/dist/types/src/api-model/models/delivery-experience-option.d.ts +8 -7
- package/dist/types/src/api-model/models/delivery-experience-type.d.ts +7 -6
- package/dist/types/src/api-model/models/file-contents.d.ts +3 -3
- package/dist/types/src/api-model/models/file-type.d.ts +6 -5
- package/dist/types/src/api-model/models/get-additional-seller-inputs-request.d.ts +3 -3
- package/dist/types/src/api-model/models/get-additional-seller-inputs-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-additional-seller-inputs-result.d.ts +2 -2
- package/dist/types/src/api-model/models/get-eligible-shipment-services-request.d.ts +2 -2
- package/dist/types/src/api-model/models/get-eligible-shipment-services-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-eligible-shipment-services-result.d.ts +4 -4
- package/dist/types/src/api-model/models/get-shipment-response.d.ts +2 -2
- package/dist/types/src/api-model/models/hazmat-type.d.ts +5 -4
- package/dist/types/src/api-model/models/input-target-type.d.ts +5 -4
- package/dist/types/src/api-model/models/item-level-fields.d.ts +2 -2
- package/dist/types/src/api-model/models/item.d.ts +6 -6
- package/dist/types/src/api-model/models/label-customization.d.ts +2 -2
- package/dist/types/src/api-model/models/label-dimensions.d.ts +3 -3
- package/dist/types/src/api-model/models/label-format-option-request.d.ts +1 -1
- package/dist/types/src/api-model/models/label-format-option.d.ts +2 -2
- package/dist/types/src/api-model/models/label-format.d.ts +8 -7
- package/dist/types/src/api-model/models/label.d.ts +5 -5
- package/dist/types/src/api-model/models/length.d.ts +2 -2
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/package-dimensions.d.ts +5 -5
- package/dist/types/src/api-model/models/predefined-package-dimensions.d.ts +53 -52
- package/dist/types/src/api-model/models/rejected-shipping-service.d.ts +5 -5
- package/dist/types/src/api-model/models/seller-input-definition.d.ts +7 -7
- package/dist/types/src/api-model/models/shipment-request-details.d.ts +10 -10
- package/dist/types/src/api-model/models/shipment-status.d.ts +7 -6
- package/dist/types/src/api-model/models/shipment.d.ts +15 -15
- package/dist/types/src/api-model/models/shipping-offering-filter.d.ts +4 -4
- package/dist/types/src/api-model/models/shipping-service-options.d.ts +5 -5
- package/dist/types/src/api-model/models/shipping-service.d.ts +13 -13
- package/dist/types/src/api-model/models/standard-id-for-label.d.ts +4 -3
- package/dist/types/src/api-model/models/temporarily-unavailable-carrier.d.ts +1 -1
- package/dist/types/src/api-model/models/terms-and-conditions-not-accepted-carrier.d.ts +1 -1
- package/dist/types/src/api-model/models/unit-of-length.d.ts +5 -4
- package/dist/types/src/api-model/models/unit-of-weight.d.ts +5 -4
- package/dist/types/src/api-model/models/weight.d.ts +2 -2
- package/package.json +4 -4
|
@@ -47,7 +47,7 @@ const MerchantFulfillmentApiAxiosParamCreator = function (configuration) {
|
|
|
47
47
|
const localVarRequestOptions = { method: 'DELETE', ...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 MerchantFulfillmentApiAxiosParamCreator = function (configuration) {
|
|
|
75
75
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
76
76
|
const localVarHeaderParameter = {};
|
|
77
77
|
const localVarQueryParameter = {};
|
|
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
|
return {
|
|
@@ -103,7 +103,7 @@ const MerchantFulfillmentApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
const localVarHeaderParameter = {};
|
|
104
104
|
const localVarQueryParameter = {};
|
|
105
105
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
106
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
106
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
107
107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
108
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
109
109
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -132,7 +132,7 @@ const MerchantFulfillmentApiAxiosParamCreator = function (configuration) {
|
|
|
132
132
|
const localVarHeaderParameter = {};
|
|
133
133
|
const localVarQueryParameter = {};
|
|
134
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
135
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
136
136
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
137
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
138
138
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -161,7 +161,7 @@ const MerchantFulfillmentApiAxiosParamCreator = function (configuration) {
|
|
|
161
161
|
const localVarHeaderParameter = {};
|
|
162
162
|
const localVarQueryParameter = {};
|
|
163
163
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
164
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
164
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
165
165
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
166
166
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
167
167
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -190,7 +190,7 @@ const MerchantFulfillmentApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
const localVarHeaderParameter = {};
|
|
191
191
|
const localVarQueryParameter = {};
|
|
192
192
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
193
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
193
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
194
194
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
195
195
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
196
196
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -219,7 +219,7 @@ const MerchantFulfillmentApiAxiosParamCreator = function (configuration) {
|
|
|
219
219
|
const localVarHeaderParameter = {};
|
|
220
220
|
const localVarQueryParameter = {};
|
|
221
221
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
222
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
222
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
223
223
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
224
224
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
225
225
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
@@ -248,7 +248,7 @@ const MerchantFulfillmentApiAxiosParamCreator = function (configuration) {
|
|
|
248
248
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
249
249
|
const localVarHeaderParameter = {};
|
|
250
250
|
const localVarQueryParameter = {};
|
|
251
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
251
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
252
252
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
253
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
254
254
|
return {
|
|
@@ -19,9 +19,8 @@ exports.CarrierWillPickUpOption = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})(CarrierWillPickUpOption = exports.CarrierWillPickUpOption || (exports.CarrierWillPickUpOption = {}));
|
|
22
|
+
exports.CarrierWillPickUpOption = {
|
|
23
|
+
CarrierWillPickUp: 'CarrierWillPickUp',
|
|
24
|
+
ShipperWillDropOff: 'ShipperWillDropOff',
|
|
25
|
+
NoPreference: 'NoPreference'
|
|
26
|
+
};
|
|
@@ -19,11 +19,10 @@ exports.DeliveryExperienceOption = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})(DeliveryExperienceOption = exports.DeliveryExperienceOption || (exports.DeliveryExperienceOption = {}));
|
|
22
|
+
exports.DeliveryExperienceOption = {
|
|
23
|
+
DeliveryConfirmationWithAdultSignature: 'DeliveryConfirmationWithAdultSignature',
|
|
24
|
+
DeliveryConfirmationWithSignature: 'DeliveryConfirmationWithSignature',
|
|
25
|
+
DeliveryConfirmationWithoutSignature: 'DeliveryConfirmationWithoutSignature',
|
|
26
|
+
NoTracking: 'NoTracking',
|
|
27
|
+
NoPreference: 'NoPreference'
|
|
28
|
+
};
|
|
@@ -19,10 +19,9 @@ exports.DeliveryExperienceType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})(DeliveryExperienceType = exports.DeliveryExperienceType || (exports.DeliveryExperienceType = {}));
|
|
22
|
+
exports.DeliveryExperienceType = {
|
|
23
|
+
DeliveryConfirmationWithAdultSignature: 'DeliveryConfirmationWithAdultSignature',
|
|
24
|
+
DeliveryConfirmationWithSignature: 'DeliveryConfirmationWithSignature',
|
|
25
|
+
DeliveryConfirmationWithoutSignature: 'DeliveryConfirmationWithoutSignature',
|
|
26
|
+
NoTracking: 'NoTracking'
|
|
27
|
+
};
|
|
@@ -19,9 +19,8 @@ exports.FileType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
})(FileType = exports.FileType || (exports.FileType = {}));
|
|
22
|
+
exports.FileType = {
|
|
23
|
+
ApplicationPdf: 'application/pdf',
|
|
24
|
+
ApplicationZpl: 'application/zpl',
|
|
25
|
+
ImagePng: 'image/png'
|
|
26
|
+
};
|
|
@@ -19,8 +19,7 @@ exports.HazmatType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(HazmatType = exports.HazmatType || (exports.HazmatType = {}));
|
|
22
|
+
exports.HazmatType = {
|
|
23
|
+
None: 'None',
|
|
24
|
+
LqHazmat: 'LQHazmat'
|
|
25
|
+
};
|
|
@@ -19,8 +19,7 @@ exports.InputTargetType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(InputTargetType = exports.InputTargetType || (exports.InputTargetType = {}));
|
|
22
|
+
exports.InputTargetType = {
|
|
23
|
+
ShipmentLevel: 'SHIPMENT_LEVEL',
|
|
24
|
+
ItemLevel: 'ITEM_LEVEL'
|
|
25
|
+
};
|
|
@@ -19,11 +19,10 @@ exports.LabelFormat = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})(LabelFormat = exports.LabelFormat || (exports.LabelFormat = {}));
|
|
22
|
+
exports.LabelFormat = {
|
|
23
|
+
Pdf: 'PDF',
|
|
24
|
+
Png: 'PNG',
|
|
25
|
+
Zpl203: 'ZPL203',
|
|
26
|
+
Zpl300: 'ZPL300',
|
|
27
|
+
ShippingServiceDefault: 'ShippingServiceDefault'
|
|
28
|
+
};
|
|
@@ -19,56 +19,55 @@ exports.PredefinedPackageDimensions = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
})(PredefinedPackageDimensions = exports.PredefinedPackageDimensions || (exports.PredefinedPackageDimensions = {}));
|
|
22
|
+
exports.PredefinedPackageDimensions = {
|
|
23
|
+
FedExBox10kg: 'FedEx_Box_10kg',
|
|
24
|
+
FedExBox25kg: 'FedEx_Box_25kg',
|
|
25
|
+
FedExBoxExtraLarge1: 'FedEx_Box_Extra_Large_1',
|
|
26
|
+
FedExBoxExtraLarge2: 'FedEx_Box_Extra_Large_2',
|
|
27
|
+
FedExBoxLarge1: 'FedEx_Box_Large_1',
|
|
28
|
+
FedExBoxLarge2: 'FedEx_Box_Large_2',
|
|
29
|
+
FedExBoxMedium1: 'FedEx_Box_Medium_1',
|
|
30
|
+
FedExBoxMedium2: 'FedEx_Box_Medium_2',
|
|
31
|
+
FedExBoxSmall1: 'FedEx_Box_Small_1',
|
|
32
|
+
FedExBoxSmall2: 'FedEx_Box_Small_2',
|
|
33
|
+
FedExEnvelope: 'FedEx_Envelope',
|
|
34
|
+
FedExPaddedPak: 'FedEx_Padded_Pak',
|
|
35
|
+
FedExPak1: 'FedEx_Pak_1',
|
|
36
|
+
FedExPak2: 'FedEx_Pak_2',
|
|
37
|
+
FedExTube: 'FedEx_Tube',
|
|
38
|
+
FedExXlPak: 'FedEx_XL_Pak',
|
|
39
|
+
UpsBox10kg: 'UPS_Box_10kg',
|
|
40
|
+
UpsBox25kg: 'UPS_Box_25kg',
|
|
41
|
+
UpsExpressBox: 'UPS_Express_Box',
|
|
42
|
+
UpsExpressBoxLarge: 'UPS_Express_Box_Large',
|
|
43
|
+
UpsExpressBoxMedium: 'UPS_Express_Box_Medium',
|
|
44
|
+
UpsExpressBoxSmall: 'UPS_Express_Box_Small',
|
|
45
|
+
UpsExpressEnvelope: 'UPS_Express_Envelope',
|
|
46
|
+
UpsExpressHardPak: 'UPS_Express_Hard_Pak',
|
|
47
|
+
UpsExpressLegalEnvelope: 'UPS_Express_Legal_Envelope',
|
|
48
|
+
UpsExpressPak: 'UPS_Express_Pak',
|
|
49
|
+
UpsExpressTube: 'UPS_Express_Tube',
|
|
50
|
+
UpsLaboratoryPak: 'UPS_Laboratory_Pak',
|
|
51
|
+
UpsPadPak: 'UPS_Pad_Pak',
|
|
52
|
+
UpsPallet: 'UPS_Pallet',
|
|
53
|
+
UspsCard: 'USPS_Card',
|
|
54
|
+
UspsFlat: 'USPS_Flat',
|
|
55
|
+
UspsFlatRateCardboardEnvelope: 'USPS_FlatRateCardboardEnvelope',
|
|
56
|
+
UspsFlatRateEnvelope: 'USPS_FlatRateEnvelope',
|
|
57
|
+
UspsFlatRateGiftCardEnvelope: 'USPS_FlatRateGiftCardEnvelope',
|
|
58
|
+
UspsFlatRateLegalEnvelope: 'USPS_FlatRateLegalEnvelope',
|
|
59
|
+
UspsFlatRatePaddedEnvelope: 'USPS_FlatRatePaddedEnvelope',
|
|
60
|
+
UspsFlatRateWindowEnvelope: 'USPS_FlatRateWindowEnvelope',
|
|
61
|
+
UspsLargeFlatRateBoardGameBox: 'USPS_LargeFlatRateBoardGameBox',
|
|
62
|
+
UspsLargeFlatRateBox: 'USPS_LargeFlatRateBox',
|
|
63
|
+
UspsLetter: 'USPS_Letter',
|
|
64
|
+
UspsMediumFlatRateBox1: 'USPS_MediumFlatRateBox1',
|
|
65
|
+
UspsMediumFlatRateBox2: 'USPS_MediumFlatRateBox2',
|
|
66
|
+
UspsRegionalRateBoxA1: 'USPS_RegionalRateBoxA1',
|
|
67
|
+
UspsRegionalRateBoxA2: 'USPS_RegionalRateBoxA2',
|
|
68
|
+
UspsRegionalRateBoxB1: 'USPS_RegionalRateBoxB1',
|
|
69
|
+
UspsRegionalRateBoxB2: 'USPS_RegionalRateBoxB2',
|
|
70
|
+
UspsRegionalRateBoxC: 'USPS_RegionalRateBoxC',
|
|
71
|
+
UspsSmallFlatRateBox: 'USPS_SmallFlatRateBox',
|
|
72
|
+
UspsSmallFlatRateEnvelope: 'USPS_SmallFlatRateEnvelope'
|
|
73
|
+
};
|
|
@@ -19,10 +19,9 @@ exports.ShipmentStatus = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})(ShipmentStatus = exports.ShipmentStatus || (exports.ShipmentStatus = {}));
|
|
22
|
+
exports.ShipmentStatus = {
|
|
23
|
+
Purchased: 'Purchased',
|
|
24
|
+
RefundPending: 'RefundPending',
|
|
25
|
+
RefundRejected: 'RefundRejected',
|
|
26
|
+
RefundApplied: 'RefundApplied'
|
|
27
|
+
};
|
|
@@ -19,7 +19,6 @@ exports.StandardIdForLabel = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(StandardIdForLabel = exports.StandardIdForLabel || (exports.StandardIdForLabel = {}));
|
|
22
|
+
exports.StandardIdForLabel = {
|
|
23
|
+
AmazonOrderId: 'AmazonOrderId'
|
|
24
|
+
};
|
|
@@ -19,8 +19,7 @@ exports.UnitOfLength = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(UnitOfLength = exports.UnitOfLength || (exports.UnitOfLength = {}));
|
|
22
|
+
exports.UnitOfLength = {
|
|
23
|
+
Inches: 'inches',
|
|
24
|
+
Centimeters: 'centimeters'
|
|
25
|
+
};
|
|
@@ -19,8 +19,7 @@ exports.UnitOfWeight = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(UnitOfWeight = exports.UnitOfWeight || (exports.UnitOfWeight = {}));
|
|
22
|
+
exports.UnitOfWeight = {
|
|
23
|
+
Oz: 'oz',
|
|
24
|
+
G: 'g'
|
|
25
|
+
};
|
|
@@ -43,7 +43,7 @@ export const MerchantFulfillmentApiAxiosParamCreator = function (configuration)
|
|
|
43
43
|
const localVarRequestOptions = { method: 'DELETE', ...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 MerchantFulfillmentApiAxiosParamCreator = function (configuration)
|
|
|
71
71
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
72
72
|
const localVarHeaderParameter = {};
|
|
73
73
|
const localVarQueryParameter = {};
|
|
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
|
return {
|
|
@@ -99,7 +99,7 @@ export const MerchantFulfillmentApiAxiosParamCreator = function (configuration)
|
|
|
99
99
|
const localVarHeaderParameter = {};
|
|
100
100
|
const localVarQueryParameter = {};
|
|
101
101
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
102
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
102
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103
103
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
104
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
105
105
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -128,7 +128,7 @@ export const MerchantFulfillmentApiAxiosParamCreator = function (configuration)
|
|
|
128
128
|
const localVarHeaderParameter = {};
|
|
129
129
|
const localVarQueryParameter = {};
|
|
130
130
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
131
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
131
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
132
132
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
133
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
134
134
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -157,7 +157,7 @@ export const MerchantFulfillmentApiAxiosParamCreator = function (configuration)
|
|
|
157
157
|
const localVarHeaderParameter = {};
|
|
158
158
|
const localVarQueryParameter = {};
|
|
159
159
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
160
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
160
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
161
161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
162
162
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
163
163
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -186,7 +186,7 @@ export const MerchantFulfillmentApiAxiosParamCreator = function (configuration)
|
|
|
186
186
|
const localVarHeaderParameter = {};
|
|
187
187
|
const localVarQueryParameter = {};
|
|
188
188
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
189
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
189
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
190
190
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
191
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
192
192
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -215,7 +215,7 @@ export const MerchantFulfillmentApiAxiosParamCreator = function (configuration)
|
|
|
215
215
|
const localVarHeaderParameter = {};
|
|
216
216
|
const localVarQueryParameter = {};
|
|
217
217
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
218
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
219
219
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
220
220
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
221
221
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
@@ -244,7 +244,7 @@ export const MerchantFulfillmentApiAxiosParamCreator = function (configuration)
|
|
|
244
244
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
245
245
|
const localVarHeaderParameter = {};
|
|
246
246
|
const localVarQueryParameter = {};
|
|
247
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
247
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
248
248
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
249
249
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
250
250
|
return {
|
|
@@ -16,9 +16,8 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(CarrierWillPickUpOption || (CarrierWillPickUpOption = {}));
|
|
19
|
+
export const CarrierWillPickUpOption = {
|
|
20
|
+
CarrierWillPickUp: 'CarrierWillPickUp',
|
|
21
|
+
ShipperWillDropOff: 'ShipperWillDropOff',
|
|
22
|
+
NoPreference: 'NoPreference'
|
|
23
|
+
};
|
|
@@ -16,11 +16,10 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(DeliveryExperienceOption || (DeliveryExperienceOption = {}));
|
|
19
|
+
export const DeliveryExperienceOption = {
|
|
20
|
+
DeliveryConfirmationWithAdultSignature: 'DeliveryConfirmationWithAdultSignature',
|
|
21
|
+
DeliveryConfirmationWithSignature: 'DeliveryConfirmationWithSignature',
|
|
22
|
+
DeliveryConfirmationWithoutSignature: 'DeliveryConfirmationWithoutSignature',
|
|
23
|
+
NoTracking: 'NoTracking',
|
|
24
|
+
NoPreference: 'NoPreference'
|
|
25
|
+
};
|
|
@@ -16,10 +16,9 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(DeliveryExperienceType || (DeliveryExperienceType = {}));
|
|
19
|
+
export const DeliveryExperienceType = {
|
|
20
|
+
DeliveryConfirmationWithAdultSignature: 'DeliveryConfirmationWithAdultSignature',
|
|
21
|
+
DeliveryConfirmationWithSignature: 'DeliveryConfirmationWithSignature',
|
|
22
|
+
DeliveryConfirmationWithoutSignature: 'DeliveryConfirmationWithoutSignature',
|
|
23
|
+
NoTracking: 'NoTracking'
|
|
24
|
+
};
|
|
@@ -16,9 +16,8 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(FileType || (FileType = {}));
|
|
19
|
+
export const FileType = {
|
|
20
|
+
ApplicationPdf: 'application/pdf',
|
|
21
|
+
ApplicationZpl: 'application/zpl',
|
|
22
|
+
ImagePng: 'image/png'
|
|
23
|
+
};
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(HazmatType || (HazmatType = {}));
|
|
19
|
+
export const HazmatType = {
|
|
20
|
+
None: 'None',
|
|
21
|
+
LqHazmat: 'LQHazmat'
|
|
22
|
+
};
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(InputTargetType || (InputTargetType = {}));
|
|
19
|
+
export const InputTargetType = {
|
|
20
|
+
ShipmentLevel: 'SHIPMENT_LEVEL',
|
|
21
|
+
ItemLevel: 'ITEM_LEVEL'
|
|
22
|
+
};
|
|
@@ -16,11 +16,10 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(LabelFormat || (LabelFormat = {}));
|
|
19
|
+
export const LabelFormat = {
|
|
20
|
+
Pdf: 'PDF',
|
|
21
|
+
Png: 'PNG',
|
|
22
|
+
Zpl203: 'ZPL203',
|
|
23
|
+
Zpl300: 'ZPL300',
|
|
24
|
+
ShippingServiceDefault: 'ShippingServiceDefault'
|
|
25
|
+
};
|