@shipengine/alchemy 6.0.63 → 6.0.65
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.
- package/index.js +178 -126
- package/index.mjs +177 -127
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -10822,17 +10822,17 @@ var AccountBillingPlanChangeType = /* @__PURE__ */ ((AccountBillingPlanChangeTyp
|
|
|
10822
10822
|
return AccountBillingPlanChangeType2;
|
|
10823
10823
|
})(AccountBillingPlanChangeType || {});
|
|
10824
10824
|
|
|
10825
|
-
var __getOwnPropSymbols$
|
|
10826
|
-
var __hasOwnProp$
|
|
10827
|
-
var __propIsEnum$
|
|
10825
|
+
var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
|
|
10826
|
+
var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
|
|
10827
|
+
var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
|
|
10828
10828
|
var __objRest$x = (source, exclude) => {
|
|
10829
10829
|
var target = {};
|
|
10830
10830
|
for (var prop in source)
|
|
10831
|
-
if (__hasOwnProp$
|
|
10831
|
+
if (__hasOwnProp$Z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
10832
10832
|
target[prop] = source[prop];
|
|
10833
|
-
if (source != null && __getOwnPropSymbols$
|
|
10834
|
-
for (var prop of __getOwnPropSymbols$
|
|
10835
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
10833
|
+
if (source != null && __getOwnPropSymbols$Z)
|
|
10834
|
+
for (var prop of __getOwnPropSymbols$Z(source)) {
|
|
10835
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Z.call(source, prop))
|
|
10836
10836
|
target[prop] = source[prop];
|
|
10837
10837
|
}
|
|
10838
10838
|
return target;
|
|
@@ -10967,17 +10967,17 @@ const types = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
10967
10967
|
RateCardStatus
|
|
10968
10968
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
10969
10969
|
|
|
10970
|
-
var __getOwnPropSymbols$
|
|
10971
|
-
var __hasOwnProp$
|
|
10972
|
-
var __propIsEnum$
|
|
10970
|
+
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
10971
|
+
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
10972
|
+
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
10973
10973
|
var __objRest$w = (source, exclude) => {
|
|
10974
10974
|
var target = {};
|
|
10975
10975
|
for (var prop in source)
|
|
10976
|
-
if (__hasOwnProp$
|
|
10976
|
+
if (__hasOwnProp$Y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
10977
10977
|
target[prop] = source[prop];
|
|
10978
|
-
if (source != null && __getOwnPropSymbols$
|
|
10979
|
-
for (var prop of __getOwnPropSymbols$
|
|
10980
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
10978
|
+
if (source != null && __getOwnPropSymbols$Y)
|
|
10979
|
+
for (var prop of __getOwnPropSymbols$Y(source)) {
|
|
10980
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Y.call(source, prop))
|
|
10981
10981
|
target[prop] = source[prop];
|
|
10982
10982
|
}
|
|
10983
10983
|
return target;
|
|
@@ -11028,6 +11028,20 @@ class AccountSettingsAPI {
|
|
|
11028
11028
|
}
|
|
11029
11029
|
}
|
|
11030
11030
|
|
|
11031
|
+
class AccountAddonsAPI {
|
|
11032
|
+
constructor(client) {
|
|
11033
|
+
this.client = client;
|
|
11034
|
+
/**
|
|
11035
|
+
* The `list` method retrieves a list of all available addons, also includes
|
|
11036
|
+
* if its avaiable for the current user
|
|
11037
|
+
*/
|
|
11038
|
+
this.list = () => {
|
|
11039
|
+
return this.client.get("/v1/account/addons");
|
|
11040
|
+
};
|
|
11041
|
+
this.client = client;
|
|
11042
|
+
}
|
|
11043
|
+
}
|
|
11044
|
+
|
|
11031
11045
|
class AddressesAPI {
|
|
11032
11046
|
constructor(client) {
|
|
11033
11047
|
this.client = client;
|
|
@@ -13898,33 +13912,33 @@ const decamelizeKeys = (obj, separator = "_") => {
|
|
|
13898
13912
|
return obj;
|
|
13899
13913
|
};
|
|
13900
13914
|
|
|
13901
|
-
var __defProp$
|
|
13902
|
-
var __defProps$
|
|
13903
|
-
var __getOwnPropDescs$
|
|
13904
|
-
var __getOwnPropSymbols$
|
|
13905
|
-
var __hasOwnProp$
|
|
13906
|
-
var __propIsEnum$
|
|
13907
|
-
var __defNormalProp$
|
|
13908
|
-
var __spreadValues$
|
|
13915
|
+
var __defProp$M = Object.defineProperty;
|
|
13916
|
+
var __defProps$G = Object.defineProperties;
|
|
13917
|
+
var __getOwnPropDescs$G = Object.getOwnPropertyDescriptors;
|
|
13918
|
+
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
13919
|
+
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
13920
|
+
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
13921
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13922
|
+
var __spreadValues$M = (a, b) => {
|
|
13909
13923
|
for (var prop in b || (b = {}))
|
|
13910
|
-
if (__hasOwnProp$
|
|
13911
|
-
__defNormalProp$
|
|
13912
|
-
if (__getOwnPropSymbols$
|
|
13913
|
-
for (var prop of __getOwnPropSymbols$
|
|
13914
|
-
if (__propIsEnum$
|
|
13915
|
-
__defNormalProp$
|
|
13924
|
+
if (__hasOwnProp$X.call(b, prop))
|
|
13925
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
13926
|
+
if (__getOwnPropSymbols$X)
|
|
13927
|
+
for (var prop of __getOwnPropSymbols$X(b)) {
|
|
13928
|
+
if (__propIsEnum$X.call(b, prop))
|
|
13929
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
13916
13930
|
}
|
|
13917
13931
|
return a;
|
|
13918
13932
|
};
|
|
13919
|
-
var __spreadProps$
|
|
13933
|
+
var __spreadProps$G = (a, b) => __defProps$G(a, __getOwnPropDescs$G(b));
|
|
13920
13934
|
var __objRest$v = (source, exclude) => {
|
|
13921
13935
|
var target = {};
|
|
13922
13936
|
for (var prop in source)
|
|
13923
|
-
if (__hasOwnProp$
|
|
13937
|
+
if (__hasOwnProp$X.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
13924
13938
|
target[prop] = source[prop];
|
|
13925
|
-
if (source != null && __getOwnPropSymbols$
|
|
13926
|
-
for (var prop of __getOwnPropSymbols$
|
|
13927
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
13939
|
+
if (source != null && __getOwnPropSymbols$X)
|
|
13940
|
+
for (var prop of __getOwnPropSymbols$X(source)) {
|
|
13941
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$X.call(source, prop))
|
|
13928
13942
|
target[prop] = source[prop];
|
|
13929
13943
|
}
|
|
13930
13944
|
return target;
|
|
@@ -13974,7 +13988,7 @@ class CarriersAPI {
|
|
|
13974
13988
|
const endUserIpAddress = yield getEndUserIpAddress();
|
|
13975
13989
|
if (!endUserIpAddress)
|
|
13976
13990
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
13977
|
-
return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$
|
|
13991
|
+
return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$G(__spreadValues$M({}, connection), {
|
|
13978
13992
|
endUserIpAddress
|
|
13979
13993
|
}));
|
|
13980
13994
|
});
|
|
@@ -14058,17 +14072,17 @@ class CarriersAPI {
|
|
|
14058
14072
|
}
|
|
14059
14073
|
}
|
|
14060
14074
|
|
|
14061
|
-
var __getOwnPropSymbols$
|
|
14062
|
-
var __hasOwnProp$
|
|
14063
|
-
var __propIsEnum$
|
|
14075
|
+
var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
|
|
14076
|
+
var __hasOwnProp$W = Object.prototype.hasOwnProperty;
|
|
14077
|
+
var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
|
|
14064
14078
|
var __objRest$u = (source, exclude) => {
|
|
14065
14079
|
var target = {};
|
|
14066
14080
|
for (var prop in source)
|
|
14067
|
-
if (__hasOwnProp$
|
|
14081
|
+
if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
14068
14082
|
target[prop] = source[prop];
|
|
14069
|
-
if (source != null && __getOwnPropSymbols$
|
|
14070
|
-
for (var prop of __getOwnPropSymbols$
|
|
14071
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
14083
|
+
if (source != null && __getOwnPropSymbols$W)
|
|
14084
|
+
for (var prop of __getOwnPropSymbols$W(source)) {
|
|
14085
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$W.call(source, prop))
|
|
14072
14086
|
target[prop] = source[prop];
|
|
14073
14087
|
}
|
|
14074
14088
|
return target;
|
|
@@ -16283,19 +16297,19 @@ class CustomPackagesAPI {
|
|
|
16283
16297
|
}
|
|
16284
16298
|
}
|
|
16285
16299
|
|
|
16286
|
-
var __defProp$
|
|
16287
|
-
var __getOwnPropSymbols$
|
|
16288
|
-
var __hasOwnProp$
|
|
16289
|
-
var __propIsEnum$
|
|
16290
|
-
var __defNormalProp$
|
|
16291
|
-
var __spreadValues$
|
|
16300
|
+
var __defProp$L = Object.defineProperty;
|
|
16301
|
+
var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
|
|
16302
|
+
var __hasOwnProp$V = Object.prototype.hasOwnProperty;
|
|
16303
|
+
var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
|
|
16304
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16305
|
+
var __spreadValues$L = (a, b) => {
|
|
16292
16306
|
for (var prop in b || (b = {}))
|
|
16293
|
-
if (__hasOwnProp$
|
|
16294
|
-
__defNormalProp$
|
|
16295
|
-
if (__getOwnPropSymbols$
|
|
16296
|
-
for (var prop of __getOwnPropSymbols$
|
|
16297
|
-
if (__propIsEnum$
|
|
16298
|
-
__defNormalProp$
|
|
16307
|
+
if (__hasOwnProp$V.call(b, prop))
|
|
16308
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
16309
|
+
if (__getOwnPropSymbols$V)
|
|
16310
|
+
for (var prop of __getOwnPropSymbols$V(b)) {
|
|
16311
|
+
if (__propIsEnum$V.call(b, prop))
|
|
16312
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
16299
16313
|
}
|
|
16300
16314
|
return a;
|
|
16301
16315
|
};
|
|
@@ -16343,7 +16357,7 @@ class FundingSourcesAPI {
|
|
|
16343
16357
|
if (!endUserIpAddress) {
|
|
16344
16358
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
16345
16359
|
}
|
|
16346
|
-
return yield this.client.post("/v1/funding_sources", __spreadValues$
|
|
16360
|
+
return yield this.client.post("/v1/funding_sources", __spreadValues$L({
|
|
16347
16361
|
endUserIpAddress
|
|
16348
16362
|
}, createFundingSource));
|
|
16349
16363
|
});
|
|
@@ -16362,7 +16376,7 @@ class FundingSourcesAPI {
|
|
|
16362
16376
|
{
|
|
16363
16377
|
billingInfo,
|
|
16364
16378
|
endUserIpAddress,
|
|
16365
|
-
paymentMethod: __spreadValues$
|
|
16379
|
+
paymentMethod: __spreadValues$L({
|
|
16366
16380
|
creditCardInfo
|
|
16367
16381
|
}, auctanePayInfo)
|
|
16368
16382
|
}
|
|
@@ -16377,7 +16391,7 @@ class FundingSourcesAPI {
|
|
|
16377
16391
|
if (!endUserIpAddress) {
|
|
16378
16392
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
16379
16393
|
}
|
|
16380
|
-
return yield this.client.post("/v1/registration/funding_source", __spreadValues$
|
|
16394
|
+
return yield this.client.post("/v1/registration/funding_source", __spreadValues$L({
|
|
16381
16395
|
endUserIpAddress
|
|
16382
16396
|
}, carrier));
|
|
16383
16397
|
});
|
|
@@ -16546,17 +16560,17 @@ class LabelsAPI {
|
|
|
16546
16560
|
}
|
|
16547
16561
|
}
|
|
16548
16562
|
|
|
16549
|
-
var __getOwnPropSymbols$
|
|
16550
|
-
var __hasOwnProp$
|
|
16551
|
-
var __propIsEnum$
|
|
16563
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
16564
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
16565
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
16552
16566
|
var __objRest$t = (source, exclude) => {
|
|
16553
16567
|
var target = {};
|
|
16554
16568
|
for (var prop in source)
|
|
16555
|
-
if (__hasOwnProp$
|
|
16569
|
+
if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
16556
16570
|
target[prop] = source[prop];
|
|
16557
|
-
if (source != null && __getOwnPropSymbols$
|
|
16558
|
-
for (var prop of __getOwnPropSymbols$
|
|
16559
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
16571
|
+
if (source != null && __getOwnPropSymbols$U)
|
|
16572
|
+
for (var prop of __getOwnPropSymbols$U(source)) {
|
|
16573
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
|
|
16560
16574
|
target[prop] = source[prop];
|
|
16561
16575
|
}
|
|
16562
16576
|
return target;
|
|
@@ -16677,19 +16691,19 @@ class RateCardsAPI {
|
|
|
16677
16691
|
}
|
|
16678
16692
|
}
|
|
16679
16693
|
|
|
16680
|
-
var __defProp$
|
|
16681
|
-
var __getOwnPropSymbols$
|
|
16682
|
-
var __hasOwnProp$
|
|
16683
|
-
var __propIsEnum$
|
|
16684
|
-
var __defNormalProp$
|
|
16685
|
-
var __spreadValues$
|
|
16694
|
+
var __defProp$K = Object.defineProperty;
|
|
16695
|
+
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
16696
|
+
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
16697
|
+
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
16698
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16699
|
+
var __spreadValues$K = (a, b) => {
|
|
16686
16700
|
for (var prop in b || (b = {}))
|
|
16687
|
-
if (__hasOwnProp$
|
|
16688
|
-
__defNormalProp$
|
|
16689
|
-
if (__getOwnPropSymbols$
|
|
16690
|
-
for (var prop of __getOwnPropSymbols$
|
|
16691
|
-
if (__propIsEnum$
|
|
16692
|
-
__defNormalProp$
|
|
16701
|
+
if (__hasOwnProp$T.call(b, prop))
|
|
16702
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
16703
|
+
if (__getOwnPropSymbols$T)
|
|
16704
|
+
for (var prop of __getOwnPropSymbols$T(b)) {
|
|
16705
|
+
if (__propIsEnum$T.call(b, prop))
|
|
16706
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
16693
16707
|
}
|
|
16694
16708
|
return a;
|
|
16695
16709
|
};
|
|
@@ -16711,7 +16725,7 @@ class RatesAPI {
|
|
|
16711
16725
|
* method.
|
|
16712
16726
|
*/
|
|
16713
16727
|
this.estimate = (params) => {
|
|
16714
|
-
return this.client.post("/v1/rates/estimate", __spreadValues$
|
|
16728
|
+
return this.client.post("/v1/rates/estimate", __spreadValues$K({}, params));
|
|
16715
16729
|
};
|
|
16716
16730
|
this.client = client;
|
|
16717
16731
|
}
|
|
@@ -16895,19 +16909,19 @@ class SellersAPI {
|
|
|
16895
16909
|
}
|
|
16896
16910
|
}
|
|
16897
16911
|
|
|
16898
|
-
var __defProp$
|
|
16899
|
-
var __getOwnPropSymbols$
|
|
16900
|
-
var __hasOwnProp$
|
|
16901
|
-
var __propIsEnum$
|
|
16902
|
-
var __defNormalProp$
|
|
16903
|
-
var __spreadValues$
|
|
16912
|
+
var __defProp$J = Object.defineProperty;
|
|
16913
|
+
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
16914
|
+
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
16915
|
+
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
16916
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16917
|
+
var __spreadValues$J = (a, b) => {
|
|
16904
16918
|
for (var prop in b || (b = {}))
|
|
16905
|
-
if (__hasOwnProp$
|
|
16906
|
-
__defNormalProp$
|
|
16907
|
-
if (__getOwnPropSymbols$
|
|
16908
|
-
for (var prop of __getOwnPropSymbols$
|
|
16909
|
-
if (__propIsEnum$
|
|
16910
|
-
__defNormalProp$
|
|
16919
|
+
if (__hasOwnProp$S.call(b, prop))
|
|
16920
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
16921
|
+
if (__getOwnPropSymbols$S)
|
|
16922
|
+
for (var prop of __getOwnPropSymbols$S(b)) {
|
|
16923
|
+
if (__propIsEnum$S.call(b, prop))
|
|
16924
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
16911
16925
|
}
|
|
16912
16926
|
return a;
|
|
16913
16927
|
};
|
|
@@ -16919,7 +16933,7 @@ class ServicePointsAPI {
|
|
|
16919
16933
|
* Either an address, coordinates, or an address query
|
|
16920
16934
|
*/
|
|
16921
16935
|
this.list = (options) => {
|
|
16922
|
-
return this.client.post("/v1/service_points/list", __spreadValues$
|
|
16936
|
+
return this.client.post("/v1/service_points/list", __spreadValues$J({}, options));
|
|
16923
16937
|
};
|
|
16924
16938
|
/**
|
|
16925
16939
|
* Get a specific service point by its carrier code, country code, and id
|
|
@@ -34403,33 +34417,33 @@ class WebhooksAPI {
|
|
|
34403
34417
|
}
|
|
34404
34418
|
}
|
|
34405
34419
|
|
|
34406
|
-
var __defProp$
|
|
34407
|
-
var __defProps$
|
|
34408
|
-
var __getOwnPropDescs$
|
|
34409
|
-
var __getOwnPropSymbols$
|
|
34410
|
-
var __hasOwnProp$
|
|
34411
|
-
var __propIsEnum$
|
|
34412
|
-
var __defNormalProp$
|
|
34413
|
-
var __spreadValues$
|
|
34420
|
+
var __defProp$I = Object.defineProperty;
|
|
34421
|
+
var __defProps$F = Object.defineProperties;
|
|
34422
|
+
var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
|
|
34423
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
34424
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
34425
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
34426
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
34427
|
+
var __spreadValues$I = (a, b) => {
|
|
34414
34428
|
for (var prop in b || (b = {}))
|
|
34415
|
-
if (__hasOwnProp$
|
|
34416
|
-
__defNormalProp$
|
|
34417
|
-
if (__getOwnPropSymbols$
|
|
34418
|
-
for (var prop of __getOwnPropSymbols$
|
|
34419
|
-
if (__propIsEnum$
|
|
34420
|
-
__defNormalProp$
|
|
34429
|
+
if (__hasOwnProp$R.call(b, prop))
|
|
34430
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
34431
|
+
if (__getOwnPropSymbols$R)
|
|
34432
|
+
for (var prop of __getOwnPropSymbols$R(b)) {
|
|
34433
|
+
if (__propIsEnum$R.call(b, prop))
|
|
34434
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
34421
34435
|
}
|
|
34422
34436
|
return a;
|
|
34423
34437
|
};
|
|
34424
|
-
var __spreadProps$
|
|
34438
|
+
var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
|
|
34425
34439
|
var __objRest$s = (source, exclude) => {
|
|
34426
34440
|
var target = {};
|
|
34427
34441
|
for (var prop in source)
|
|
34428
|
-
if (__hasOwnProp$
|
|
34442
|
+
if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
34429
34443
|
target[prop] = source[prop];
|
|
34430
|
-
if (source != null && __getOwnPropSymbols$
|
|
34431
|
-
for (var prop of __getOwnPropSymbols$
|
|
34432
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
34444
|
+
if (source != null && __getOwnPropSymbols$R)
|
|
34445
|
+
for (var prop of __getOwnPropSymbols$R(source)) {
|
|
34446
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
|
|
34433
34447
|
target[prop] = source[prop];
|
|
34434
34448
|
}
|
|
34435
34449
|
return target;
|
|
@@ -34457,7 +34471,7 @@ var __async$Z = (__this, __arguments, generator) => {
|
|
|
34457
34471
|
const logger$1 = E({
|
|
34458
34472
|
level: process.env.NODE_ENV === "production" ? "fatal" : "info",
|
|
34459
34473
|
name: "shipengine-api",
|
|
34460
|
-
serializers: __spreadProps$
|
|
34474
|
+
serializers: __spreadProps$F(__spreadValues$I({}, k), {
|
|
34461
34475
|
req: (req) => ({
|
|
34462
34476
|
headers: req.headers,
|
|
34463
34477
|
method: req.method,
|
|
@@ -34482,7 +34496,7 @@ class ShipEngineAPI {
|
|
|
34482
34496
|
this.getSandboxToken = getSandboxToken;
|
|
34483
34497
|
const client = axios.create({
|
|
34484
34498
|
baseURL,
|
|
34485
|
-
headers: __spreadProps$
|
|
34499
|
+
headers: __spreadProps$F(__spreadValues$I({}, headers), {
|
|
34486
34500
|
"Content-Type": "application/json"
|
|
34487
34501
|
}),
|
|
34488
34502
|
paramsSerializer: (params) => lib.stringify(decamelizeKeys(params), { arrayFormat: "brackets" }),
|
|
@@ -34633,6 +34647,13 @@ class ShipEngineAPI {
|
|
|
34633
34647
|
get accountBillingPlan() {
|
|
34634
34648
|
return new AccountBillingPlanAPI(this.client);
|
|
34635
34649
|
}
|
|
34650
|
+
/**
|
|
34651
|
+
* The `accountAddons` method provides access to the Account Addons endpoints
|
|
34652
|
+
* in ShipEngine API.
|
|
34653
|
+
*/
|
|
34654
|
+
get accountAddons() {
|
|
34655
|
+
return new AccountAddonsAPI(this.client);
|
|
34656
|
+
}
|
|
34636
34657
|
/**
|
|
34637
34658
|
* The `accountBilling` method provides access to the Account Billing (Recurly) endpoints
|
|
34638
34659
|
* in ShipEngine API.
|
|
@@ -34899,25 +34920,25 @@ const delay = (ms) => new Promise((resolve) => {
|
|
|
34899
34920
|
|
|
34900
34921
|
const onError = (_errors) => _default();
|
|
34901
34922
|
|
|
34902
|
-
var __defProp$
|
|
34903
|
-
var __defProps$
|
|
34904
|
-
var __getOwnPropDescs$
|
|
34905
|
-
var __getOwnPropSymbols$
|
|
34906
|
-
var __hasOwnProp$
|
|
34907
|
-
var __propIsEnum$
|
|
34908
|
-
var __defNormalProp$
|
|
34909
|
-
var __spreadValues$
|
|
34923
|
+
var __defProp$H = Object.defineProperty;
|
|
34924
|
+
var __defProps$E = Object.defineProperties;
|
|
34925
|
+
var __getOwnPropDescs$E = Object.getOwnPropertyDescriptors;
|
|
34926
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
34927
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
34928
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
34929
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
34930
|
+
var __spreadValues$H = (a, b) => {
|
|
34910
34931
|
for (var prop in b || (b = {}))
|
|
34911
|
-
if (__hasOwnProp$
|
|
34912
|
-
__defNormalProp$
|
|
34913
|
-
if (__getOwnPropSymbols$
|
|
34914
|
-
for (var prop of __getOwnPropSymbols$
|
|
34915
|
-
if (__propIsEnum$
|
|
34916
|
-
__defNormalProp$
|
|
34932
|
+
if (__hasOwnProp$Q.call(b, prop))
|
|
34933
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
34934
|
+
if (__getOwnPropSymbols$Q)
|
|
34935
|
+
for (var prop of __getOwnPropSymbols$Q(b)) {
|
|
34936
|
+
if (__propIsEnum$Q.call(b, prop))
|
|
34937
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
34917
34938
|
}
|
|
34918
34939
|
return a;
|
|
34919
34940
|
};
|
|
34920
|
-
var __spreadProps$
|
|
34941
|
+
var __spreadProps$E = (a, b) => __defProps$E(a, __getOwnPropDescs$E(b));
|
|
34921
34942
|
const streams = [];
|
|
34922
34943
|
if (process.env.NODE_ENV === "production") {
|
|
34923
34944
|
streams.push({
|
|
@@ -34926,7 +34947,7 @@ if (process.env.NODE_ENV === "production") {
|
|
|
34926
34947
|
}
|
|
34927
34948
|
const logger = E({
|
|
34928
34949
|
name: "shipengine",
|
|
34929
|
-
serializers: __spreadProps$
|
|
34950
|
+
serializers: __spreadProps$E(__spreadValues$H({}, k), {
|
|
34930
34951
|
req: (req) => ({
|
|
34931
34952
|
headers: req.headers,
|
|
34932
34953
|
method: req.method,
|
|
@@ -35099,6 +35120,35 @@ const useUpdateAccountSettings = () => {
|
|
|
35099
35120
|
});
|
|
35100
35121
|
};
|
|
35101
35122
|
|
|
35123
|
+
var __defProp$G = Object.defineProperty;
|
|
35124
|
+
var __defProps$D = Object.defineProperties;
|
|
35125
|
+
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
35126
|
+
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
35127
|
+
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
35128
|
+
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
35129
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
35130
|
+
var __spreadValues$G = (a, b) => {
|
|
35131
|
+
for (var prop in b || (b = {}))
|
|
35132
|
+
if (__hasOwnProp$P.call(b, prop))
|
|
35133
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
35134
|
+
if (__getOwnPropSymbols$P)
|
|
35135
|
+
for (var prop of __getOwnPropSymbols$P(b)) {
|
|
35136
|
+
if (__propIsEnum$P.call(b, prop))
|
|
35137
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
35138
|
+
}
|
|
35139
|
+
return a;
|
|
35140
|
+
};
|
|
35141
|
+
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
35142
|
+
const useListAccountAddons = (params) => {
|
|
35143
|
+
const { client } = useShipEngine();
|
|
35144
|
+
return reactQuery.useQuery(__spreadProps$D(__spreadValues$G({}, params), {
|
|
35145
|
+
onError,
|
|
35146
|
+
queryFn: () => client.accountAddons.list(),
|
|
35147
|
+
queryKey: ["useListAccountAddons"],
|
|
35148
|
+
select: (result) => result.data
|
|
35149
|
+
}));
|
|
35150
|
+
};
|
|
35151
|
+
|
|
35102
35152
|
var __async$U = (__this, __arguments, generator) => {
|
|
35103
35153
|
return new Promise((resolve, reject) => {
|
|
35104
35154
|
var fulfilled = (value) => {
|
|
@@ -39946,6 +39996,7 @@ const alchemy = {
|
|
|
39946
39996
|
createElement
|
|
39947
39997
|
};
|
|
39948
39998
|
|
|
39999
|
+
exports.AccountAddonsAPI = AccountAddonsAPI;
|
|
39949
40000
|
exports.AccountBillingAPI = AccountBillingAPI;
|
|
39950
40001
|
exports.AccountBillingPlanAPI = AccountBillingPlanAPI;
|
|
39951
40002
|
exports.AccountBillingPlanChangeType = AccountBillingPlanChangeType;
|
|
@@ -40081,6 +40132,7 @@ exports.useGetShippingRuleConditionsOptions = useGetShippingRuleConditionsOption
|
|
|
40081
40132
|
exports.useGetThemeById = useGetThemeById;
|
|
40082
40133
|
exports.useGetZonesByCarrier = useGetZonesByCarrier;
|
|
40083
40134
|
exports.useI18n = useI18n;
|
|
40135
|
+
exports.useListAccountAddons = useListAccountAddons;
|
|
40084
40136
|
exports.useListCarrierConnections = useListCarrierConnections;
|
|
40085
40137
|
exports.useListCarriers = useListCarriers;
|
|
40086
40138
|
exports.useListCustomPackageTypes = useListCustomPackageTypes;
|
package/index.mjs
CHANGED
|
@@ -10800,17 +10800,17 @@ var AccountBillingPlanChangeType = /* @__PURE__ */ ((AccountBillingPlanChangeTyp
|
|
|
10800
10800
|
return AccountBillingPlanChangeType2;
|
|
10801
10801
|
})(AccountBillingPlanChangeType || {});
|
|
10802
10802
|
|
|
10803
|
-
var __getOwnPropSymbols$
|
|
10804
|
-
var __hasOwnProp$
|
|
10805
|
-
var __propIsEnum$
|
|
10803
|
+
var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
|
|
10804
|
+
var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
|
|
10805
|
+
var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
|
|
10806
10806
|
var __objRest$x = (source, exclude) => {
|
|
10807
10807
|
var target = {};
|
|
10808
10808
|
for (var prop in source)
|
|
10809
|
-
if (__hasOwnProp$
|
|
10809
|
+
if (__hasOwnProp$Z.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
10810
10810
|
target[prop] = source[prop];
|
|
10811
|
-
if (source != null && __getOwnPropSymbols$
|
|
10812
|
-
for (var prop of __getOwnPropSymbols$
|
|
10813
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
10811
|
+
if (source != null && __getOwnPropSymbols$Z)
|
|
10812
|
+
for (var prop of __getOwnPropSymbols$Z(source)) {
|
|
10813
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Z.call(source, prop))
|
|
10814
10814
|
target[prop] = source[prop];
|
|
10815
10815
|
}
|
|
10816
10816
|
return target;
|
|
@@ -10945,17 +10945,17 @@ const types = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
10945
10945
|
RateCardStatus
|
|
10946
10946
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
10947
10947
|
|
|
10948
|
-
var __getOwnPropSymbols$
|
|
10949
|
-
var __hasOwnProp$
|
|
10950
|
-
var __propIsEnum$
|
|
10948
|
+
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
10949
|
+
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
10950
|
+
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
10951
10951
|
var __objRest$w = (source, exclude) => {
|
|
10952
10952
|
var target = {};
|
|
10953
10953
|
for (var prop in source)
|
|
10954
|
-
if (__hasOwnProp$
|
|
10954
|
+
if (__hasOwnProp$Y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
10955
10955
|
target[prop] = source[prop];
|
|
10956
|
-
if (source != null && __getOwnPropSymbols$
|
|
10957
|
-
for (var prop of __getOwnPropSymbols$
|
|
10958
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
10956
|
+
if (source != null && __getOwnPropSymbols$Y)
|
|
10957
|
+
for (var prop of __getOwnPropSymbols$Y(source)) {
|
|
10958
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Y.call(source, prop))
|
|
10959
10959
|
target[prop] = source[prop];
|
|
10960
10960
|
}
|
|
10961
10961
|
return target;
|
|
@@ -11006,6 +11006,20 @@ class AccountSettingsAPI {
|
|
|
11006
11006
|
}
|
|
11007
11007
|
}
|
|
11008
11008
|
|
|
11009
|
+
class AccountAddonsAPI {
|
|
11010
|
+
constructor(client) {
|
|
11011
|
+
this.client = client;
|
|
11012
|
+
/**
|
|
11013
|
+
* The `list` method retrieves a list of all available addons, also includes
|
|
11014
|
+
* if its avaiable for the current user
|
|
11015
|
+
*/
|
|
11016
|
+
this.list = () => {
|
|
11017
|
+
return this.client.get("/v1/account/addons");
|
|
11018
|
+
};
|
|
11019
|
+
this.client = client;
|
|
11020
|
+
}
|
|
11021
|
+
}
|
|
11022
|
+
|
|
11009
11023
|
class AddressesAPI {
|
|
11010
11024
|
constructor(client) {
|
|
11011
11025
|
this.client = client;
|
|
@@ -13876,33 +13890,33 @@ const decamelizeKeys = (obj, separator = "_") => {
|
|
|
13876
13890
|
return obj;
|
|
13877
13891
|
};
|
|
13878
13892
|
|
|
13879
|
-
var __defProp$
|
|
13880
|
-
var __defProps$
|
|
13881
|
-
var __getOwnPropDescs$
|
|
13882
|
-
var __getOwnPropSymbols$
|
|
13883
|
-
var __hasOwnProp$
|
|
13884
|
-
var __propIsEnum$
|
|
13885
|
-
var __defNormalProp$
|
|
13886
|
-
var __spreadValues$
|
|
13893
|
+
var __defProp$M = Object.defineProperty;
|
|
13894
|
+
var __defProps$G = Object.defineProperties;
|
|
13895
|
+
var __getOwnPropDescs$G = Object.getOwnPropertyDescriptors;
|
|
13896
|
+
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
13897
|
+
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
13898
|
+
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
13899
|
+
var __defNormalProp$M = (obj, key, value) => key in obj ? __defProp$M(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13900
|
+
var __spreadValues$M = (a, b) => {
|
|
13887
13901
|
for (var prop in b || (b = {}))
|
|
13888
|
-
if (__hasOwnProp$
|
|
13889
|
-
__defNormalProp$
|
|
13890
|
-
if (__getOwnPropSymbols$
|
|
13891
|
-
for (var prop of __getOwnPropSymbols$
|
|
13892
|
-
if (__propIsEnum$
|
|
13893
|
-
__defNormalProp$
|
|
13902
|
+
if (__hasOwnProp$X.call(b, prop))
|
|
13903
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
13904
|
+
if (__getOwnPropSymbols$X)
|
|
13905
|
+
for (var prop of __getOwnPropSymbols$X(b)) {
|
|
13906
|
+
if (__propIsEnum$X.call(b, prop))
|
|
13907
|
+
__defNormalProp$M(a, prop, b[prop]);
|
|
13894
13908
|
}
|
|
13895
13909
|
return a;
|
|
13896
13910
|
};
|
|
13897
|
-
var __spreadProps$
|
|
13911
|
+
var __spreadProps$G = (a, b) => __defProps$G(a, __getOwnPropDescs$G(b));
|
|
13898
13912
|
var __objRest$v = (source, exclude) => {
|
|
13899
13913
|
var target = {};
|
|
13900
13914
|
for (var prop in source)
|
|
13901
|
-
if (__hasOwnProp$
|
|
13915
|
+
if (__hasOwnProp$X.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
13902
13916
|
target[prop] = source[prop];
|
|
13903
|
-
if (source != null && __getOwnPropSymbols$
|
|
13904
|
-
for (var prop of __getOwnPropSymbols$
|
|
13905
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
13917
|
+
if (source != null && __getOwnPropSymbols$X)
|
|
13918
|
+
for (var prop of __getOwnPropSymbols$X(source)) {
|
|
13919
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$X.call(source, prop))
|
|
13906
13920
|
target[prop] = source[prop];
|
|
13907
13921
|
}
|
|
13908
13922
|
return target;
|
|
@@ -13952,7 +13966,7 @@ class CarriersAPI {
|
|
|
13952
13966
|
const endUserIpAddress = yield getEndUserIpAddress();
|
|
13953
13967
|
if (!endUserIpAddress)
|
|
13954
13968
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
13955
|
-
return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$
|
|
13969
|
+
return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$G(__spreadValues$M({}, connection), {
|
|
13956
13970
|
endUserIpAddress
|
|
13957
13971
|
}));
|
|
13958
13972
|
});
|
|
@@ -14036,17 +14050,17 @@ class CarriersAPI {
|
|
|
14036
14050
|
}
|
|
14037
14051
|
}
|
|
14038
14052
|
|
|
14039
|
-
var __getOwnPropSymbols$
|
|
14040
|
-
var __hasOwnProp$
|
|
14041
|
-
var __propIsEnum$
|
|
14053
|
+
var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
|
|
14054
|
+
var __hasOwnProp$W = Object.prototype.hasOwnProperty;
|
|
14055
|
+
var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
|
|
14042
14056
|
var __objRest$u = (source, exclude) => {
|
|
14043
14057
|
var target = {};
|
|
14044
14058
|
for (var prop in source)
|
|
14045
|
-
if (__hasOwnProp$
|
|
14059
|
+
if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
14046
14060
|
target[prop] = source[prop];
|
|
14047
|
-
if (source != null && __getOwnPropSymbols$
|
|
14048
|
-
for (var prop of __getOwnPropSymbols$
|
|
14049
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
14061
|
+
if (source != null && __getOwnPropSymbols$W)
|
|
14062
|
+
for (var prop of __getOwnPropSymbols$W(source)) {
|
|
14063
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$W.call(source, prop))
|
|
14050
14064
|
target[prop] = source[prop];
|
|
14051
14065
|
}
|
|
14052
14066
|
return target;
|
|
@@ -16261,19 +16275,19 @@ class CustomPackagesAPI {
|
|
|
16261
16275
|
}
|
|
16262
16276
|
}
|
|
16263
16277
|
|
|
16264
|
-
var __defProp$
|
|
16265
|
-
var __getOwnPropSymbols$
|
|
16266
|
-
var __hasOwnProp$
|
|
16267
|
-
var __propIsEnum$
|
|
16268
|
-
var __defNormalProp$
|
|
16269
|
-
var __spreadValues$
|
|
16278
|
+
var __defProp$L = Object.defineProperty;
|
|
16279
|
+
var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
|
|
16280
|
+
var __hasOwnProp$V = Object.prototype.hasOwnProperty;
|
|
16281
|
+
var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
|
|
16282
|
+
var __defNormalProp$L = (obj, key, value) => key in obj ? __defProp$L(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16283
|
+
var __spreadValues$L = (a, b) => {
|
|
16270
16284
|
for (var prop in b || (b = {}))
|
|
16271
|
-
if (__hasOwnProp$
|
|
16272
|
-
__defNormalProp$
|
|
16273
|
-
if (__getOwnPropSymbols$
|
|
16274
|
-
for (var prop of __getOwnPropSymbols$
|
|
16275
|
-
if (__propIsEnum$
|
|
16276
|
-
__defNormalProp$
|
|
16285
|
+
if (__hasOwnProp$V.call(b, prop))
|
|
16286
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
16287
|
+
if (__getOwnPropSymbols$V)
|
|
16288
|
+
for (var prop of __getOwnPropSymbols$V(b)) {
|
|
16289
|
+
if (__propIsEnum$V.call(b, prop))
|
|
16290
|
+
__defNormalProp$L(a, prop, b[prop]);
|
|
16277
16291
|
}
|
|
16278
16292
|
return a;
|
|
16279
16293
|
};
|
|
@@ -16321,7 +16335,7 @@ class FundingSourcesAPI {
|
|
|
16321
16335
|
if (!endUserIpAddress) {
|
|
16322
16336
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
16323
16337
|
}
|
|
16324
|
-
return yield this.client.post("/v1/funding_sources", __spreadValues$
|
|
16338
|
+
return yield this.client.post("/v1/funding_sources", __spreadValues$L({
|
|
16325
16339
|
endUserIpAddress
|
|
16326
16340
|
}, createFundingSource));
|
|
16327
16341
|
});
|
|
@@ -16340,7 +16354,7 @@ class FundingSourcesAPI {
|
|
|
16340
16354
|
{
|
|
16341
16355
|
billingInfo,
|
|
16342
16356
|
endUserIpAddress,
|
|
16343
|
-
paymentMethod: __spreadValues$
|
|
16357
|
+
paymentMethod: __spreadValues$L({
|
|
16344
16358
|
creditCardInfo
|
|
16345
16359
|
}, auctanePayInfo)
|
|
16346
16360
|
}
|
|
@@ -16355,7 +16369,7 @@ class FundingSourcesAPI {
|
|
|
16355
16369
|
if (!endUserIpAddress) {
|
|
16356
16370
|
return Promise.reject([new CodedError("Unable to get IP address")]);
|
|
16357
16371
|
}
|
|
16358
|
-
return yield this.client.post("/v1/registration/funding_source", __spreadValues$
|
|
16372
|
+
return yield this.client.post("/v1/registration/funding_source", __spreadValues$L({
|
|
16359
16373
|
endUserIpAddress
|
|
16360
16374
|
}, carrier));
|
|
16361
16375
|
});
|
|
@@ -16524,17 +16538,17 @@ class LabelsAPI {
|
|
|
16524
16538
|
}
|
|
16525
16539
|
}
|
|
16526
16540
|
|
|
16527
|
-
var __getOwnPropSymbols$
|
|
16528
|
-
var __hasOwnProp$
|
|
16529
|
-
var __propIsEnum$
|
|
16541
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
16542
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
16543
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
16530
16544
|
var __objRest$t = (source, exclude) => {
|
|
16531
16545
|
var target = {};
|
|
16532
16546
|
for (var prop in source)
|
|
16533
|
-
if (__hasOwnProp$
|
|
16547
|
+
if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
16534
16548
|
target[prop] = source[prop];
|
|
16535
|
-
if (source != null && __getOwnPropSymbols$
|
|
16536
|
-
for (var prop of __getOwnPropSymbols$
|
|
16537
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
16549
|
+
if (source != null && __getOwnPropSymbols$U)
|
|
16550
|
+
for (var prop of __getOwnPropSymbols$U(source)) {
|
|
16551
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
|
|
16538
16552
|
target[prop] = source[prop];
|
|
16539
16553
|
}
|
|
16540
16554
|
return target;
|
|
@@ -16655,19 +16669,19 @@ class RateCardsAPI {
|
|
|
16655
16669
|
}
|
|
16656
16670
|
}
|
|
16657
16671
|
|
|
16658
|
-
var __defProp$
|
|
16659
|
-
var __getOwnPropSymbols$
|
|
16660
|
-
var __hasOwnProp$
|
|
16661
|
-
var __propIsEnum$
|
|
16662
|
-
var __defNormalProp$
|
|
16663
|
-
var __spreadValues$
|
|
16672
|
+
var __defProp$K = Object.defineProperty;
|
|
16673
|
+
var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
|
|
16674
|
+
var __hasOwnProp$T = Object.prototype.hasOwnProperty;
|
|
16675
|
+
var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
|
|
16676
|
+
var __defNormalProp$K = (obj, key, value) => key in obj ? __defProp$K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16677
|
+
var __spreadValues$K = (a, b) => {
|
|
16664
16678
|
for (var prop in b || (b = {}))
|
|
16665
|
-
if (__hasOwnProp$
|
|
16666
|
-
__defNormalProp$
|
|
16667
|
-
if (__getOwnPropSymbols$
|
|
16668
|
-
for (var prop of __getOwnPropSymbols$
|
|
16669
|
-
if (__propIsEnum$
|
|
16670
|
-
__defNormalProp$
|
|
16679
|
+
if (__hasOwnProp$T.call(b, prop))
|
|
16680
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
16681
|
+
if (__getOwnPropSymbols$T)
|
|
16682
|
+
for (var prop of __getOwnPropSymbols$T(b)) {
|
|
16683
|
+
if (__propIsEnum$T.call(b, prop))
|
|
16684
|
+
__defNormalProp$K(a, prop, b[prop]);
|
|
16671
16685
|
}
|
|
16672
16686
|
return a;
|
|
16673
16687
|
};
|
|
@@ -16689,7 +16703,7 @@ class RatesAPI {
|
|
|
16689
16703
|
* method.
|
|
16690
16704
|
*/
|
|
16691
16705
|
this.estimate = (params) => {
|
|
16692
|
-
return this.client.post("/v1/rates/estimate", __spreadValues$
|
|
16706
|
+
return this.client.post("/v1/rates/estimate", __spreadValues$K({}, params));
|
|
16693
16707
|
};
|
|
16694
16708
|
this.client = client;
|
|
16695
16709
|
}
|
|
@@ -16873,19 +16887,19 @@ class SellersAPI {
|
|
|
16873
16887
|
}
|
|
16874
16888
|
}
|
|
16875
16889
|
|
|
16876
|
-
var __defProp$
|
|
16877
|
-
var __getOwnPropSymbols$
|
|
16878
|
-
var __hasOwnProp$
|
|
16879
|
-
var __propIsEnum$
|
|
16880
|
-
var __defNormalProp$
|
|
16881
|
-
var __spreadValues$
|
|
16890
|
+
var __defProp$J = Object.defineProperty;
|
|
16891
|
+
var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
|
|
16892
|
+
var __hasOwnProp$S = Object.prototype.hasOwnProperty;
|
|
16893
|
+
var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
|
|
16894
|
+
var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16895
|
+
var __spreadValues$J = (a, b) => {
|
|
16882
16896
|
for (var prop in b || (b = {}))
|
|
16883
|
-
if (__hasOwnProp$
|
|
16884
|
-
__defNormalProp$
|
|
16885
|
-
if (__getOwnPropSymbols$
|
|
16886
|
-
for (var prop of __getOwnPropSymbols$
|
|
16887
|
-
if (__propIsEnum$
|
|
16888
|
-
__defNormalProp$
|
|
16897
|
+
if (__hasOwnProp$S.call(b, prop))
|
|
16898
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
16899
|
+
if (__getOwnPropSymbols$S)
|
|
16900
|
+
for (var prop of __getOwnPropSymbols$S(b)) {
|
|
16901
|
+
if (__propIsEnum$S.call(b, prop))
|
|
16902
|
+
__defNormalProp$J(a, prop, b[prop]);
|
|
16889
16903
|
}
|
|
16890
16904
|
return a;
|
|
16891
16905
|
};
|
|
@@ -16897,7 +16911,7 @@ class ServicePointsAPI {
|
|
|
16897
16911
|
* Either an address, coordinates, or an address query
|
|
16898
16912
|
*/
|
|
16899
16913
|
this.list = (options) => {
|
|
16900
|
-
return this.client.post("/v1/service_points/list", __spreadValues$
|
|
16914
|
+
return this.client.post("/v1/service_points/list", __spreadValues$J({}, options));
|
|
16901
16915
|
};
|
|
16902
16916
|
/**
|
|
16903
16917
|
* Get a specific service point by its carrier code, country code, and id
|
|
@@ -34381,33 +34395,33 @@ class WebhooksAPI {
|
|
|
34381
34395
|
}
|
|
34382
34396
|
}
|
|
34383
34397
|
|
|
34384
|
-
var __defProp$
|
|
34385
|
-
var __defProps$
|
|
34386
|
-
var __getOwnPropDescs$
|
|
34387
|
-
var __getOwnPropSymbols$
|
|
34388
|
-
var __hasOwnProp$
|
|
34389
|
-
var __propIsEnum$
|
|
34390
|
-
var __defNormalProp$
|
|
34391
|
-
var __spreadValues$
|
|
34398
|
+
var __defProp$I = Object.defineProperty;
|
|
34399
|
+
var __defProps$F = Object.defineProperties;
|
|
34400
|
+
var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
|
|
34401
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
34402
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
34403
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
34404
|
+
var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
34405
|
+
var __spreadValues$I = (a, b) => {
|
|
34392
34406
|
for (var prop in b || (b = {}))
|
|
34393
|
-
if (__hasOwnProp$
|
|
34394
|
-
__defNormalProp$
|
|
34395
|
-
if (__getOwnPropSymbols$
|
|
34396
|
-
for (var prop of __getOwnPropSymbols$
|
|
34397
|
-
if (__propIsEnum$
|
|
34398
|
-
__defNormalProp$
|
|
34407
|
+
if (__hasOwnProp$R.call(b, prop))
|
|
34408
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
34409
|
+
if (__getOwnPropSymbols$R)
|
|
34410
|
+
for (var prop of __getOwnPropSymbols$R(b)) {
|
|
34411
|
+
if (__propIsEnum$R.call(b, prop))
|
|
34412
|
+
__defNormalProp$I(a, prop, b[prop]);
|
|
34399
34413
|
}
|
|
34400
34414
|
return a;
|
|
34401
34415
|
};
|
|
34402
|
-
var __spreadProps$
|
|
34416
|
+
var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
|
|
34403
34417
|
var __objRest$s = (source, exclude) => {
|
|
34404
34418
|
var target = {};
|
|
34405
34419
|
for (var prop in source)
|
|
34406
|
-
if (__hasOwnProp$
|
|
34420
|
+
if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
34407
34421
|
target[prop] = source[prop];
|
|
34408
|
-
if (source != null && __getOwnPropSymbols$
|
|
34409
|
-
for (var prop of __getOwnPropSymbols$
|
|
34410
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
34422
|
+
if (source != null && __getOwnPropSymbols$R)
|
|
34423
|
+
for (var prop of __getOwnPropSymbols$R(source)) {
|
|
34424
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
|
|
34411
34425
|
target[prop] = source[prop];
|
|
34412
34426
|
}
|
|
34413
34427
|
return target;
|
|
@@ -34435,7 +34449,7 @@ var __async$Z = (__this, __arguments, generator) => {
|
|
|
34435
34449
|
const logger$1 = E({
|
|
34436
34450
|
level: process.env.NODE_ENV === "production" ? "fatal" : "info",
|
|
34437
34451
|
name: "shipengine-api",
|
|
34438
|
-
serializers: __spreadProps$
|
|
34452
|
+
serializers: __spreadProps$F(__spreadValues$I({}, k), {
|
|
34439
34453
|
req: (req) => ({
|
|
34440
34454
|
headers: req.headers,
|
|
34441
34455
|
method: req.method,
|
|
@@ -34460,7 +34474,7 @@ class ShipEngineAPI {
|
|
|
34460
34474
|
this.getSandboxToken = getSandboxToken;
|
|
34461
34475
|
const client = axios.create({
|
|
34462
34476
|
baseURL,
|
|
34463
|
-
headers: __spreadProps$
|
|
34477
|
+
headers: __spreadProps$F(__spreadValues$I({}, headers), {
|
|
34464
34478
|
"Content-Type": "application/json"
|
|
34465
34479
|
}),
|
|
34466
34480
|
paramsSerializer: (params) => lib.stringify(decamelizeKeys(params), { arrayFormat: "brackets" }),
|
|
@@ -34611,6 +34625,13 @@ class ShipEngineAPI {
|
|
|
34611
34625
|
get accountBillingPlan() {
|
|
34612
34626
|
return new AccountBillingPlanAPI(this.client);
|
|
34613
34627
|
}
|
|
34628
|
+
/**
|
|
34629
|
+
* The `accountAddons` method provides access to the Account Addons endpoints
|
|
34630
|
+
* in ShipEngine API.
|
|
34631
|
+
*/
|
|
34632
|
+
get accountAddons() {
|
|
34633
|
+
return new AccountAddonsAPI(this.client);
|
|
34634
|
+
}
|
|
34614
34635
|
/**
|
|
34615
34636
|
* The `accountBilling` method provides access to the Account Billing (Recurly) endpoints
|
|
34616
34637
|
* in ShipEngine API.
|
|
@@ -34877,25 +34898,25 @@ const delay = (ms) => new Promise((resolve) => {
|
|
|
34877
34898
|
|
|
34878
34899
|
const onError = (_errors) => _default();
|
|
34879
34900
|
|
|
34880
|
-
var __defProp$
|
|
34881
|
-
var __defProps$
|
|
34882
|
-
var __getOwnPropDescs$
|
|
34883
|
-
var __getOwnPropSymbols$
|
|
34884
|
-
var __hasOwnProp$
|
|
34885
|
-
var __propIsEnum$
|
|
34886
|
-
var __defNormalProp$
|
|
34887
|
-
var __spreadValues$
|
|
34901
|
+
var __defProp$H = Object.defineProperty;
|
|
34902
|
+
var __defProps$E = Object.defineProperties;
|
|
34903
|
+
var __getOwnPropDescs$E = Object.getOwnPropertyDescriptors;
|
|
34904
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
34905
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
34906
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
34907
|
+
var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
34908
|
+
var __spreadValues$H = (a, b) => {
|
|
34888
34909
|
for (var prop in b || (b = {}))
|
|
34889
|
-
if (__hasOwnProp$
|
|
34890
|
-
__defNormalProp$
|
|
34891
|
-
if (__getOwnPropSymbols$
|
|
34892
|
-
for (var prop of __getOwnPropSymbols$
|
|
34893
|
-
if (__propIsEnum$
|
|
34894
|
-
__defNormalProp$
|
|
34910
|
+
if (__hasOwnProp$Q.call(b, prop))
|
|
34911
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
34912
|
+
if (__getOwnPropSymbols$Q)
|
|
34913
|
+
for (var prop of __getOwnPropSymbols$Q(b)) {
|
|
34914
|
+
if (__propIsEnum$Q.call(b, prop))
|
|
34915
|
+
__defNormalProp$H(a, prop, b[prop]);
|
|
34895
34916
|
}
|
|
34896
34917
|
return a;
|
|
34897
34918
|
};
|
|
34898
|
-
var __spreadProps$
|
|
34919
|
+
var __spreadProps$E = (a, b) => __defProps$E(a, __getOwnPropDescs$E(b));
|
|
34899
34920
|
const streams = [];
|
|
34900
34921
|
if (process.env.NODE_ENV === "production") {
|
|
34901
34922
|
streams.push({
|
|
@@ -34904,7 +34925,7 @@ if (process.env.NODE_ENV === "production") {
|
|
|
34904
34925
|
}
|
|
34905
34926
|
const logger = E({
|
|
34906
34927
|
name: "shipengine",
|
|
34907
|
-
serializers: __spreadProps$
|
|
34928
|
+
serializers: __spreadProps$E(__spreadValues$H({}, k), {
|
|
34908
34929
|
req: (req) => ({
|
|
34909
34930
|
headers: req.headers,
|
|
34910
34931
|
method: req.method,
|
|
@@ -35077,6 +35098,35 @@ const useUpdateAccountSettings = () => {
|
|
|
35077
35098
|
});
|
|
35078
35099
|
};
|
|
35079
35100
|
|
|
35101
|
+
var __defProp$G = Object.defineProperty;
|
|
35102
|
+
var __defProps$D = Object.defineProperties;
|
|
35103
|
+
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
35104
|
+
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
35105
|
+
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
35106
|
+
var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
|
|
35107
|
+
var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
35108
|
+
var __spreadValues$G = (a, b) => {
|
|
35109
|
+
for (var prop in b || (b = {}))
|
|
35110
|
+
if (__hasOwnProp$P.call(b, prop))
|
|
35111
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
35112
|
+
if (__getOwnPropSymbols$P)
|
|
35113
|
+
for (var prop of __getOwnPropSymbols$P(b)) {
|
|
35114
|
+
if (__propIsEnum$P.call(b, prop))
|
|
35115
|
+
__defNormalProp$G(a, prop, b[prop]);
|
|
35116
|
+
}
|
|
35117
|
+
return a;
|
|
35118
|
+
};
|
|
35119
|
+
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
35120
|
+
const useListAccountAddons = (params) => {
|
|
35121
|
+
const { client } = useShipEngine();
|
|
35122
|
+
return useQuery(__spreadProps$D(__spreadValues$G({}, params), {
|
|
35123
|
+
onError,
|
|
35124
|
+
queryFn: () => client.accountAddons.list(),
|
|
35125
|
+
queryKey: ["useListAccountAddons"],
|
|
35126
|
+
select: (result) => result.data
|
|
35127
|
+
}));
|
|
35128
|
+
};
|
|
35129
|
+
|
|
35080
35130
|
var __async$U = (__this, __arguments, generator) => {
|
|
35081
35131
|
return new Promise((resolve, reject) => {
|
|
35082
35132
|
var fulfilled = (value) => {
|
|
@@ -39924,4 +39974,4 @@ const alchemy = {
|
|
|
39924
39974
|
createElement
|
|
39925
39975
|
};
|
|
39926
39976
|
|
|
39927
|
-
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, useDeletePaymentMethod, 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, useUpdatePaymentMethod, useUpdateRateCard, useUpdateSalesOrderShipment, useUpdateWarehouse, useUpdateWebhook, useUploadRateCard, useUpsertAccountBilling, useValidateAddresses, useVoidLabel };
|
|
39977
|
+
export { AccountAddonsAPI, 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, useDeletePaymentMethod, 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, useListAccountAddons, 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 };
|