@invoice-sdk/widget 1.121.1 → 1.122.0

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.
@@ -14,7 +14,7 @@ var n = (e, t, r) => new Promise((o, g) => {
14
14
  }, c = (i) => i.done ? o(i.value) : Promise.resolve(i.value).then(s, d);
15
15
  c((r = r.apply(e, t)).next());
16
16
  });
17
- import { k as l, g as w, l as f, C as m, G as y, n as E, I as R, S as v, o as C, a as h, p as I, q as p, r as O, O as T } from "./index-C9Oqo5Vj.js";
17
+ import { k as l, g as w, l as f, C as m, G as E, n as y, I as R, S as v, o as C, a as h, p as I, q as p, r as T, O } from "./index-C33oyF2G.js";
18
18
  function k({
19
19
  title: e,
20
20
  isDisabled: t = !1,
@@ -65,7 +65,7 @@ function x(e) {
65
65
  return n(this, null, function* () {
66
66
  if (!e)
67
67
  throw new Error("Tax code is required to fetch tax information.");
68
- return yield a.get(E, {
68
+ return yield a.get(y, {
69
69
  params: {
70
70
  tax: e
71
71
  }
@@ -87,7 +87,7 @@ function N(e, t, r) {
87
87
  }
88
88
  function $(e, t) {
89
89
  return n(this, null, function* () {
90
- return (yield a.get(y, {
90
+ return (yield a.get(E, {
91
91
  params: {
92
92
  provider: e,
93
93
  taxCode: t
@@ -95,7 +95,7 @@ function $(e, t) {
95
95
  })).data;
96
96
  });
97
97
  }
98
- const A = (e) => new Intl.NumberFormat("vi-VN").format(e), S = "1.121.1";
98
+ const A = (e) => new Intl.NumberFormat("vi-VN").format(e), S = "1.122.0";
99
99
  function U(r) {
100
100
  return n(this, arguments, function* ({ search: e, bank: t }) {
101
101
  return (yield a.get(`${p}`, {
@@ -120,7 +120,12 @@ function M(t) {
120
120
  });
121
121
  }
122
122
  function q(g) {
123
- return n(this, arguments, function* ({ bank: e, hasRenew: t, isCashRegister: r, customerType: o }) {
123
+ return n(this, arguments, function* ({
124
+ bank: e,
125
+ hasRenew: t,
126
+ isCashRegister: r,
127
+ customerType: o
128
+ }) {
124
129
  return (yield a.get(`${p}`, {
125
130
  params: {
126
131
  isActive: !0,
@@ -129,7 +134,7 @@ function q(g) {
129
134
  hasRenew: t,
130
135
  limit: 99,
131
136
  isCashRegister: r,
132
- customerType: o
137
+ customerType: "ENTERPRISE"
133
138
  }
134
139
  })).data;
135
140
  });
@@ -168,7 +173,7 @@ function F(e) {
168
173
  }
169
174
  function G(e) {
170
175
  return n(this, null, function* () {
171
- return yield a.get(`${T}/${e}/status`);
176
+ return yield a.get(`${O}/${e}/status`);
172
177
  });
173
178
  }
174
179
  function j() {
@@ -182,7 +187,7 @@ function j() {
182
187
  }
183
188
  function W(e) {
184
189
  return n(this, null, function* () {
185
- return yield a.post(`${O}/${e}`);
190
+ return yield a.post(`${T}/${e}`);
186
191
  });
187
192
  }
188
193
  function D(e) {