@sp-api-sdk/shipping-api-v1 1.8.4 → 1.8.5

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.
Files changed (59) hide show
  1. package/dist/cjs/src/api-model/api/shipping-api.js +9 -9
  2. package/dist/cjs/src/api-model/models/container.js +3 -8
  3. package/dist/cjs/src/api-model/models/dimensions.js +4 -9
  4. package/dist/cjs/src/api-model/models/label-specification.js +6 -16
  5. package/dist/cjs/src/api-model/models/service-type.js +5 -6
  6. package/dist/cjs/src/api-model/models/weight.js +6 -11
  7. package/dist/es/src/api-model/api/shipping-api.js +9 -9
  8. package/dist/es/src/api-model/models/container.js +3 -8
  9. package/dist/es/src/api-model/models/dimensions.js +4 -9
  10. package/dist/es/src/api-model/models/label-specification.js +6 -16
  11. package/dist/es/src/api-model/models/service-type.js +5 -6
  12. package/dist/es/src/api-model/models/weight.js +6 -11
  13. package/dist/types/src/api-model/api/shipping-api.d.ts +28 -28
  14. package/dist/types/src/api-model/base.d.ts +2 -2
  15. package/dist/types/src/api-model/common.d.ts +2 -2
  16. package/dist/types/src/api-model/models/accepted-rate.d.ts +4 -4
  17. package/dist/types/src/api-model/models/account.d.ts +1 -1
  18. package/dist/types/src/api-model/models/address.d.ts +11 -11
  19. package/dist/types/src/api-model/models/cancel-shipment-response.d.ts +1 -1
  20. package/dist/types/src/api-model/models/container-item.d.ts +4 -4
  21. package/dist/types/src/api-model/models/container-specification.d.ts +2 -2
  22. package/dist/types/src/api-model/models/container.d.ts +10 -13
  23. package/dist/types/src/api-model/models/create-shipment-request.d.ts +4 -4
  24. package/dist/types/src/api-model/models/create-shipment-response.d.ts +2 -2
  25. package/dist/types/src/api-model/models/create-shipment-result.d.ts +2 -2
  26. package/dist/types/src/api-model/models/currency.d.ts +2 -2
  27. package/dist/types/src/api-model/models/dimensions.d.ts +9 -12
  28. package/dist/types/src/api-model/models/event.d.ts +3 -3
  29. package/dist/types/src/api-model/models/get-account-response.d.ts +2 -2
  30. package/dist/types/src/api-model/models/get-rates-request.d.ts +5 -5
  31. package/dist/types/src/api-model/models/get-rates-response.d.ts +2 -2
  32. package/dist/types/src/api-model/models/get-rates-result.d.ts +1 -1
  33. package/dist/types/src/api-model/models/get-shipment-response.d.ts +2 -2
  34. package/dist/types/src/api-model/models/get-tracking-information-response.d.ts +2 -2
  35. package/dist/types/src/api-model/models/label-result.d.ts +3 -3
  36. package/dist/types/src/api-model/models/label-specification.d.ts +10 -16
  37. package/dist/types/src/api-model/models/label.d.ts +2 -2
  38. package/dist/types/src/api-model/models/location.d.ts +4 -4
  39. package/dist/types/src/api-model/models/model-error.d.ts +3 -3
  40. package/dist/types/src/api-model/models/party.d.ts +1 -1
  41. package/dist/types/src/api-model/models/purchase-labels-request.d.ts +2 -2
  42. package/dist/types/src/api-model/models/purchase-labels-response.d.ts +2 -2
  43. package/dist/types/src/api-model/models/purchase-labels-result.d.ts +4 -4
  44. package/dist/types/src/api-model/models/purchase-shipment-request.d.ts +7 -7
  45. package/dist/types/src/api-model/models/purchase-shipment-response.d.ts +2 -2
  46. package/dist/types/src/api-model/models/purchase-shipment-result.d.ts +3 -3
  47. package/dist/types/src/api-model/models/rate.d.ts +6 -6
  48. package/dist/types/src/api-model/models/retrieve-shipping-label-request.d.ts +1 -1
  49. package/dist/types/src/api-model/models/retrieve-shipping-label-response.d.ts +2 -2
  50. package/dist/types/src/api-model/models/retrieve-shipping-label-result.d.ts +2 -2
  51. package/dist/types/src/api-model/models/service-rate.d.ts +4 -4
  52. package/dist/types/src/api-model/models/service-type.d.ts +6 -5
  53. package/dist/types/src/api-model/models/shipment.d.ts +7 -7
  54. package/dist/types/src/api-model/models/shipping-promise-set.d.ts +2 -2
  55. package/dist/types/src/api-model/models/time-range.d.ts +2 -2
  56. package/dist/types/src/api-model/models/tracking-information.d.ts +4 -4
  57. package/dist/types/src/api-model/models/tracking-summary.d.ts +1 -1
  58. package/dist/types/src/api-model/models/weight.d.ts +9 -12
  59. package/package.json +2 -2
@@ -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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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
- * @export
19
- * @enum {string}
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
- * @export
19
- * @enum {string}
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
- * @export
19
- * @enum {string}
20
- */
21
- var LabelSpecificationLabelFormatEnum;
22
- (function (LabelSpecificationLabelFormatEnum) {
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
- var ServiceType;
23
- (function (ServiceType) {
24
- ServiceType["Ground"] = "Amazon Shipping Ground";
25
- ServiceType["Standard"] = "Amazon Shipping Standard";
26
- ServiceType["Premium"] = "Amazon Shipping Premium";
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
- * @export
19
- * @enum {string}
20
- */
21
- var WeightUnitEnum;
22
- (function (WeightUnitEnum) {
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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, options.query);
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
- * @export
16
- * @enum {string}
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
- * @export
16
- * @enum {string}
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
- * @export
16
- * @enum {string}
17
- */
18
- export var LabelSpecificationLabelFormatEnum;
19
- (function (LabelSpecificationLabelFormatEnum) {
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 var ServiceType;
20
- (function (ServiceType) {
21
- ServiceType["Ground"] = "Amazon Shipping Ground";
22
- ServiceType["Standard"] = "Amazon Shipping Standard";
23
- ServiceType["Premium"] = "Amazon Shipping Premium";
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
- * @export
16
- * @enum {string}
17
- */
18
- export var WeightUnitEnum;
19
- (function (WeightUnitEnum) {
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';
@@ -37,41 +37,41 @@ export declare const ShippingApiAxiosParamCreator: (configuration?: Configuratio
37
37
  * @param {*} [options] Override http request option.
38
38
  * @throws {RequiredError}
39
39
  */
40
- cancelShipment: (shipmentId: string, options?: any) => Promise<RequestArgs>;
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?: any) => Promise<RequestArgs>;
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?: any) => Promise<RequestArgs>;
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?: any) => Promise<RequestArgs>;
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?: any) => Promise<RequestArgs>;
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?: any) => Promise<RequestArgs>;
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?: any) => Promise<RequestArgs>;
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?: any) => Promise<RequestArgs>;
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,7 +95,7 @@ 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?: any) => Promise<RequestArgs>;
98
+ retrieveShippingLabel: (shipmentId: string, trackingId: string, body: RetrieveShippingLabelRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
99
99
  };
100
100
  /**
101
101
  * ShippingApi - functional programming interface
@@ -108,41 +108,41 @@ export declare const ShippingApiFp: (configuration?: Configuration | undefined)
108
108
  * @param {*} [options] Override http request option.
109
109
  * @throws {RequiredError}
110
110
  */
111
- cancelShipment(shipmentId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CancelShipmentResponse>>;
111
+ cancelShipment(shipmentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => 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?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreateShipmentResponse>>;
118
+ createShipment(body: CreateShipmentRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => 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?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetAccountResponse>>;
124
+ getAccount(options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => 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?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetRatesResponse>>;
131
+ getRates(body: GetRatesRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => 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?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetShipmentResponse>>;
138
+ getShipment(shipmentId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => 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?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetTrackingInformationResponse>>;
145
+ getTrackingInformation(trackingId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => 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?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PurchaseLabelsResponse>>;
153
+ purchaseLabels(shipmentId: string, body: PurchaseLabelsRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => 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?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PurchaseShipmentResponse>>;
160
+ purchaseShipment(body: PurchaseShipmentRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => 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,7 +166,7 @@ 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?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<RetrieveShippingLabelResponse>>;
169
+ retrieveShippingLabel(shipmentId: string, trackingId: string, body: RetrieveShippingLabelRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<RetrieveShippingLabelResponse>>;
170
170
  };
171
171
  /**
172
172
  * ShippingApi - factory interface
@@ -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?: any): Promise<import("axios").AxiosResponse<CancelShipmentResponse, any>>;
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?: any): Promise<import("axios").AxiosResponse<CreateShipmentResponse, any>>;
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?: any): Promise<import("axios").AxiosResponse<GetAccountResponse, any>>;
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?: any): Promise<import("axios").AxiosResponse<GetRatesResponse, any>>;
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?: any): Promise<import("axios").AxiosResponse<GetShipmentResponse, any>>;
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?: any): Promise<import("axios").AxiosResponse<GetTrackingInformationResponse, any>>;
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?: any): Promise<import("axios").AxiosResponse<PurchaseLabelsResponse, any>>;
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?: any): Promise<import("axios").AxiosResponse<PurchaseShipmentResponse, any>>;
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?: any): Promise<import("axios").AxiosResponse<RetrieveShippingLabelResponse, any>>;
441
+ retrieveShippingLabel(requestParameters: ShippingApiRetrieveShippingLabelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveShippingLabelResponse, any>>;
442
442
  }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
- import { AxiosInstance } from 'axios';
13
+ import { AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
15
  /**
16
16
  *
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
29
29
  */
30
30
  export interface RequestArgs {
31
31
  url: string;
32
- options: any;
32
+ options: AxiosRequestConfig;
33
33
  }
34
34
  /**
35
35
  *
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { Configuration } from "./configuration";
13
13
  import { RequestArgs } from "./base";
14
- import { AxiosInstance } from 'axios';
14
+ import { AxiosInstance, AxiosResponse } from 'axios';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;