@shipengine/alchemy 6.0.77 → 6.0.78

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 +224 -166
  2. package/index.mjs +224 -167
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -10805,17 +10805,17 @@ var FeatureId = /* @__PURE__ */ ((FeatureId2) => {
10805
10805
  return FeatureId2;
10806
10806
  })(FeatureId || {});
10807
10807
 
10808
- var __getOwnPropSymbols$11 = Object.getOwnPropertySymbols;
10809
- var __hasOwnProp$11 = Object.prototype.hasOwnProperty;
10810
- var __propIsEnum$11 = Object.prototype.propertyIsEnumerable;
10808
+ var __getOwnPropSymbols$12 = Object.getOwnPropertySymbols;
10809
+ var __hasOwnProp$12 = Object.prototype.hasOwnProperty;
10810
+ var __propIsEnum$12 = Object.prototype.propertyIsEnumerable;
10811
10811
  var __objRest$x = (source, exclude) => {
10812
10812
  var target = {};
10813
10813
  for (var prop in source)
10814
- if (__hasOwnProp$11.call(source, prop) && exclude.indexOf(prop) < 0)
10814
+ if (__hasOwnProp$12.call(source, prop) && exclude.indexOf(prop) < 0)
10815
10815
  target[prop] = source[prop];
10816
- if (source != null && __getOwnPropSymbols$11)
10817
- for (var prop of __getOwnPropSymbols$11(source)) {
10818
- if (exclude.indexOf(prop) < 0 && __propIsEnum$11.call(source, prop))
10816
+ if (source != null && __getOwnPropSymbols$12)
10817
+ for (var prop of __getOwnPropSymbols$12(source)) {
10818
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$12.call(source, prop))
10819
10819
  target[prop] = source[prop];
10820
10820
  }
10821
10821
  return target;
@@ -10951,17 +10951,17 @@ const types = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
10951
10951
  RateCardStatus
10952
10952
  }, Symbol.toStringTag, { value: 'Module' }));
10953
10953
 
10954
- var __getOwnPropSymbols$10 = Object.getOwnPropertySymbols;
10955
- var __hasOwnProp$10 = Object.prototype.hasOwnProperty;
10956
- var __propIsEnum$10 = Object.prototype.propertyIsEnumerable;
10954
+ var __getOwnPropSymbols$11 = Object.getOwnPropertySymbols;
10955
+ var __hasOwnProp$11 = Object.prototype.hasOwnProperty;
10956
+ var __propIsEnum$11 = Object.prototype.propertyIsEnumerable;
10957
10957
  var __objRest$w = (source, exclude) => {
10958
10958
  var target = {};
10959
10959
  for (var prop in source)
10960
- if (__hasOwnProp$10.call(source, prop) && exclude.indexOf(prop) < 0)
10960
+ if (__hasOwnProp$11.call(source, prop) && exclude.indexOf(prop) < 0)
10961
10961
  target[prop] = source[prop];
10962
- if (source != null && __getOwnPropSymbols$10)
10963
- for (var prop of __getOwnPropSymbols$10(source)) {
10964
- if (exclude.indexOf(prop) < 0 && __propIsEnum$10.call(source, prop))
10962
+ if (source != null && __getOwnPropSymbols$11)
10963
+ for (var prop of __getOwnPropSymbols$11(source)) {
10964
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$11.call(source, prop))
10965
10965
  target[prop] = source[prop];
10966
10966
  }
10967
10967
  return target;
@@ -11028,6 +11028,12 @@ class AccountAddonsAPI {
11028
11028
  this.enable = (addonCode) => {
11029
11029
  return this.client.post(`/v1/account/addons/${addonCode}/enable`);
11030
11030
  };
11031
+ /**
11032
+ * The `disable` method allows to disable an AddOn for the current user
11033
+ */
11034
+ this.disable = (addonCode) => {
11035
+ return this.client.post(`/v1/account/addons/${addonCode}/disable`);
11036
+ };
11031
11037
  this.client = client;
11032
11038
  }
11033
11039
  }
@@ -13849,7 +13855,7 @@ var ipaddr = {
13849
13855
  }).call(commonjsGlobal);
13850
13856
  } (ipaddr));
13851
13857
 
13852
- var __async$16 = (__this, __arguments, generator) => {
13858
+ var __async$17 = (__this, __arguments, generator) => {
13853
13859
  return new Promise((resolve, reject) => {
13854
13860
  var fulfilled = (value) => {
13855
13861
  try {
@@ -13869,7 +13875,7 @@ var __async$16 = (__this, __arguments, generator) => {
13869
13875
  step((generator = generator.apply(__this, __arguments)).next());
13870
13876
  });
13871
13877
  };
13872
- const getEndUserIpAddress = () => __async$16(void 0, null, function* () {
13878
+ const getEndUserIpAddress = () => __async$17(void 0, null, function* () {
13873
13879
  try {
13874
13880
  const response = yield axios.get("https://api.ipify.org/?format=json");
13875
13881
  if (response.data.ip && ipaddrExports.isValid(response.data.ip)) {
@@ -13930,38 +13936,38 @@ const decamelizeKeys = (obj, separator = "_") => {
13930
13936
  return obj;
13931
13937
  };
13932
13938
 
13933
- var __defProp$Q = Object.defineProperty;
13934
- var __defProps$K = Object.defineProperties;
13935
- var __getOwnPropDescs$K = Object.getOwnPropertyDescriptors;
13936
- var __getOwnPropSymbols$$ = Object.getOwnPropertySymbols;
13937
- var __hasOwnProp$$ = Object.prototype.hasOwnProperty;
13938
- var __propIsEnum$$ = Object.prototype.propertyIsEnumerable;
13939
- var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13940
- var __spreadValues$Q = (a, b) => {
13939
+ var __defProp$R = Object.defineProperty;
13940
+ var __defProps$L = Object.defineProperties;
13941
+ var __getOwnPropDescs$L = Object.getOwnPropertyDescriptors;
13942
+ var __getOwnPropSymbols$10 = Object.getOwnPropertySymbols;
13943
+ var __hasOwnProp$10 = Object.prototype.hasOwnProperty;
13944
+ var __propIsEnum$10 = Object.prototype.propertyIsEnumerable;
13945
+ var __defNormalProp$R = (obj, key, value) => key in obj ? __defProp$R(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13946
+ var __spreadValues$R = (a, b) => {
13941
13947
  for (var prop in b || (b = {}))
13942
- if (__hasOwnProp$$.call(b, prop))
13943
- __defNormalProp$Q(a, prop, b[prop]);
13944
- if (__getOwnPropSymbols$$)
13945
- for (var prop of __getOwnPropSymbols$$(b)) {
13946
- if (__propIsEnum$$.call(b, prop))
13947
- __defNormalProp$Q(a, prop, b[prop]);
13948
+ if (__hasOwnProp$10.call(b, prop))
13949
+ __defNormalProp$R(a, prop, b[prop]);
13950
+ if (__getOwnPropSymbols$10)
13951
+ for (var prop of __getOwnPropSymbols$10(b)) {
13952
+ if (__propIsEnum$10.call(b, prop))
13953
+ __defNormalProp$R(a, prop, b[prop]);
13948
13954
  }
13949
13955
  return a;
13950
13956
  };
13951
- var __spreadProps$K = (a, b) => __defProps$K(a, __getOwnPropDescs$K(b));
13957
+ var __spreadProps$L = (a, b) => __defProps$L(a, __getOwnPropDescs$L(b));
13952
13958
  var __objRest$v = (source, exclude) => {
13953
13959
  var target = {};
13954
13960
  for (var prop in source)
13955
- if (__hasOwnProp$$.call(source, prop) && exclude.indexOf(prop) < 0)
13961
+ if (__hasOwnProp$10.call(source, prop) && exclude.indexOf(prop) < 0)
13956
13962
  target[prop] = source[prop];
13957
- if (source != null && __getOwnPropSymbols$$)
13958
- for (var prop of __getOwnPropSymbols$$(source)) {
13959
- if (exclude.indexOf(prop) < 0 && __propIsEnum$$.call(source, prop))
13963
+ if (source != null && __getOwnPropSymbols$10)
13964
+ for (var prop of __getOwnPropSymbols$10(source)) {
13965
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$10.call(source, prop))
13960
13966
  target[prop] = source[prop];
13961
13967
  }
13962
13968
  return target;
13963
13969
  };
13964
- var __async$15 = (__this, __arguments, generator) => {
13970
+ var __async$16 = (__this, __arguments, generator) => {
13965
13971
  return new Promise((resolve, reject) => {
13966
13972
  var fulfilled = (value) => {
13967
13973
  try {
@@ -14001,12 +14007,12 @@ class CarriersAPI {
14001
14007
  /**
14002
14008
  * The `connect` method connects a carrier account to a user's ShipEngine account.
14003
14009
  */
14004
- this.connect = (_a) => __async$15(this, null, function* () {
14010
+ this.connect = (_a) => __async$16(this, null, function* () {
14005
14011
  var _b = _a, { carrierCode } = _b, connection = __objRest$v(_b, ["carrierCode"]);
14006
14012
  const endUserIpAddress = yield getEndUserIpAddress();
14007
14013
  if (!endUserIpAddress)
14008
14014
  return Promise.reject([new CodedError("Unable to get IP address")]);
14009
- return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$K(__spreadValues$Q({}, connection), {
14015
+ return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$L(__spreadValues$R({}, connection), {
14010
14016
  endUserIpAddress
14011
14017
  }));
14012
14018
  });
@@ -14090,22 +14096,22 @@ class CarriersAPI {
14090
14096
  }
14091
14097
  }
14092
14098
 
14093
- var __getOwnPropSymbols$_ = Object.getOwnPropertySymbols;
14094
- var __hasOwnProp$_ = Object.prototype.hasOwnProperty;
14095
- var __propIsEnum$_ = Object.prototype.propertyIsEnumerable;
14099
+ var __getOwnPropSymbols$$ = Object.getOwnPropertySymbols;
14100
+ var __hasOwnProp$$ = Object.prototype.hasOwnProperty;
14101
+ var __propIsEnum$$ = Object.prototype.propertyIsEnumerable;
14096
14102
  var __objRest$u = (source, exclude) => {
14097
14103
  var target = {};
14098
14104
  for (var prop in source)
14099
- if (__hasOwnProp$_.call(source, prop) && exclude.indexOf(prop) < 0)
14105
+ if (__hasOwnProp$$.call(source, prop) && exclude.indexOf(prop) < 0)
14100
14106
  target[prop] = source[prop];
14101
- if (source != null && __getOwnPropSymbols$_)
14102
- for (var prop of __getOwnPropSymbols$_(source)) {
14103
- if (exclude.indexOf(prop) < 0 && __propIsEnum$_.call(source, prop))
14107
+ if (source != null && __getOwnPropSymbols$$)
14108
+ for (var prop of __getOwnPropSymbols$$(source)) {
14109
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$$.call(source, prop))
14104
14110
  target[prop] = source[prop];
14105
14111
  }
14106
14112
  return target;
14107
14113
  };
14108
- var __async$14 = (__this, __arguments, generator) => {
14114
+ var __async$15 = (__this, __arguments, generator) => {
14109
14115
  return new Promise((resolve, reject) => {
14110
14116
  var fulfilled = (value) => {
14111
14117
  try {
@@ -14147,7 +14153,7 @@ class ConnectionsAPI {
14147
14153
  /**
14148
14154
  * The `connectCarrier` method connects a carrier to account.
14149
14155
  */
14150
- this.connectCarrier = (carrierName, formData) => __async$14(this, null, function* () {
14156
+ this.connectCarrier = (carrierName, formData) => __async$15(this, null, function* () {
14151
14157
  return yield this.client.post(
14152
14158
  `/v1/connections/carriers/${carrierName}`,
14153
14159
  formData,
@@ -16315,23 +16321,23 @@ class CustomPackagesAPI {
16315
16321
  }
16316
16322
  }
16317
16323
 
16318
- var __defProp$P = Object.defineProperty;
16319
- var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
16320
- var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
16321
- var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
16322
- var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16323
- var __spreadValues$P = (a, b) => {
16324
+ var __defProp$Q = Object.defineProperty;
16325
+ var __getOwnPropSymbols$_ = Object.getOwnPropertySymbols;
16326
+ var __hasOwnProp$_ = Object.prototype.hasOwnProperty;
16327
+ var __propIsEnum$_ = Object.prototype.propertyIsEnumerable;
16328
+ var __defNormalProp$Q = (obj, key, value) => key in obj ? __defProp$Q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16329
+ var __spreadValues$Q = (a, b) => {
16324
16330
  for (var prop in b || (b = {}))
16325
- if (__hasOwnProp$Z.call(b, prop))
16326
- __defNormalProp$P(a, prop, b[prop]);
16327
- if (__getOwnPropSymbols$Z)
16328
- for (var prop of __getOwnPropSymbols$Z(b)) {
16329
- if (__propIsEnum$Z.call(b, prop))
16330
- __defNormalProp$P(a, prop, b[prop]);
16331
+ if (__hasOwnProp$_.call(b, prop))
16332
+ __defNormalProp$Q(a, prop, b[prop]);
16333
+ if (__getOwnPropSymbols$_)
16334
+ for (var prop of __getOwnPropSymbols$_(b)) {
16335
+ if (__propIsEnum$_.call(b, prop))
16336
+ __defNormalProp$Q(a, prop, b[prop]);
16331
16337
  }
16332
16338
  return a;
16333
16339
  };
16334
- var __async$13 = (__this, __arguments, generator) => {
16340
+ var __async$14 = (__this, __arguments, generator) => {
16335
16341
  return new Promise((resolve, reject) => {
16336
16342
  var fulfilled = (value) => {
16337
16343
  try {
@@ -16370,12 +16376,12 @@ class FundingSourcesAPI {
16370
16376
  * The `create` method creates a new funding source for a given user. This requires
16371
16377
  * payment information to be collected from the user.
16372
16378
  */
16373
- this.create = (createFundingSource) => __async$13(this, null, function* () {
16379
+ this.create = (createFundingSource) => __async$14(this, null, function* () {
16374
16380
  const endUserIpAddress = yield getEndUserIpAddress();
16375
16381
  if (!endUserIpAddress) {
16376
16382
  return Promise.reject([new CodedError("Unable to get IP address")]);
16377
16383
  }
16378
- return yield this.client.post("/v1/funding_sources", __spreadValues$P({
16384
+ return yield this.client.post("/v1/funding_sources", __spreadValues$Q({
16379
16385
  endUserIpAddress
16380
16386
  }, createFundingSource));
16381
16387
  });
@@ -16384,7 +16390,7 @@ class FundingSourcesAPI {
16384
16390
  * user to update the billing address or payment information associated with the
16385
16391
  * funding source.
16386
16392
  */
16387
- this.update = (billingInfo, creditCardInfo, auctanePayInfo, fundingSourceId) => __async$13(this, null, function* () {
16393
+ this.update = (billingInfo, creditCardInfo, auctanePayInfo, fundingSourceId) => __async$14(this, null, function* () {
16388
16394
  const endUserIpAddress = yield getEndUserIpAddress();
16389
16395
  if (!endUserIpAddress) {
16390
16396
  return Promise.reject([new CodedError("Unable to get IP address")]);
@@ -16394,7 +16400,7 @@ class FundingSourcesAPI {
16394
16400
  {
16395
16401
  billingInfo,
16396
16402
  endUserIpAddress,
16397
- paymentMethod: __spreadValues$P({
16403
+ paymentMethod: __spreadValues$Q({
16398
16404
  creditCardInfo
16399
16405
  }, auctanePayInfo)
16400
16406
  }
@@ -16404,19 +16410,19 @@ class FundingSourcesAPI {
16404
16410
  * The `registerCarrier` method registers a carrier account and associates
16405
16411
  * it with a given funding source.
16406
16412
  */
16407
- this.registerCarrier = (carrier) => __async$13(this, null, function* () {
16413
+ this.registerCarrier = (carrier) => __async$14(this, null, function* () {
16408
16414
  const endUserIpAddress = yield getEndUserIpAddress();
16409
16415
  if (!endUserIpAddress) {
16410
16416
  return Promise.reject([new CodedError("Unable to get IP address")]);
16411
16417
  }
16412
- return yield this.client.post("/v1/registration/funding_source", __spreadValues$P({
16418
+ return yield this.client.post("/v1/registration/funding_source", __spreadValues$Q({
16413
16419
  endUserIpAddress
16414
16420
  }, carrier));
16415
16421
  });
16416
16422
  /**
16417
16423
  * The `addFunds` method allows you to add funds to a funding source.
16418
16424
  */
16419
- this.addFunds = (amount, fundingSourceId) => __async$13(this, null, function* () {
16425
+ this.addFunds = (amount, fundingSourceId) => __async$14(this, null, function* () {
16420
16426
  return yield this.client.put(
16421
16427
  `/v1/funding_sources/${fundingSourceId}/add_funds`,
16422
16428
  amount
@@ -16426,7 +16432,7 @@ class FundingSourcesAPI {
16426
16432
  * The `metadata` method returns seller-specific requirements for creating funding sources
16427
16433
  * and attaching carriers
16428
16434
  */
16429
- this.metadata = () => __async$13(this, null, function* () {
16435
+ this.metadata = () => __async$14(this, null, function* () {
16430
16436
  return yield this.client.get("/v1/funding_sources/metadata");
16431
16437
  });
16432
16438
  /**
@@ -16478,7 +16484,7 @@ class InsuranceAPI {
16478
16484
  }
16479
16485
  }
16480
16486
 
16481
- var __async$12 = (__this, __arguments, generator) => {
16487
+ var __async$13 = (__this, __arguments, generator) => {
16482
16488
  return new Promise((resolve, reject) => {
16483
16489
  var fulfilled = (value) => {
16484
16490
  try {
@@ -16510,13 +16516,13 @@ class InvoiceAddressAPI {
16510
16516
  /**
16511
16517
  * The `create` method creates a new invoice address for a given user.
16512
16518
  */
16513
- this.create = (invoiceAddress) => __async$12(this, null, function* () {
16519
+ this.create = (invoiceAddress) => __async$13(this, null, function* () {
16514
16520
  return yield this.client.post("/v1/invoice_address", invoiceAddress);
16515
16521
  });
16516
16522
  /**
16517
16523
  * The `update` method updates a invoice address for a given user.
16518
16524
  */
16519
- this.update = (invoiceAddress) => __async$12(this, null, function* () {
16525
+ this.update = (invoiceAddress) => __async$13(this, null, function* () {
16520
16526
  return yield this.client.put("/v1/invoice_address", invoiceAddress);
16521
16527
  });
16522
16528
  this.client = client;
@@ -16578,17 +16584,17 @@ class LabelsAPI {
16578
16584
  }
16579
16585
  }
16580
16586
 
16581
- var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
16582
- var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
16583
- var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
16587
+ var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
16588
+ var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
16589
+ var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
16584
16590
  var __objRest$t = (source, exclude) => {
16585
16591
  var target = {};
16586
16592
  for (var prop in source)
16587
- if (__hasOwnProp$Y.call(source, prop) && exclude.indexOf(prop) < 0)
16593
+ if (__hasOwnProp$Z.call(source, prop) && exclude.indexOf(prop) < 0)
16588
16594
  target[prop] = source[prop];
16589
- if (source != null && __getOwnPropSymbols$Y)
16590
- for (var prop of __getOwnPropSymbols$Y(source)) {
16591
- if (exclude.indexOf(prop) < 0 && __propIsEnum$Y.call(source, prop))
16595
+ if (source != null && __getOwnPropSymbols$Z)
16596
+ for (var prop of __getOwnPropSymbols$Z(source)) {
16597
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$Z.call(source, prop))
16592
16598
  target[prop] = source[prop];
16593
16599
  }
16594
16600
  return target;
@@ -16709,19 +16715,19 @@ class RateCardsAPI {
16709
16715
  }
16710
16716
  }
16711
16717
 
16712
- var __defProp$O = Object.defineProperty;
16713
- var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
16714
- var __hasOwnProp$X = Object.prototype.hasOwnProperty;
16715
- var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
16716
- var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16717
- var __spreadValues$O = (a, b) => {
16718
+ var __defProp$P = Object.defineProperty;
16719
+ var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
16720
+ var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
16721
+ var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
16722
+ var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16723
+ var __spreadValues$P = (a, b) => {
16718
16724
  for (var prop in b || (b = {}))
16719
- if (__hasOwnProp$X.call(b, prop))
16720
- __defNormalProp$O(a, prop, b[prop]);
16721
- if (__getOwnPropSymbols$X)
16722
- for (var prop of __getOwnPropSymbols$X(b)) {
16723
- if (__propIsEnum$X.call(b, prop))
16724
- __defNormalProp$O(a, prop, b[prop]);
16725
+ if (__hasOwnProp$Y.call(b, prop))
16726
+ __defNormalProp$P(a, prop, b[prop]);
16727
+ if (__getOwnPropSymbols$Y)
16728
+ for (var prop of __getOwnPropSymbols$Y(b)) {
16729
+ if (__propIsEnum$Y.call(b, prop))
16730
+ __defNormalProp$P(a, prop, b[prop]);
16725
16731
  }
16726
16732
  return a;
16727
16733
  };
@@ -16743,7 +16749,7 @@ class RatesAPI {
16743
16749
  * method.
16744
16750
  */
16745
16751
  this.estimate = (params) => {
16746
- return this.client.post("/v1/rates/estimate", __spreadValues$O({}, params));
16752
+ return this.client.post("/v1/rates/estimate", __spreadValues$P({}, params));
16747
16753
  };
16748
16754
  this.client = client;
16749
16755
  }
@@ -16823,7 +16829,7 @@ class SalesOrdersAPI {
16823
16829
  }
16824
16830
  }
16825
16831
 
16826
- var __async$11 = (__this, __arguments, generator) => {
16832
+ var __async$12 = (__this, __arguments, generator) => {
16827
16833
  return new Promise((resolve, reject) => {
16828
16834
  var fulfilled = (value) => {
16829
16835
  try {
@@ -16881,7 +16887,7 @@ class SellersAPI {
16881
16887
  /**
16882
16888
  * Deletes an API Key
16883
16889
  */
16884
- this.deleteSellerApiKey = (_0) => __async$11(this, [_0], function* ({
16890
+ this.deleteSellerApiKey = (_0) => __async$12(this, [_0], function* ({
16885
16891
  encryptedApiKey,
16886
16892
  sellerId,
16887
16893
  isSandbox
@@ -16927,19 +16933,19 @@ class SellersAPI {
16927
16933
  }
16928
16934
  }
16929
16935
 
16930
- var __defProp$N = Object.defineProperty;
16931
- var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
16932
- var __hasOwnProp$W = Object.prototype.hasOwnProperty;
16933
- var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
16934
- var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16935
- var __spreadValues$N = (a, b) => {
16936
+ var __defProp$O = Object.defineProperty;
16937
+ var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
16938
+ var __hasOwnProp$X = Object.prototype.hasOwnProperty;
16939
+ var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
16940
+ var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16941
+ var __spreadValues$O = (a, b) => {
16936
16942
  for (var prop in b || (b = {}))
16937
- if (__hasOwnProp$W.call(b, prop))
16938
- __defNormalProp$N(a, prop, b[prop]);
16939
- if (__getOwnPropSymbols$W)
16940
- for (var prop of __getOwnPropSymbols$W(b)) {
16941
- if (__propIsEnum$W.call(b, prop))
16942
- __defNormalProp$N(a, prop, b[prop]);
16943
+ if (__hasOwnProp$X.call(b, prop))
16944
+ __defNormalProp$O(a, prop, b[prop]);
16945
+ if (__getOwnPropSymbols$X)
16946
+ for (var prop of __getOwnPropSymbols$X(b)) {
16947
+ if (__propIsEnum$X.call(b, prop))
16948
+ __defNormalProp$O(a, prop, b[prop]);
16943
16949
  }
16944
16950
  return a;
16945
16951
  };
@@ -16951,7 +16957,7 @@ class ServicePointsAPI {
16951
16957
  * Either an address, coordinates, or an address query
16952
16958
  */
16953
16959
  this.list = (options) => {
16954
- return this.client.post("/v1/service_points/list", __spreadValues$N({}, options));
16960
+ return this.client.post("/v1/service_points/list", __spreadValues$O({}, options));
16955
16961
  };
16956
16962
  /**
16957
16963
  * Get a specific service point by its carrier code, country code, and id
@@ -16969,7 +16975,7 @@ class ServicePointsAPI {
16969
16975
  }
16970
16976
  }
16971
16977
 
16972
- var __async$10 = (__this, __arguments, generator) => {
16978
+ var __async$11 = (__this, __arguments, generator) => {
16973
16979
  return new Promise((resolve, reject) => {
16974
16980
  var fulfilled = (value) => {
16975
16981
  try {
@@ -17018,7 +17024,7 @@ class ShipmentsAPI {
17018
17024
  * The `create` method allows for creating shipments based on a list of shipment
17019
17025
  * items passed into this method.
17020
17026
  */
17021
- this.create = (...shipments) => __async$10(this, null, function* () {
17027
+ this.create = (...shipments) => __async$11(this, null, function* () {
17022
17028
  return this.client.post("/v1/shipments", {
17023
17029
  shipments
17024
17030
  });
@@ -34435,38 +34441,38 @@ class WebhooksAPI {
34435
34441
  }
34436
34442
  }
34437
34443
 
34438
- var __defProp$M = Object.defineProperty;
34439
- var __defProps$J = Object.defineProperties;
34440
- var __getOwnPropDescs$J = Object.getOwnPropertyDescriptors;
34441
- var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
34442
- var __hasOwnProp$V = Object.prototype.hasOwnProperty;
34443
- var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
34444
- var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34445
- var __spreadValues$M = (a, b) => {
34444
+ var __defProp$N = Object.defineProperty;
34445
+ var __defProps$K = Object.defineProperties;
34446
+ var __getOwnPropDescs$K = Object.getOwnPropertyDescriptors;
34447
+ var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
34448
+ var __hasOwnProp$W = Object.prototype.hasOwnProperty;
34449
+ var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
34450
+ var __defNormalProp$N = (obj, key, value) => key in obj ? __defProp$N(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34451
+ var __spreadValues$N = (a, b) => {
34446
34452
  for (var prop in b || (b = {}))
34447
- if (__hasOwnProp$V.call(b, prop))
34448
- __defNormalProp$M(a, prop, b[prop]);
34449
- if (__getOwnPropSymbols$V)
34450
- for (var prop of __getOwnPropSymbols$V(b)) {
34451
- if (__propIsEnum$V.call(b, prop))
34452
- __defNormalProp$M(a, prop, b[prop]);
34453
+ if (__hasOwnProp$W.call(b, prop))
34454
+ __defNormalProp$N(a, prop, b[prop]);
34455
+ if (__getOwnPropSymbols$W)
34456
+ for (var prop of __getOwnPropSymbols$W(b)) {
34457
+ if (__propIsEnum$W.call(b, prop))
34458
+ __defNormalProp$N(a, prop, b[prop]);
34453
34459
  }
34454
34460
  return a;
34455
34461
  };
34456
- var __spreadProps$J = (a, b) => __defProps$J(a, __getOwnPropDescs$J(b));
34462
+ var __spreadProps$K = (a, b) => __defProps$K(a, __getOwnPropDescs$K(b));
34457
34463
  var __objRest$s = (source, exclude) => {
34458
34464
  var target = {};
34459
34465
  for (var prop in source)
34460
- if (__hasOwnProp$V.call(source, prop) && exclude.indexOf(prop) < 0)
34466
+ if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0)
34461
34467
  target[prop] = source[prop];
34462
- if (source != null && __getOwnPropSymbols$V)
34463
- for (var prop of __getOwnPropSymbols$V(source)) {
34464
- if (exclude.indexOf(prop) < 0 && __propIsEnum$V.call(source, prop))
34468
+ if (source != null && __getOwnPropSymbols$W)
34469
+ for (var prop of __getOwnPropSymbols$W(source)) {
34470
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$W.call(source, prop))
34465
34471
  target[prop] = source[prop];
34466
34472
  }
34467
34473
  return target;
34468
34474
  };
34469
- var __async$$ = (__this, __arguments, generator) => {
34475
+ var __async$10 = (__this, __arguments, generator) => {
34470
34476
  return new Promise((resolve, reject) => {
34471
34477
  var fulfilled = (value) => {
34472
34478
  try {
@@ -34489,7 +34495,7 @@ var __async$$ = (__this, __arguments, generator) => {
34489
34495
  const logger$1 = E({
34490
34496
  level: process.env.NODE_ENV === "production" ? "fatal" : "info",
34491
34497
  name: "shipengine-api",
34492
- serializers: __spreadProps$J(__spreadValues$M({}, k), {
34498
+ serializers: __spreadProps$K(__spreadValues$N({}, k), {
34493
34499
  req: (req) => ({
34494
34500
  headers: req.headers,
34495
34501
  method: req.method,
@@ -34514,7 +34520,7 @@ class ShipEngineAPI {
34514
34520
  this.getSandboxToken = getSandboxToken;
34515
34521
  const client = axios.create({
34516
34522
  baseURL,
34517
- headers: __spreadProps$J(__spreadValues$M({}, headers), {
34523
+ headers: __spreadProps$K(__spreadValues$N({}, headers), {
34518
34524
  "Content-Type": "application/json"
34519
34525
  }),
34520
34526
  paramsSerializer: (params) => lib.stringify(decamelizeKeys(params), { arrayFormat: "brackets" }),
@@ -34554,7 +34560,7 @@ class ShipEngineAPI {
34554
34560
  });
34555
34561
  client.defaults.headers.common["Authorization"] = `Bearer ${token}`;
34556
34562
  client.interceptors.request.use(
34557
- (config) => __async$$(this, null, function* () {
34563
+ (config) => __async$10(this, null, function* () {
34558
34564
  if (config.isSandbox) {
34559
34565
  if (!this.sandboxToken) {
34560
34566
  this.sandboxToken = yield getSandboxToken == null ? void 0 : getSandboxToken();
@@ -34583,7 +34589,7 @@ class ShipEngineAPI {
34583
34589
  }
34584
34590
  return res;
34585
34591
  },
34586
- (err) => __async$$(this, null, function* () {
34592
+ (err) => __async$10(this, null, function* () {
34587
34593
  var _a, _b, _c, _d, _e;
34588
34594
  if (debug) {
34589
34595
  logger$1.error(
@@ -34632,7 +34638,7 @@ class ShipEngineAPI {
34632
34638
  * that token (also known as Seller ID)
34633
34639
  */
34634
34640
  getTenant(isSandbox) {
34635
- return __async$$(this, null, function* () {
34641
+ return __async$10(this, null, function* () {
34636
34642
  var _a;
34637
34643
  if (!isSandbox) {
34638
34644
  return this.getTenantFromToken(this.token);
@@ -34951,25 +34957,25 @@ const delay = (ms) => new Promise((resolve) => {
34951
34957
 
34952
34958
  const onError = (_errors) => _default();
34953
34959
 
34954
- var __defProp$L = Object.defineProperty;
34955
- var __defProps$I = Object.defineProperties;
34956
- var __getOwnPropDescs$I = Object.getOwnPropertyDescriptors;
34957
- var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
34958
- var __hasOwnProp$U = Object.prototype.hasOwnProperty;
34959
- var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
34960
- var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34961
- var __spreadValues$L = (a, b) => {
34960
+ var __defProp$M = Object.defineProperty;
34961
+ var __defProps$J = Object.defineProperties;
34962
+ var __getOwnPropDescs$J = Object.getOwnPropertyDescriptors;
34963
+ var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
34964
+ var __hasOwnProp$V = Object.prototype.hasOwnProperty;
34965
+ var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
34966
+ var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34967
+ var __spreadValues$M = (a, b) => {
34962
34968
  for (var prop in b || (b = {}))
34963
- if (__hasOwnProp$U.call(b, prop))
34964
- __defNormalProp$L(a, prop, b[prop]);
34965
- if (__getOwnPropSymbols$U)
34966
- for (var prop of __getOwnPropSymbols$U(b)) {
34967
- if (__propIsEnum$U.call(b, prop))
34968
- __defNormalProp$L(a, prop, b[prop]);
34969
+ if (__hasOwnProp$V.call(b, prop))
34970
+ __defNormalProp$M(a, prop, b[prop]);
34971
+ if (__getOwnPropSymbols$V)
34972
+ for (var prop of __getOwnPropSymbols$V(b)) {
34973
+ if (__propIsEnum$V.call(b, prop))
34974
+ __defNormalProp$M(a, prop, b[prop]);
34969
34975
  }
34970
34976
  return a;
34971
34977
  };
34972
- var __spreadProps$I = (a, b) => __defProps$I(a, __getOwnPropDescs$I(b));
34978
+ var __spreadProps$J = (a, b) => __defProps$J(a, __getOwnPropDescs$J(b));
34973
34979
  const streams = [];
34974
34980
  if (process.env.NODE_ENV === "production") {
34975
34981
  streams.push({
@@ -34978,7 +34984,7 @@ if (process.env.NODE_ENV === "production") {
34978
34984
  }
34979
34985
  const logger = E({
34980
34986
  name: "shipengine",
34981
- serializers: __spreadProps$I(__spreadValues$L({}, k), {
34987
+ serializers: __spreadProps$J(__spreadValues$M({}, k), {
34982
34988
  req: (req) => ({
34983
34989
  headers: req.headers,
34984
34990
  method: req.method,
@@ -35003,7 +35009,7 @@ const retryUntil = (callbackFn, retries = 10, timeoutBetweenAttempts = 1e3) => P
35003
35009
  throw error;
35004
35010
  });
35005
35011
 
35006
- var __async$_ = (__this, __arguments, generator) => {
35012
+ var __async$$ = (__this, __arguments, generator) => {
35007
35013
  return new Promise((resolve, reject) => {
35008
35014
  var fulfilled = (value) => {
35009
35015
  try {
@@ -35026,7 +35032,7 @@ var __async$_ = (__this, __arguments, generator) => {
35026
35032
  const useCreateAccountImage = () => {
35027
35033
  const { client } = useShipEngine();
35028
35034
  return useMutation({
35029
- mutationFn: (data) => __async$_(void 0, null, function* () {
35035
+ mutationFn: (data) => __async$$(void 0, null, function* () {
35030
35036
  const result = yield client.accountSettings.createImage(data);
35031
35037
  return result.data;
35032
35038
  }),
@@ -35035,7 +35041,7 @@ const useCreateAccountImage = () => {
35035
35041
  });
35036
35042
  };
35037
35043
 
35038
- var __async$Z = (__this, __arguments, generator) => {
35044
+ var __async$_ = (__this, __arguments, generator) => {
35039
35045
  return new Promise((resolve, reject) => {
35040
35046
  var fulfilled = (value) => {
35041
35047
  try {
@@ -35058,7 +35064,7 @@ var __async$Z = (__this, __arguments, generator) => {
35058
35064
  const useDeleteAccountImage = () => {
35059
35065
  const { client } = useShipEngine();
35060
35066
  return useMutation({
35061
- mutationFn: (labelImageId) => __async$Z(void 0, null, function* () {
35067
+ mutationFn: (labelImageId) => __async$_(void 0, null, function* () {
35062
35068
  const result = yield client.accountSettings.deleteImage(labelImageId);
35063
35069
  return result.data;
35064
35070
  }),
@@ -35087,7 +35093,7 @@ const useGetAccountSettings = () => {
35087
35093
  });
35088
35094
  };
35089
35095
 
35090
- var __async$Y = (__this, __arguments, generator) => {
35096
+ var __async$Z = (__this, __arguments, generator) => {
35091
35097
  return new Promise((resolve, reject) => {
35092
35098
  var fulfilled = (value) => {
35093
35099
  try {
@@ -35110,7 +35116,7 @@ var __async$Y = (__this, __arguments, generator) => {
35110
35116
  const useUpdateAccountImage = () => {
35111
35117
  const { client } = useShipEngine();
35112
35118
  return useMutation({
35113
- mutationFn: (data) => __async$Y(void 0, null, function* () {
35119
+ mutationFn: (data) => __async$Z(void 0, null, function* () {
35114
35120
  const result = yield client.accountSettings.updateImage(data);
35115
35121
  return result.data;
35116
35122
  }),
@@ -35119,7 +35125,7 @@ const useUpdateAccountImage = () => {
35119
35125
  });
35120
35126
  };
35121
35127
 
35122
- var __async$X = (__this, __arguments, generator) => {
35128
+ var __async$Y = (__this, __arguments, generator) => {
35123
35129
  return new Promise((resolve, reject) => {
35124
35130
  var fulfilled = (value) => {
35125
35131
  try {
@@ -35142,7 +35148,7 @@ var __async$X = (__this, __arguments, generator) => {
35142
35148
  const useUpdateAccountSettings = () => {
35143
35149
  const { client } = useShipEngine();
35144
35150
  return useMutation({
35145
- mutationFn: (settings) => __async$X(void 0, null, function* () {
35151
+ mutationFn: (settings) => __async$Y(void 0, null, function* () {
35146
35152
  const result = yield client.accountSettings.update(settings);
35147
35153
  return result.data;
35148
35154
  }),
@@ -35151,6 +35157,35 @@ const useUpdateAccountSettings = () => {
35151
35157
  });
35152
35158
  };
35153
35159
 
35160
+ var __defProp$L = Object.defineProperty;
35161
+ var __defProps$I = Object.defineProperties;
35162
+ var __getOwnPropDescs$I = Object.getOwnPropertyDescriptors;
35163
+ var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
35164
+ var __hasOwnProp$U = Object.prototype.hasOwnProperty;
35165
+ var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
35166
+ var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35167
+ var __spreadValues$L = (a, b) => {
35168
+ for (var prop in b || (b = {}))
35169
+ if (__hasOwnProp$U.call(b, prop))
35170
+ __defNormalProp$L(a, prop, b[prop]);
35171
+ if (__getOwnPropSymbols$U)
35172
+ for (var prop of __getOwnPropSymbols$U(b)) {
35173
+ if (__propIsEnum$U.call(b, prop))
35174
+ __defNormalProp$L(a, prop, b[prop]);
35175
+ }
35176
+ return a;
35177
+ };
35178
+ var __spreadProps$I = (a, b) => __defProps$I(a, __getOwnPropDescs$I(b));
35179
+ const useListAccountAddons = (params) => {
35180
+ const { client } = useShipEngine();
35181
+ return useQuery(__spreadProps$I(__spreadValues$L({}, params), {
35182
+ onError,
35183
+ queryFn: () => client.accountAddons.list(),
35184
+ queryKey: ["useListAccountAddons"],
35185
+ select: (result) => result.data.addons
35186
+ }));
35187
+ };
35188
+
35154
35189
  var __defProp$K = Object.defineProperty;
35155
35190
  var __defProps$H = Object.defineProperties;
35156
35191
  var __getOwnPropDescs$H = Object.getOwnPropertyDescriptors;
@@ -35170,13 +35205,35 @@ var __spreadValues$K = (a, b) => {
35170
35205
  return a;
35171
35206
  };
35172
35207
  var __spreadProps$H = (a, b) => __defProps$H(a, __getOwnPropDescs$H(b));
35173
- const useListAccountAddons = (params) => {
35208
+ var __async$X = (__this, __arguments, generator) => {
35209
+ return new Promise((resolve, reject) => {
35210
+ var fulfilled = (value) => {
35211
+ try {
35212
+ step(generator.next(value));
35213
+ } catch (e) {
35214
+ reject(e);
35215
+ }
35216
+ };
35217
+ var rejected = (value) => {
35218
+ try {
35219
+ step(generator.throw(value));
35220
+ } catch (e) {
35221
+ reject(e);
35222
+ }
35223
+ };
35224
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
35225
+ step((generator = generator.apply(__this, __arguments)).next());
35226
+ });
35227
+ };
35228
+ const useEnableAccountAddon = (params) => {
35174
35229
  const { client } = useShipEngine();
35175
- return useQuery(__spreadProps$H(__spreadValues$K({}, params), {
35176
- onError,
35177
- queryFn: () => client.accountAddons.list(),
35178
- queryKey: ["useListAccountAddons"],
35179
- select: (result) => result.data.addons
35230
+ return useMutation(__spreadProps$H(__spreadValues$K({}, params), {
35231
+ mutationFn: (addonType) => __async$X(void 0, null, function* () {
35232
+ const result = yield client.accountAddons.enable(addonType);
35233
+ return result.data;
35234
+ }),
35235
+ mutationKey: ["useEnableAccountAddon"],
35236
+ onError
35180
35237
  }));
35181
35238
  };
35182
35239
 
@@ -35219,14 +35276,14 @@ var __async$W = (__this, __arguments, generator) => {
35219
35276
  step((generator = generator.apply(__this, __arguments)).next());
35220
35277
  });
35221
35278
  };
35222
- const useEnableAccountAddon = (params) => {
35279
+ const useDisableAccountAddon = (params) => {
35223
35280
  const { client } = useShipEngine();
35224
35281
  return useMutation(__spreadProps$G(__spreadValues$J({}, params), {
35225
35282
  mutationFn: (addonType) => __async$W(void 0, null, function* () {
35226
- const result = yield client.accountAddons.enable(addonType);
35283
+ const result = yield client.accountAddons.disable(addonType);
35227
35284
  return result.data;
35228
35285
  }),
35229
- mutationKey: ["useEnableAccountAddon"],
35286
+ mutationKey: ["useDisableAccountAddon"],
35230
35287
  onError
35231
35288
  }));
35232
35289
  };
@@ -40188,4 +40245,4 @@ const alchemy = {
40188
40245
  createElement
40189
40246
  };
40190
40247
 
40191
- export { AccountAddonsAPI, AccountBillingAPI, AccountBillingPlanAPI, AccountBillingPlanChangeType, AccountFeaturesAPI, AccountSettingsAPI, AddressesAPI, AlchemyContext, AlchemyProvider, AlchemyTestProvider, AuctanePayAPI, CarriersAPI, CodedError, ConfirmationType, ConnectionsAPI, CreditCardVendor, Currency, CustomPackagesAPI, CustomsContentsType, CustomsNonDeliveryType, Element, ErrorBoundary, FeatureId, 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, useDeletePaymentMethod, useDeleteRateCard, useDeleteSellerApiKey, useDeleteShippingRule, useDeleteWarehouse, useDeleteWebhook, useDownloadRateCard, useEditShippingRule, useEnableAccountAddon, useExportLabels, useExportShipments, useFundingSourcesAddFunds, useGetAccountBilling, useGetAccountBillingPlan, useGetAccountImages, useGetAccountSettings, useGetAuctanePayConfig, useGetAutoFundingConfiguration, useGetCarrierById, useGetCarrierConnectionForm, useGetConnectionsCarrierSettings, useGetCountriesByCarrier, useGetCurrenciesByCarrier, useGetFundingSourceById, useGetFundingSourceMetadata, useGetFundingSourceTransactions, useGetHereToken, useGetInsuranceAccount, useGetInsuranceFundingSourceAcceptedTerms, useGetInvoiceAddress, useGetLabel, useGetPackageRatingGroupByCarrier, useGetPaymentAccount, useGetPaymentMethods, useGetRateCardById, useGetSalesOrder, useGetSalesOrderByExternalOrderId, useGetSalesOrderShipment, useGetServicePoint, useGetServicesByCarrier, useGetShipment, useGetShipmentByExternalId, useGetShipmentRates, useGetShippingRuleById, useGetShippingRuleConditionsOptions, useGetThemeById, useGetZonesByCarrier, useI18n, useIdentityVerification, useListAccountAddons, useListAccountFeatures, 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, useUpdatePaymentMethod, useUpdateRateCard, useUpdateSalesOrderShipment, useUpdateWarehouse, useUpdateWebhook, useUploadRateCard, useUpsertAccountBilling, useValidateAddresses, useVoidLabel };
40248
+ export { AccountAddonsAPI, AccountBillingAPI, AccountBillingPlanAPI, AccountBillingPlanChangeType, AccountFeaturesAPI, AccountSettingsAPI, AddressesAPI, AlchemyContext, AlchemyProvider, AlchemyTestProvider, AuctanePayAPI, CarriersAPI, CodedError, ConfirmationType, ConnectionsAPI, CreditCardVendor, Currency, CustomPackagesAPI, CustomsContentsType, CustomsNonDeliveryType, Element, ErrorBoundary, FeatureId, 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, useDeletePaymentMethod, useDeleteRateCard, useDeleteSellerApiKey, useDeleteShippingRule, useDeleteWarehouse, useDeleteWebhook, useDisableAccountAddon, useDownloadRateCard, useEditShippingRule, useEnableAccountAddon, useExportLabels, useExportShipments, useFundingSourcesAddFunds, useGetAccountBilling, useGetAccountBillingPlan, useGetAccountImages, useGetAccountSettings, useGetAuctanePayConfig, useGetAutoFundingConfiguration, useGetCarrierById, useGetCarrierConnectionForm, useGetConnectionsCarrierSettings, useGetCountriesByCarrier, useGetCurrenciesByCarrier, useGetFundingSourceById, useGetFundingSourceMetadata, useGetFundingSourceTransactions, useGetHereToken, useGetInsuranceAccount, useGetInsuranceFundingSourceAcceptedTerms, useGetInvoiceAddress, useGetLabel, useGetPackageRatingGroupByCarrier, useGetPaymentAccount, useGetPaymentMethods, useGetRateCardById, useGetSalesOrder, useGetSalesOrderByExternalOrderId, useGetSalesOrderShipment, useGetServicePoint, useGetServicesByCarrier, useGetShipment, useGetShipmentByExternalId, useGetShipmentRates, useGetShippingRuleById, useGetShippingRuleConditionsOptions, useGetThemeById, useGetZonesByCarrier, useI18n, useIdentityVerification, useListAccountAddons, useListAccountFeatures, 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, useUpdatePaymentMethod, useUpdateRateCard, useUpdateSalesOrderShipment, useUpdateWarehouse, useUpdateWebhook, useUploadRateCard, useUpsertAccountBilling, useValidateAddresses, useVoidLabel };