@shipengine/alchemy 6.0.59 → 6.0.61

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 +246 -208
  2. package/index.mjs +246 -209
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4883,41 +4883,33 @@ var _getHolder = getHolder$2;
4883
4883
 
4884
4884
  /** Used as references for various `Number` constants. */
4885
4885
 
4886
- var _isIndex;
4887
- var hasRequired_isIndex;
4886
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
4888
4887
 
4889
- function require_isIndex () {
4890
- if (hasRequired_isIndex) return _isIndex;
4891
- hasRequired_isIndex = 1;
4892
- var MAX_SAFE_INTEGER = 9007199254740991;
4888
+ /** Used to detect unsigned integer values. */
4889
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
4893
4890
 
4894
- /** Used to detect unsigned integer values. */
4895
- var reIsUint = /^(?:0|[1-9]\d*)$/;
4896
-
4897
- /**
4898
- * Checks if `value` is a valid array-like index.
4899
- *
4900
- * @private
4901
- * @param {*} value The value to check.
4902
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4903
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4904
- */
4905
- function isIndex(value, length) {
4906
- var type = typeof value;
4907
- length = length == null ? MAX_SAFE_INTEGER : length;
4908
-
4909
- return !!length &&
4910
- (type == 'number' ||
4911
- (type != 'symbol' && reIsUint.test(value))) &&
4912
- (value > -1 && value % 1 == 0 && value < length);
4913
- }
4891
+ /**
4892
+ * Checks if `value` is a valid array-like index.
4893
+ *
4894
+ * @private
4895
+ * @param {*} value The value to check.
4896
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4897
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4898
+ */
4899
+ function isIndex$3(value, length) {
4900
+ var type = typeof value;
4901
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
4914
4902
 
4915
- _isIndex = isIndex;
4916
- return _isIndex;
4903
+ return !!length &&
4904
+ (type == 'number' ||
4905
+ (type != 'symbol' && reIsUint.test(value))) &&
4906
+ (value > -1 && value % 1 == 0 && value < length);
4917
4907
  }
4918
4908
 
4909
+ var _isIndex = isIndex$3;
4910
+
4919
4911
  var copyArray$2 = _copyArray,
4920
- isIndex$2 = require_isIndex();
4912
+ isIndex$2 = _isIndex;
4921
4913
 
4922
4914
  /* Built-in method references for those with the same name as other `lodash` methods. */
4923
4915
  var nativeMin$1 = Math.min;
@@ -6110,7 +6102,7 @@ var baseTimes = _baseTimes,
6110
6102
  isArguments$2 = requireIsArguments(),
6111
6103
  isArray$f = isArray_1,
6112
6104
  isBuffer$4 = isBufferExports,
6113
- isIndex$1 = require_isIndex(),
6105
+ isIndex$1 = _isIndex,
6114
6106
  isTypedArray$1 = requireIsTypedArray();
6115
6107
 
6116
6108
  /** Used for built-in method references. */
@@ -9441,7 +9433,7 @@ var _baseHasIn = baseHasIn$1;
9441
9433
  var castPath = _castPath,
9442
9434
  isArguments$1 = requireIsArguments(),
9443
9435
  isArray$8 = isArray_1,
9444
- isIndex = require_isIndex(),
9436
+ isIndex = _isIndex,
9445
9437
  isLength = isLength_1,
9446
9438
  toKey$3 = _toKey;
9447
9439
 
@@ -10331,7 +10323,7 @@ function require_isIterateeCall () {
10331
10323
  hasRequired_isIterateeCall = 1;
10332
10324
  var eq = requireEq(),
10333
10325
  isArrayLike = isArrayLike_1,
10334
- isIndex = require_isIndex(),
10326
+ isIndex = _isIndex,
10335
10327
  isObject = isObject_1;
10336
10328
 
10337
10329
  /**
@@ -10537,6 +10529,16 @@ const fallbackTheme = {
10537
10529
  pink: '#E995BA',
10538
10530
  green: '#DEF895'
10539
10531
  }
10532
+ },
10533
+ destructive: {
10534
+ ultraLight: '#FDF7F7',
10535
+ light: '#821212',
10536
+ main: '#A91919',
10537
+ dark: '#5D0E0E'
10538
+ },
10539
+ upgrade: {
10540
+ main: '#8D30F7',
10541
+ light: '#F6F2FF'
10540
10542
  }
10541
10543
  },
10542
10544
  spacingBase: 8,
@@ -10798,17 +10800,17 @@ var AccountBillingPlanChangeType = /* @__PURE__ */ ((AccountBillingPlanChangeTyp
10798
10800
  return AccountBillingPlanChangeType2;
10799
10801
  })(AccountBillingPlanChangeType || {});
10800
10802
 
10801
- var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
10802
- var __hasOwnProp$V = Object.prototype.hasOwnProperty;
10803
- var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
10803
+ var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
10804
+ var __hasOwnProp$W = Object.prototype.hasOwnProperty;
10805
+ var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
10804
10806
  var __objRest$x = (source, exclude) => {
10805
10807
  var target = {};
10806
10808
  for (var prop in source)
10807
- if (__hasOwnProp$V.call(source, prop) && exclude.indexOf(prop) < 0)
10809
+ if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0)
10808
10810
  target[prop] = source[prop];
10809
- if (source != null && __getOwnPropSymbols$V)
10810
- for (var prop of __getOwnPropSymbols$V(source)) {
10811
- if (exclude.indexOf(prop) < 0 && __propIsEnum$V.call(source, prop))
10811
+ if (source != null && __getOwnPropSymbols$W)
10812
+ for (var prop of __getOwnPropSymbols$W(source)) {
10813
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$W.call(source, prop))
10812
10814
  target[prop] = source[prop];
10813
10815
  }
10814
10816
  return target;
@@ -10943,17 +10945,17 @@ const types = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
10943
10945
  RateCardStatus
10944
10946
  }, Symbol.toStringTag, { value: 'Module' }));
10945
10947
 
10946
- var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
10947
- var __hasOwnProp$U = Object.prototype.hasOwnProperty;
10948
- var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
10948
+ var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
10949
+ var __hasOwnProp$V = Object.prototype.hasOwnProperty;
10950
+ var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
10949
10951
  var __objRest$w = (source, exclude) => {
10950
10952
  var target = {};
10951
10953
  for (var prop in source)
10952
- if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
10954
+ if (__hasOwnProp$V.call(source, prop) && exclude.indexOf(prop) < 0)
10953
10955
  target[prop] = source[prop];
10954
- if (source != null && __getOwnPropSymbols$U)
10955
- for (var prop of __getOwnPropSymbols$U(source)) {
10956
- if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
10956
+ if (source != null && __getOwnPropSymbols$V)
10957
+ for (var prop of __getOwnPropSymbols$V(source)) {
10958
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$V.call(source, prop))
10957
10959
  target[prop] = source[prop];
10958
10960
  }
10959
10961
  return target;
@@ -11060,6 +11062,13 @@ class AuctanePayAPI {
11060
11062
  request
11061
11063
  );
11062
11064
  };
11065
+ /**
11066
+ * The `getPaymentMethods` method retrieve the list of Payment Methods for a given user.
11067
+ * @docs https://auctane.atlassian.net/wiki/spaces/SEEU/pages/5906662077/AUCTANE+PAY+ENDPOINTS+FOR+SHIPSTATION+API#Get-payment-methods
11068
+ */
11069
+ this.getPaymentMethods = () => {
11070
+ return this.client.get("/v1/payments/payment_methods");
11071
+ };
11063
11072
  this.client = client;
11064
11073
  }
11065
11074
  }
@@ -13850,33 +13859,33 @@ const decamelizeKeys = (obj, separator = "_") => {
13850
13859
  return obj;
13851
13860
  };
13852
13861
 
13853
- var __defProp$I = Object.defineProperty;
13854
- var __defProps$C = Object.defineProperties;
13855
- var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
13856
- var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
13857
- var __hasOwnProp$T = Object.prototype.hasOwnProperty;
13858
- var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
13859
- var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13860
- var __spreadValues$I = (a, b) => {
13862
+ var __defProp$J = Object.defineProperty;
13863
+ var __defProps$D = Object.defineProperties;
13864
+ var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
13865
+ var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
13866
+ var __hasOwnProp$U = Object.prototype.hasOwnProperty;
13867
+ var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
13868
+ var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13869
+ var __spreadValues$J = (a, b) => {
13861
13870
  for (var prop in b || (b = {}))
13862
- if (__hasOwnProp$T.call(b, prop))
13863
- __defNormalProp$I(a, prop, b[prop]);
13864
- if (__getOwnPropSymbols$T)
13865
- for (var prop of __getOwnPropSymbols$T(b)) {
13866
- if (__propIsEnum$T.call(b, prop))
13867
- __defNormalProp$I(a, prop, b[prop]);
13871
+ if (__hasOwnProp$U.call(b, prop))
13872
+ __defNormalProp$J(a, prop, b[prop]);
13873
+ if (__getOwnPropSymbols$U)
13874
+ for (var prop of __getOwnPropSymbols$U(b)) {
13875
+ if (__propIsEnum$U.call(b, prop))
13876
+ __defNormalProp$J(a, prop, b[prop]);
13868
13877
  }
13869
13878
  return a;
13870
13879
  };
13871
- var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
13880
+ var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
13872
13881
  var __objRest$v = (source, exclude) => {
13873
13882
  var target = {};
13874
13883
  for (var prop in source)
13875
- if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0)
13884
+ if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
13876
13885
  target[prop] = source[prop];
13877
- if (source != null && __getOwnPropSymbols$T)
13878
- for (var prop of __getOwnPropSymbols$T(source)) {
13879
- if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop))
13886
+ if (source != null && __getOwnPropSymbols$U)
13887
+ for (var prop of __getOwnPropSymbols$U(source)) {
13888
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
13880
13889
  target[prop] = source[prop];
13881
13890
  }
13882
13891
  return target;
@@ -13926,7 +13935,7 @@ class CarriersAPI {
13926
13935
  const endUserIpAddress = yield getEndUserIpAddress();
13927
13936
  if (!endUserIpAddress)
13928
13937
  return Promise.reject([new CodedError("Unable to get IP address")]);
13929
- return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$C(__spreadValues$I({}, connection), {
13938
+ return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$D(__spreadValues$J({}, connection), {
13930
13939
  endUserIpAddress
13931
13940
  }));
13932
13941
  });
@@ -13960,9 +13969,7 @@ class CarriersAPI {
13960
13969
  * values for auto-funding. Auto-funding is disabled by default.
13961
13970
  */
13962
13971
  this.getAutoFunding = (carrierId) => {
13963
- return this.client.get(
13964
- `/v1/carriers/${carrierId}/auto_funding`
13965
- );
13972
+ return this.client.get(`/v1/carriers/${carrierId}/auto_funding`);
13966
13973
  };
13967
13974
  /**
13968
13975
  * The `getServices` method retrieves a list of shipping services that a given carrier offers.
@@ -14012,17 +14019,17 @@ class CarriersAPI {
14012
14019
  }
14013
14020
  }
14014
14021
 
14015
- var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
14016
- var __hasOwnProp$S = Object.prototype.hasOwnProperty;
14017
- var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
14022
+ var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
14023
+ var __hasOwnProp$T = Object.prototype.hasOwnProperty;
14024
+ var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
14018
14025
  var __objRest$u = (source, exclude) => {
14019
14026
  var target = {};
14020
14027
  for (var prop in source)
14021
- if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0)
14028
+ if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0)
14022
14029
  target[prop] = source[prop];
14023
- if (source != null && __getOwnPropSymbols$S)
14024
- for (var prop of __getOwnPropSymbols$S(source)) {
14025
- if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop))
14030
+ if (source != null && __getOwnPropSymbols$T)
14031
+ for (var prop of __getOwnPropSymbols$T(source)) {
14032
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop))
14026
14033
  target[prop] = source[prop];
14027
14034
  }
14028
14035
  return target;
@@ -16237,19 +16244,19 @@ class CustomPackagesAPI {
16237
16244
  }
16238
16245
  }
16239
16246
 
16240
- var __defProp$H = Object.defineProperty;
16241
- var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
16242
- var __hasOwnProp$R = Object.prototype.hasOwnProperty;
16243
- var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
16244
- var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16245
- var __spreadValues$H = (a, b) => {
16247
+ var __defProp$I = Object.defineProperty;
16248
+ var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
16249
+ var __hasOwnProp$S = Object.prototype.hasOwnProperty;
16250
+ var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
16251
+ var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16252
+ var __spreadValues$I = (a, b) => {
16246
16253
  for (var prop in b || (b = {}))
16247
- if (__hasOwnProp$R.call(b, prop))
16248
- __defNormalProp$H(a, prop, b[prop]);
16249
- if (__getOwnPropSymbols$R)
16250
- for (var prop of __getOwnPropSymbols$R(b)) {
16251
- if (__propIsEnum$R.call(b, prop))
16252
- __defNormalProp$H(a, prop, b[prop]);
16254
+ if (__hasOwnProp$S.call(b, prop))
16255
+ __defNormalProp$I(a, prop, b[prop]);
16256
+ if (__getOwnPropSymbols$S)
16257
+ for (var prop of __getOwnPropSymbols$S(b)) {
16258
+ if (__propIsEnum$S.call(b, prop))
16259
+ __defNormalProp$I(a, prop, b[prop]);
16253
16260
  }
16254
16261
  return a;
16255
16262
  };
@@ -16297,7 +16304,7 @@ class FundingSourcesAPI {
16297
16304
  if (!endUserIpAddress) {
16298
16305
  return Promise.reject([new CodedError("Unable to get IP address")]);
16299
16306
  }
16300
- return yield this.client.post("/v1/funding_sources", __spreadValues$H({
16307
+ return yield this.client.post("/v1/funding_sources", __spreadValues$I({
16301
16308
  endUserIpAddress
16302
16309
  }, createFundingSource));
16303
16310
  });
@@ -16316,7 +16323,7 @@ class FundingSourcesAPI {
16316
16323
  {
16317
16324
  billingInfo,
16318
16325
  endUserIpAddress,
16319
- paymentMethod: __spreadValues$H({
16326
+ paymentMethod: __spreadValues$I({
16320
16327
  creditCardInfo
16321
16328
  }, auctanePayInfo)
16322
16329
  }
@@ -16331,7 +16338,7 @@ class FundingSourcesAPI {
16331
16338
  if (!endUserIpAddress) {
16332
16339
  return Promise.reject([new CodedError("Unable to get IP address")]);
16333
16340
  }
16334
- return yield this.client.post("/v1/registration/funding_source", __spreadValues$H({
16341
+ return yield this.client.post("/v1/registration/funding_source", __spreadValues$I({
16335
16342
  endUserIpAddress
16336
16343
  }, carrier));
16337
16344
  });
@@ -16500,17 +16507,17 @@ class LabelsAPI {
16500
16507
  }
16501
16508
  }
16502
16509
 
16503
- var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
16504
- var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
16505
- var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
16510
+ var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
16511
+ var __hasOwnProp$R = Object.prototype.hasOwnProperty;
16512
+ var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
16506
16513
  var __objRest$t = (source, exclude) => {
16507
16514
  var target = {};
16508
16515
  for (var prop in source)
16509
- if (__hasOwnProp$Q.call(source, prop) && exclude.indexOf(prop) < 0)
16516
+ if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
16510
16517
  target[prop] = source[prop];
16511
- if (source != null && __getOwnPropSymbols$Q)
16512
- for (var prop of __getOwnPropSymbols$Q(source)) {
16513
- if (exclude.indexOf(prop) < 0 && __propIsEnum$Q.call(source, prop))
16518
+ if (source != null && __getOwnPropSymbols$R)
16519
+ for (var prop of __getOwnPropSymbols$R(source)) {
16520
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
16514
16521
  target[prop] = source[prop];
16515
16522
  }
16516
16523
  return target;
@@ -16631,19 +16638,19 @@ class RateCardsAPI {
16631
16638
  }
16632
16639
  }
16633
16640
 
16634
- var __defProp$G = Object.defineProperty;
16635
- var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
16636
- var __hasOwnProp$P = Object.prototype.hasOwnProperty;
16637
- var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
16638
- var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16639
- var __spreadValues$G = (a, b) => {
16641
+ var __defProp$H = Object.defineProperty;
16642
+ var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
16643
+ var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
16644
+ var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
16645
+ var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16646
+ var __spreadValues$H = (a, b) => {
16640
16647
  for (var prop in b || (b = {}))
16641
- if (__hasOwnProp$P.call(b, prop))
16642
- __defNormalProp$G(a, prop, b[prop]);
16643
- if (__getOwnPropSymbols$P)
16644
- for (var prop of __getOwnPropSymbols$P(b)) {
16645
- if (__propIsEnum$P.call(b, prop))
16646
- __defNormalProp$G(a, prop, b[prop]);
16648
+ if (__hasOwnProp$Q.call(b, prop))
16649
+ __defNormalProp$H(a, prop, b[prop]);
16650
+ if (__getOwnPropSymbols$Q)
16651
+ for (var prop of __getOwnPropSymbols$Q(b)) {
16652
+ if (__propIsEnum$Q.call(b, prop))
16653
+ __defNormalProp$H(a, prop, b[prop]);
16647
16654
  }
16648
16655
  return a;
16649
16656
  };
@@ -16665,7 +16672,7 @@ class RatesAPI {
16665
16672
  * method.
16666
16673
  */
16667
16674
  this.estimate = (params) => {
16668
- return this.client.post("/v1/rates/estimate", __spreadValues$G({}, params));
16675
+ return this.client.post("/v1/rates/estimate", __spreadValues$H({}, params));
16669
16676
  };
16670
16677
  this.client = client;
16671
16678
  }
@@ -16849,19 +16856,19 @@ class SellersAPI {
16849
16856
  }
16850
16857
  }
16851
16858
 
16852
- var __defProp$F = Object.defineProperty;
16853
- var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
16854
- var __hasOwnProp$O = Object.prototype.hasOwnProperty;
16855
- var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
16856
- var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16857
- var __spreadValues$F = (a, b) => {
16859
+ var __defProp$G = Object.defineProperty;
16860
+ var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
16861
+ var __hasOwnProp$P = Object.prototype.hasOwnProperty;
16862
+ var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
16863
+ var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16864
+ var __spreadValues$G = (a, b) => {
16858
16865
  for (var prop in b || (b = {}))
16859
- if (__hasOwnProp$O.call(b, prop))
16860
- __defNormalProp$F(a, prop, b[prop]);
16861
- if (__getOwnPropSymbols$O)
16862
- for (var prop of __getOwnPropSymbols$O(b)) {
16863
- if (__propIsEnum$O.call(b, prop))
16864
- __defNormalProp$F(a, prop, b[prop]);
16866
+ if (__hasOwnProp$P.call(b, prop))
16867
+ __defNormalProp$G(a, prop, b[prop]);
16868
+ if (__getOwnPropSymbols$P)
16869
+ for (var prop of __getOwnPropSymbols$P(b)) {
16870
+ if (__propIsEnum$P.call(b, prop))
16871
+ __defNormalProp$G(a, prop, b[prop]);
16865
16872
  }
16866
16873
  return a;
16867
16874
  };
@@ -16873,7 +16880,7 @@ class ServicePointsAPI {
16873
16880
  * Either an address, coordinates, or an address query
16874
16881
  */
16875
16882
  this.list = (options) => {
16876
- return this.client.post("/v1/service_points/list", __spreadValues$F({}, options));
16883
+ return this.client.post("/v1/service_points/list", __spreadValues$G({}, options));
16877
16884
  };
16878
16885
  /**
16879
16886
  * Get a specific service point by its carrier code, country code, and id
@@ -34357,33 +34364,33 @@ class WebhooksAPI {
34357
34364
  }
34358
34365
  }
34359
34366
 
34360
- var __defProp$E = Object.defineProperty;
34361
- var __defProps$B = Object.defineProperties;
34362
- var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
34363
- var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
34364
- var __hasOwnProp$N = Object.prototype.hasOwnProperty;
34365
- var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
34366
- var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34367
- var __spreadValues$E = (a, b) => {
34367
+ var __defProp$F = Object.defineProperty;
34368
+ var __defProps$C = Object.defineProperties;
34369
+ var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
34370
+ var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
34371
+ var __hasOwnProp$O = Object.prototype.hasOwnProperty;
34372
+ var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
34373
+ var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34374
+ var __spreadValues$F = (a, b) => {
34368
34375
  for (var prop in b || (b = {}))
34369
- if (__hasOwnProp$N.call(b, prop))
34370
- __defNormalProp$E(a, prop, b[prop]);
34371
- if (__getOwnPropSymbols$N)
34372
- for (var prop of __getOwnPropSymbols$N(b)) {
34373
- if (__propIsEnum$N.call(b, prop))
34374
- __defNormalProp$E(a, prop, b[prop]);
34376
+ if (__hasOwnProp$O.call(b, prop))
34377
+ __defNormalProp$F(a, prop, b[prop]);
34378
+ if (__getOwnPropSymbols$O)
34379
+ for (var prop of __getOwnPropSymbols$O(b)) {
34380
+ if (__propIsEnum$O.call(b, prop))
34381
+ __defNormalProp$F(a, prop, b[prop]);
34375
34382
  }
34376
34383
  return a;
34377
34384
  };
34378
- var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
34385
+ var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
34379
34386
  var __objRest$s = (source, exclude) => {
34380
34387
  var target = {};
34381
34388
  for (var prop in source)
34382
- if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0)
34389
+ if (__hasOwnProp$O.call(source, prop) && exclude.indexOf(prop) < 0)
34383
34390
  target[prop] = source[prop];
34384
- if (source != null && __getOwnPropSymbols$N)
34385
- for (var prop of __getOwnPropSymbols$N(source)) {
34386
- if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop))
34391
+ if (source != null && __getOwnPropSymbols$O)
34392
+ for (var prop of __getOwnPropSymbols$O(source)) {
34393
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$O.call(source, prop))
34387
34394
  target[prop] = source[prop];
34388
34395
  }
34389
34396
  return target;
@@ -34411,7 +34418,7 @@ var __async$X = (__this, __arguments, generator) => {
34411
34418
  const logger$1 = E({
34412
34419
  level: process.env.NODE_ENV === "production" ? "fatal" : "info",
34413
34420
  name: "shipengine-api",
34414
- serializers: __spreadProps$B(__spreadValues$E({}, k), {
34421
+ serializers: __spreadProps$C(__spreadValues$F({}, k), {
34415
34422
  req: (req) => ({
34416
34423
  headers: req.headers,
34417
34424
  method: req.method,
@@ -34436,7 +34443,7 @@ class ShipEngineAPI {
34436
34443
  this.getSandboxToken = getSandboxToken;
34437
34444
  const client = axios.create({
34438
34445
  baseURL,
34439
- headers: __spreadProps$B(__spreadValues$E({}, headers), {
34446
+ headers: __spreadProps$C(__spreadValues$F({}, headers), {
34440
34447
  "Content-Type": "application/json"
34441
34448
  }),
34442
34449
  paramsSerializer: (params) => lib.stringify(decamelizeKeys(params), { arrayFormat: "brackets" }),
@@ -34853,25 +34860,25 @@ const delay = (ms) => new Promise((resolve) => {
34853
34860
 
34854
34861
  const onError = (_errors) => _default();
34855
34862
 
34856
- var __defProp$D = Object.defineProperty;
34857
- var __defProps$A = Object.defineProperties;
34858
- var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
34859
- var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
34860
- var __hasOwnProp$M = Object.prototype.hasOwnProperty;
34861
- var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
34862
- var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34863
- var __spreadValues$D = (a, b) => {
34863
+ var __defProp$E = Object.defineProperty;
34864
+ var __defProps$B = Object.defineProperties;
34865
+ var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
34866
+ var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
34867
+ var __hasOwnProp$N = Object.prototype.hasOwnProperty;
34868
+ var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
34869
+ var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34870
+ var __spreadValues$E = (a, b) => {
34864
34871
  for (var prop in b || (b = {}))
34865
- if (__hasOwnProp$M.call(b, prop))
34866
- __defNormalProp$D(a, prop, b[prop]);
34867
- if (__getOwnPropSymbols$M)
34868
- for (var prop of __getOwnPropSymbols$M(b)) {
34869
- if (__propIsEnum$M.call(b, prop))
34870
- __defNormalProp$D(a, prop, b[prop]);
34872
+ if (__hasOwnProp$N.call(b, prop))
34873
+ __defNormalProp$E(a, prop, b[prop]);
34874
+ if (__getOwnPropSymbols$N)
34875
+ for (var prop of __getOwnPropSymbols$N(b)) {
34876
+ if (__propIsEnum$N.call(b, prop))
34877
+ __defNormalProp$E(a, prop, b[prop]);
34871
34878
  }
34872
34879
  return a;
34873
34880
  };
34874
- var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
34881
+ var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
34875
34882
  const streams = [];
34876
34883
  if (process.env.NODE_ENV === "production") {
34877
34884
  streams.push({
@@ -34880,7 +34887,7 @@ if (process.env.NODE_ENV === "production") {
34880
34887
  }
34881
34888
  const logger = E({
34882
34889
  name: "shipengine",
34883
- serializers: __spreadProps$A(__spreadValues$D({}, k), {
34890
+ serializers: __spreadProps$B(__spreadValues$E({}, k), {
34884
34891
  req: (req) => ({
34885
34892
  headers: req.headers,
34886
34893
  method: req.method,
@@ -35117,25 +35124,25 @@ const useValidateAddresses = () => {
35117
35124
  });
35118
35125
  };
35119
35126
 
35120
- var __defProp$C = Object.defineProperty;
35121
- var __defProps$z = Object.defineProperties;
35122
- var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
35123
- var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
35124
- var __hasOwnProp$L = Object.prototype.hasOwnProperty;
35125
- var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
35126
- var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35127
- var __spreadValues$C = (a, b) => {
35127
+ var __defProp$D = Object.defineProperty;
35128
+ var __defProps$A = Object.defineProperties;
35129
+ var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
35130
+ var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
35131
+ var __hasOwnProp$M = Object.prototype.hasOwnProperty;
35132
+ var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
35133
+ var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35134
+ var __spreadValues$D = (a, b) => {
35128
35135
  for (var prop in b || (b = {}))
35129
- if (__hasOwnProp$L.call(b, prop))
35130
- __defNormalProp$C(a, prop, b[prop]);
35131
- if (__getOwnPropSymbols$L)
35132
- for (var prop of __getOwnPropSymbols$L(b)) {
35133
- if (__propIsEnum$L.call(b, prop))
35134
- __defNormalProp$C(a, prop, b[prop]);
35136
+ if (__hasOwnProp$M.call(b, prop))
35137
+ __defNormalProp$D(a, prop, b[prop]);
35138
+ if (__getOwnPropSymbols$M)
35139
+ for (var prop of __getOwnPropSymbols$M(b)) {
35140
+ if (__propIsEnum$M.call(b, prop))
35141
+ __defNormalProp$D(a, prop, b[prop]);
35135
35142
  }
35136
35143
  return a;
35137
35144
  };
35138
- var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
35145
+ var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
35139
35146
  var __async$Q = (__this, __arguments, generator) => {
35140
35147
  return new Promise((resolve, reject) => {
35141
35148
  var fulfilled = (value) => {
@@ -35158,7 +35165,7 @@ var __async$Q = (__this, __arguments, generator) => {
35158
35165
  };
35159
35166
  const useCreateAuctanePaySession = (params) => {
35160
35167
  const { client } = useShipEngine();
35161
- return useMutation(__spreadProps$z(__spreadValues$C({}, params), {
35168
+ return useMutation(__spreadProps$A(__spreadValues$D({}, params), {
35162
35169
  mutationFn: (request) => __async$Q(void 0, null, function* () {
35163
35170
  const result = yield client.auctanePay.createSession(request);
35164
35171
  return result.data;
@@ -35168,6 +35175,36 @@ const useCreateAuctanePaySession = (params) => {
35168
35175
  }));
35169
35176
  };
35170
35177
 
35178
+ var __defProp$C = Object.defineProperty;
35179
+ var __defProps$z = Object.defineProperties;
35180
+ var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
35181
+ var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
35182
+ var __hasOwnProp$L = Object.prototype.hasOwnProperty;
35183
+ var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
35184
+ var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35185
+ var __spreadValues$C = (a, b) => {
35186
+ for (var prop in b || (b = {}))
35187
+ if (__hasOwnProp$L.call(b, prop))
35188
+ __defNormalProp$C(a, prop, b[prop]);
35189
+ if (__getOwnPropSymbols$L)
35190
+ for (var prop of __getOwnPropSymbols$L(b)) {
35191
+ if (__propIsEnum$L.call(b, prop))
35192
+ __defNormalProp$C(a, prop, b[prop]);
35193
+ }
35194
+ return a;
35195
+ };
35196
+ var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
35197
+ const useGetAuctanePayConfig = (params) => {
35198
+ const { client } = useShipEngine();
35199
+ const queryParams = __spreadValues$C({}, params);
35200
+ return useQuery(__spreadProps$z(__spreadValues$C({}, queryParams), {
35201
+ onError,
35202
+ queryFn: () => client.auctanePay.getConfig(),
35203
+ queryKey: ["useGetAuctanePayConfig"],
35204
+ select: (result) => result.data
35205
+ }));
35206
+ };
35207
+
35171
35208
  var __defProp$B = Object.defineProperty;
35172
35209
  var __defProps$y = Object.defineProperties;
35173
35210
  var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
@@ -35187,36 +35224,6 @@ var __spreadValues$B = (a, b) => {
35187
35224
  return a;
35188
35225
  };
35189
35226
  var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
35190
- const useGetAuctanePayConfig = (params) => {
35191
- const { client } = useShipEngine();
35192
- const queryParams = __spreadValues$B({}, params);
35193
- return useQuery(__spreadProps$y(__spreadValues$B({}, queryParams), {
35194
- onError,
35195
- queryFn: () => client.auctanePay.getConfig(),
35196
- queryKey: ["useGetAuctanePayConfig"],
35197
- select: (result) => result.data
35198
- }));
35199
- };
35200
-
35201
- var __defProp$A = Object.defineProperty;
35202
- var __defProps$x = Object.defineProperties;
35203
- var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
35204
- var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
35205
- var __hasOwnProp$J = Object.prototype.hasOwnProperty;
35206
- var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
35207
- var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35208
- var __spreadValues$A = (a, b) => {
35209
- for (var prop in b || (b = {}))
35210
- if (__hasOwnProp$J.call(b, prop))
35211
- __defNormalProp$A(a, prop, b[prop]);
35212
- if (__getOwnPropSymbols$J)
35213
- for (var prop of __getOwnPropSymbols$J(b)) {
35214
- if (__propIsEnum$J.call(b, prop))
35215
- __defNormalProp$A(a, prop, b[prop]);
35216
- }
35217
- return a;
35218
- };
35219
- var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
35220
35227
  var __async$P = (__this, __arguments, generator) => {
35221
35228
  return new Promise((resolve, reject) => {
35222
35229
  var fulfilled = (value) => {
@@ -35239,7 +35246,7 @@ var __async$P = (__this, __arguments, generator) => {
35239
35246
  };
35240
35247
  const usePreviewTransaction = (params) => {
35241
35248
  const { client } = useShipEngine();
35242
- return useMutation(__spreadProps$x(__spreadValues$A({}, params), {
35249
+ return useMutation(__spreadProps$y(__spreadValues$B({}, params), {
35243
35250
  mutationFn: (_0) => __async$P(void 0, [_0], function* ({ amount, transactionCategory = "add_funds" }) {
35244
35251
  const request = {
35245
35252
  amount,
@@ -35253,6 +35260,36 @@ const usePreviewTransaction = (params) => {
35253
35260
  }));
35254
35261
  };
35255
35262
 
35263
+ var __defProp$A = Object.defineProperty;
35264
+ var __defProps$x = Object.defineProperties;
35265
+ var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
35266
+ var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
35267
+ var __hasOwnProp$J = Object.prototype.hasOwnProperty;
35268
+ var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
35269
+ var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35270
+ var __spreadValues$A = (a, b) => {
35271
+ for (var prop in b || (b = {}))
35272
+ if (__hasOwnProp$J.call(b, prop))
35273
+ __defNormalProp$A(a, prop, b[prop]);
35274
+ if (__getOwnPropSymbols$J)
35275
+ for (var prop of __getOwnPropSymbols$J(b)) {
35276
+ if (__propIsEnum$J.call(b, prop))
35277
+ __defNormalProp$A(a, prop, b[prop]);
35278
+ }
35279
+ return a;
35280
+ };
35281
+ var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
35282
+ const useGetPaymentMethods = (params) => {
35283
+ const { client } = useShipEngine();
35284
+ const queryParams = __spreadValues$A({}, params);
35285
+ return useQuery(__spreadProps$x(__spreadValues$A({}, queryParams), {
35286
+ onError,
35287
+ queryFn: () => client.auctanePay.getPaymentMethods(),
35288
+ queryKey: ["useGetPaymentMethods"],
35289
+ select: (result) => result.data
35290
+ }));
35291
+ };
35292
+
35256
35293
  var __async$O = (__this, __arguments, generator) => {
35257
35294
  return new Promise((resolve, reject) => {
35258
35295
  var fulfilled = (value) => {
@@ -39768,4 +39805,4 @@ const alchemy = {
39768
39805
  createElement
39769
39806
  };
39770
39807
 
39771
- export { AccountBillingAPI, AccountBillingPlanAPI, AccountBillingPlanChangeType, AccountSettingsAPI, AddressesAPI, AlchemyContext, AlchemyProvider, AlchemyTestProvider, AuctanePayAPI, CarriersAPI, CodedError, ConfirmationType, ConnectionsAPI, CreditCardVendor, Currency, CustomPackagesAPI, CustomsContentsType, CustomsNonDeliveryType, Element, ErrorBoundary, FundingSourcesAPI, InsuranceAPI, InsuranceProviderType, InvoiceAddressAPI, LabelsAPI, MetadataCapability, MetadataRequirement, MetadataSatisfyingFormTypes, MovementIndicator, OrderSourcesAPI, RateCardStatus, RateCardsAPI, RatesAPI, types as SE, SalesOrderShipmentsAPI, SalesOrdersAPI, SellersAPI, ServicePointsAPI, ShipEngine, ShipEngineAPI, ShipEngineContext, ShipmentsAPI, ShippingRulesAPI, ThemesAPI, UsersApi, WarehousesAPI, WebhooksAPI, alchemy, camelizeKeys, decamelizeKeys, alchemy as default, delay, getEmotionCache, getEndUserIpAddress, isCodedError, isCodedErrors, isDataCodedErrors, isInvalidTokenError, logger, onError, parseError, retryUntil, useAddFunds, useAddInsuranceFunds, useAddSandboxCarriers, useAlchemy, useCalculateRates, useCancelShipment, useCarrierConnectionsServicesList, useConnectCarrier, useConnectCarrierAccount, useCreateAccountImage, useCreateAuctanePaySession, useCreateFundingSource, useCreateInvoiceAddress, useCreateLabel, useCreateLabelByRateId, useCreateLabelByShipmentId, useCreateRateCard, useCreateSalesOrderShipment, useCreateSandboxSeller, useCreateSellerApiKey, useCreateShipment, useCreateShippingRule, useCreateWarehouse, useCreateWebhook, useDeactivateOrderSource, useDeleteAccountImage, useDeleteCarrier, useDeleteRateCard, useDeleteSellerApiKey, useDeleteShippingRule, useDeleteWarehouse, useDeleteWebhook, useDownloadRateCard, useEditShippingRule, useExportLabels, useExportShipments, useFundingSourcesAddFunds, useGetAccountBilling, useGetAccountBillingPlan, useGetAccountImages, useGetAccountSettings, useGetAuctanePayConfig, useGetAutoFundingConfiguration, useGetCarrierById, useGetCarrierConnectionForm, useGetConnectionsCarrierSettings, useGetCountriesByCarrier, useGetCurrenciesByCarrier, useGetFundingSourceById, useGetFundingSourceMetadata, useGetFundingSourceTransactions, useGetHereToken, useGetInsuranceAccount, useGetInsuranceFundingSourceAcceptedTerms, useGetInvoiceAddress, useGetLabel, useGetPackageRatingGroupByCarrier, useGetRateCardById, useGetSalesOrder, useGetSalesOrderByExternalOrderId, useGetSalesOrderShipment, useGetServicePoint, useGetServicesByCarrier, useGetShipment, useGetShipmentByExternalId, useGetShipmentRates, useGetShippingRuleById, useGetShippingRuleConditionsOptions, useGetThemeById, useGetZonesByCarrier, useI18n, useListCarrierConnections, useListCarriers, useListCustomPackageTypes, useListFundingSources, useListLabels, useListLabelsInfinite, useListOrderSources, useListOrderSourcesConnections, useListRateCards, useListSalesOrderShipments, useListSalesOrderShipmentsByExternalOrderId, useListSalesOrders, useListSandboxSellerIds, useListSellerApiKeys, useListServicePoints, useListShipments, useListShippingRules, useListUsers, useListWarehouses, useListWebhooks, useLoadIcons, useNotifySalesOrderShipped, useParseAddress, usePreviewTransaction, usePublishRateCard, useRatesEstimate, useRefreshOrderSource, useRefreshOrderSourceAsync, useRegisterCarrier, useRequestStampsAccountUrls, useShipEngine, useUpdateAccountBillingPlan, useUpdateAccountImage, useUpdateAccountSettings, useUpdateAutoFunding, useUpdateConnectionsCarrierSettings, useUpdateFundingSource, useUpdateInvoiceAddress, useUpdateOrderSource, useUpdateRateCard, useUpdateSalesOrderShipment, useUpdateWarehouse, useUpdateWebhook, useUploadRateCard, useUpsertAccountBilling, useValidateAddresses, useVoidLabel };
39808
+ export { AccountBillingAPI, AccountBillingPlanAPI, AccountBillingPlanChangeType, AccountSettingsAPI, AddressesAPI, AlchemyContext, AlchemyProvider, AlchemyTestProvider, AuctanePayAPI, CarriersAPI, CodedError, ConfirmationType, ConnectionsAPI, CreditCardVendor, Currency, CustomPackagesAPI, CustomsContentsType, CustomsNonDeliveryType, Element, ErrorBoundary, FundingSourcesAPI, InsuranceAPI, InsuranceProviderType, InvoiceAddressAPI, LabelsAPI, MetadataCapability, MetadataRequirement, MetadataSatisfyingFormTypes, MovementIndicator, OrderSourcesAPI, RateCardStatus, RateCardsAPI, RatesAPI, types as SE, SalesOrderShipmentsAPI, SalesOrdersAPI, SellersAPI, ServicePointsAPI, ShipEngine, ShipEngineAPI, ShipEngineContext, ShipmentsAPI, ShippingRulesAPI, ThemesAPI, UsersApi, WarehousesAPI, WebhooksAPI, alchemy, camelizeKeys, decamelizeKeys, alchemy as default, delay, getEmotionCache, getEndUserIpAddress, isCodedError, isCodedErrors, isDataCodedErrors, isInvalidTokenError, logger, onError, parseError, retryUntil, useAddFunds, useAddInsuranceFunds, useAddSandboxCarriers, useAlchemy, useCalculateRates, useCancelShipment, useCarrierConnectionsServicesList, useConnectCarrier, useConnectCarrierAccount, useCreateAccountImage, useCreateAuctanePaySession, useCreateFundingSource, useCreateInvoiceAddress, useCreateLabel, useCreateLabelByRateId, useCreateLabelByShipmentId, useCreateRateCard, useCreateSalesOrderShipment, useCreateSandboxSeller, useCreateSellerApiKey, useCreateShipment, useCreateShippingRule, useCreateWarehouse, useCreateWebhook, useDeactivateOrderSource, useDeleteAccountImage, useDeleteCarrier, useDeleteRateCard, useDeleteSellerApiKey, useDeleteShippingRule, useDeleteWarehouse, useDeleteWebhook, useDownloadRateCard, useEditShippingRule, useExportLabels, useExportShipments, useFundingSourcesAddFunds, useGetAccountBilling, useGetAccountBillingPlan, useGetAccountImages, useGetAccountSettings, useGetAuctanePayConfig, useGetAutoFundingConfiguration, useGetCarrierById, useGetCarrierConnectionForm, useGetConnectionsCarrierSettings, useGetCountriesByCarrier, useGetCurrenciesByCarrier, useGetFundingSourceById, useGetFundingSourceMetadata, useGetFundingSourceTransactions, useGetHereToken, useGetInsuranceAccount, useGetInsuranceFundingSourceAcceptedTerms, useGetInvoiceAddress, useGetLabel, useGetPackageRatingGroupByCarrier, useGetPaymentMethods, useGetRateCardById, useGetSalesOrder, useGetSalesOrderByExternalOrderId, useGetSalesOrderShipment, useGetServicePoint, useGetServicesByCarrier, useGetShipment, useGetShipmentByExternalId, useGetShipmentRates, useGetShippingRuleById, useGetShippingRuleConditionsOptions, useGetThemeById, useGetZonesByCarrier, useI18n, useListCarrierConnections, useListCarriers, useListCustomPackageTypes, useListFundingSources, useListLabels, useListLabelsInfinite, useListOrderSources, useListOrderSourcesConnections, useListRateCards, useListSalesOrderShipments, useListSalesOrderShipmentsByExternalOrderId, useListSalesOrders, useListSandboxSellerIds, useListSellerApiKeys, useListServicePoints, useListShipments, useListShippingRules, useListUsers, useListWarehouses, useListWebhooks, useLoadIcons, useNotifySalesOrderShipped, useParseAddress, usePreviewTransaction, usePublishRateCard, useRatesEstimate, useRefreshOrderSource, useRefreshOrderSourceAsync, useRegisterCarrier, useRequestStampsAccountUrls, useShipEngine, useUpdateAccountBillingPlan, useUpdateAccountImage, useUpdateAccountSettings, useUpdateAutoFunding, useUpdateConnectionsCarrierSettings, useUpdateFundingSource, useUpdateInvoiceAddress, useUpdateOrderSource, useUpdateRateCard, useUpdateSalesOrderShipment, useUpdateWarehouse, useUpdateWebhook, useUploadRateCard, useUpsertAccountBilling, useValidateAddresses, useVoidLabel };