@shipengine/alchemy 6.0.18 → 6.0.19

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 (3) hide show
  1. package/index.js +364 -330
  2. package/index.mjs +364 -330
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -10812,17 +10812,17 @@ var AccountBillingPlanChangeType = /* @__PURE__ */ ((AccountBillingPlanChangeTyp
10812
10812
  return AccountBillingPlanChangeType2;
10813
10813
  })(AccountBillingPlanChangeType || {});
10814
10814
 
10815
- var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
10816
- var __hasOwnProp$D = Object.prototype.hasOwnProperty;
10817
- var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
10818
- var __objRest$o = (source, exclude) => {
10815
+ var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
10816
+ var __hasOwnProp$E = Object.prototype.hasOwnProperty;
10817
+ var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
10818
+ var __objRest$p = (source, exclude) => {
10819
10819
  var target = {};
10820
10820
  for (var prop in source)
10821
- if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
10821
+ if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
10822
10822
  target[prop] = source[prop];
10823
- if (source != null && __getOwnPropSymbols$D)
10824
- for (var prop of __getOwnPropSymbols$D(source)) {
10825
- if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
10823
+ if (source != null && __getOwnPropSymbols$E)
10824
+ for (var prop of __getOwnPropSymbols$E(source)) {
10825
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
10826
10826
  target[prop] = source[prop];
10827
10827
  }
10828
10828
  return target;
@@ -10836,7 +10836,7 @@ class CodedError {
10836
10836
  this.message = message;
10837
10837
  }
10838
10838
  static fromObject(_a) {
10839
- var _b = _a, { message } = _b, options = __objRest$o(_b, ["message"]);
10839
+ var _b = _a, { message } = _b, options = __objRest$p(_b, ["message"]);
10840
10840
  return new CodedError(message, options);
10841
10841
  }
10842
10842
  }
@@ -10955,17 +10955,17 @@ const types = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
10955
10955
  RateCardStatus
10956
10956
  }, Symbol.toStringTag, { value: 'Module' }));
10957
10957
 
10958
- var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
10959
- var __hasOwnProp$C = Object.prototype.hasOwnProperty;
10960
- var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
10961
- var __objRest$n = (source, exclude) => {
10958
+ var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
10959
+ var __hasOwnProp$D = Object.prototype.hasOwnProperty;
10960
+ var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
10961
+ var __objRest$o = (source, exclude) => {
10962
10962
  var target = {};
10963
10963
  for (var prop in source)
10964
- if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0)
10964
+ if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
10965
10965
  target[prop] = source[prop];
10966
- if (source != null && __getOwnPropSymbols$C)
10967
- for (var prop of __getOwnPropSymbols$C(source)) {
10968
- if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop))
10966
+ if (source != null && __getOwnPropSymbols$D)
10967
+ for (var prop of __getOwnPropSymbols$D(source)) {
10968
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
10969
10969
  target[prop] = source[prop];
10970
10970
  }
10971
10971
  return target;
@@ -10997,7 +10997,7 @@ class AccountSettingsAPI {
10997
10997
  * The `updateImage` method updates specific image data for a given image id.
10998
10998
  */
10999
10999
  this.updateImage = (_a) => {
11000
- var _b = _a, { labelImageId } = _b, data = __objRest$n(_b, ["labelImageId"]);
11000
+ var _b = _a, { labelImageId } = _b, data = __objRest$o(_b, ["labelImageId"]);
11001
11001
  return this.client.put(`/v1/account/settings/images/${labelImageId}`, data);
11002
11002
  };
11003
11003
  /**
@@ -13739,33 +13739,33 @@ const getEndUserIpAddress = () => __async$U(void 0, null, function* () {
13739
13739
  }
13740
13740
  });
13741
13741
 
13742
- var __defProp$q = Object.defineProperty;
13743
- var __defProps$k = Object.defineProperties;
13744
- var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
13745
- var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
13746
- var __hasOwnProp$B = Object.prototype.hasOwnProperty;
13747
- var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
13748
- var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13749
- var __spreadValues$q = (a, b) => {
13742
+ var __defProp$r = Object.defineProperty;
13743
+ var __defProps$l = Object.defineProperties;
13744
+ var __getOwnPropDescs$l = Object.getOwnPropertyDescriptors;
13745
+ var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
13746
+ var __hasOwnProp$C = Object.prototype.hasOwnProperty;
13747
+ var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
13748
+ var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13749
+ var __spreadValues$r = (a, b) => {
13750
13750
  for (var prop in b || (b = {}))
13751
- if (__hasOwnProp$B.call(b, prop))
13752
- __defNormalProp$q(a, prop, b[prop]);
13753
- if (__getOwnPropSymbols$B)
13754
- for (var prop of __getOwnPropSymbols$B(b)) {
13755
- if (__propIsEnum$B.call(b, prop))
13756
- __defNormalProp$q(a, prop, b[prop]);
13751
+ if (__hasOwnProp$C.call(b, prop))
13752
+ __defNormalProp$r(a, prop, b[prop]);
13753
+ if (__getOwnPropSymbols$C)
13754
+ for (var prop of __getOwnPropSymbols$C(b)) {
13755
+ if (__propIsEnum$C.call(b, prop))
13756
+ __defNormalProp$r(a, prop, b[prop]);
13757
13757
  }
13758
13758
  return a;
13759
13759
  };
13760
- var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
13761
- var __objRest$m = (source, exclude) => {
13760
+ var __spreadProps$l = (a, b) => __defProps$l(a, __getOwnPropDescs$l(b));
13761
+ var __objRest$n = (source, exclude) => {
13762
13762
  var target = {};
13763
13763
  for (var prop in source)
13764
- if (__hasOwnProp$B.call(source, prop) && exclude.indexOf(prop) < 0)
13764
+ if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0)
13765
13765
  target[prop] = source[prop];
13766
- if (source != null && __getOwnPropSymbols$B)
13767
- for (var prop of __getOwnPropSymbols$B(source)) {
13768
- if (exclude.indexOf(prop) < 0 && __propIsEnum$B.call(source, prop))
13766
+ if (source != null && __getOwnPropSymbols$C)
13767
+ for (var prop of __getOwnPropSymbols$C(source)) {
13768
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop))
13769
13769
  target[prop] = source[prop];
13770
13770
  }
13771
13771
  return target;
@@ -13811,11 +13811,11 @@ class CarriersAPI {
13811
13811
  * The `connect` method connects a carrier account to a user's ShipEngine account.
13812
13812
  */
13813
13813
  this.connect = (_a) => __async$T(this, null, function* () {
13814
- var _b = _a, { carrierCode } = _b, connection = __objRest$m(_b, ["carrierCode"]);
13814
+ var _b = _a, { carrierCode } = _b, connection = __objRest$n(_b, ["carrierCode"]);
13815
13815
  const endUserIpAddress = yield getEndUserIpAddress();
13816
13816
  if (!endUserIpAddress)
13817
13817
  return Promise.reject([new CodedError("Unable to get IP address")]);
13818
- return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$k(__spreadValues$q({}, connection), {
13818
+ return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$l(__spreadValues$r({}, connection), {
13819
13819
  endUserIpAddress
13820
13820
  }));
13821
13821
  });
@@ -16256,19 +16256,19 @@ class CustomPackagesAPI {
16256
16256
  }
16257
16257
  }
16258
16258
 
16259
- var __defProp$p = Object.defineProperty;
16260
- var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
16261
- var __hasOwnProp$A = Object.prototype.hasOwnProperty;
16262
- var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
16263
- var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16264
- var __spreadValues$p = (a, b) => {
16259
+ var __defProp$q = Object.defineProperty;
16260
+ var __getOwnPropSymbols$B = Object.getOwnPropertySymbols;
16261
+ var __hasOwnProp$B = Object.prototype.hasOwnProperty;
16262
+ var __propIsEnum$B = Object.prototype.propertyIsEnumerable;
16263
+ var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16264
+ var __spreadValues$q = (a, b) => {
16265
16265
  for (var prop in b || (b = {}))
16266
- if (__hasOwnProp$A.call(b, prop))
16267
- __defNormalProp$p(a, prop, b[prop]);
16268
- if (__getOwnPropSymbols$A)
16269
- for (var prop of __getOwnPropSymbols$A(b)) {
16270
- if (__propIsEnum$A.call(b, prop))
16271
- __defNormalProp$p(a, prop, b[prop]);
16266
+ if (__hasOwnProp$B.call(b, prop))
16267
+ __defNormalProp$q(a, prop, b[prop]);
16268
+ if (__getOwnPropSymbols$B)
16269
+ for (var prop of __getOwnPropSymbols$B(b)) {
16270
+ if (__propIsEnum$B.call(b, prop))
16271
+ __defNormalProp$q(a, prop, b[prop]);
16272
16272
  }
16273
16273
  return a;
16274
16274
  };
@@ -16316,7 +16316,7 @@ class FundingSourcesAPI {
16316
16316
  if (!endUserIpAddress) {
16317
16317
  return Promise.reject([new CodedError("Unable to get IP address")]);
16318
16318
  }
16319
- return yield this.client.post("/v1/funding_sources", __spreadValues$p({
16319
+ return yield this.client.post("/v1/funding_sources", __spreadValues$q({
16320
16320
  endUserIpAddress
16321
16321
  }, createFundingSource));
16322
16322
  });
@@ -16348,7 +16348,7 @@ class FundingSourcesAPI {
16348
16348
  if (!endUserIpAddress) {
16349
16349
  return Promise.reject([new CodedError("Unable to get IP address")]);
16350
16350
  }
16351
- return yield this.client.post("/v1/registration/funding_source", __spreadValues$p({
16351
+ return yield this.client.post("/v1/registration/funding_source", __spreadValues$q({
16352
16352
  endUserIpAddress
16353
16353
  }, carrier));
16354
16354
  });
@@ -16452,17 +16452,17 @@ class LabelsAPI {
16452
16452
  }
16453
16453
  }
16454
16454
 
16455
- var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
16456
- var __hasOwnProp$z = Object.prototype.hasOwnProperty;
16457
- var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
16458
- var __objRest$l = (source, exclude) => {
16455
+ var __getOwnPropSymbols$A = Object.getOwnPropertySymbols;
16456
+ var __hasOwnProp$A = Object.prototype.hasOwnProperty;
16457
+ var __propIsEnum$A = Object.prototype.propertyIsEnumerable;
16458
+ var __objRest$m = (source, exclude) => {
16459
16459
  var target = {};
16460
16460
  for (var prop in source)
16461
- if (__hasOwnProp$z.call(source, prop) && exclude.indexOf(prop) < 0)
16461
+ if (__hasOwnProp$A.call(source, prop) && exclude.indexOf(prop) < 0)
16462
16462
  target[prop] = source[prop];
16463
- if (source != null && __getOwnPropSymbols$z)
16464
- for (var prop of __getOwnPropSymbols$z(source)) {
16465
- if (exclude.indexOf(prop) < 0 && __propIsEnum$z.call(source, prop))
16463
+ if (source != null && __getOwnPropSymbols$A)
16464
+ for (var prop of __getOwnPropSymbols$A(source)) {
16465
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$A.call(source, prop))
16466
16466
  target[prop] = source[prop];
16467
16467
  }
16468
16468
  return target;
@@ -16494,7 +16494,7 @@ class OrderSourcesAPI {
16494
16494
  * The `update` method will allow the user to update a connected Order Source
16495
16495
  */
16496
16496
  this.update = (_a) => {
16497
- var _b = _a, { orderSourceId } = _b, rest = __objRest$l(_b, ["orderSourceId"]);
16497
+ var _b = _a, { orderSourceId } = _b, rest = __objRest$m(_b, ["orderSourceId"]);
16498
16498
  return this.client.put(`/v-beta/order_sources/${orderSourceId}`, rest);
16499
16499
  };
16500
16500
  /**
@@ -16583,19 +16583,19 @@ class RateCardsAPI {
16583
16583
  }
16584
16584
  }
16585
16585
 
16586
- var __defProp$o = Object.defineProperty;
16587
- var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
16588
- var __hasOwnProp$y = Object.prototype.hasOwnProperty;
16589
- var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
16590
- var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16591
- var __spreadValues$o = (a, b) => {
16586
+ var __defProp$p = Object.defineProperty;
16587
+ var __getOwnPropSymbols$z = Object.getOwnPropertySymbols;
16588
+ var __hasOwnProp$z = Object.prototype.hasOwnProperty;
16589
+ var __propIsEnum$z = Object.prototype.propertyIsEnumerable;
16590
+ var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16591
+ var __spreadValues$p = (a, b) => {
16592
16592
  for (var prop in b || (b = {}))
16593
- if (__hasOwnProp$y.call(b, prop))
16594
- __defNormalProp$o(a, prop, b[prop]);
16595
- if (__getOwnPropSymbols$y)
16596
- for (var prop of __getOwnPropSymbols$y(b)) {
16597
- if (__propIsEnum$y.call(b, prop))
16598
- __defNormalProp$o(a, prop, b[prop]);
16593
+ if (__hasOwnProp$z.call(b, prop))
16594
+ __defNormalProp$p(a, prop, b[prop]);
16595
+ if (__getOwnPropSymbols$z)
16596
+ for (var prop of __getOwnPropSymbols$z(b)) {
16597
+ if (__propIsEnum$z.call(b, prop))
16598
+ __defNormalProp$p(a, prop, b[prop]);
16599
16599
  }
16600
16600
  return a;
16601
16601
  };
@@ -16617,7 +16617,7 @@ class RatesAPI {
16617
16617
  * method.
16618
16618
  */
16619
16619
  this.estimate = (params) => {
16620
- return this.client.post("/v1/rates/estimate", __spreadValues$o({}, params));
16620
+ return this.client.post("/v1/rates/estimate", __spreadValues$p({}, params));
16621
16621
  };
16622
16622
  this.client = client;
16623
16623
  }
@@ -16790,19 +16790,19 @@ class SellersAPI {
16790
16790
  }
16791
16791
  }
16792
16792
 
16793
- var __defProp$n = Object.defineProperty;
16794
- var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
16795
- var __hasOwnProp$x = Object.prototype.hasOwnProperty;
16796
- var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
16797
- var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16798
- var __spreadValues$n = (a, b) => {
16793
+ var __defProp$o = Object.defineProperty;
16794
+ var __getOwnPropSymbols$y = Object.getOwnPropertySymbols;
16795
+ var __hasOwnProp$y = Object.prototype.hasOwnProperty;
16796
+ var __propIsEnum$y = Object.prototype.propertyIsEnumerable;
16797
+ var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16798
+ var __spreadValues$o = (a, b) => {
16799
16799
  for (var prop in b || (b = {}))
16800
- if (__hasOwnProp$x.call(b, prop))
16801
- __defNormalProp$n(a, prop, b[prop]);
16802
- if (__getOwnPropSymbols$x)
16803
- for (var prop of __getOwnPropSymbols$x(b)) {
16804
- if (__propIsEnum$x.call(b, prop))
16805
- __defNormalProp$n(a, prop, b[prop]);
16800
+ if (__hasOwnProp$y.call(b, prop))
16801
+ __defNormalProp$o(a, prop, b[prop]);
16802
+ if (__getOwnPropSymbols$y)
16803
+ for (var prop of __getOwnPropSymbols$y(b)) {
16804
+ if (__propIsEnum$y.call(b, prop))
16805
+ __defNormalProp$o(a, prop, b[prop]);
16806
16806
  }
16807
16807
  return a;
16808
16808
  };
@@ -16814,7 +16814,7 @@ class ServicePointsAPI {
16814
16814
  * Either an address, coordinates, or an address query
16815
16815
  */
16816
16816
  this.list = (options) => {
16817
- return this.client.post("/v1/service_points/list", __spreadValues$n({}, options));
16817
+ return this.client.post("/v1/service_points/list", __spreadValues$o({}, options));
16818
16818
  };
16819
16819
  /**
16820
16820
  * Get a specific service point by its carrier code, country code, and id
@@ -34273,25 +34273,25 @@ class WebhooksAPI {
34273
34273
  }
34274
34274
  }
34275
34275
 
34276
- var __defProp$m = Object.defineProperty;
34277
- var __defProps$j = Object.defineProperties;
34278
- var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
34279
- var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
34280
- var __hasOwnProp$w = Object.prototype.hasOwnProperty;
34281
- var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
34282
- var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34283
- var __spreadValues$m = (a, b) => {
34276
+ var __defProp$n = Object.defineProperty;
34277
+ var __defProps$k = Object.defineProperties;
34278
+ var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
34279
+ var __getOwnPropSymbols$x = Object.getOwnPropertySymbols;
34280
+ var __hasOwnProp$x = Object.prototype.hasOwnProperty;
34281
+ var __propIsEnum$x = Object.prototype.propertyIsEnumerable;
34282
+ var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34283
+ var __spreadValues$n = (a, b) => {
34284
34284
  for (var prop in b || (b = {}))
34285
- if (__hasOwnProp$w.call(b, prop))
34286
- __defNormalProp$m(a, prop, b[prop]);
34287
- if (__getOwnPropSymbols$w)
34288
- for (var prop of __getOwnPropSymbols$w(b)) {
34289
- if (__propIsEnum$w.call(b, prop))
34290
- __defNormalProp$m(a, prop, b[prop]);
34285
+ if (__hasOwnProp$x.call(b, prop))
34286
+ __defNormalProp$n(a, prop, b[prop]);
34287
+ if (__getOwnPropSymbols$x)
34288
+ for (var prop of __getOwnPropSymbols$x(b)) {
34289
+ if (__propIsEnum$x.call(b, prop))
34290
+ __defNormalProp$n(a, prop, b[prop]);
34291
34291
  }
34292
34292
  return a;
34293
34293
  };
34294
- var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
34294
+ var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
34295
34295
  var __async$O = (__this, __arguments, generator) => {
34296
34296
  return new Promise((resolve, reject) => {
34297
34297
  var fulfilled = (value) => {
@@ -34315,7 +34315,7 @@ var __async$O = (__this, __arguments, generator) => {
34315
34315
  const logger$1 = E({
34316
34316
  level: process.env.NODE_ENV === "production" ? "fatal" : "info",
34317
34317
  name: "shipengine-api",
34318
- serializers: __spreadProps$j(__spreadValues$m({}, k), {
34318
+ serializers: __spreadProps$k(__spreadValues$n({}, k), {
34319
34319
  req: (req) => ({
34320
34320
  headers: req.headers,
34321
34321
  method: req.method,
@@ -34340,7 +34340,7 @@ class ShipEngineAPI {
34340
34340
  this.getSandboxToken = getSandboxToken;
34341
34341
  const client = axios.create({
34342
34342
  baseURL,
34343
- headers: __spreadProps$j(__spreadValues$m({}, headers), {
34343
+ headers: __spreadProps$k(__spreadValues$n({}, headers), {
34344
34344
  "Content-Type": "application/json"
34345
34345
  }),
34346
34346
  paramsSerializer: (params) => lib.stringify(humpsExports.decamelizeKeys(params), { arrayFormat: "brackets" }),
@@ -34719,25 +34719,25 @@ const delay = (ms) => new Promise((resolve) => {
34719
34719
 
34720
34720
  const onError = (_errors) => _default();
34721
34721
 
34722
- var __defProp$l = Object.defineProperty;
34723
- var __defProps$i = Object.defineProperties;
34724
- var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
34725
- var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
34726
- var __hasOwnProp$v = Object.prototype.hasOwnProperty;
34727
- var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
34728
- var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34729
- var __spreadValues$l = (a, b) => {
34722
+ var __defProp$m = Object.defineProperty;
34723
+ var __defProps$j = Object.defineProperties;
34724
+ var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
34725
+ var __getOwnPropSymbols$w = Object.getOwnPropertySymbols;
34726
+ var __hasOwnProp$w = Object.prototype.hasOwnProperty;
34727
+ var __propIsEnum$w = Object.prototype.propertyIsEnumerable;
34728
+ var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34729
+ var __spreadValues$m = (a, b) => {
34730
34730
  for (var prop in b || (b = {}))
34731
- if (__hasOwnProp$v.call(b, prop))
34732
- __defNormalProp$l(a, prop, b[prop]);
34733
- if (__getOwnPropSymbols$v)
34734
- for (var prop of __getOwnPropSymbols$v(b)) {
34735
- if (__propIsEnum$v.call(b, prop))
34736
- __defNormalProp$l(a, prop, b[prop]);
34731
+ if (__hasOwnProp$w.call(b, prop))
34732
+ __defNormalProp$m(a, prop, b[prop]);
34733
+ if (__getOwnPropSymbols$w)
34734
+ for (var prop of __getOwnPropSymbols$w(b)) {
34735
+ if (__propIsEnum$w.call(b, prop))
34736
+ __defNormalProp$m(a, prop, b[prop]);
34737
34737
  }
34738
34738
  return a;
34739
34739
  };
34740
- var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
34740
+ var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
34741
34741
  const streams = [];
34742
34742
  if (process.env.NODE_ENV === "production") {
34743
34743
  streams.push({
@@ -34746,7 +34746,7 @@ if (process.env.NODE_ENV === "production") {
34746
34746
  }
34747
34747
  const logger = E({
34748
34748
  name: "shipengine",
34749
- serializers: __spreadProps$i(__spreadValues$l({}, k), {
34749
+ serializers: __spreadProps$j(__spreadValues$m({}, k), {
34750
34750
  req: (req) => ({
34751
34751
  headers: req.headers,
34752
34752
  method: req.method,
@@ -35147,41 +35147,41 @@ const useGetServicesByCarrier = (carrierId) => {
35147
35147
  });
35148
35148
  };
35149
35149
 
35150
- var __defProp$k = Object.defineProperty;
35151
- var __defProps$h = Object.defineProperties;
35152
- var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
35153
- var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
35154
- var __hasOwnProp$u = Object.prototype.hasOwnProperty;
35155
- var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
35156
- var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35157
- var __spreadValues$k = (a, b) => {
35150
+ var __defProp$l = Object.defineProperty;
35151
+ var __defProps$i = Object.defineProperties;
35152
+ var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
35153
+ var __getOwnPropSymbols$v = Object.getOwnPropertySymbols;
35154
+ var __hasOwnProp$v = Object.prototype.hasOwnProperty;
35155
+ var __propIsEnum$v = Object.prototype.propertyIsEnumerable;
35156
+ var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35157
+ var __spreadValues$l = (a, b) => {
35158
35158
  for (var prop in b || (b = {}))
35159
- if (__hasOwnProp$u.call(b, prop))
35160
- __defNormalProp$k(a, prop, b[prop]);
35161
- if (__getOwnPropSymbols$u)
35162
- for (var prop of __getOwnPropSymbols$u(b)) {
35163
- if (__propIsEnum$u.call(b, prop))
35164
- __defNormalProp$k(a, prop, b[prop]);
35159
+ if (__hasOwnProp$v.call(b, prop))
35160
+ __defNormalProp$l(a, prop, b[prop]);
35161
+ if (__getOwnPropSymbols$v)
35162
+ for (var prop of __getOwnPropSymbols$v(b)) {
35163
+ if (__propIsEnum$v.call(b, prop))
35164
+ __defNormalProp$l(a, prop, b[prop]);
35165
35165
  }
35166
35166
  return a;
35167
35167
  };
35168
- var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
35169
- var __objRest$k = (source, exclude) => {
35168
+ var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
35169
+ var __objRest$l = (source, exclude) => {
35170
35170
  var target = {};
35171
35171
  for (var prop in source)
35172
- if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0)
35172
+ if (__hasOwnProp$v.call(source, prop) && exclude.indexOf(prop) < 0)
35173
35173
  target[prop] = source[prop];
35174
- if (source != null && __getOwnPropSymbols$u)
35175
- for (var prop of __getOwnPropSymbols$u(source)) {
35176
- if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop))
35174
+ if (source != null && __getOwnPropSymbols$v)
35175
+ for (var prop of __getOwnPropSymbols$v(source)) {
35176
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$v.call(source, prop))
35177
35177
  target[prop] = source[prop];
35178
35178
  }
35179
35179
  return target;
35180
35180
  };
35181
35181
  const useListCarriers = (params) => {
35182
35182
  const { client } = useShipEngine();
35183
- const _a = __spreadValues$k({}, params), { queryFnParams } = _a, rest = __objRest$k(_a, ["queryFnParams"]);
35184
- return reactQuery.useQuery(__spreadProps$h(__spreadValues$k({}, rest), {
35183
+ const _a = __spreadValues$l({}, params), { queryFnParams } = _a, rest = __objRest$l(_a, ["queryFnParams"]);
35184
+ return reactQuery.useQuery(__spreadProps$i(__spreadValues$l({}, rest), {
35185
35185
  onError,
35186
35186
  queryFn: () => client.carriers.list(queryFnParams),
35187
35187
  queryKey: ["useListCarriers", queryFnParams],
@@ -35189,17 +35189,17 @@ const useListCarriers = (params) => {
35189
35189
  }));
35190
35190
  };
35191
35191
 
35192
- var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
35193
- var __hasOwnProp$t = Object.prototype.hasOwnProperty;
35194
- var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
35195
- var __objRest$j = (source, exclude) => {
35192
+ var __getOwnPropSymbols$u = Object.getOwnPropertySymbols;
35193
+ var __hasOwnProp$u = Object.prototype.hasOwnProperty;
35194
+ var __propIsEnum$u = Object.prototype.propertyIsEnumerable;
35195
+ var __objRest$k = (source, exclude) => {
35196
35196
  var target = {};
35197
35197
  for (var prop in source)
35198
- if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
35198
+ if (__hasOwnProp$u.call(source, prop) && exclude.indexOf(prop) < 0)
35199
35199
  target[prop] = source[prop];
35200
- if (source != null && __getOwnPropSymbols$t)
35201
- for (var prop of __getOwnPropSymbols$t(source)) {
35202
- if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
35200
+ if (source != null && __getOwnPropSymbols$u)
35201
+ for (var prop of __getOwnPropSymbols$u(source)) {
35202
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$u.call(source, prop))
35203
35203
  target[prop] = source[prop];
35204
35204
  }
35205
35205
  return target;
@@ -35229,7 +35229,7 @@ const useUpdateAutoFunding = () => {
35229
35229
  const queryClient = reactQuery.useQueryClient();
35230
35230
  return reactQuery.useMutation({
35231
35231
  mutationFn: (_a) => __async$F(void 0, null, function* () {
35232
- var _b = _a, { carrierId } = _b, options = __objRest$j(_b, ["carrierId"]);
35232
+ var _b = _a, { carrierId } = _b, options = __objRest$k(_b, ["carrierId"]);
35233
35233
  const result = yield client.carriers.updateAutoFunding(carrierId, options);
35234
35234
  return result.data;
35235
35235
  }),
@@ -35290,24 +35290,24 @@ const useDeleteCarrier = () => {
35290
35290
  });
35291
35291
  };
35292
35292
 
35293
- var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
35294
- var __hasOwnProp$s = Object.prototype.hasOwnProperty;
35295
- var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
35296
- var __objRest$i = (source, exclude) => {
35293
+ var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
35294
+ var __hasOwnProp$t = Object.prototype.hasOwnProperty;
35295
+ var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
35296
+ var __objRest$j = (source, exclude) => {
35297
35297
  var target = {};
35298
35298
  for (var prop in source)
35299
- if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
35299
+ if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
35300
35300
  target[prop] = source[prop];
35301
- if (source != null && __getOwnPropSymbols$s)
35302
- for (var prop of __getOwnPropSymbols$s(source)) {
35303
- if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
35301
+ if (source != null && __getOwnPropSymbols$t)
35302
+ for (var prop of __getOwnPropSymbols$t(source)) {
35303
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
35304
35304
  target[prop] = source[prop];
35305
35305
  }
35306
35306
  return target;
35307
35307
  };
35308
35308
  const useGetCarrierConnectionForm = (_params) => {
35309
35309
  const { client } = useShipEngine();
35310
- const _a = _params || {}, { carrierName, enabled = true } = _a, params = __objRest$i(_a, ["carrierName", "enabled"]);
35310
+ const _a = _params || {}, { carrierName, enabled = true } = _a, params = __objRest$j(_a, ["carrierName", "enabled"]);
35311
35311
  return reactQuery.useQuery({
35312
35312
  enabled,
35313
35313
  onError,
@@ -35317,24 +35317,24 @@ const useGetCarrierConnectionForm = (_params) => {
35317
35317
  });
35318
35318
  };
35319
35319
 
35320
- var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
35321
- var __hasOwnProp$r = Object.prototype.hasOwnProperty;
35322
- var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
35323
- var __objRest$h = (source, exclude) => {
35320
+ var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
35321
+ var __hasOwnProp$s = Object.prototype.hasOwnProperty;
35322
+ var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
35323
+ var __objRest$i = (source, exclude) => {
35324
35324
  var target = {};
35325
35325
  for (var prop in source)
35326
- if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
35326
+ if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0)
35327
35327
  target[prop] = source[prop];
35328
- if (source != null && __getOwnPropSymbols$r)
35329
- for (var prop of __getOwnPropSymbols$r(source)) {
35330
- if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
35328
+ if (source != null && __getOwnPropSymbols$s)
35329
+ for (var prop of __getOwnPropSymbols$s(source)) {
35330
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop))
35331
35331
  target[prop] = source[prop];
35332
35332
  }
35333
35333
  return target;
35334
35334
  };
35335
35335
  const useListCarrierConnections = (_params) => {
35336
35336
  const { client } = useShipEngine();
35337
- const _a = _params || {}, { enabled = true } = _a, params = __objRest$h(_a, ["enabled"]);
35337
+ const _a = _params || {}, { enabled = true } = _a, params = __objRest$i(_a, ["enabled"]);
35338
35338
  return reactQuery.useQuery({
35339
35339
  enabled,
35340
35340
  onError,
@@ -35387,33 +35387,33 @@ const useCarrierConnectionsServicesList = (carrierCode) => {
35387
35387
  });
35388
35388
  };
35389
35389
 
35390
- var __defProp$j = Object.defineProperty;
35391
- var __defProps$g = Object.defineProperties;
35392
- var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
35393
- var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
35394
- var __hasOwnProp$q = Object.prototype.hasOwnProperty;
35395
- var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
35396
- var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35397
- var __spreadValues$j = (a, b) => {
35390
+ var __defProp$k = Object.defineProperty;
35391
+ var __defProps$h = Object.defineProperties;
35392
+ var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
35393
+ var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
35394
+ var __hasOwnProp$r = Object.prototype.hasOwnProperty;
35395
+ var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
35396
+ var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35397
+ var __spreadValues$k = (a, b) => {
35398
35398
  for (var prop in b || (b = {}))
35399
- if (__hasOwnProp$q.call(b, prop))
35400
- __defNormalProp$j(a, prop, b[prop]);
35401
- if (__getOwnPropSymbols$q)
35402
- for (var prop of __getOwnPropSymbols$q(b)) {
35403
- if (__propIsEnum$q.call(b, prop))
35404
- __defNormalProp$j(a, prop, b[prop]);
35399
+ if (__hasOwnProp$r.call(b, prop))
35400
+ __defNormalProp$k(a, prop, b[prop]);
35401
+ if (__getOwnPropSymbols$r)
35402
+ for (var prop of __getOwnPropSymbols$r(b)) {
35403
+ if (__propIsEnum$r.call(b, prop))
35404
+ __defNormalProp$k(a, prop, b[prop]);
35405
35405
  }
35406
35406
  return a;
35407
35407
  };
35408
- var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
35409
- var __objRest$g = (source, exclude) => {
35408
+ var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
35409
+ var __objRest$h = (source, exclude) => {
35410
35410
  var target = {};
35411
35411
  for (var prop in source)
35412
- if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0)
35412
+ if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
35413
35413
  target[prop] = source[prop];
35414
- if (source != null && __getOwnPropSymbols$q)
35415
- for (var prop of __getOwnPropSymbols$q(source)) {
35416
- if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
35414
+ if (source != null && __getOwnPropSymbols$r)
35415
+ for (var prop of __getOwnPropSymbols$r(source)) {
35416
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
35417
35417
  target[prop] = source[prop];
35418
35418
  }
35419
35419
  return target;
@@ -35421,12 +35421,12 @@ var __objRest$g = (source, exclude) => {
35421
35421
  const useGetConnectionsCarrierSettings = (_a) => {
35422
35422
  var _b = _a, {
35423
35423
  queryFnParams
35424
- } = _b, params = __objRest$g(_b, [
35424
+ } = _b, params = __objRest$h(_b, [
35425
35425
  "queryFnParams"
35426
35426
  ]);
35427
35427
  const { client } = useShipEngine();
35428
35428
  const { carrierName, carrierId } = queryFnParams;
35429
- return reactQuery.useQuery(__spreadProps$g(__spreadValues$j({}, params), {
35429
+ return reactQuery.useQuery(__spreadProps$h(__spreadValues$k({}, params), {
35430
35430
  onError,
35431
35431
  queryFn: () => client.connections.getCarrierSettings(carrierName, carrierId),
35432
35432
  queryKey: ["useGetConnectionsCarrierSettings", carrierName, carrierId],
@@ -35434,25 +35434,25 @@ const useGetConnectionsCarrierSettings = (_a) => {
35434
35434
  }));
35435
35435
  };
35436
35436
 
35437
- var __defProp$i = Object.defineProperty;
35438
- var __defProps$f = Object.defineProperties;
35439
- var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
35440
- var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
35441
- var __hasOwnProp$p = Object.prototype.hasOwnProperty;
35442
- var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
35443
- var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35444
- var __spreadValues$i = (a, b) => {
35437
+ var __defProp$j = Object.defineProperty;
35438
+ var __defProps$g = Object.defineProperties;
35439
+ var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
35440
+ var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
35441
+ var __hasOwnProp$q = Object.prototype.hasOwnProperty;
35442
+ var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
35443
+ var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35444
+ var __spreadValues$j = (a, b) => {
35445
35445
  for (var prop in b || (b = {}))
35446
- if (__hasOwnProp$p.call(b, prop))
35447
- __defNormalProp$i(a, prop, b[prop]);
35448
- if (__getOwnPropSymbols$p)
35449
- for (var prop of __getOwnPropSymbols$p(b)) {
35450
- if (__propIsEnum$p.call(b, prop))
35451
- __defNormalProp$i(a, prop, b[prop]);
35446
+ if (__hasOwnProp$q.call(b, prop))
35447
+ __defNormalProp$j(a, prop, b[prop]);
35448
+ if (__getOwnPropSymbols$q)
35449
+ for (var prop of __getOwnPropSymbols$q(b)) {
35450
+ if (__propIsEnum$q.call(b, prop))
35451
+ __defNormalProp$j(a, prop, b[prop]);
35452
35452
  }
35453
35453
  return a;
35454
35454
  };
35455
- var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
35455
+ var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
35456
35456
  var __async$C = (__this, __arguments, generator) => {
35457
35457
  return new Promise((resolve, reject) => {
35458
35458
  var fulfilled = (value) => {
@@ -35475,7 +35475,7 @@ var __async$C = (__this, __arguments, generator) => {
35475
35475
  };
35476
35476
  const useUpdateConnectionsCarrierSettings = (params) => {
35477
35477
  const { client } = useShipEngine();
35478
- return reactQuery.useMutation(__spreadProps$f(__spreadValues$i({}, params), {
35478
+ return reactQuery.useMutation(__spreadProps$g(__spreadValues$j({}, params), {
35479
35479
  mutationFn: (_0) => __async$C(void 0, [_0], function* ({
35480
35480
  carrierName,
35481
35481
  carrierId,
@@ -35681,29 +35681,29 @@ const useGetFundingSourceTransactions = (fundingSourceId, params) => {
35681
35681
  });
35682
35682
  };
35683
35683
 
35684
- var __defProp$h = Object.defineProperty;
35685
- var __defProps$e = Object.defineProperties;
35686
- var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
35687
- var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
35688
- var __hasOwnProp$o = Object.prototype.hasOwnProperty;
35689
- var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
35690
- var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35691
- var __spreadValues$h = (a, b) => {
35684
+ var __defProp$i = Object.defineProperty;
35685
+ var __defProps$f = Object.defineProperties;
35686
+ var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
35687
+ var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
35688
+ var __hasOwnProp$p = Object.prototype.hasOwnProperty;
35689
+ var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
35690
+ var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35691
+ var __spreadValues$i = (a, b) => {
35692
35692
  for (var prop in b || (b = {}))
35693
- if (__hasOwnProp$o.call(b, prop))
35694
- __defNormalProp$h(a, prop, b[prop]);
35695
- if (__getOwnPropSymbols$o)
35696
- for (var prop of __getOwnPropSymbols$o(b)) {
35697
- if (__propIsEnum$o.call(b, prop))
35698
- __defNormalProp$h(a, prop, b[prop]);
35693
+ if (__hasOwnProp$p.call(b, prop))
35694
+ __defNormalProp$i(a, prop, b[prop]);
35695
+ if (__getOwnPropSymbols$p)
35696
+ for (var prop of __getOwnPropSymbols$p(b)) {
35697
+ if (__propIsEnum$p.call(b, prop))
35698
+ __defNormalProp$i(a, prop, b[prop]);
35699
35699
  }
35700
35700
  return a;
35701
35701
  };
35702
- var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
35702
+ var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
35703
35703
  const useGetInsuranceFundingSourceAcceptedTerms = (params) => {
35704
35704
  const { client } = useShipEngine();
35705
- const queryParams = __spreadValues$h({}, params);
35706
- return reactQuery.useQuery(__spreadProps$e(__spreadValues$h({}, queryParams), {
35705
+ const queryParams = __spreadValues$i({}, params);
35706
+ return reactQuery.useQuery(__spreadProps$f(__spreadValues$i({}, queryParams), {
35707
35707
  onError,
35708
35708
  queryFn: () => client.fundingSources.insuranceAcceptedTerms(),
35709
35709
  queryKey: ["useGetInsuranceFundingSourceAcceptedTerms"],
@@ -35726,17 +35726,17 @@ const useGetInsuranceAccount = (insuranceProvider) => {
35726
35726
  });
35727
35727
  };
35728
35728
 
35729
- var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
35730
- var __hasOwnProp$n = Object.prototype.hasOwnProperty;
35731
- var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
35732
- var __objRest$f = (source, exclude) => {
35729
+ var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
35730
+ var __hasOwnProp$o = Object.prototype.hasOwnProperty;
35731
+ var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
35732
+ var __objRest$g = (source, exclude) => {
35733
35733
  var target = {};
35734
35734
  for (var prop in source)
35735
- if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
35735
+ if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
35736
35736
  target[prop] = source[prop];
35737
- if (source != null && __getOwnPropSymbols$n)
35738
- for (var prop of __getOwnPropSymbols$n(source)) {
35739
- if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
35737
+ if (source != null && __getOwnPropSymbols$o)
35738
+ for (var prop of __getOwnPropSymbols$o(source)) {
35739
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
35740
35740
  target[prop] = source[prop];
35741
35741
  }
35742
35742
  return target;
@@ -35765,7 +35765,7 @@ const useAddInsuranceFunds = () => {
35765
35765
  const { client } = useShipEngine();
35766
35766
  return reactQuery.useMutation({
35767
35767
  mutationFn: (_a) => __async$x(void 0, null, function* () {
35768
- var _b = _a, { insuranceProvider } = _b, rest = __objRest$f(_b, ["insuranceProvider"]);
35768
+ var _b = _a, { insuranceProvider } = _b, rest = __objRest$g(_b, ["insuranceProvider"]);
35769
35769
  const result = yield client.insurance.addFunds(insuranceProvider, rest);
35770
35770
  return result.data;
35771
35771
  }),
@@ -35774,17 +35774,17 @@ const useAddInsuranceFunds = () => {
35774
35774
  });
35775
35775
  };
35776
35776
 
35777
- var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
35778
- var __hasOwnProp$m = Object.prototype.hasOwnProperty;
35779
- var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
35780
- var __objRest$e = (source, exclude) => {
35777
+ var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
35778
+ var __hasOwnProp$n = Object.prototype.hasOwnProperty;
35779
+ var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
35780
+ var __objRest$f = (source, exclude) => {
35781
35781
  var target = {};
35782
35782
  for (var prop in source)
35783
- if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0)
35783
+ if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
35784
35784
  target[prop] = source[prop];
35785
- if (source != null && __getOwnPropSymbols$m)
35786
- for (var prop of __getOwnPropSymbols$m(source)) {
35787
- if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
35785
+ if (source != null && __getOwnPropSymbols$n)
35786
+ for (var prop of __getOwnPropSymbols$n(source)) {
35787
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
35788
35788
  target[prop] = source[prop];
35789
35789
  }
35790
35790
  return target;
@@ -35813,7 +35813,7 @@ const useCreateLabel = () => {
35813
35813
  const { client } = useShipEngine();
35814
35814
  return reactQuery.useMutation({
35815
35815
  mutationFn: (_a) => __async$w(void 0, null, function* () {
35816
- var _b = _a, { rateId } = _b, options = __objRest$e(_b, ["rateId"]);
35816
+ var _b = _a, { rateId } = _b, options = __objRest$f(_b, ["rateId"]);
35817
35817
  const result = yield client.labels.createByRateId(rateId, options);
35818
35818
  return result.data;
35819
35819
  }),
@@ -35837,41 +35837,41 @@ const useGetLabel = (labelId) => {
35837
35837
  });
35838
35838
  };
35839
35839
 
35840
- var __defProp$g = Object.defineProperty;
35841
- var __defProps$d = Object.defineProperties;
35842
- var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
35843
- var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
35844
- var __hasOwnProp$l = Object.prototype.hasOwnProperty;
35845
- var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
35846
- var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35847
- var __spreadValues$g = (a, b) => {
35840
+ var __defProp$h = Object.defineProperty;
35841
+ var __defProps$e = Object.defineProperties;
35842
+ var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
35843
+ var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
35844
+ var __hasOwnProp$m = Object.prototype.hasOwnProperty;
35845
+ var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
35846
+ var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35847
+ var __spreadValues$h = (a, b) => {
35848
35848
  for (var prop in b || (b = {}))
35849
- if (__hasOwnProp$l.call(b, prop))
35850
- __defNormalProp$g(a, prop, b[prop]);
35851
- if (__getOwnPropSymbols$l)
35852
- for (var prop of __getOwnPropSymbols$l(b)) {
35853
- if (__propIsEnum$l.call(b, prop))
35854
- __defNormalProp$g(a, prop, b[prop]);
35849
+ if (__hasOwnProp$m.call(b, prop))
35850
+ __defNormalProp$h(a, prop, b[prop]);
35851
+ if (__getOwnPropSymbols$m)
35852
+ for (var prop of __getOwnPropSymbols$m(b)) {
35853
+ if (__propIsEnum$m.call(b, prop))
35854
+ __defNormalProp$h(a, prop, b[prop]);
35855
35855
  }
35856
35856
  return a;
35857
35857
  };
35858
- var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
35859
- var __objRest$d = (source, exclude) => {
35858
+ var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
35859
+ var __objRest$e = (source, exclude) => {
35860
35860
  var target = {};
35861
35861
  for (var prop in source)
35862
- if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0)
35862
+ if (__hasOwnProp$m.call(source, prop) && exclude.indexOf(prop) < 0)
35863
35863
  target[prop] = source[prop];
35864
- if (source != null && __getOwnPropSymbols$l)
35865
- for (var prop of __getOwnPropSymbols$l(source)) {
35866
- if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
35864
+ if (source != null && __getOwnPropSymbols$m)
35865
+ for (var prop of __getOwnPropSymbols$m(source)) {
35866
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop))
35867
35867
  target[prop] = source[prop];
35868
35868
  }
35869
35869
  return target;
35870
35870
  };
35871
35871
  const useListLabels = (params) => {
35872
35872
  const { client } = useShipEngine();
35873
- const _a = __spreadValues$g({}, params), { queryFnParams } = _a, rest = __objRest$d(_a, ["queryFnParams"]);
35874
- return reactQuery.useQuery(__spreadProps$d(__spreadValues$g({}, rest), {
35873
+ const _a = __spreadValues$h({}, params), { queryFnParams } = _a, rest = __objRest$e(_a, ["queryFnParams"]);
35874
+ return reactQuery.useQuery(__spreadProps$e(__spreadValues$h({}, rest), {
35875
35875
  onError,
35876
35876
  queryFn: () => client.labels.list(queryFnParams),
35877
35877
  queryKey: ["useListLabels", params],
@@ -35911,28 +35911,28 @@ const useVoidLabel = () => {
35911
35911
  });
35912
35912
  };
35913
35913
 
35914
- var __defProp$f = Object.defineProperty;
35915
- var __defProps$c = Object.defineProperties;
35916
- var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
35917
- var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
35918
- var __hasOwnProp$k = Object.prototype.hasOwnProperty;
35919
- var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
35920
- var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35921
- var __spreadValues$f = (a, b) => {
35914
+ var __defProp$g = Object.defineProperty;
35915
+ var __defProps$d = Object.defineProperties;
35916
+ var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
35917
+ var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
35918
+ var __hasOwnProp$l = Object.prototype.hasOwnProperty;
35919
+ var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
35920
+ var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35921
+ var __spreadValues$g = (a, b) => {
35922
35922
  for (var prop in b || (b = {}))
35923
- if (__hasOwnProp$k.call(b, prop))
35924
- __defNormalProp$f(a, prop, b[prop]);
35925
- if (__getOwnPropSymbols$k)
35926
- for (var prop of __getOwnPropSymbols$k(b)) {
35927
- if (__propIsEnum$k.call(b, prop))
35928
- __defNormalProp$f(a, prop, b[prop]);
35923
+ if (__hasOwnProp$l.call(b, prop))
35924
+ __defNormalProp$g(a, prop, b[prop]);
35925
+ if (__getOwnPropSymbols$l)
35926
+ for (var prop of __getOwnPropSymbols$l(b)) {
35927
+ if (__propIsEnum$l.call(b, prop))
35928
+ __defNormalProp$g(a, prop, b[prop]);
35929
35929
  }
35930
35930
  return a;
35931
35931
  };
35932
- var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
35932
+ var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
35933
35933
  const useListOrderSources = (params) => {
35934
35934
  const { client } = useShipEngine();
35935
- return reactQuery.useQuery(__spreadProps$c(__spreadValues$f({}, params), {
35935
+ return reactQuery.useQuery(__spreadProps$d(__spreadValues$g({}, params), {
35936
35936
  onError,
35937
35937
  queryFn: () => client.orderSources.list(),
35938
35938
  queryKey: ["useListOrderSources"],
@@ -36351,17 +36351,17 @@ const useListSalesOrders = (params = {}) => {
36351
36351
  });
36352
36352
  };
36353
36353
 
36354
- var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
36355
- var __hasOwnProp$j = Object.prototype.hasOwnProperty;
36356
- var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
36357
- var __objRest$c = (source, exclude) => {
36354
+ var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
36355
+ var __hasOwnProp$k = Object.prototype.hasOwnProperty;
36356
+ var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
36357
+ var __objRest$d = (source, exclude) => {
36358
36358
  var target = {};
36359
36359
  for (var prop in source)
36360
- if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
36360
+ if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
36361
36361
  target[prop] = source[prop];
36362
- if (source != null && __getOwnPropSymbols$j)
36363
- for (var prop of __getOwnPropSymbols$j(source)) {
36364
- if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
36362
+ if (source != null && __getOwnPropSymbols$k)
36363
+ for (var prop of __getOwnPropSymbols$k(source)) {
36364
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
36365
36365
  target[prop] = source[prop];
36366
36366
  }
36367
36367
  return target;
@@ -36390,7 +36390,7 @@ const useNotifySalesOrderShipped = () => {
36390
36390
  const { client } = useShipEngine();
36391
36391
  return reactQuery.useMutation({
36392
36392
  mutationFn: (_a) => __async$k(void 0, null, function* () {
36393
- var _b = _a, { salesOrderId } = _b, tracking = __objRest$c(_b, ["salesOrderId"]);
36393
+ var _b = _a, { salesOrderId } = _b, tracking = __objRest$d(_b, ["salesOrderId"]);
36394
36394
  const result = yield client.salesOrders.notifyShipped(salesOrderId, tracking);
36395
36395
  return result.data;
36396
36396
  }),
@@ -36399,17 +36399,17 @@ const useNotifySalesOrderShipped = () => {
36399
36399
  });
36400
36400
  };
36401
36401
 
36402
- var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
36403
- var __hasOwnProp$i = Object.prototype.hasOwnProperty;
36404
- var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
36405
- var __objRest$b = (source, exclude) => {
36402
+ var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
36403
+ var __hasOwnProp$j = Object.prototype.hasOwnProperty;
36404
+ var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
36405
+ var __objRest$c = (source, exclude) => {
36406
36406
  var target = {};
36407
36407
  for (var prop in source)
36408
- if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
36408
+ if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0)
36409
36409
  target[prop] = source[prop];
36410
- if (source != null && __getOwnPropSymbols$i)
36411
- for (var prop of __getOwnPropSymbols$i(source)) {
36412
- if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
36410
+ if (source != null && __getOwnPropSymbols$j)
36411
+ for (var prop of __getOwnPropSymbols$j(source)) {
36412
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
36413
36413
  target[prop] = source[prop];
36414
36414
  }
36415
36415
  return target;
@@ -36438,7 +36438,7 @@ const useCreateSalesOrderShipment = () => {
36438
36438
  const { client } = useShipEngine();
36439
36439
  return reactQuery.useMutation({
36440
36440
  mutationFn: (_a) => __async$j(void 0, null, function* () {
36441
- var _b = _a, { salesOrderId } = _b, shipment = __objRest$b(_b, ["salesOrderId"]);
36441
+ var _b = _a, { salesOrderId } = _b, shipment = __objRest$c(_b, ["salesOrderId"]);
36442
36442
  const result = yield client.salesOrderShipments.create(salesOrderId, shipment);
36443
36443
  return result.data;
36444
36444
  }),
@@ -36473,17 +36473,17 @@ const useListSalesOrderShipments = (params) => {
36473
36473
  });
36474
36474
  };
36475
36475
 
36476
- var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
36477
- var __hasOwnProp$h = Object.prototype.hasOwnProperty;
36478
- var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
36479
- var __objRest$a = (source, exclude) => {
36476
+ var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
36477
+ var __hasOwnProp$i = Object.prototype.hasOwnProperty;
36478
+ var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
36479
+ var __objRest$b = (source, exclude) => {
36480
36480
  var target = {};
36481
36481
  for (var prop in source)
36482
- if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0)
36482
+ if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
36483
36483
  target[prop] = source[prop];
36484
- if (source != null && __getOwnPropSymbols$h)
36485
- for (var prop of __getOwnPropSymbols$h(source)) {
36486
- if (exclude.indexOf(prop) < 0 && __propIsEnum$h.call(source, prop))
36484
+ if (source != null && __getOwnPropSymbols$i)
36485
+ for (var prop of __getOwnPropSymbols$i(source)) {
36486
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
36487
36487
  target[prop] = source[prop];
36488
36488
  }
36489
36489
  return target;
@@ -36512,7 +36512,7 @@ const useUpdateSalesOrderShipment = () => {
36512
36512
  const { client } = useShipEngine();
36513
36513
  return reactQuery.useMutation({
36514
36514
  mutationFn: (_a) => __async$i(void 0, null, function* () {
36515
- var _b = _a, { shipmentId } = _b, shipment = __objRest$a(_b, ["shipmentId"]);
36515
+ var _b = _a, { shipmentId } = _b, shipment = __objRest$b(_b, ["shipmentId"]);
36516
36516
  const result = yield client.salesOrderShipments.update(shipmentId, shipment);
36517
36517
  return result.data;
36518
36518
  }),
@@ -36521,25 +36521,25 @@ const useUpdateSalesOrderShipment = () => {
36521
36521
  });
36522
36522
  };
36523
36523
 
36524
- var __defProp$e = Object.defineProperty;
36525
- var __defProps$b = Object.defineProperties;
36526
- var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
36527
- var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
36528
- var __hasOwnProp$g = Object.prototype.hasOwnProperty;
36529
- var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
36530
- var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
36531
- var __spreadValues$e = (a, b) => {
36524
+ var __defProp$f = Object.defineProperty;
36525
+ var __defProps$c = Object.defineProperties;
36526
+ var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
36527
+ var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
36528
+ var __hasOwnProp$h = Object.prototype.hasOwnProperty;
36529
+ var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
36530
+ var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
36531
+ var __spreadValues$f = (a, b) => {
36532
36532
  for (var prop in b || (b = {}))
36533
- if (__hasOwnProp$g.call(b, prop))
36534
- __defNormalProp$e(a, prop, b[prop]);
36535
- if (__getOwnPropSymbols$g)
36536
- for (var prop of __getOwnPropSymbols$g(b)) {
36537
- if (__propIsEnum$g.call(b, prop))
36538
- __defNormalProp$e(a, prop, b[prop]);
36533
+ if (__hasOwnProp$h.call(b, prop))
36534
+ __defNormalProp$f(a, prop, b[prop]);
36535
+ if (__getOwnPropSymbols$h)
36536
+ for (var prop of __getOwnPropSymbols$h(b)) {
36537
+ if (__propIsEnum$h.call(b, prop))
36538
+ __defNormalProp$f(a, prop, b[prop]);
36539
36539
  }
36540
36540
  return a;
36541
36541
  };
36542
- var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
36542
+ var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
36543
36543
  var __async$h = (__this, __arguments, generator) => {
36544
36544
  return new Promise((resolve, reject) => {
36545
36545
  var fulfilled = (value) => {
@@ -36581,7 +36581,7 @@ const useCreateShipment = () => {
36581
36581
  postalCode: "",
36582
36582
  stateProvince: ""
36583
36583
  };
36584
- return (yield client.shipments.create(__spreadProps$b(__spreadValues$e({}, shipment), {
36584
+ return (yield client.shipments.create(__spreadProps$c(__spreadValues$f({}, shipment), {
36585
36585
  shipTo
36586
36586
  }))).data;
36587
36587
  }),
@@ -36590,10 +36590,44 @@ const useCreateShipment = () => {
36590
36590
  });
36591
36591
  };
36592
36592
 
36593
- const useGetShipmentRates = (shipmentId, createdAtStart) => {
36593
+ var __defProp$e = Object.defineProperty;
36594
+ var __defProps$b = Object.defineProperties;
36595
+ var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
36596
+ var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
36597
+ var __hasOwnProp$g = Object.prototype.hasOwnProperty;
36598
+ var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
36599
+ var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
36600
+ var __spreadValues$e = (a, b) => {
36601
+ for (var prop in b || (b = {}))
36602
+ if (__hasOwnProp$g.call(b, prop))
36603
+ __defNormalProp$e(a, prop, b[prop]);
36604
+ if (__getOwnPropSymbols$g)
36605
+ for (var prop of __getOwnPropSymbols$g(b)) {
36606
+ if (__propIsEnum$g.call(b, prop))
36607
+ __defNormalProp$e(a, prop, b[prop]);
36608
+ }
36609
+ return a;
36610
+ };
36611
+ var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
36612
+ var __objRest$a = (source, exclude) => {
36613
+ var target = {};
36614
+ for (var prop in source)
36615
+ if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
36616
+ target[prop] = source[prop];
36617
+ if (source != null && __getOwnPropSymbols$g)
36618
+ for (var prop of __getOwnPropSymbols$g(source)) {
36619
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
36620
+ target[prop] = source[prop];
36621
+ }
36622
+ return target;
36623
+ };
36624
+ const useGetShipmentRates = (params) => {
36594
36625
  const { client } = useShipEngine();
36595
- return reactQuery.useQuery({
36596
- enabled: shipmentId !== void 0,
36626
+ const _a = params, { queryFnParams } = _a, rest = __objRest$a(_a, ["queryFnParams"]);
36627
+ const { createdAtStart, shipmentId } = queryFnParams;
36628
+ return reactQuery.useQuery(__spreadProps$b(__spreadValues$e({
36629
+ enabled: shipmentId !== void 0
36630
+ }, rest), {
36597
36631
  onError,
36598
36632
  queryFn: () => {
36599
36633
  if (shipmentId) {
@@ -36601,9 +36635,9 @@ const useGetShipmentRates = (shipmentId, createdAtStart) => {
36601
36635
  }
36602
36636
  return Promise.reject(new Error("shipmentId is required"));
36603
36637
  },
36604
- queryKey: ["useGetShipmentRates", shipmentId, createdAtStart],
36638
+ queryKey: ["useGetShipmentRates", queryFnParams],
36605
36639
  select: (result) => result.data
36606
- });
36640
+ }));
36607
36641
  };
36608
36642
 
36609
36643
  var __defProp$d = Object.defineProperty;