@shipengine/react-api 4.12.2 → 4.13.2-next.1

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.
@@ -0,0 +1 @@
1
+ export * from "./use-list-account-features";
@@ -0,0 +1,7 @@
1
+ import { SE } from "@shipengine/js-api";
2
+ import { QueryProps } from "../../utilities";
3
+ /**
4
+ * @category ShipEngine API Hooks
5
+ * @see [ShipEngine API Reference](https://auctane.atlassian.net/wiki/spaces/SEEU/pages/6364332064/Add-ons+New+endpoints+definition)
6
+ */
7
+ export declare const useListAccountFeatures: (params?: QueryProps<SE.Feature[]>) => import("@tanstack/react-query").UseQueryResult<SE.Feature[], SE.CodedError[]>;
package/hooks/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./account-settings";
2
2
  export * from "./account-addons";
3
+ export * from "./account-features";
3
4
  export * from "./addresses";
4
5
  export * from "./auctane-pay";
5
6
  export * from "./carriers";
package/index.js CHANGED
@@ -81,25 +81,25 @@ const onError = (_errors) => _default();
81
81
 
82
82
  var o={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},l={};function a(e){return "string"==typeof e?o[e.toLowerCase()]:e}function c(e,r){return c=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},c(e,r)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return !1}}function f(e,r,t){return f=u()?Reflect.construct:function(e,r,t){var s=[null];s.push.apply(s,r);var i=new(Function.bind.apply(e,s));return t&&c(i,t.prototype),i},f.apply(null,arguments)}function h(e){if(null==e)return e;if(Array.isArray(e))return e.slice();if("object"==typeof e){var r={};return Object.keys(e).forEach(function(t){r[t]=e[t];}),r}return e}function v(e){return void 0===e?"undefined":null===e?"null":Array.isArray(e)?"[ "+e.map(function(e){return v(e)}).join(", ")+" ]":"object"==typeof e?JSON.stringify(e):"function"==typeof e?"[Function: "+e.name+"]":"boolean"==typeof e||"number"==typeof e?e:"'"+e.toString()+"'"}function p(e){if("string"!=typeof e){for(var r=new Array(arguments.length),t=0;t<arguments.length;t++)r[t]=v(arguments[t]);return r.join(" ")}for(var s=/%[sdj%]/g,i=1,n=arguments,o=n.length,l=String(e).replace(s,function(e){if("%%"===e)return "%";if(i>=o)return e;switch(e){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(e){return "[Circular]"}default:return e}}),a=n[i];i<o;a=n[++i])l+=null===a||"object"!=typeof a?" "+a:" "+v(a);return l}function m(e,r){var t=e.split("\n");t[0]&&t[0].indexOf("call-stack-error")>=0&&t.shift();var s=t[r],i=null;if(s){var n=/^\s*(at|.*@)\s*(.+)?$/.exec(s);i=Array.isArray(n)&&n[2]?n[2]:s;}return i}Object.keys(o).forEach(function(e){l[o[e]]=e;});var y={};function d(e,r){if(r){if(y[r])return;y[r]=!0;}console.error(e+"\n");}function g(e){return y[e]}function w(){var e=[];return function(r,t){return t&&"object"==typeof t?-1!==e.indexOf(t)?"[Circular]":(e.push(t),t):t}}var b=/*#__PURE__*/function(){function e(){}return e.prototype.write=function(e){e.level<30?console.log(e):e.level<40?console.info(e):e.level<50?console.warn(e):console.error(e),e.err&&e.err.stack&&console.error(e.err.stack),e.obj&&console.log(e.obj);},e}(),j=/*#__PURE__*/function(){function e(r,t,s){var i,n,o,l,a=this;if(!(this instanceof e))return new e(r,t);if(void 0!==t&&(i=r,r=t,!(i instanceof e)))throw new TypeError("invalid Logger creation: do not pass a second arg");if(!r)throw new TypeError("options (object) is required");if(i){if(r.name)throw new TypeError("invalid options.name: child cannot set logger name")}else if(!r.name)throw new TypeError("options.name (string) is required");if(r.stream&&r.streams)throw new TypeError('cannot mix "streams" and "stream" options');if(r.streams&&!Array.isArray(r.streams))throw new TypeError("invalid options.streams: must be an array");if(r.serializers&&("object"!=typeof r.serializers||Array.isArray(r.serializers)))throw new TypeError("invalid options.serializers: must be an object");if(i&&s){this._level=i._level,this.streams=i.streams,this.serializers=i.serializers,this.src=i.src,n=this.fields={};var c=Object.keys(i.fields);for(l=0;l<c.length;l++)n[o=c[l]]=i.fields[o];var u=Object.keys(r);for(l=0;l<u.length;l++)n[o=u[l]]=r[o];}else {if(i){for(this._level=i._level,this.streams=[],l=0;l<i.streams.length;l++){var f=h(i.streams[l]);this.streams.push(f);}this.serializers=h(i.serializers),this.src=i.src,this.fields=h(i.fields),r.level&&this.level(r.level);}else this._level=Number.POSITIVE_INFINITY,this.streams=[],this.serializers=null,this.src=!1,this.fields={};r.stream?this.addStream({type:"stream",stream:r.stream,level:r.level}):r.streams?r.streams.forEach(function(e){a.addStream(e,r.level);}):i&&r.level?this.level(r.level):i||this.addStream({type:"raw",stream:new b,level:r.level}),r.serializers&&this.addSerializers(r.serializers),r.src&&(this.src=!0),delete(n=h(r)).stream,delete n.level,delete n.streams,delete n.serializers,delete n.src,this.serializers&&this._applySerializers(n),Object.keys(n).forEach(function(e){a.fields[e]=n[e];});}}var r=e.prototype;return r.addStream=function(e,r){void 0===r&&(r=30),(e=h(e)).type="raw",e.level=a(e.level||r),e.level<this._level&&(this._level=e.level),this.streams.push(e),delete this.haveNonRawStreams;},r.addSerializers=function(e){var r=this;this.serializers||(this.serializers={}),Object.keys(e).forEach(function(t){var s=e[t];if("function"!=typeof s)throw new TypeError(p('invalid serializer for "%s" field: must be a function',t));r.serializers[t]=s;});},r.child=function(e,r){return new this.constructor(this,e||{},r)},r.level=function(e){if(void 0===e)return this._level;for(var r=a(e),t=this.streams.length,s=0;s<t;s++)this.streams[s].level=r;this._level=r;},r.levels=function(e,r){if(void 0===e)return this.streams.map(function(e){return e.level});var t;if("number"==typeof e){if(void 0===(t=this.streams[e]))throw new Error("invalid stream index: "+e)}else {for(var s=this.streams.length,i=0;i<s;i++){var n=this.streams[i];if(n.name===e){t=n;break}}if(!t)throw new Error(p('no stream with name "%s"',e))}if(void 0===r)return t.level;var o=a(r);t.level=o,o<this._level&&(this._level=o);},r._applySerializers=function(e,r){var t=this;Object.keys(this.serializers).forEach(function(s){if(!(void 0===e[s]||r&&r[s]))try{e[s]=t.serializers[s](e[s]);}catch(r){d(p('bunyan: ERROR: Exception thrown from the "%s" Bunyan serializer. This should never happen. This is a bugin that serializer function.\n%s',s,r.stack||r)),e[s]=p('(Error in Bunyan log "%s" serializer broke field. See stderr for details.)',s);}});},r._emit=function(e,r){var t,s;if(void 0===this.haveNonRawStreams)for(this.haveNonRawStreams=!1,t=0;t<this.streams.length;t++)if(!this.streams[t].raw){this.haveNonRawStreams=!0;break}if(r||this.haveNonRawStreams)try{s=JSON.stringify(e,w())+"\n";}catch(r){var i=r.stack.split(/\n/g,2).join("\n");d('bunyan: ERROR: Exception in `JSON.stringify(rec)`. You can install the "safe-json-stringify" module to have Bunyan fallback to safer stringification. Record:\n'+function(e,r){return r||(r=" "),r+e.split(/\r?\n/g).join("\n"+r)}(p("%s\n%s",e,r.stack)),i),s=p("(Exception in JSON.stringify(rec): %j. See stderr for details.)\n",r.message);}if(r)return s;var n=e.level;for(t=0;t<this.streams.length;t++){var o=this.streams[t];o.level<=n&&o.stream.write(e);}return s},e}();function z(e){return function(){var r=this;function t(t){var n;t[0]instanceof Error?(s={err:r.serializers&&r.serializers.err?r.serializers.err(t[0]):k.err(t[0])},n={err:!0},i=1===t.length?[s.err.message]:Array.prototype.slice.call(t,1)):"object"!=typeof t[0]&&null!==t[0]||Array.isArray(t[0])?(s=null,i=Array.prototype.slice.call(t)):(s=t[0],i=1===t.length&&s.err&&s.err instanceof Error?[s.err.message]:Array.prototype.slice.call(t,1));var o=h(r.fields);o.level=e;var a=s?h(s):null;if(a&&(r.serializers&&r._applySerializers(a,n),Object.keys(a).forEach(function(e){o[e]=a[e];})),o.levelName=l[e],o.msg=i.length?p.apply(r,i):"",o.time||(o.time=new Date),r.src&&!o.src)try{throw new Error("call-stack-error")}catch(e){var c=e.stack?m(e.stack,2):"";c||g("src")||d("Unable to determine src line info","src"),o.src=c||"";}return o.v=1,o}var s=null,i=arguments,n=null;if(0===arguments.length)return this._level<=e;this._level>e||(n=t(i),this._emit(n));}}function S(e){var r=e.stack||e.toString();if(e.cause&&"function"==typeof e.cause){var t=e.cause();t&&(r+="\nCaused by: "+S(t));}return r}j.prototype.trace=z(10),j.prototype.debug=z(20),j.prototype.info=z(30),j.prototype.warn=z(40),j.prototype.error=z(50),j.prototype.fatal=z(60);var k={err:function(e){return e&&e.stack?{message:e.message,name:e.name,stack:S(e),code:e.code,signal:e.signal}:e}};function E(){return f(j,[].slice.call(arguments))}var A={levels:{trace:"color: DeepPink",debug:"color: GoldenRod",info:"color: DarkTurquoise",warn:"color: Purple",error:"color: Crimson",fatal:"color: Black"},def:"color: DimGray",msg:"color: SteelBlue",src:"color: DimGray; font-style: italic; font-size: 0.9em"},R=/*#__PURE__*/function(){function e(e){var r=void 0===e?{}:e,t=r.logByLevel,s=r.css,i=void 0===s?A:s;this.logByLevel=void 0!==t&&t,this.css=i;}return e.prototype.write=function(e){var r,t,s=this.css.def,i=this.css.msg,n=this.css.src,o=e.childName?e.name+"/"+e.childName:e.name,a=l[e.level],c=(Array(6-a.length).join(" ")+a).toUpperCase();this.logByLevel?(10===e.level?a="debug":60===e.level&&(a="error"),t="function"==typeof console[a]?console[a]:console.log):t=console.log,r=e.level<20?this.css.levels.trace:e.level<30?this.css.levels.debug:e.level<40?this.css.levels.info:e.level<50?this.css.levels.warn:e.level<60?this.css.levels.error:this.css.levels.fatal;var u=function(e,r){return Array(r+1-(e+"").length).join("0")+e},f=[];f.push("[%s:%s:%s:%s] %c%s%c: %s: %c%s "+(e.src?"%c%s":"")),f.push(u(e.time.getHours(),2)),f.push(u(e.time.getMinutes(),2)),f.push(u(e.time.getSeconds(),2)),f.push(u(e.time.getMilliseconds(),4)),f.push(r),f.push(c),f.push(s),f.push(o),f.push(i),f.push(e.msg),e.src&&(f.push(n),f.push(e.src)),e.obj&&(f.push("\n"),f.push(e.obj)),e.err&&e.err.stack&&(f.push("\n"),f.push(e.err.stack)),t.apply(console,f);},e.getDefaultCss=function(){return A},e}();
83
83
 
84
- var __defProp$I = Object.defineProperty;
85
- var __defProps$H = Object.defineProperties;
86
- var __getOwnPropDescs$H = Object.getOwnPropertyDescriptors;
87
- var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
88
- var __hasOwnProp$R = Object.prototype.hasOwnProperty;
89
- var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
90
- var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
91
- var __spreadValues$I = (a, b) => {
84
+ var __defProp$J = Object.defineProperty;
85
+ var __defProps$I = Object.defineProperties;
86
+ var __getOwnPropDescs$I = Object.getOwnPropertyDescriptors;
87
+ var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
88
+ var __hasOwnProp$S = Object.prototype.hasOwnProperty;
89
+ var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
90
+ var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
91
+ var __spreadValues$J = (a, b) => {
92
92
  for (var prop in b || (b = {}))
93
- if (__hasOwnProp$R.call(b, prop))
94
- __defNormalProp$I(a, prop, b[prop]);
95
- if (__getOwnPropSymbols$R)
96
- for (var prop of __getOwnPropSymbols$R(b)) {
97
- if (__propIsEnum$R.call(b, prop))
98
- __defNormalProp$I(a, prop, b[prop]);
93
+ if (__hasOwnProp$S.call(b, prop))
94
+ __defNormalProp$J(a, prop, b[prop]);
95
+ if (__getOwnPropSymbols$S)
96
+ for (var prop of __getOwnPropSymbols$S(b)) {
97
+ if (__propIsEnum$S.call(b, prop))
98
+ __defNormalProp$J(a, prop, b[prop]);
99
99
  }
100
100
  return a;
101
101
  };
102
- var __spreadProps$H = (a, b) => __defProps$H(a, __getOwnPropDescs$H(b));
102
+ var __spreadProps$I = (a, b) => __defProps$I(a, __getOwnPropDescs$I(b));
103
103
  const streams = [];
104
104
  if (process.env.NODE_ENV === "production") {
105
105
  streams.push({
@@ -108,7 +108,7 @@ if (process.env.NODE_ENV === "production") {
108
108
  }
109
109
  const logger = E({
110
110
  name: "shipengine",
111
- serializers: __spreadProps$H(__spreadValues$I({}, k), {
111
+ serializers: __spreadProps$I(__spreadValues$J({}, k), {
112
112
  req: (req) => ({
113
113
  headers: req.headers,
114
114
  method: req.method,
@@ -281,6 +281,35 @@ const useUpdateAccountSettings = () => {
281
281
  });
282
282
  };
283
283
 
284
+ var __defProp$I = Object.defineProperty;
285
+ var __defProps$H = Object.defineProperties;
286
+ var __getOwnPropDescs$H = Object.getOwnPropertyDescriptors;
287
+ var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
288
+ var __hasOwnProp$R = Object.prototype.hasOwnProperty;
289
+ var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
290
+ var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
291
+ var __spreadValues$I = (a, b) => {
292
+ for (var prop in b || (b = {}))
293
+ if (__hasOwnProp$R.call(b, prop))
294
+ __defNormalProp$I(a, prop, b[prop]);
295
+ if (__getOwnPropSymbols$R)
296
+ for (var prop of __getOwnPropSymbols$R(b)) {
297
+ if (__propIsEnum$R.call(b, prop))
298
+ __defNormalProp$I(a, prop, b[prop]);
299
+ }
300
+ return a;
301
+ };
302
+ var __spreadProps$H = (a, b) => __defProps$H(a, __getOwnPropDescs$H(b));
303
+ const useListAccountAddons = (params) => {
304
+ const { client } = useShipEngine();
305
+ return reactQuery.useQuery(__spreadProps$H(__spreadValues$I({}, params), {
306
+ onError,
307
+ queryFn: () => client.accountAddons.list(),
308
+ queryKey: ["useListAccountAddons"],
309
+ select: (result) => result.data.addons
310
+ }));
311
+ };
312
+
284
313
  var __defProp$H = Object.defineProperty;
285
314
  var __defProps$G = Object.defineProperties;
286
315
  var __getOwnPropDescs$G = Object.getOwnPropertyDescriptors;
@@ -300,35 +329,6 @@ var __spreadValues$H = (a, b) => {
300
329
  return a;
301
330
  };
302
331
  var __spreadProps$G = (a, b) => __defProps$G(a, __getOwnPropDescs$G(b));
303
- const useListAccountAddons = (params) => {
304
- const { client } = useShipEngine();
305
- return reactQuery.useQuery(__spreadProps$G(__spreadValues$H({}, params), {
306
- onError,
307
- queryFn: () => client.accountAddons.list(),
308
- queryKey: ["useListAccountAddons"],
309
- select: (result) => result.data.addons
310
- }));
311
- };
312
-
313
- var __defProp$G = Object.defineProperty;
314
- var __defProps$F = Object.defineProperties;
315
- var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
316
- var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
317
- var __hasOwnProp$P = Object.prototype.hasOwnProperty;
318
- var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
319
- var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
320
- var __spreadValues$G = (a, b) => {
321
- for (var prop in b || (b = {}))
322
- if (__hasOwnProp$P.call(b, prop))
323
- __defNormalProp$G(a, prop, b[prop]);
324
- if (__getOwnPropSymbols$P)
325
- for (var prop of __getOwnPropSymbols$P(b)) {
326
- if (__propIsEnum$P.call(b, prop))
327
- __defNormalProp$G(a, prop, b[prop]);
328
- }
329
- return a;
330
- };
331
- var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
332
332
  var __async$V = (__this, __arguments, generator) => {
333
333
  return new Promise((resolve, reject) => {
334
334
  var fulfilled = (value) => {
@@ -351,7 +351,7 @@ var __async$V = (__this, __arguments, generator) => {
351
351
  };
352
352
  const useEnableAccountAddon = (params) => {
353
353
  const { client } = useShipEngine();
354
- return reactQuery.useMutation(__spreadProps$F(__spreadValues$G({}, params), {
354
+ return reactQuery.useMutation(__spreadProps$G(__spreadValues$H({}, params), {
355
355
  mutationFn: (addonType) => __async$V(void 0, null, function* () {
356
356
  const result = yield client.accountAddons.enable(addonType);
357
357
  return result.data;
@@ -361,6 +361,35 @@ const useEnableAccountAddon = (params) => {
361
361
  }));
362
362
  };
363
363
 
364
+ var __defProp$G = Object.defineProperty;
365
+ var __defProps$F = Object.defineProperties;
366
+ var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
367
+ var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
368
+ var __hasOwnProp$P = Object.prototype.hasOwnProperty;
369
+ var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
370
+ var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
371
+ var __spreadValues$G = (a, b) => {
372
+ for (var prop in b || (b = {}))
373
+ if (__hasOwnProp$P.call(b, prop))
374
+ __defNormalProp$G(a, prop, b[prop]);
375
+ if (__getOwnPropSymbols$P)
376
+ for (var prop of __getOwnPropSymbols$P(b)) {
377
+ if (__propIsEnum$P.call(b, prop))
378
+ __defNormalProp$G(a, prop, b[prop]);
379
+ }
380
+ return a;
381
+ };
382
+ var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
383
+ const useListAccountFeatures = (params) => {
384
+ const { client } = useShipEngine();
385
+ return reactQuery.useQuery(__spreadProps$F(__spreadValues$G({}, params), {
386
+ onError,
387
+ queryFn: () => client.accountFeatures.list(),
388
+ queryKey: ["useListAccountFeatures"],
389
+ select: (result) => result.data.features
390
+ }));
391
+ };
392
+
364
393
  var __async$U = (__this, __arguments, generator) => {
365
394
  return new Promise((resolve, reject) => {
366
395
  var fulfilled = (value) => {
@@ -4240,6 +4269,7 @@ exports.useGetThemeById = useGetThemeById;
4240
4269
  exports.useGetZonesByCarrier = useGetZonesByCarrier;
4241
4270
  exports.useIdentityVerification = useIdentityVerification;
4242
4271
  exports.useListAccountAddons = useListAccountAddons;
4272
+ exports.useListAccountFeatures = useListAccountFeatures;
4243
4273
  exports.useListCarrierConnections = useListCarrierConnections;
4244
4274
  exports.useListCarriers = useListCarriers;
4245
4275
  exports.useListCustomPackageTypes = useListCustomPackageTypes;
package/index.mjs CHANGED
@@ -78,25 +78,25 @@ const onError = (_errors) => _default();
78
78
 
79
79
  var o={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},l={};function a(e){return "string"==typeof e?o[e.toLowerCase()]:e}function c(e,r){return c=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},c(e,r)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return !1}}function f(e,r,t){return f=u()?Reflect.construct:function(e,r,t){var s=[null];s.push.apply(s,r);var i=new(Function.bind.apply(e,s));return t&&c(i,t.prototype),i},f.apply(null,arguments)}function h(e){if(null==e)return e;if(Array.isArray(e))return e.slice();if("object"==typeof e){var r={};return Object.keys(e).forEach(function(t){r[t]=e[t];}),r}return e}function v(e){return void 0===e?"undefined":null===e?"null":Array.isArray(e)?"[ "+e.map(function(e){return v(e)}).join(", ")+" ]":"object"==typeof e?JSON.stringify(e):"function"==typeof e?"[Function: "+e.name+"]":"boolean"==typeof e||"number"==typeof e?e:"'"+e.toString()+"'"}function p(e){if("string"!=typeof e){for(var r=new Array(arguments.length),t=0;t<arguments.length;t++)r[t]=v(arguments[t]);return r.join(" ")}for(var s=/%[sdj%]/g,i=1,n=arguments,o=n.length,l=String(e).replace(s,function(e){if("%%"===e)return "%";if(i>=o)return e;switch(e){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(e){return "[Circular]"}default:return e}}),a=n[i];i<o;a=n[++i])l+=null===a||"object"!=typeof a?" "+a:" "+v(a);return l}function m(e,r){var t=e.split("\n");t[0]&&t[0].indexOf("call-stack-error")>=0&&t.shift();var s=t[r],i=null;if(s){var n=/^\s*(at|.*@)\s*(.+)?$/.exec(s);i=Array.isArray(n)&&n[2]?n[2]:s;}return i}Object.keys(o).forEach(function(e){l[o[e]]=e;});var y={};function d(e,r){if(r){if(y[r])return;y[r]=!0;}console.error(e+"\n");}function g(e){return y[e]}function w(){var e=[];return function(r,t){return t&&"object"==typeof t?-1!==e.indexOf(t)?"[Circular]":(e.push(t),t):t}}var b=/*#__PURE__*/function(){function e(){}return e.prototype.write=function(e){e.level<30?console.log(e):e.level<40?console.info(e):e.level<50?console.warn(e):console.error(e),e.err&&e.err.stack&&console.error(e.err.stack),e.obj&&console.log(e.obj);},e}(),j=/*#__PURE__*/function(){function e(r,t,s){var i,n,o,l,a=this;if(!(this instanceof e))return new e(r,t);if(void 0!==t&&(i=r,r=t,!(i instanceof e)))throw new TypeError("invalid Logger creation: do not pass a second arg");if(!r)throw new TypeError("options (object) is required");if(i){if(r.name)throw new TypeError("invalid options.name: child cannot set logger name")}else if(!r.name)throw new TypeError("options.name (string) is required");if(r.stream&&r.streams)throw new TypeError('cannot mix "streams" and "stream" options');if(r.streams&&!Array.isArray(r.streams))throw new TypeError("invalid options.streams: must be an array");if(r.serializers&&("object"!=typeof r.serializers||Array.isArray(r.serializers)))throw new TypeError("invalid options.serializers: must be an object");if(i&&s){this._level=i._level,this.streams=i.streams,this.serializers=i.serializers,this.src=i.src,n=this.fields={};var c=Object.keys(i.fields);for(l=0;l<c.length;l++)n[o=c[l]]=i.fields[o];var u=Object.keys(r);for(l=0;l<u.length;l++)n[o=u[l]]=r[o];}else {if(i){for(this._level=i._level,this.streams=[],l=0;l<i.streams.length;l++){var f=h(i.streams[l]);this.streams.push(f);}this.serializers=h(i.serializers),this.src=i.src,this.fields=h(i.fields),r.level&&this.level(r.level);}else this._level=Number.POSITIVE_INFINITY,this.streams=[],this.serializers=null,this.src=!1,this.fields={};r.stream?this.addStream({type:"stream",stream:r.stream,level:r.level}):r.streams?r.streams.forEach(function(e){a.addStream(e,r.level);}):i&&r.level?this.level(r.level):i||this.addStream({type:"raw",stream:new b,level:r.level}),r.serializers&&this.addSerializers(r.serializers),r.src&&(this.src=!0),delete(n=h(r)).stream,delete n.level,delete n.streams,delete n.serializers,delete n.src,this.serializers&&this._applySerializers(n),Object.keys(n).forEach(function(e){a.fields[e]=n[e];});}}var r=e.prototype;return r.addStream=function(e,r){void 0===r&&(r=30),(e=h(e)).type="raw",e.level=a(e.level||r),e.level<this._level&&(this._level=e.level),this.streams.push(e),delete this.haveNonRawStreams;},r.addSerializers=function(e){var r=this;this.serializers||(this.serializers={}),Object.keys(e).forEach(function(t){var s=e[t];if("function"!=typeof s)throw new TypeError(p('invalid serializer for "%s" field: must be a function',t));r.serializers[t]=s;});},r.child=function(e,r){return new this.constructor(this,e||{},r)},r.level=function(e){if(void 0===e)return this._level;for(var r=a(e),t=this.streams.length,s=0;s<t;s++)this.streams[s].level=r;this._level=r;},r.levels=function(e,r){if(void 0===e)return this.streams.map(function(e){return e.level});var t;if("number"==typeof e){if(void 0===(t=this.streams[e]))throw new Error("invalid stream index: "+e)}else {for(var s=this.streams.length,i=0;i<s;i++){var n=this.streams[i];if(n.name===e){t=n;break}}if(!t)throw new Error(p('no stream with name "%s"',e))}if(void 0===r)return t.level;var o=a(r);t.level=o,o<this._level&&(this._level=o);},r._applySerializers=function(e,r){var t=this;Object.keys(this.serializers).forEach(function(s){if(!(void 0===e[s]||r&&r[s]))try{e[s]=t.serializers[s](e[s]);}catch(r){d(p('bunyan: ERROR: Exception thrown from the "%s" Bunyan serializer. This should never happen. This is a bugin that serializer function.\n%s',s,r.stack||r)),e[s]=p('(Error in Bunyan log "%s" serializer broke field. See stderr for details.)',s);}});},r._emit=function(e,r){var t,s;if(void 0===this.haveNonRawStreams)for(this.haveNonRawStreams=!1,t=0;t<this.streams.length;t++)if(!this.streams[t].raw){this.haveNonRawStreams=!0;break}if(r||this.haveNonRawStreams)try{s=JSON.stringify(e,w())+"\n";}catch(r){var i=r.stack.split(/\n/g,2).join("\n");d('bunyan: ERROR: Exception in `JSON.stringify(rec)`. You can install the "safe-json-stringify" module to have Bunyan fallback to safer stringification. Record:\n'+function(e,r){return r||(r=" "),r+e.split(/\r?\n/g).join("\n"+r)}(p("%s\n%s",e,r.stack)),i),s=p("(Exception in JSON.stringify(rec): %j. See stderr for details.)\n",r.message);}if(r)return s;var n=e.level;for(t=0;t<this.streams.length;t++){var o=this.streams[t];o.level<=n&&o.stream.write(e);}return s},e}();function z(e){return function(){var r=this;function t(t){var n;t[0]instanceof Error?(s={err:r.serializers&&r.serializers.err?r.serializers.err(t[0]):k.err(t[0])},n={err:!0},i=1===t.length?[s.err.message]:Array.prototype.slice.call(t,1)):"object"!=typeof t[0]&&null!==t[0]||Array.isArray(t[0])?(s=null,i=Array.prototype.slice.call(t)):(s=t[0],i=1===t.length&&s.err&&s.err instanceof Error?[s.err.message]:Array.prototype.slice.call(t,1));var o=h(r.fields);o.level=e;var a=s?h(s):null;if(a&&(r.serializers&&r._applySerializers(a,n),Object.keys(a).forEach(function(e){o[e]=a[e];})),o.levelName=l[e],o.msg=i.length?p.apply(r,i):"",o.time||(o.time=new Date),r.src&&!o.src)try{throw new Error("call-stack-error")}catch(e){var c=e.stack?m(e.stack,2):"";c||g("src")||d("Unable to determine src line info","src"),o.src=c||"";}return o.v=1,o}var s=null,i=arguments,n=null;if(0===arguments.length)return this._level<=e;this._level>e||(n=t(i),this._emit(n));}}function S(e){var r=e.stack||e.toString();if(e.cause&&"function"==typeof e.cause){var t=e.cause();t&&(r+="\nCaused by: "+S(t));}return r}j.prototype.trace=z(10),j.prototype.debug=z(20),j.prototype.info=z(30),j.prototype.warn=z(40),j.prototype.error=z(50),j.prototype.fatal=z(60);var k={err:function(e){return e&&e.stack?{message:e.message,name:e.name,stack:S(e),code:e.code,signal:e.signal}:e}};function E(){return f(j,[].slice.call(arguments))}var A={levels:{trace:"color: DeepPink",debug:"color: GoldenRod",info:"color: DarkTurquoise",warn:"color: Purple",error:"color: Crimson",fatal:"color: Black"},def:"color: DimGray",msg:"color: SteelBlue",src:"color: DimGray; font-style: italic; font-size: 0.9em"},R=/*#__PURE__*/function(){function e(e){var r=void 0===e?{}:e,t=r.logByLevel,s=r.css,i=void 0===s?A:s;this.logByLevel=void 0!==t&&t,this.css=i;}return e.prototype.write=function(e){var r,t,s=this.css.def,i=this.css.msg,n=this.css.src,o=e.childName?e.name+"/"+e.childName:e.name,a=l[e.level],c=(Array(6-a.length).join(" ")+a).toUpperCase();this.logByLevel?(10===e.level?a="debug":60===e.level&&(a="error"),t="function"==typeof console[a]?console[a]:console.log):t=console.log,r=e.level<20?this.css.levels.trace:e.level<30?this.css.levels.debug:e.level<40?this.css.levels.info:e.level<50?this.css.levels.warn:e.level<60?this.css.levels.error:this.css.levels.fatal;var u=function(e,r){return Array(r+1-(e+"").length).join("0")+e},f=[];f.push("[%s:%s:%s:%s] %c%s%c: %s: %c%s "+(e.src?"%c%s":"")),f.push(u(e.time.getHours(),2)),f.push(u(e.time.getMinutes(),2)),f.push(u(e.time.getSeconds(),2)),f.push(u(e.time.getMilliseconds(),4)),f.push(r),f.push(c),f.push(s),f.push(o),f.push(i),f.push(e.msg),e.src&&(f.push(n),f.push(e.src)),e.obj&&(f.push("\n"),f.push(e.obj)),e.err&&e.err.stack&&(f.push("\n"),f.push(e.err.stack)),t.apply(console,f);},e.getDefaultCss=function(){return A},e}();
80
80
 
81
- var __defProp$I = Object.defineProperty;
82
- var __defProps$H = Object.defineProperties;
83
- var __getOwnPropDescs$H = Object.getOwnPropertyDescriptors;
84
- var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
85
- var __hasOwnProp$R = Object.prototype.hasOwnProperty;
86
- var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
87
- var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
88
- var __spreadValues$I = (a, b) => {
81
+ var __defProp$J = Object.defineProperty;
82
+ var __defProps$I = Object.defineProperties;
83
+ var __getOwnPropDescs$I = Object.getOwnPropertyDescriptors;
84
+ var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
85
+ var __hasOwnProp$S = Object.prototype.hasOwnProperty;
86
+ var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
87
+ var __defNormalProp$J = (obj, key, value) => key in obj ? __defProp$J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
88
+ var __spreadValues$J = (a, b) => {
89
89
  for (var prop in b || (b = {}))
90
- if (__hasOwnProp$R.call(b, prop))
91
- __defNormalProp$I(a, prop, b[prop]);
92
- if (__getOwnPropSymbols$R)
93
- for (var prop of __getOwnPropSymbols$R(b)) {
94
- if (__propIsEnum$R.call(b, prop))
95
- __defNormalProp$I(a, prop, b[prop]);
90
+ if (__hasOwnProp$S.call(b, prop))
91
+ __defNormalProp$J(a, prop, b[prop]);
92
+ if (__getOwnPropSymbols$S)
93
+ for (var prop of __getOwnPropSymbols$S(b)) {
94
+ if (__propIsEnum$S.call(b, prop))
95
+ __defNormalProp$J(a, prop, b[prop]);
96
96
  }
97
97
  return a;
98
98
  };
99
- var __spreadProps$H = (a, b) => __defProps$H(a, __getOwnPropDescs$H(b));
99
+ var __spreadProps$I = (a, b) => __defProps$I(a, __getOwnPropDescs$I(b));
100
100
  const streams = [];
101
101
  if (process.env.NODE_ENV === "production") {
102
102
  streams.push({
@@ -105,7 +105,7 @@ if (process.env.NODE_ENV === "production") {
105
105
  }
106
106
  const logger = E({
107
107
  name: "shipengine",
108
- serializers: __spreadProps$H(__spreadValues$I({}, k), {
108
+ serializers: __spreadProps$I(__spreadValues$J({}, k), {
109
109
  req: (req) => ({
110
110
  headers: req.headers,
111
111
  method: req.method,
@@ -278,6 +278,35 @@ const useUpdateAccountSettings = () => {
278
278
  });
279
279
  };
280
280
 
281
+ var __defProp$I = Object.defineProperty;
282
+ var __defProps$H = Object.defineProperties;
283
+ var __getOwnPropDescs$H = Object.getOwnPropertyDescriptors;
284
+ var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
285
+ var __hasOwnProp$R = Object.prototype.hasOwnProperty;
286
+ var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
287
+ var __defNormalProp$I = (obj, key, value) => key in obj ? __defProp$I(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
288
+ var __spreadValues$I = (a, b) => {
289
+ for (var prop in b || (b = {}))
290
+ if (__hasOwnProp$R.call(b, prop))
291
+ __defNormalProp$I(a, prop, b[prop]);
292
+ if (__getOwnPropSymbols$R)
293
+ for (var prop of __getOwnPropSymbols$R(b)) {
294
+ if (__propIsEnum$R.call(b, prop))
295
+ __defNormalProp$I(a, prop, b[prop]);
296
+ }
297
+ return a;
298
+ };
299
+ var __spreadProps$H = (a, b) => __defProps$H(a, __getOwnPropDescs$H(b));
300
+ const useListAccountAddons = (params) => {
301
+ const { client } = useShipEngine();
302
+ return useQuery(__spreadProps$H(__spreadValues$I({}, params), {
303
+ onError,
304
+ queryFn: () => client.accountAddons.list(),
305
+ queryKey: ["useListAccountAddons"],
306
+ select: (result) => result.data.addons
307
+ }));
308
+ };
309
+
281
310
  var __defProp$H = Object.defineProperty;
282
311
  var __defProps$G = Object.defineProperties;
283
312
  var __getOwnPropDescs$G = Object.getOwnPropertyDescriptors;
@@ -297,35 +326,6 @@ var __spreadValues$H = (a, b) => {
297
326
  return a;
298
327
  };
299
328
  var __spreadProps$G = (a, b) => __defProps$G(a, __getOwnPropDescs$G(b));
300
- const useListAccountAddons = (params) => {
301
- const { client } = useShipEngine();
302
- return useQuery(__spreadProps$G(__spreadValues$H({}, params), {
303
- onError,
304
- queryFn: () => client.accountAddons.list(),
305
- queryKey: ["useListAccountAddons"],
306
- select: (result) => result.data.addons
307
- }));
308
- };
309
-
310
- var __defProp$G = Object.defineProperty;
311
- var __defProps$F = Object.defineProperties;
312
- var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
313
- var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
314
- var __hasOwnProp$P = Object.prototype.hasOwnProperty;
315
- var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
316
- var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
317
- var __spreadValues$G = (a, b) => {
318
- for (var prop in b || (b = {}))
319
- if (__hasOwnProp$P.call(b, prop))
320
- __defNormalProp$G(a, prop, b[prop]);
321
- if (__getOwnPropSymbols$P)
322
- for (var prop of __getOwnPropSymbols$P(b)) {
323
- if (__propIsEnum$P.call(b, prop))
324
- __defNormalProp$G(a, prop, b[prop]);
325
- }
326
- return a;
327
- };
328
- var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
329
329
  var __async$V = (__this, __arguments, generator) => {
330
330
  return new Promise((resolve, reject) => {
331
331
  var fulfilled = (value) => {
@@ -348,7 +348,7 @@ var __async$V = (__this, __arguments, generator) => {
348
348
  };
349
349
  const useEnableAccountAddon = (params) => {
350
350
  const { client } = useShipEngine();
351
- return useMutation(__spreadProps$F(__spreadValues$G({}, params), {
351
+ return useMutation(__spreadProps$G(__spreadValues$H({}, params), {
352
352
  mutationFn: (addonType) => __async$V(void 0, null, function* () {
353
353
  const result = yield client.accountAddons.enable(addonType);
354
354
  return result.data;
@@ -358,6 +358,35 @@ const useEnableAccountAddon = (params) => {
358
358
  }));
359
359
  };
360
360
 
361
+ var __defProp$G = Object.defineProperty;
362
+ var __defProps$F = Object.defineProperties;
363
+ var __getOwnPropDescs$F = Object.getOwnPropertyDescriptors;
364
+ var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
365
+ var __hasOwnProp$P = Object.prototype.hasOwnProperty;
366
+ var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
367
+ var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
368
+ var __spreadValues$G = (a, b) => {
369
+ for (var prop in b || (b = {}))
370
+ if (__hasOwnProp$P.call(b, prop))
371
+ __defNormalProp$G(a, prop, b[prop]);
372
+ if (__getOwnPropSymbols$P)
373
+ for (var prop of __getOwnPropSymbols$P(b)) {
374
+ if (__propIsEnum$P.call(b, prop))
375
+ __defNormalProp$G(a, prop, b[prop]);
376
+ }
377
+ return a;
378
+ };
379
+ var __spreadProps$F = (a, b) => __defProps$F(a, __getOwnPropDescs$F(b));
380
+ const useListAccountFeatures = (params) => {
381
+ const { client } = useShipEngine();
382
+ return useQuery(__spreadProps$F(__spreadValues$G({}, params), {
383
+ onError,
384
+ queryFn: () => client.accountFeatures.list(),
385
+ queryKey: ["useListAccountFeatures"],
386
+ select: (result) => result.data.features
387
+ }));
388
+ };
389
+
361
390
  var __async$U = (__this, __arguments, generator) => {
362
391
  return new Promise((resolve, reject) => {
363
392
  var fulfilled = (value) => {
@@ -4156,4 +4185,4 @@ const useListUsers = (params) => {
4156
4185
  }));
4157
4186
  };
4158
4187
 
4159
- export { ShipEngine, ShipEngineContext, delay, logger, onError, retryUntil, useAddFunds, useAddInsuranceFunds, useAddSandboxCarriers, 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, useIdentityVerification, useListAccountAddons, useListCarrierConnections, useListCarriers, useListCustomPackageTypes, useListFundingSources, useListLabels, useListLabelsInfinite, useListOrderSources, useListOrderSourcesConnections, useListRateCards, useListSalesOrderShipments, useListSalesOrderShipmentsByExternalOrderId, useListSalesOrders, useListSandboxSellerIds, useListSellerApiKeys, useListServicePoints, useListShipments, useListShippingRules, useListUsers, useListWarehouses, useListWebhooks, 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 };
4188
+ export { ShipEngine, ShipEngineContext, delay, logger, onError, retryUntil, useAddFunds, useAddInsuranceFunds, useAddSandboxCarriers, 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, useIdentityVerification, useListAccountAddons, useListAccountFeatures, useListCarrierConnections, useListCarriers, useListCustomPackageTypes, useListFundingSources, useListLabels, useListLabelsInfinite, useListOrderSources, useListOrderSourcesConnections, useListRateCards, useListSalesOrderShipments, useListSalesOrderShipmentsByExternalOrderId, useListSalesOrders, useListSandboxSellerIds, useListSellerApiKeys, useListServicePoints, useListShipments, useListShippingRules, useListUsers, useListWarehouses, useListWebhooks, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/react-api",
3
- "version": "4.12.2",
3
+ "version": "4.13.2-next.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {