@whiplashmerch/whiplash-api-client 1.0.76 → 1.1.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.
@@ -10816,6 +10816,7 @@ const putApiV2OrderItemsIdSplit = (client, id, putApiV2OrderItemsIdSplit, params
10816
10816
  method: "PUT",
10817
10817
  body: putApiV2OrderItemsIdSplit,
10818
10818
  type: ContentType.Json,
10819
+ format: "json",
10819
10820
  ...params,
10820
10821
  });
10821
10822
  };
@@ -11081,6 +11082,7 @@ const putApiV21OrderItemsIdSplit = (client, id, putApiV21OrderItemsIdSplit, para
11081
11082
  method: "PUT",
11082
11083
  body: putApiV21OrderItemsIdSplit,
11083
11084
  type: ContentType.Json,
11085
+ format: "json",
11084
11086
  ...params,
11085
11087
  });
11086
11088
  };
@@ -26622,11 +26624,7 @@ const putApiV21OrdersIdPackItem = (client, orderId, args) => {
26622
26624
  });
26623
26625
  };
26624
26626
  const putApiV21OrdersIdBatch = (client, orderId, args) => {
26625
- return new Promise((resolve, reject) => {
26626
- putApiV21OrdersIdCallAction(client, 'batch!', orderId, args)
26627
- .then(response => resolve(response))
26628
- .catch(reject);
26629
- });
26627
+ return putApiV21OrdersIdCallAction(client, 'batch!', orderId, args);
26630
26628
  };
26631
26629
  const getApiV21OrdersIdPackingRulesWithSuggestedItems = (client, orderId) => {
26632
26630
  return new Promise((resolve, reject) => {