@shipengine/alchemy 6.0.58 → 6.0.60

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 +253 -197
  2. package/index.mjs +253 -198
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4883,33 +4883,41 @@ var _getHolder = getHolder$2;
4883
4883
 
4884
4884
  /** Used as references for various `Number` constants. */
4885
4885
 
4886
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
4886
+ var _isIndex;
4887
+ var hasRequired_isIndex;
4887
4888
 
4888
- /** Used to detect unsigned integer values. */
4889
- var reIsUint = /^(?:0|[1-9]\d*)$/;
4889
+ function require_isIndex () {
4890
+ if (hasRequired_isIndex) return _isIndex;
4891
+ hasRequired_isIndex = 1;
4892
+ var MAX_SAFE_INTEGER = 9007199254740991;
4890
4893
 
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;
4894
+ /** Used to detect unsigned integer values. */
4895
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
4902
4896
 
4903
- return !!length &&
4904
- (type == 'number' ||
4905
- (type != 'symbol' && reIsUint.test(value))) &&
4906
- (value > -1 && value % 1 == 0 && value < length);
4907
- }
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
+ }
4908
4914
 
4909
- var _isIndex = isIndex$3;
4915
+ _isIndex = isIndex;
4916
+ return _isIndex;
4917
+ }
4910
4918
 
4911
4919
  var copyArray$2 = _copyArray,
4912
- isIndex$2 = _isIndex;
4920
+ isIndex$2 = require_isIndex();
4913
4921
 
4914
4922
  /* Built-in method references for those with the same name as other `lodash` methods. */
4915
4923
  var nativeMin$1 = Math.min;
@@ -6102,7 +6110,7 @@ var baseTimes = _baseTimes,
6102
6110
  isArguments$2 = requireIsArguments(),
6103
6111
  isArray$f = isArray_1,
6104
6112
  isBuffer$4 = isBufferExports,
6105
- isIndex$1 = _isIndex,
6113
+ isIndex$1 = require_isIndex(),
6106
6114
  isTypedArray$1 = requireIsTypedArray();
6107
6115
 
6108
6116
  /** Used for built-in method references. */
@@ -9433,7 +9441,7 @@ var _baseHasIn = baseHasIn$1;
9433
9441
  var castPath = _castPath,
9434
9442
  isArguments$1 = requireIsArguments(),
9435
9443
  isArray$8 = isArray_1,
9436
- isIndex = _isIndex,
9444
+ isIndex = require_isIndex(),
9437
9445
  isLength = isLength_1,
9438
9446
  toKey$3 = _toKey;
9439
9447
 
@@ -10323,7 +10331,7 @@ function require_isIterateeCall () {
10323
10331
  hasRequired_isIterateeCall = 1;
10324
10332
  var eq = requireEq(),
10325
10333
  isArrayLike = isArrayLike_1,
10326
- isIndex = _isIndex,
10334
+ isIndex = require_isIndex(),
10327
10335
  isObject = isObject_1;
10328
10336
 
10329
10337
  /**
@@ -10529,6 +10537,16 @@ const fallbackTheme = {
10529
10537
  pink: '#E995BA',
10530
10538
  green: '#DEF895'
10531
10539
  }
10540
+ },
10541
+ destructive: {
10542
+ ultraLight: '#FDF7F7',
10543
+ light: '#821212',
10544
+ main: '#A91919',
10545
+ dark: '#5D0E0E'
10546
+ },
10547
+ upgrade: {
10548
+ main: '#8D30F7',
10549
+ light: '#F6F2FF'
10532
10550
  }
10533
10551
  },
10534
10552
  spacingBase: 8,
@@ -10790,17 +10808,17 @@ var AccountBillingPlanChangeType = /* @__PURE__ */ ((AccountBillingPlanChangeTyp
10790
10808
  return AccountBillingPlanChangeType2;
10791
10809
  })(AccountBillingPlanChangeType || {});
10792
10810
 
10793
- var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
10794
- var __hasOwnProp$V = Object.prototype.hasOwnProperty;
10795
- var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
10811
+ var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
10812
+ var __hasOwnProp$W = Object.prototype.hasOwnProperty;
10813
+ var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
10796
10814
  var __objRest$x = (source, exclude) => {
10797
10815
  var target = {};
10798
10816
  for (var prop in source)
10799
- if (__hasOwnProp$V.call(source, prop) && exclude.indexOf(prop) < 0)
10817
+ if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0)
10800
10818
  target[prop] = source[prop];
10801
- if (source != null && __getOwnPropSymbols$V)
10802
- for (var prop of __getOwnPropSymbols$V(source)) {
10803
- if (exclude.indexOf(prop) < 0 && __propIsEnum$V.call(source, prop))
10819
+ if (source != null && __getOwnPropSymbols$W)
10820
+ for (var prop of __getOwnPropSymbols$W(source)) {
10821
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$W.call(source, prop))
10804
10822
  target[prop] = source[prop];
10805
10823
  }
10806
10824
  return target;
@@ -10935,17 +10953,17 @@ const types = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
10935
10953
  RateCardStatus
10936
10954
  }, Symbol.toStringTag, { value: 'Module' }));
10937
10955
 
10938
- var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
10939
- var __hasOwnProp$U = Object.prototype.hasOwnProperty;
10940
- var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
10956
+ var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
10957
+ var __hasOwnProp$V = Object.prototype.hasOwnProperty;
10958
+ var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
10941
10959
  var __objRest$w = (source, exclude) => {
10942
10960
  var target = {};
10943
10961
  for (var prop in source)
10944
- if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
10962
+ if (__hasOwnProp$V.call(source, prop) && exclude.indexOf(prop) < 0)
10945
10963
  target[prop] = source[prop];
10946
- if (source != null && __getOwnPropSymbols$U)
10947
- for (var prop of __getOwnPropSymbols$U(source)) {
10948
- if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
10964
+ if (source != null && __getOwnPropSymbols$V)
10965
+ for (var prop of __getOwnPropSymbols$V(source)) {
10966
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$V.call(source, prop))
10949
10967
  target[prop] = source[prop];
10950
10968
  }
10951
10969
  return target;
@@ -11052,6 +11070,13 @@ class AuctanePayAPI {
11052
11070
  request
11053
11071
  );
11054
11072
  };
11073
+ /**
11074
+ * The `getPaymentMethods` method retrieve the list of Payment Methods for a given user.
11075
+ * @docs https://auctane.atlassian.net/wiki/spaces/SEEU/pages/5906662077/AUCTANE+PAY+ENDPOINTS+FOR+SHIPSTATION+API#Get-payment-methods
11076
+ */
11077
+ this.getPaymentMethods = () => {
11078
+ return this.client.get("/v1/payments/payment_methods");
11079
+ };
11055
11080
  this.client = client;
11056
11081
  }
11057
11082
  }
@@ -13842,33 +13867,33 @@ const decamelizeKeys = (obj, separator = "_") => {
13842
13867
  return obj;
13843
13868
  };
13844
13869
 
13845
- var __defProp$I = Object.defineProperty;
13846
- var __defProps$C = Object.defineProperties;
13847
- var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
13848
- var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
13849
- var __hasOwnProp$T = Object.prototype.hasOwnProperty;
13850
- var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
13851
- var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13852
- var __spreadValues$I = (a, b) => {
13870
+ var __defProp$J = Object.defineProperty;
13871
+ var __defProps$D = Object.defineProperties;
13872
+ var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
13873
+ var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
13874
+ var __hasOwnProp$U = Object.prototype.hasOwnProperty;
13875
+ var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
13876
+ var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13877
+ var __spreadValues$J = (a, b) => {
13853
13878
  for (var prop in b || (b = {}))
13854
- if (__hasOwnProp$T.call(b, prop))
13855
- __defNormalProp$I(a, prop, b[prop]);
13856
- if (__getOwnPropSymbols$T)
13857
- for (var prop of __getOwnPropSymbols$T(b)) {
13858
- if (__propIsEnum$T.call(b, prop))
13859
- __defNormalProp$I(a, prop, b[prop]);
13879
+ if (__hasOwnProp$U.call(b, prop))
13880
+ __defNormalProp$J(a, prop, b[prop]);
13881
+ if (__getOwnPropSymbols$U)
13882
+ for (var prop of __getOwnPropSymbols$U(b)) {
13883
+ if (__propIsEnum$U.call(b, prop))
13884
+ __defNormalProp$J(a, prop, b[prop]);
13860
13885
  }
13861
13886
  return a;
13862
13887
  };
13863
- var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
13888
+ var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
13864
13889
  var __objRest$v = (source, exclude) => {
13865
13890
  var target = {};
13866
13891
  for (var prop in source)
13867
- if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0)
13892
+ if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
13868
13893
  target[prop] = source[prop];
13869
- if (source != null && __getOwnPropSymbols$T)
13870
- for (var prop of __getOwnPropSymbols$T(source)) {
13871
- if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop))
13894
+ if (source != null && __getOwnPropSymbols$U)
13895
+ for (var prop of __getOwnPropSymbols$U(source)) {
13896
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
13872
13897
  target[prop] = source[prop];
13873
13898
  }
13874
13899
  return target;
@@ -13918,7 +13943,7 @@ class CarriersAPI {
13918
13943
  const endUserIpAddress = yield getEndUserIpAddress();
13919
13944
  if (!endUserIpAddress)
13920
13945
  return Promise.reject([new CodedError("Unable to get IP address")]);
13921
- return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$C(__spreadValues$I({}, connection), {
13946
+ return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$D(__spreadValues$J({}, connection), {
13922
13947
  endUserIpAddress
13923
13948
  }));
13924
13949
  });
@@ -14004,17 +14029,17 @@ class CarriersAPI {
14004
14029
  }
14005
14030
  }
14006
14031
 
14007
- var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
14008
- var __hasOwnProp$S = Object.prototype.hasOwnProperty;
14009
- var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
14032
+ var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
14033
+ var __hasOwnProp$T = Object.prototype.hasOwnProperty;
14034
+ var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
14010
14035
  var __objRest$u = (source, exclude) => {
14011
14036
  var target = {};
14012
14037
  for (var prop in source)
14013
- if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0)
14038
+ if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0)
14014
14039
  target[prop] = source[prop];
14015
- if (source != null && __getOwnPropSymbols$S)
14016
- for (var prop of __getOwnPropSymbols$S(source)) {
14017
- if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop))
14040
+ if (source != null && __getOwnPropSymbols$T)
14041
+ for (var prop of __getOwnPropSymbols$T(source)) {
14042
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop))
14018
14043
  target[prop] = source[prop];
14019
14044
  }
14020
14045
  return target;
@@ -16229,19 +16254,19 @@ class CustomPackagesAPI {
16229
16254
  }
16230
16255
  }
16231
16256
 
16232
- var __defProp$H = Object.defineProperty;
16233
- var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
16234
- var __hasOwnProp$R = Object.prototype.hasOwnProperty;
16235
- var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
16236
- var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16237
- var __spreadValues$H = (a, b) => {
16257
+ var __defProp$I = Object.defineProperty;
16258
+ var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
16259
+ var __hasOwnProp$S = Object.prototype.hasOwnProperty;
16260
+ var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
16261
+ var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16262
+ var __spreadValues$I = (a, b) => {
16238
16263
  for (var prop in b || (b = {}))
16239
- if (__hasOwnProp$R.call(b, prop))
16240
- __defNormalProp$H(a, prop, b[prop]);
16241
- if (__getOwnPropSymbols$R)
16242
- for (var prop of __getOwnPropSymbols$R(b)) {
16243
- if (__propIsEnum$R.call(b, prop))
16244
- __defNormalProp$H(a, prop, b[prop]);
16264
+ if (__hasOwnProp$S.call(b, prop))
16265
+ __defNormalProp$I(a, prop, b[prop]);
16266
+ if (__getOwnPropSymbols$S)
16267
+ for (var prop of __getOwnPropSymbols$S(b)) {
16268
+ if (__propIsEnum$S.call(b, prop))
16269
+ __defNormalProp$I(a, prop, b[prop]);
16245
16270
  }
16246
16271
  return a;
16247
16272
  };
@@ -16289,7 +16314,7 @@ class FundingSourcesAPI {
16289
16314
  if (!endUserIpAddress) {
16290
16315
  return Promise.reject([new CodedError("Unable to get IP address")]);
16291
16316
  }
16292
- return yield this.client.post("/v1/funding_sources", __spreadValues$H({
16317
+ return yield this.client.post("/v1/funding_sources", __spreadValues$I({
16293
16318
  endUserIpAddress
16294
16319
  }, createFundingSource));
16295
16320
  });
@@ -16308,7 +16333,7 @@ class FundingSourcesAPI {
16308
16333
  {
16309
16334
  billingInfo,
16310
16335
  endUserIpAddress,
16311
- paymentMethod: __spreadValues$H({
16336
+ paymentMethod: __spreadValues$I({
16312
16337
  creditCardInfo
16313
16338
  }, auctanePayInfo)
16314
16339
  }
@@ -16323,7 +16348,7 @@ class FundingSourcesAPI {
16323
16348
  if (!endUserIpAddress) {
16324
16349
  return Promise.reject([new CodedError("Unable to get IP address")]);
16325
16350
  }
16326
- return yield this.client.post("/v1/registration/funding_source", __spreadValues$H({
16351
+ return yield this.client.post("/v1/registration/funding_source", __spreadValues$I({
16327
16352
  endUserIpAddress
16328
16353
  }, carrier));
16329
16354
  });
@@ -16492,17 +16517,17 @@ class LabelsAPI {
16492
16517
  }
16493
16518
  }
16494
16519
 
16495
- var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
16496
- var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
16497
- var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
16520
+ var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
16521
+ var __hasOwnProp$R = Object.prototype.hasOwnProperty;
16522
+ var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
16498
16523
  var __objRest$t = (source, exclude) => {
16499
16524
  var target = {};
16500
16525
  for (var prop in source)
16501
- if (__hasOwnProp$Q.call(source, prop) && exclude.indexOf(prop) < 0)
16526
+ if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
16502
16527
  target[prop] = source[prop];
16503
- if (source != null && __getOwnPropSymbols$Q)
16504
- for (var prop of __getOwnPropSymbols$Q(source)) {
16505
- if (exclude.indexOf(prop) < 0 && __propIsEnum$Q.call(source, prop))
16528
+ if (source != null && __getOwnPropSymbols$R)
16529
+ for (var prop of __getOwnPropSymbols$R(source)) {
16530
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
16506
16531
  target[prop] = source[prop];
16507
16532
  }
16508
16533
  return target;
@@ -16623,19 +16648,19 @@ class RateCardsAPI {
16623
16648
  }
16624
16649
  }
16625
16650
 
16626
- var __defProp$G = Object.defineProperty;
16627
- var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
16628
- var __hasOwnProp$P = Object.prototype.hasOwnProperty;
16629
- var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
16630
- var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16631
- var __spreadValues$G = (a, b) => {
16651
+ var __defProp$H = Object.defineProperty;
16652
+ var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
16653
+ var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
16654
+ var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
16655
+ var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16656
+ var __spreadValues$H = (a, b) => {
16632
16657
  for (var prop in b || (b = {}))
16633
- if (__hasOwnProp$P.call(b, prop))
16634
- __defNormalProp$G(a, prop, b[prop]);
16635
- if (__getOwnPropSymbols$P)
16636
- for (var prop of __getOwnPropSymbols$P(b)) {
16637
- if (__propIsEnum$P.call(b, prop))
16638
- __defNormalProp$G(a, prop, b[prop]);
16658
+ if (__hasOwnProp$Q.call(b, prop))
16659
+ __defNormalProp$H(a, prop, b[prop]);
16660
+ if (__getOwnPropSymbols$Q)
16661
+ for (var prop of __getOwnPropSymbols$Q(b)) {
16662
+ if (__propIsEnum$Q.call(b, prop))
16663
+ __defNormalProp$H(a, prop, b[prop]);
16639
16664
  }
16640
16665
  return a;
16641
16666
  };
@@ -16657,7 +16682,7 @@ class RatesAPI {
16657
16682
  * method.
16658
16683
  */
16659
16684
  this.estimate = (params) => {
16660
- return this.client.post("/v1/rates/estimate", __spreadValues$G({}, params));
16685
+ return this.client.post("/v1/rates/estimate", __spreadValues$H({}, params));
16661
16686
  };
16662
16687
  this.client = client;
16663
16688
  }
@@ -16841,19 +16866,19 @@ class SellersAPI {
16841
16866
  }
16842
16867
  }
16843
16868
 
16844
- var __defProp$F = Object.defineProperty;
16845
- var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
16846
- var __hasOwnProp$O = Object.prototype.hasOwnProperty;
16847
- var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
16848
- var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16849
- var __spreadValues$F = (a, b) => {
16869
+ var __defProp$G = Object.defineProperty;
16870
+ var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
16871
+ var __hasOwnProp$P = Object.prototype.hasOwnProperty;
16872
+ var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
16873
+ var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16874
+ var __spreadValues$G = (a, b) => {
16850
16875
  for (var prop in b || (b = {}))
16851
- if (__hasOwnProp$O.call(b, prop))
16852
- __defNormalProp$F(a, prop, b[prop]);
16853
- if (__getOwnPropSymbols$O)
16854
- for (var prop of __getOwnPropSymbols$O(b)) {
16855
- if (__propIsEnum$O.call(b, prop))
16856
- __defNormalProp$F(a, prop, b[prop]);
16876
+ if (__hasOwnProp$P.call(b, prop))
16877
+ __defNormalProp$G(a, prop, b[prop]);
16878
+ if (__getOwnPropSymbols$P)
16879
+ for (var prop of __getOwnPropSymbols$P(b)) {
16880
+ if (__propIsEnum$P.call(b, prop))
16881
+ __defNormalProp$G(a, prop, b[prop]);
16857
16882
  }
16858
16883
  return a;
16859
16884
  };
@@ -16865,7 +16890,7 @@ class ServicePointsAPI {
16865
16890
  * Either an address, coordinates, or an address query
16866
16891
  */
16867
16892
  this.list = (options) => {
16868
- return this.client.post("/v1/service_points/list", __spreadValues$F({}, options));
16893
+ return this.client.post("/v1/service_points/list", __spreadValues$G({}, options));
16869
16894
  };
16870
16895
  /**
16871
16896
  * Get a specific service point by its carrier code, country code, and id
@@ -34349,33 +34374,33 @@ class WebhooksAPI {
34349
34374
  }
34350
34375
  }
34351
34376
 
34352
- var __defProp$E = Object.defineProperty;
34353
- var __defProps$B = Object.defineProperties;
34354
- var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
34355
- var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
34356
- var __hasOwnProp$N = Object.prototype.hasOwnProperty;
34357
- var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
34358
- var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34359
- var __spreadValues$E = (a, b) => {
34377
+ var __defProp$F = Object.defineProperty;
34378
+ var __defProps$C = Object.defineProperties;
34379
+ var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
34380
+ var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
34381
+ var __hasOwnProp$O = Object.prototype.hasOwnProperty;
34382
+ var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
34383
+ var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34384
+ var __spreadValues$F = (a, b) => {
34360
34385
  for (var prop in b || (b = {}))
34361
- if (__hasOwnProp$N.call(b, prop))
34362
- __defNormalProp$E(a, prop, b[prop]);
34363
- if (__getOwnPropSymbols$N)
34364
- for (var prop of __getOwnPropSymbols$N(b)) {
34365
- if (__propIsEnum$N.call(b, prop))
34366
- __defNormalProp$E(a, prop, b[prop]);
34386
+ if (__hasOwnProp$O.call(b, prop))
34387
+ __defNormalProp$F(a, prop, b[prop]);
34388
+ if (__getOwnPropSymbols$O)
34389
+ for (var prop of __getOwnPropSymbols$O(b)) {
34390
+ if (__propIsEnum$O.call(b, prop))
34391
+ __defNormalProp$F(a, prop, b[prop]);
34367
34392
  }
34368
34393
  return a;
34369
34394
  };
34370
- var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
34395
+ var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
34371
34396
  var __objRest$s = (source, exclude) => {
34372
34397
  var target = {};
34373
34398
  for (var prop in source)
34374
- if (__hasOwnProp$N.call(source, prop) && exclude.indexOf(prop) < 0)
34399
+ if (__hasOwnProp$O.call(source, prop) && exclude.indexOf(prop) < 0)
34375
34400
  target[prop] = source[prop];
34376
- if (source != null && __getOwnPropSymbols$N)
34377
- for (var prop of __getOwnPropSymbols$N(source)) {
34378
- if (exclude.indexOf(prop) < 0 && __propIsEnum$N.call(source, prop))
34401
+ if (source != null && __getOwnPropSymbols$O)
34402
+ for (var prop of __getOwnPropSymbols$O(source)) {
34403
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$O.call(source, prop))
34379
34404
  target[prop] = source[prop];
34380
34405
  }
34381
34406
  return target;
@@ -34403,7 +34428,7 @@ var __async$X = (__this, __arguments, generator) => {
34403
34428
  const logger$1 = E({
34404
34429
  level: process.env.NODE_ENV === "production" ? "fatal" : "info",
34405
34430
  name: "shipengine-api",
34406
- serializers: __spreadProps$B(__spreadValues$E({}, k), {
34431
+ serializers: __spreadProps$C(__spreadValues$F({}, k), {
34407
34432
  req: (req) => ({
34408
34433
  headers: req.headers,
34409
34434
  method: req.method,
@@ -34428,7 +34453,7 @@ class ShipEngineAPI {
34428
34453
  this.getSandboxToken = getSandboxToken;
34429
34454
  const client = axios.create({
34430
34455
  baseURL,
34431
- headers: __spreadProps$B(__spreadValues$E({}, headers), {
34456
+ headers: __spreadProps$C(__spreadValues$F({}, headers), {
34432
34457
  "Content-Type": "application/json"
34433
34458
  }),
34434
34459
  paramsSerializer: (params) => lib.stringify(decamelizeKeys(params), { arrayFormat: "brackets" }),
@@ -34845,25 +34870,25 @@ const delay = (ms) => new Promise((resolve) => {
34845
34870
 
34846
34871
  const onError = (_errors) => _default();
34847
34872
 
34848
- var __defProp$D = Object.defineProperty;
34849
- var __defProps$A = Object.defineProperties;
34850
- var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
34851
- var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
34852
- var __hasOwnProp$M = Object.prototype.hasOwnProperty;
34853
- var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
34854
- var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34855
- var __spreadValues$D = (a, b) => {
34873
+ var __defProp$E = Object.defineProperty;
34874
+ var __defProps$B = Object.defineProperties;
34875
+ var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
34876
+ var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
34877
+ var __hasOwnProp$N = Object.prototype.hasOwnProperty;
34878
+ var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
34879
+ var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34880
+ var __spreadValues$E = (a, b) => {
34856
34881
  for (var prop in b || (b = {}))
34857
- if (__hasOwnProp$M.call(b, prop))
34858
- __defNormalProp$D(a, prop, b[prop]);
34859
- if (__getOwnPropSymbols$M)
34860
- for (var prop of __getOwnPropSymbols$M(b)) {
34861
- if (__propIsEnum$M.call(b, prop))
34862
- __defNormalProp$D(a, prop, b[prop]);
34882
+ if (__hasOwnProp$N.call(b, prop))
34883
+ __defNormalProp$E(a, prop, b[prop]);
34884
+ if (__getOwnPropSymbols$N)
34885
+ for (var prop of __getOwnPropSymbols$N(b)) {
34886
+ if (__propIsEnum$N.call(b, prop))
34887
+ __defNormalProp$E(a, prop, b[prop]);
34863
34888
  }
34864
34889
  return a;
34865
34890
  };
34866
- var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
34891
+ var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
34867
34892
  const streams = [];
34868
34893
  if (process.env.NODE_ENV === "production") {
34869
34894
  streams.push({
@@ -34872,7 +34897,7 @@ if (process.env.NODE_ENV === "production") {
34872
34897
  }
34873
34898
  const logger = E({
34874
34899
  name: "shipengine",
34875
- serializers: __spreadProps$A(__spreadValues$D({}, k), {
34900
+ serializers: __spreadProps$B(__spreadValues$E({}, k), {
34876
34901
  req: (req) => ({
34877
34902
  headers: req.headers,
34878
34903
  method: req.method,
@@ -35109,25 +35134,25 @@ const useValidateAddresses = () => {
35109
35134
  });
35110
35135
  };
35111
35136
 
35112
- var __defProp$C = Object.defineProperty;
35113
- var __defProps$z = Object.defineProperties;
35114
- var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
35115
- var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
35116
- var __hasOwnProp$L = Object.prototype.hasOwnProperty;
35117
- var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
35118
- var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35119
- var __spreadValues$C = (a, b) => {
35137
+ var __defProp$D = Object.defineProperty;
35138
+ var __defProps$A = Object.defineProperties;
35139
+ var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
35140
+ var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
35141
+ var __hasOwnProp$M = Object.prototype.hasOwnProperty;
35142
+ var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
35143
+ var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35144
+ var __spreadValues$D = (a, b) => {
35120
35145
  for (var prop in b || (b = {}))
35121
- if (__hasOwnProp$L.call(b, prop))
35122
- __defNormalProp$C(a, prop, b[prop]);
35123
- if (__getOwnPropSymbols$L)
35124
- for (var prop of __getOwnPropSymbols$L(b)) {
35125
- if (__propIsEnum$L.call(b, prop))
35126
- __defNormalProp$C(a, prop, b[prop]);
35146
+ if (__hasOwnProp$M.call(b, prop))
35147
+ __defNormalProp$D(a, prop, b[prop]);
35148
+ if (__getOwnPropSymbols$M)
35149
+ for (var prop of __getOwnPropSymbols$M(b)) {
35150
+ if (__propIsEnum$M.call(b, prop))
35151
+ __defNormalProp$D(a, prop, b[prop]);
35127
35152
  }
35128
35153
  return a;
35129
35154
  };
35130
- var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
35155
+ var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
35131
35156
  var __async$Q = (__this, __arguments, generator) => {
35132
35157
  return new Promise((resolve, reject) => {
35133
35158
  var fulfilled = (value) => {
@@ -35150,7 +35175,7 @@ var __async$Q = (__this, __arguments, generator) => {
35150
35175
  };
35151
35176
  const useCreateAuctanePaySession = (params) => {
35152
35177
  const { client } = useShipEngine();
35153
- return useMutation(__spreadProps$z(__spreadValues$C({}, params), {
35178
+ return useMutation(__spreadProps$A(__spreadValues$D({}, params), {
35154
35179
  mutationFn: (request) => __async$Q(void 0, null, function* () {
35155
35180
  const result = yield client.auctanePay.createSession(request);
35156
35181
  return result.data;
@@ -35160,6 +35185,36 @@ const useCreateAuctanePaySession = (params) => {
35160
35185
  }));
35161
35186
  };
35162
35187
 
35188
+ var __defProp$C = Object.defineProperty;
35189
+ var __defProps$z = Object.defineProperties;
35190
+ var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
35191
+ var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
35192
+ var __hasOwnProp$L = Object.prototype.hasOwnProperty;
35193
+ var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
35194
+ var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35195
+ var __spreadValues$C = (a, b) => {
35196
+ for (var prop in b || (b = {}))
35197
+ if (__hasOwnProp$L.call(b, prop))
35198
+ __defNormalProp$C(a, prop, b[prop]);
35199
+ if (__getOwnPropSymbols$L)
35200
+ for (var prop of __getOwnPropSymbols$L(b)) {
35201
+ if (__propIsEnum$L.call(b, prop))
35202
+ __defNormalProp$C(a, prop, b[prop]);
35203
+ }
35204
+ return a;
35205
+ };
35206
+ var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
35207
+ const useGetAuctanePayConfig = (params) => {
35208
+ const { client } = useShipEngine();
35209
+ const queryParams = __spreadValues$C({}, params);
35210
+ return useQuery(__spreadProps$z(__spreadValues$C({}, queryParams), {
35211
+ onError,
35212
+ queryFn: () => client.auctanePay.getConfig(),
35213
+ queryKey: ["useGetAuctanePayConfig"],
35214
+ select: (result) => result.data
35215
+ }));
35216
+ };
35217
+
35163
35218
  var __defProp$B = Object.defineProperty;
35164
35219
  var __defProps$y = Object.defineProperties;
35165
35220
  var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
@@ -35179,36 +35234,6 @@ var __spreadValues$B = (a, b) => {
35179
35234
  return a;
35180
35235
  };
35181
35236
  var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
35182
- const useGetAuctanePayConfig = (params) => {
35183
- const { client } = useShipEngine();
35184
- const queryParams = __spreadValues$B({}, params);
35185
- return useQuery(__spreadProps$y(__spreadValues$B({}, queryParams), {
35186
- onError,
35187
- queryFn: () => client.auctanePay.getConfig(),
35188
- queryKey: ["useGetAuctanePayConfig"],
35189
- select: (result) => result.data
35190
- }));
35191
- };
35192
-
35193
- var __defProp$A = Object.defineProperty;
35194
- var __defProps$x = Object.defineProperties;
35195
- var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
35196
- var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
35197
- var __hasOwnProp$J = Object.prototype.hasOwnProperty;
35198
- var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
35199
- var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35200
- var __spreadValues$A = (a, b) => {
35201
- for (var prop in b || (b = {}))
35202
- if (__hasOwnProp$J.call(b, prop))
35203
- __defNormalProp$A(a, prop, b[prop]);
35204
- if (__getOwnPropSymbols$J)
35205
- for (var prop of __getOwnPropSymbols$J(b)) {
35206
- if (__propIsEnum$J.call(b, prop))
35207
- __defNormalProp$A(a, prop, b[prop]);
35208
- }
35209
- return a;
35210
- };
35211
- var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
35212
35237
  var __async$P = (__this, __arguments, generator) => {
35213
35238
  return new Promise((resolve, reject) => {
35214
35239
  var fulfilled = (value) => {
@@ -35231,7 +35256,7 @@ var __async$P = (__this, __arguments, generator) => {
35231
35256
  };
35232
35257
  const usePreviewTransaction = (params) => {
35233
35258
  const { client } = useShipEngine();
35234
- return useMutation(__spreadProps$x(__spreadValues$A({}, params), {
35259
+ return useMutation(__spreadProps$y(__spreadValues$B({}, params), {
35235
35260
  mutationFn: (_0) => __async$P(void 0, [_0], function* ({ amount, transactionCategory = "add_funds" }) {
35236
35261
  const request = {
35237
35262
  amount,
@@ -35245,6 +35270,36 @@ const usePreviewTransaction = (params) => {
35245
35270
  }));
35246
35271
  };
35247
35272
 
35273
+ var __defProp$A = Object.defineProperty;
35274
+ var __defProps$x = Object.defineProperties;
35275
+ var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
35276
+ var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
35277
+ var __hasOwnProp$J = Object.prototype.hasOwnProperty;
35278
+ var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
35279
+ var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35280
+ var __spreadValues$A = (a, b) => {
35281
+ for (var prop in b || (b = {}))
35282
+ if (__hasOwnProp$J.call(b, prop))
35283
+ __defNormalProp$A(a, prop, b[prop]);
35284
+ if (__getOwnPropSymbols$J)
35285
+ for (var prop of __getOwnPropSymbols$J(b)) {
35286
+ if (__propIsEnum$J.call(b, prop))
35287
+ __defNormalProp$A(a, prop, b[prop]);
35288
+ }
35289
+ return a;
35290
+ };
35291
+ var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
35292
+ const useGetPaymentMethods = (params) => {
35293
+ const { client } = useShipEngine();
35294
+ const queryParams = __spreadValues$A({}, params);
35295
+ return useQuery(__spreadProps$x(__spreadValues$A({}, queryParams), {
35296
+ onError,
35297
+ queryFn: () => client.auctanePay.getPaymentMethods(),
35298
+ queryKey: ["useGetPaymentMethods"],
35299
+ select: (result) => result.data
35300
+ }));
35301
+ };
35302
+
35248
35303
  var __async$O = (__this, __arguments, generator) => {
35249
35304
  return new Promise((resolve, reject) => {
35250
35305
  var fulfilled = (value) => {
@@ -39760,4 +39815,4 @@ const alchemy = {
39760
39815
  createElement
39761
39816
  };
39762
39817
 
39763
- 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 };
39818
+ 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 };