@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.6.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/cjs/api-model/api/fulfillment-outbound-api.js +8 -8
  2. package/dist/cjs/api-model/common.js +1 -0
  3. package/dist/cjs/api-model/configuration.js +2 -2
  4. package/dist/cjs/api-model/models/additional-location-info.js +1 -1
  5. package/dist/cjs/api-model/models/amount.js +1 -1
  6. package/dist/cjs/api-model/models/current-status.js +1 -1
  7. package/dist/cjs/api-model/models/drop-off-location.js +1 -1
  8. package/dist/cjs/api-model/models/event-code.js +3 -1
  9. package/dist/cjs/api-model/models/feature-settings.js +1 -1
  10. package/dist/cjs/api-model/models/fee.js +1 -1
  11. package/dist/cjs/api-model/models/fulfillment-action.js +1 -1
  12. package/dist/cjs/api-model/models/fulfillment-order-status.js +1 -1
  13. package/dist/cjs/api-model/models/fulfillment-policy.js +1 -1
  14. package/dist/cjs/api-model/models/fulfillment-preview-item.js +1 -1
  15. package/dist/cjs/api-model/models/fulfillment-return-item-status.js +1 -1
  16. package/dist/cjs/api-model/models/fulfillment-shipment.js +1 -1
  17. package/dist/cjs/api-model/models/invalid-item-reason-code.js +1 -1
  18. package/dist/cjs/api-model/models/return-item-disposition.js +1 -1
  19. package/dist/cjs/api-model/models/shipping-speed-category.js +1 -1
  20. package/dist/cjs/api-model/models/weight.js +1 -1
  21. package/dist/es/api-model/api/fulfillment-outbound-api.js +8 -8
  22. package/dist/es/api-model/common.js +1 -0
  23. package/dist/es/api-model/configuration.js +2 -2
  24. package/dist/es/api-model/models/additional-location-info.js +1 -1
  25. package/dist/es/api-model/models/amount.js +1 -1
  26. package/dist/es/api-model/models/current-status.js +1 -1
  27. package/dist/es/api-model/models/drop-off-location.js +1 -1
  28. package/dist/es/api-model/models/event-code.js +3 -1
  29. package/dist/es/api-model/models/feature-settings.js +1 -1
  30. package/dist/es/api-model/models/fee.js +1 -1
  31. package/dist/es/api-model/models/fulfillment-action.js +1 -1
  32. package/dist/es/api-model/models/fulfillment-order-status.js +1 -1
  33. package/dist/es/api-model/models/fulfillment-policy.js +1 -1
  34. package/dist/es/api-model/models/fulfillment-preview-item.js +1 -1
  35. package/dist/es/api-model/models/fulfillment-return-item-status.js +1 -1
  36. package/dist/es/api-model/models/fulfillment-shipment.js +1 -1
  37. package/dist/es/api-model/models/invalid-item-reason-code.js +1 -1
  38. package/dist/es/api-model/models/return-item-disposition.js +1 -1
  39. package/dist/es/api-model/models/shipping-speed-category.js +1 -1
  40. package/dist/es/api-model/models/weight.js +1 -1
  41. package/dist/types/api-model/common.d.ts +1 -1
  42. package/dist/types/api-model/models/event-code.d.ts +2 -0
  43. package/package.json +4 -4
@@ -38,7 +38,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
38
38
  // verify required parameter 'sellerFulfillmentOrderId' is not null or undefined
39
39
  (0, common_1.assertParamExists)('cancelFulfillmentOrder', 'sellerFulfillmentOrderId', sellerFulfillmentOrderId);
40
40
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/cancel`
41
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
41
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
42
42
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
43
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
44
44
  let baseOptions;
@@ -100,7 +100,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
100
100
  // verify required parameter 'body' is not null or undefined
101
101
  (0, common_1.assertParamExists)('createFulfillmentReturn', 'body', body);
102
102
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/return`
103
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
103
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
104
104
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
105
105
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
106
106
  let baseOptions;
@@ -166,7 +166,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
166
166
  // verify required parameter 'featureName' is not null or undefined
167
167
  (0, common_1.assertParamExists)('getFeatureInventory', 'featureName', featureName);
168
168
  const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}`
169
- .replace(`{${"featureName"}}`, encodeURIComponent(String(featureName)));
169
+ .replace('{featureName}', encodeURIComponent(String(featureName)));
170
170
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
171
171
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
172
172
  let baseOptions;
@@ -212,8 +212,8 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
212
212
  // verify required parameter 'sellerSku' is not null or undefined
213
213
  (0, common_1.assertParamExists)('getFeatureSKU', 'sellerSku', sellerSku);
214
214
  const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}/{sellerSku}`
215
- .replace(`{${"featureName"}}`, encodeURIComponent(String(featureName)))
216
- .replace(`{${"sellerSku"}}`, encodeURIComponent(String(sellerSku)));
215
+ .replace('{featureName}', encodeURIComponent(String(featureName)))
216
+ .replace('{sellerSku}', encodeURIComponent(String(sellerSku)));
217
217
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
218
218
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
219
219
  let baseOptions;
@@ -276,7 +276,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
276
276
  // verify required parameter 'sellerFulfillmentOrderId' is not null or undefined
277
277
  (0, common_1.assertParamExists)('getFulfillmentOrder', 'sellerFulfillmentOrderId', sellerFulfillmentOrderId);
278
278
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`
279
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
279
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
280
280
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
281
281
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
282
282
  let baseOptions;
@@ -447,7 +447,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
447
447
  // verify required parameter 'body' is not null or undefined
448
448
  (0, common_1.assertParamExists)('submitFulfillmentOrderStatusUpdate', 'body', body);
449
449
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/status`
450
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
450
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
451
451
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
452
452
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
453
453
  let baseOptions;
@@ -481,7 +481,7 @@ const FulfillmentOutboundApiAxiosParamCreator = function (configuration) {
481
481
  // verify required parameter 'body' is not null or undefined
482
482
  (0, common_1.assertParamExists)('updateFulfillmentOrder', 'body', body);
483
483
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`
484
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
484
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
485
485
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
486
486
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
487
487
  let baseOptions;
@@ -90,6 +90,7 @@ exports.setSearchParams = setSearchParams;
90
90
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
91
91
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
92
92
  */
93
+ // @ts-ignore
93
94
  const replaceWithSerializableTypeIfNeeded = function (key, value) {
94
95
  if (value instanceof Set) {
95
96
  return Array.from(value);
@@ -91,8 +91,8 @@ class Configuration {
91
91
  * @return True if the given MIME is JSON, false otherwise.
92
92
  */
93
93
  isJsonMime(mime) {
94
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
95
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
94
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
95
+ return mime !== null && jsonMime.test(mime);
96
96
  }
97
97
  }
98
98
  exports.Configuration = Configuration;
@@ -43,5 +43,5 @@ exports.AdditionalLocationInfo = {
43
43
  Receptionist: 'RECEPTIONIST',
44
44
  Receiver: 'RECEIVER',
45
45
  SecureLocation: 'SECURE_LOCATION',
46
- SideDoor: 'SIDE_DOOR'
46
+ SideDoor: 'SIDE_DOOR',
47
47
  };
@@ -15,5 +15,5 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AmountUnitOfMeasureEnum = void 0;
17
17
  exports.AmountUnitOfMeasureEnum = {
18
- Eaches: 'Eaches'
18
+ Eaches: 'Eaches',
19
19
  };
@@ -35,5 +35,5 @@ exports.CurrentStatus = {
35
35
  PickupScheduled: 'PICKUP_SCHEDULED',
36
36
  ReturnRequestAccepted: 'RETURN_REQUEST_ACCEPTED',
37
37
  RefundIssued: 'REFUND_ISSUED',
38
- ReturnReceivedInFc: 'RETURN_RECEIVED_IN_FC'
38
+ ReturnReceivedInFc: 'RETURN_RECEIVED_IN_FC',
39
39
  };
@@ -22,5 +22,5 @@ exports.DropOffLocationTypeEnum = {
22
22
  Garage: 'GARAGE',
23
23
  Receptionist: 'RECEPTIONIST',
24
24
  FallbackNeighborDelivery: 'FALLBACK_NEIGHBOR_DELIVERY',
25
- DoNotLeaveUnattended: 'DO_NOT_LEAVE_UNATTENDED'
25
+ DoNotLeaveUnattended: 'DO_NOT_LEAVE_UNATTENDED',
26
26
  };
@@ -50,5 +50,7 @@ exports.EventCode = {
50
50
  Event416: 'EVENT_416',
51
51
  Event417: 'EVENT_417',
52
52
  Event418: 'EVENT_418',
53
- Event419: 'EVENT_419'
53
+ Event419: 'EVENT_419',
54
+ Event801: 'EVENT_801',
55
+ Event804: 'EVENT_804',
54
56
  };
@@ -16,5 +16,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.FeatureSettingsFeatureFulfillmentPolicyEnum = void 0;
17
17
  exports.FeatureSettingsFeatureFulfillmentPolicyEnum = {
18
18
  Required: 'Required',
19
- NotRequired: 'NotRequired'
19
+ NotRequired: 'NotRequired',
20
20
  };
@@ -18,5 +18,5 @@ exports.FeeNameEnum = {
18
18
  FbaPerUnitFulfillmentFee: 'FBAPerUnitFulfillmentFee',
19
19
  FbaPerOrderFulfillmentFee: 'FBAPerOrderFulfillmentFee',
20
20
  FbaTransportationFee: 'FBATransportationFee',
21
- FbaFulfillmentCodFee: 'FBAFulfillmentCODFee'
21
+ FbaFulfillmentCodFee: 'FBAFulfillmentCODFee',
22
22
  };
@@ -19,5 +19,5 @@ exports.FulfillmentAction = void 0;
19
19
  */
20
20
  exports.FulfillmentAction = {
21
21
  Ship: 'Ship',
22
- Hold: 'Hold'
22
+ Hold: 'Hold',
23
23
  };
@@ -26,5 +26,5 @@ exports.FulfillmentOrderStatus = {
26
26
  Complete: 'Complete',
27
27
  CompletePartialled: 'CompletePartialled',
28
28
  Unfulfillable: 'Unfulfillable',
29
- Invalid: 'Invalid'
29
+ Invalid: 'Invalid',
30
30
  };
@@ -20,5 +20,5 @@ exports.FulfillmentPolicy = void 0;
20
20
  exports.FulfillmentPolicy = {
21
21
  FillOrKill: 'FillOrKill',
22
22
  FillAll: 'FillAll',
23
- FillAllAvailable: 'FillAllAvailable'
23
+ FillAllAvailable: 'FillAllAvailable',
24
24
  };
@@ -16,5 +16,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.FulfillmentPreviewItemShippingWeightCalculationMethodEnum = void 0;
17
17
  exports.FulfillmentPreviewItemShippingWeightCalculationMethodEnum = {
18
18
  Package: 'Package',
19
- Dimensional: 'Dimensional'
19
+ Dimensional: 'Dimensional',
20
20
  };
@@ -19,5 +19,5 @@ exports.FulfillmentReturnItemStatus = void 0;
19
19
  */
20
20
  exports.FulfillmentReturnItemStatus = {
21
21
  New: 'New',
22
- Processed: 'Processed'
22
+ Processed: 'Processed',
23
23
  };
@@ -18,5 +18,5 @@ exports.FulfillmentShipmentFulfillmentShipmentStatusEnum = {
18
18
  Pending: 'PENDING',
19
19
  Shipped: 'SHIPPED',
20
20
  CancelledByFulfiller: 'CANCELLED_BY_FULFILLER',
21
- CancelledBySeller: 'CANCELLED_BY_SELLER'
21
+ CancelledBySeller: 'CANCELLED_BY_SELLER',
22
22
  };
@@ -21,5 +21,5 @@ exports.InvalidItemReasonCode = {
21
21
  InvalidValues: 'InvalidValues',
22
22
  DuplicateRequest: 'DuplicateRequest',
23
23
  NoCompletedShipItems: 'NoCompletedShipItems',
24
- NoReturnableQuantity: 'NoReturnableQuantity'
24
+ NoReturnableQuantity: 'NoReturnableQuantity',
25
25
  };
@@ -22,5 +22,5 @@ exports.ReturnItemDisposition = {
22
22
  Defective: 'Defective',
23
23
  CustomerDamaged: 'CustomerDamaged',
24
24
  CarrierDamaged: 'CarrierDamaged',
25
- FulfillerDamaged: 'FulfillerDamaged'
25
+ FulfillerDamaged: 'FulfillerDamaged',
26
26
  };
@@ -21,5 +21,5 @@ exports.ShippingSpeedCategory = {
21
21
  Standard: 'Standard',
22
22
  Expedited: 'Expedited',
23
23
  Priority: 'Priority',
24
- ScheduledDelivery: 'ScheduledDelivery'
24
+ ScheduledDelivery: 'ScheduledDelivery',
25
25
  };
@@ -18,5 +18,5 @@ exports.WeightUnitEnum = {
18
18
  Kg: 'KG',
19
19
  Kilograms: 'KILOGRAMS',
20
20
  Lb: 'LB',
21
- Pounds: 'POUNDS'
21
+ Pounds: 'POUNDS',
22
22
  };
@@ -32,7 +32,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
32
32
  // verify required parameter 'sellerFulfillmentOrderId' is not null or undefined
33
33
  assertParamExists('cancelFulfillmentOrder', 'sellerFulfillmentOrderId', sellerFulfillmentOrderId);
34
34
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/cancel`
35
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
35
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
36
36
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
37
37
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38
38
  let baseOptions;
@@ -94,7 +94,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
94
94
  // verify required parameter 'body' is not null or undefined
95
95
  assertParamExists('createFulfillmentReturn', 'body', body);
96
96
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/return`
97
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
97
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
98
98
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
99
99
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
100
100
  let baseOptions;
@@ -160,7 +160,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
160
160
  // verify required parameter 'featureName' is not null or undefined
161
161
  assertParamExists('getFeatureInventory', 'featureName', featureName);
162
162
  const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}`
163
- .replace(`{${"featureName"}}`, encodeURIComponent(String(featureName)));
163
+ .replace('{featureName}', encodeURIComponent(String(featureName)));
164
164
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
165
165
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
166
166
  let baseOptions;
@@ -206,8 +206,8 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
206
206
  // verify required parameter 'sellerSku' is not null or undefined
207
207
  assertParamExists('getFeatureSKU', 'sellerSku', sellerSku);
208
208
  const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}/{sellerSku}`
209
- .replace(`{${"featureName"}}`, encodeURIComponent(String(featureName)))
210
- .replace(`{${"sellerSku"}}`, encodeURIComponent(String(sellerSku)));
209
+ .replace('{featureName}', encodeURIComponent(String(featureName)))
210
+ .replace('{sellerSku}', encodeURIComponent(String(sellerSku)));
211
211
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
212
212
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
213
213
  let baseOptions;
@@ -270,7 +270,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
270
270
  // verify required parameter 'sellerFulfillmentOrderId' is not null or undefined
271
271
  assertParamExists('getFulfillmentOrder', 'sellerFulfillmentOrderId', sellerFulfillmentOrderId);
272
272
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`
273
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
273
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
274
274
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
275
275
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
276
276
  let baseOptions;
@@ -441,7 +441,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
441
441
  // verify required parameter 'body' is not null or undefined
442
442
  assertParamExists('submitFulfillmentOrderStatusUpdate', 'body', body);
443
443
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/status`
444
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
444
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
445
445
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
446
446
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
447
447
  let baseOptions;
@@ -475,7 +475,7 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration)
475
475
  // verify required parameter 'body' is not null or undefined
476
476
  assertParamExists('updateFulfillmentOrder', 'body', body);
477
477
  const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`
478
- .replace(`{${"sellerFulfillmentOrderId"}}`, encodeURIComponent(String(sellerFulfillmentOrderId)));
478
+ .replace('{sellerFulfillmentOrderId}', encodeURIComponent(String(sellerFulfillmentOrderId)));
479
479
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
480
480
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
481
481
  let baseOptions;
@@ -81,6 +81,7 @@ export const setSearchParams = function (url, ...objects) {
81
81
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
82
82
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
83
83
  */
84
+ // @ts-ignore
84
85
  export const replaceWithSerializableTypeIfNeeded = function (key, value) {
85
86
  if (value instanceof Set) {
86
87
  return Array.from(value);
@@ -88,7 +88,7 @@ export class Configuration {
88
88
  * @return True if the given MIME is JSON, false otherwise.
89
89
  */
90
90
  isJsonMime(mime) {
91
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
92
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
91
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
92
+ return mime !== null && jsonMime.test(mime);
93
93
  }
94
94
  }
@@ -40,5 +40,5 @@ export const AdditionalLocationInfo = {
40
40
  Receptionist: 'RECEPTIONIST',
41
41
  Receiver: 'RECEIVER',
42
42
  SecureLocation: 'SECURE_LOCATION',
43
- SideDoor: 'SIDE_DOOR'
43
+ SideDoor: 'SIDE_DOOR',
44
44
  };
@@ -12,5 +12,5 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  export const AmountUnitOfMeasureEnum = {
15
- Eaches: 'Eaches'
15
+ Eaches: 'Eaches',
16
16
  };
@@ -32,5 +32,5 @@ export const CurrentStatus = {
32
32
  PickupScheduled: 'PICKUP_SCHEDULED',
33
33
  ReturnRequestAccepted: 'RETURN_REQUEST_ACCEPTED',
34
34
  RefundIssued: 'REFUND_ISSUED',
35
- ReturnReceivedInFc: 'RETURN_RECEIVED_IN_FC'
35
+ ReturnReceivedInFc: 'RETURN_RECEIVED_IN_FC',
36
36
  };
@@ -19,5 +19,5 @@ export const DropOffLocationTypeEnum = {
19
19
  Garage: 'GARAGE',
20
20
  Receptionist: 'RECEPTIONIST',
21
21
  FallbackNeighborDelivery: 'FALLBACK_NEIGHBOR_DELIVERY',
22
- DoNotLeaveUnattended: 'DO_NOT_LEAVE_UNATTENDED'
22
+ DoNotLeaveUnattended: 'DO_NOT_LEAVE_UNATTENDED',
23
23
  };
@@ -47,5 +47,7 @@ export const EventCode = {
47
47
  Event416: 'EVENT_416',
48
48
  Event417: 'EVENT_417',
49
49
  Event418: 'EVENT_418',
50
- Event419: 'EVENT_419'
50
+ Event419: 'EVENT_419',
51
+ Event801: 'EVENT_801',
52
+ Event804: 'EVENT_804',
51
53
  };
@@ -13,5 +13,5 @@
13
13
  */
14
14
  export const FeatureSettingsFeatureFulfillmentPolicyEnum = {
15
15
  Required: 'Required',
16
- NotRequired: 'NotRequired'
16
+ NotRequired: 'NotRequired',
17
17
  };
@@ -15,5 +15,5 @@ export const FeeNameEnum = {
15
15
  FbaPerUnitFulfillmentFee: 'FBAPerUnitFulfillmentFee',
16
16
  FbaPerOrderFulfillmentFee: 'FBAPerOrderFulfillmentFee',
17
17
  FbaTransportationFee: 'FBATransportationFee',
18
- FbaFulfillmentCodFee: 'FBAFulfillmentCODFee'
18
+ FbaFulfillmentCodFee: 'FBAFulfillmentCODFee',
19
19
  };
@@ -16,5 +16,5 @@
16
16
  */
17
17
  export const FulfillmentAction = {
18
18
  Ship: 'Ship',
19
- Hold: 'Hold'
19
+ Hold: 'Hold',
20
20
  };
@@ -23,5 +23,5 @@ export const FulfillmentOrderStatus = {
23
23
  Complete: 'Complete',
24
24
  CompletePartialled: 'CompletePartialled',
25
25
  Unfulfillable: 'Unfulfillable',
26
- Invalid: 'Invalid'
26
+ Invalid: 'Invalid',
27
27
  };
@@ -17,5 +17,5 @@
17
17
  export const FulfillmentPolicy = {
18
18
  FillOrKill: 'FillOrKill',
19
19
  FillAll: 'FillAll',
20
- FillAllAvailable: 'FillAllAvailable'
20
+ FillAllAvailable: 'FillAllAvailable',
21
21
  };
@@ -13,5 +13,5 @@
13
13
  */
14
14
  export const FulfillmentPreviewItemShippingWeightCalculationMethodEnum = {
15
15
  Package: 'Package',
16
- Dimensional: 'Dimensional'
16
+ Dimensional: 'Dimensional',
17
17
  };
@@ -16,5 +16,5 @@
16
16
  */
17
17
  export const FulfillmentReturnItemStatus = {
18
18
  New: 'New',
19
- Processed: 'Processed'
19
+ Processed: 'Processed',
20
20
  };
@@ -15,5 +15,5 @@ export const FulfillmentShipmentFulfillmentShipmentStatusEnum = {
15
15
  Pending: 'PENDING',
16
16
  Shipped: 'SHIPPED',
17
17
  CancelledByFulfiller: 'CANCELLED_BY_FULFILLER',
18
- CancelledBySeller: 'CANCELLED_BY_SELLER'
18
+ CancelledBySeller: 'CANCELLED_BY_SELLER',
19
19
  };
@@ -18,5 +18,5 @@ export const InvalidItemReasonCode = {
18
18
  InvalidValues: 'InvalidValues',
19
19
  DuplicateRequest: 'DuplicateRequest',
20
20
  NoCompletedShipItems: 'NoCompletedShipItems',
21
- NoReturnableQuantity: 'NoReturnableQuantity'
21
+ NoReturnableQuantity: 'NoReturnableQuantity',
22
22
  };
@@ -19,5 +19,5 @@ export const ReturnItemDisposition = {
19
19
  Defective: 'Defective',
20
20
  CustomerDamaged: 'CustomerDamaged',
21
21
  CarrierDamaged: 'CarrierDamaged',
22
- FulfillerDamaged: 'FulfillerDamaged'
22
+ FulfillerDamaged: 'FulfillerDamaged',
23
23
  };
@@ -18,5 +18,5 @@ export const ShippingSpeedCategory = {
18
18
  Standard: 'Standard',
19
19
  Expedited: 'Expedited',
20
20
  Priority: 'Priority',
21
- ScheduledDelivery: 'ScheduledDelivery'
21
+ ScheduledDelivery: 'ScheduledDelivery',
22
22
  };
@@ -15,5 +15,5 @@ export const WeightUnitEnum = {
15
15
  Kg: 'KG',
16
16
  Kilograms: 'KILOGRAMS',
17
17
  Lb: 'LB',
18
- Pounds: 'POUNDS'
18
+ Pounds: 'POUNDS',
19
19
  };
@@ -28,7 +28,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
28
28
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
29
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
30
  */
31
- export declare const replaceWithSerializableTypeIfNeeded: (key: any, value: any) => any;
31
+ export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
32
32
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
33
33
  export declare const toPathString: (url: URL) => string;
34
34
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -46,5 +46,7 @@ export declare const EventCode: {
46
46
  readonly Event417: "EVENT_417";
47
47
  readonly Event418: "EVENT_418";
48
48
  readonly Event419: "EVENT_419";
49
+ readonly Event801: "EVENT_801";
50
+ readonly Event804: "EVENT_804";
49
51
  };
50
52
  export type EventCode = typeof EventCode[keyof typeof EventCode];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/fulfillment-outbound-api-2020-07-01",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.",
5
- "version": "4.6.0",
5
+ "version": "4.7.0",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.29",
22
- "axios": "^1.13.5"
21
+ "@sp-api-sdk/common": "2.1.31",
22
+ "axios": "^1.15.2"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "fulfillment outbound api"
42
42
  ],
43
- "gitHead": "2c1fe783fb7c2204e7e19d4f85fa2bdf822e4593"
43
+ "gitHead": "cc3ed7e58346bf7a4110ed8f1353aae840f294e2"
44
44
  }