@whiplashmerch/whiplash-api-client 1.0.15 → 1.0.16

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.
@@ -6738,10 +6738,11 @@ const deleteApiV2LoadsId = (client, id, params = {}) => {
6738
6738
  * @summary Get all order batches in a load
6739
6739
  * @request GET:/api/v2/loads/{id}/order_batches
6740
6740
  */
6741
- const getApiV2LoadsIdOrderBatches = (client, id, params = {}) => {
6741
+ const getApiV2LoadsIdOrderBatches = (client, { id, ...query }, params = {}) => {
6742
6742
  return client.request({
6743
6743
  path: `/api/v2/loads/${id}/order_batches`,
6744
6744
  method: "GET",
6745
+ query: query,
6745
6746
  format: "json",
6746
6747
  ...params,
6747
6748
  });
@@ -6887,10 +6888,11 @@ const deleteApiV21LoadsId = (client, id, params = {}) => {
6887
6888
  * @summary Get all order batches in a load
6888
6889
  * @request GET:/api/v2.1/loads/{id}/order_batches
6889
6890
  */
6890
- const getApiV21LoadsIdOrderBatches = (client, id, params = {}) => {
6891
+ const getApiV21LoadsIdOrderBatches = (client, { id, ...query }, params = {}) => {
6891
6892
  return client.request({
6892
6893
  path: `/api/v2.1/loads/${id}/order_batches`,
6893
6894
  method: "GET",
6895
+ query: query,
6894
6896
  format: "json",
6895
6897
  ...params,
6896
6898
  });