@tesouro/embedded-components-react 0.5.83 → 0.5.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +6 -7
  2. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +28 -21
  3. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index2.js +7 -23
  4. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index3.js +34 -6
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index5.js +8 -8
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index6.js +11 -17
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index7.js +37 -16
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index8.js +3 -43
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +31 -3
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +29 -33
  11. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +31 -30
  12. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/EmbedApiContext.js +7 -5
  13. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +186 -175
  14. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopedClientSecret.js +8 -0
  15. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/transportInterceptors.js +9 -6
  16. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +39 -36
  17. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +86 -83
  18. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  19. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/client.js +3 -2
  20. package/package.json +1 -1
  21. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js +0 -48
@@ -1,5 +1,5 @@
1
1
  import { client as e } from "../client.gen.js";
2
- import { activateCreditCard as t, activateDebitCard as n, connectExternalBankAccount as r, createAchMoneyMovement as i, createApplication as a, createBankAccount as ee, createBookTransfer as te, createCheckDeposit as ne, createDebitCard as re, createVelocityControl as ie, deleteApprovalPoliciesId as ae, deleteLedgerAccountsId as oe, deleteReceiptsId as se, disableUser as ce, getAnalyticsPayables as le, getAnalyticsReceivables as ue, getApplicationStatus as de, getApprovalPolicies as fe, getApprovalRequests as pe, getBankAccount as me, getBankAccountTransactions as he, getBankAccountTransfers as ge, getBankAccounts as _e, getCounterparts as ve, getCounterpartsId as ye, getCounterpartsIdAddresses as be, getCounterpartsIdBankAccounts as xe, getCreditCardById as Se, getCreditCards as Ce, getDebitCardById as we, getDebitCardCredentials as Te, getDebitCards as Ee, getDepartment as De, getEntitiesIdSettings as Oe, getEntitiesMe as ke, getEntityUsers as Ae, getEntityUsersMe as je, getEntityUsersMyEntity as Me, getExternalBankAccounts as Ne, getLedgerAccounts as Pe, getLocation as Fe, getMeasureUnits as Ie, getMerchantCategoryGroups as Le, getOrganization as Re, getPayables as ze, getPayablesAnalytics as Be, getPayablesId as Ve, getPayablesIdHistory as He, getPayablesIdLineItems as Ue, getPayablesIdSuggestions as We, getPaymentRecords as Ge, getPaymentTerms as Ke, getProducts as qe, getProductsId as Je, getReceipts as Ye, getReceivables as Xe, getReceivablesId as Ze, getReceivablesIdHistory as Qe, getReceivablesIdMails as $e, getReceivablesIdPdfLink as et, getTags as tt, getTransactions as nt, getTransactionsValidations as rt, getUserData as it, getUsers as at, grantBankAccountAccess as ot, grantExternalBankAccountAccess as st, linkExternalBankAccount as ct, listDepartments as lt, listLocations as ut, listRolePermissions as dt, listRoles as ft, manageDebitCardAccess as pt, patchApprovalPoliciesId as mt, patchEntitiesIdSettings as ht, patchLedgerAccountsId as gt, patchReceiptsId as _t, postApprovalPolicies as vt, postLedgerAccounts as yt, putTransactionsValidations as bt, setDebitCardLockStatus as xt, submitApplication as St, unlinkExternalBankAccount as Ct, updateApplication as wt, updateBankAccount as Tt, updateDebitCard as Et, updateExternalBankAccount as Dt, upsertUserData as Ot, validateExternalBankAccount as kt, verifyDebitCard as At } from "../sdk.gen.js";
2
+ import { activateCreditCard as t, activateDebitCard as n, connectExternalBankAccount as r, createAchMoneyMovement as i, createApplication as a, createBankAccount as ee, createBookTransfer as te, createCheckDeposit as ne, createDebitCard as re, createVelocityControl as ie, deleteApprovalPoliciesId as ae, deleteLedgerAccountsId as oe, deleteReceiptsId as se, disableUser as ce, getAnalyticsPayables as le, getAnalyticsReceivables as ue, getApplicationStatus as de, getApprovalPolicies as fe, getApprovalRequests as pe, getBankAccount as me, getBankAccountApplication as he, getBankAccountTransactions as ge, getBankAccountTransfers as _e, getBankAccounts as ve, getCounterparts as ye, getCounterpartsId as be, getCounterpartsIdAddresses as xe, getCounterpartsIdBankAccounts as Se, getCreditCardById as Ce, getCreditCards as we, getDebitCardById as Te, getDebitCardCredentials as Ee, getDebitCards as De, getDepartment as Oe, getEntitiesIdSettings as ke, getEntitiesMe as Ae, getEntityUsers as je, getEntityUsersMe as Me, getEntityUsersMyEntity as Ne, getExternalBankAccounts as Pe, getLedgerAccounts as Fe, getLocation as Ie, getMeasureUnits as Le, getMerchantCategoryGroups as Re, getOrganization as ze, getPayables as Be, getPayablesAnalytics as Ve, getPayablesId as He, getPayablesIdHistory as Ue, getPayablesIdLineItems as We, getPayablesIdSuggestions as Ge, getPaymentRecords as Ke, getPaymentTerms as qe, getProducts as Je, getProductsId as Ye, getReceipts as Xe, getReceivables as Ze, getReceivablesId as Qe, getReceivablesIdHistory as $e, getReceivablesIdMails as et, getReceivablesIdPdfLink as tt, getTags as nt, getTransactions as rt, getTransactionsValidations as it, getUserData as at, getUsers as ot, grantBankAccountAccess as st, grantExternalBankAccountAccess as ct, linkExternalBankAccount as lt, listDepartments as ut, listLocations as dt, listRolePermissions as ft, listRoles as pt, manageDebitCardAccess as mt, patchApprovalPoliciesId as ht, patchEntitiesIdSettings as gt, patchLedgerAccountsId as _t, patchReceiptsId as vt, postApprovalPolicies as yt, postLedgerAccounts as bt, putTransactionsValidations as xt, setDebitCardLockStatus as St, submitApplication as Ct, unlinkExternalBankAccount as wt, updateApplication as Tt, updateBankAccount as Et, updateDebitCard as Dt, updateExternalBankAccount as Ot, upsertUserData as kt, validateExternalBankAccount as At, verifyDebitCard as jt } from "../sdk.gen.js";
3
3
  import { queryOptions as o } from "@tanstack/react-query";
4
4
  //#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js
5
5
  var s = (t, n, r, i) => {
@@ -8,7 +8,7 @@ var s = (t, n, r, i) => {
8
8
  baseUrl: n?.baseUrl || (n?.client ?? e).getConfig().baseUrl
9
9
  };
10
10
  return r && (a._infinite = r), i && (a.tags = i), n?.body && (a.body = n.body), n?.headers && (a.headers = n.headers), n?.path && (a.path = n.path), n?.query && (a.query = n.query), [a];
11
- }, c = (e) => s("getApplicationStatus", e), jt = (e) => o({
11
+ }, c = (e) => s("getApplicationStatus", e), Mt = (e) => o({
12
12
  queryFn: async ({ queryKey: t, signal: n }) => {
13
13
  let { data: r } = await de({
14
14
  ...e,
@@ -19,9 +19,9 @@ var s = (t, n, r, i) => {
19
19
  return r;
20
20
  },
21
21
  queryKey: c(e)
22
- }), l = (e) => s("getMerchantCategoryGroups", e), Mt = (e) => o({
22
+ }), Nt = (e) => s("getMerchantCategoryGroups", e), Pt = (e) => o({
23
23
  queryFn: async ({ queryKey: t, signal: n }) => {
24
- let { data: r } = await Le({
24
+ let { data: r } = await Re({
25
25
  ...e,
26
26
  ...t[0],
27
27
  signal: n,
@@ -29,38 +29,49 @@ var s = (t, n, r, i) => {
29
29
  });
30
30
  return r;
31
31
  },
32
- queryKey: l(e)
33
- }), Nt = (e) => s("getVelocityControls", e), Pt = (e) => ({ mutationFn: async (t) => {
32
+ queryKey: Nt(e)
33
+ }), Ft = (e) => s("getVelocityControls", e), It = (e) => ({ mutationFn: async (t) => {
34
34
  let { data: n } = await ie({
35
35
  ...e,
36
36
  ...t,
37
37
  throwOnError: !0
38
38
  });
39
39
  return n;
40
- } }), Ft = (e) => ({ mutationFn: async (t) => {
40
+ } }), Lt = (e) => ({ mutationFn: async (t) => {
41
41
  let { data: n } = await a({
42
42
  ...e,
43
43
  ...t,
44
44
  throwOnError: !0
45
45
  });
46
46
  return n;
47
- } }), It = (e) => ({ mutationFn: async (t) => {
48
- let { data: n } = await wt({
47
+ } }), l = (e) => s("getBankAccountApplication", e), Rt = (e) => o({
48
+ queryFn: async ({ queryKey: t, signal: n }) => {
49
+ let { data: r } = await he({
50
+ ...e,
51
+ ...t[0],
52
+ signal: n,
53
+ throwOnError: !0
54
+ });
55
+ return r;
56
+ },
57
+ queryKey: l(e)
58
+ }), zt = (e) => ({ mutationFn: async (t) => {
59
+ let { data: n } = await Tt({
49
60
  ...e,
50
61
  ...t,
51
62
  throwOnError: !0
52
63
  });
53
64
  return n;
54
- } }), Lt = (e) => ({ mutationFn: async (t) => {
55
- let { data: n } = await St({
65
+ } }), Bt = (e) => ({ mutationFn: async (t) => {
66
+ let { data: n } = await Ct({
56
67
  ...e,
57
68
  ...t,
58
69
  throwOnError: !0
59
70
  });
60
71
  return n;
61
- } }), u = (e) => s("getBankAccounts", e), Rt = (e) => o({
72
+ } }), u = (e) => s("getBankAccounts", e), Vt = (e) => o({
62
73
  queryFn: async ({ queryKey: t, signal: n }) => {
63
- let { data: r } = await _e({
74
+ let { data: r } = await ve({
64
75
  ...e,
65
76
  ...t[0],
66
77
  signal: n,
@@ -69,14 +80,14 @@ var s = (t, n, r, i) => {
69
80
  return r;
70
81
  },
71
82
  queryKey: u(e)
72
- }), zt = (e) => ({ mutationFn: async (t) => {
83
+ }), Ht = (e) => ({ mutationFn: async (t) => {
73
84
  let { data: n } = await ee({
74
85
  ...e,
75
86
  ...t,
76
87
  throwOnError: !0
77
88
  });
78
89
  return n;
79
- } }), d = (e) => s("getBankAccount", e), Bt = (e) => o({
90
+ } }), d = (e) => s("getBankAccount", e), Ut = (e) => o({
80
91
  queryFn: async ({ queryKey: t, signal: n }) => {
81
92
  let { data: r } = await me({
82
93
  ...e,
@@ -87,30 +98,30 @@ var s = (t, n, r, i) => {
87
98
  return r;
88
99
  },
89
100
  queryKey: d(e)
90
- }), Vt = (e) => ({ mutationFn: async (t) => {
91
- let { data: n } = await Tt({
101
+ }), Wt = (e) => ({ mutationFn: async (t) => {
102
+ let { data: n } = await Et({
92
103
  ...e,
93
104
  ...t,
94
105
  throwOnError: !0
95
106
  });
96
107
  return n;
97
- } }), Ht = (e) => s("getBankAccountAccess", e), Ut = (e) => ({ mutationFn: async (t) => {
98
- let { data: n } = await ot({
108
+ } }), Gt = (e) => s("getBankAccountAccess", e), Kt = (e) => ({ mutationFn: async (t) => {
109
+ let { data: n } = await st({
99
110
  ...e,
100
111
  ...t,
101
112
  throwOnError: !0
102
113
  });
103
114
  return n;
104
- } }), Wt = (e) => ({ mutationFn: async (t) => {
115
+ } }), qt = (e) => ({ mutationFn: async (t) => {
105
116
  let { data: n } = await ne({
106
117
  ...e,
107
118
  ...t,
108
119
  throwOnError: !0
109
120
  });
110
121
  return n;
111
- } }), f = (e) => s("getBankAccountTransactions", e), Gt = (e) => o({
122
+ } }), f = (e) => s("getBankAccountTransactions", e), Jt = (e) => o({
112
123
  queryFn: async ({ queryKey: t, signal: n }) => {
113
- let { data: r } = await he({
124
+ let { data: r } = await ge({
114
125
  ...e,
115
126
  ...t[0],
116
127
  signal: n,
@@ -119,9 +130,9 @@ var s = (t, n, r, i) => {
119
130
  return r;
120
131
  },
121
132
  queryKey: f(e)
122
- }), p = (e) => s("getBankAccountTransfers", e), Kt = (e) => o({
133
+ }), p = (e) => s("getBankAccountTransfers", e), Yt = (e) => o({
123
134
  queryFn: async ({ queryKey: t, signal: n }) => {
124
- let { data: r } = await ge({
135
+ let { data: r } = await _e({
125
136
  ...e,
126
137
  ...t[0],
127
138
  signal: n,
@@ -130,9 +141,9 @@ var s = (t, n, r, i) => {
130
141
  return r;
131
142
  },
132
143
  queryKey: p(e)
133
- }), m = (e) => s("getCreditCards", e), qt = (e) => o({
144
+ }), m = (e) => s("getCreditCards", e), Xt = (e) => o({
134
145
  queryFn: async ({ queryKey: t, signal: n }) => {
135
- let { data: r } = await Ce({
146
+ let { data: r } = await we({
136
147
  ...e,
137
148
  ...t[0],
138
149
  signal: n,
@@ -141,9 +152,9 @@ var s = (t, n, r, i) => {
141
152
  return r;
142
153
  },
143
154
  queryKey: m(e)
144
- }), h = (e) => s("getCreditCardById", e), Jt = (e) => o({
155
+ }), h = (e) => s("getCreditCardById", e), Zt = (e) => o({
145
156
  queryFn: async ({ queryKey: t, signal: n }) => {
146
- let { data: r } = await Se({
157
+ let { data: r } = await Ce({
147
158
  ...e,
148
159
  ...t[0],
149
160
  signal: n,
@@ -152,16 +163,16 @@ var s = (t, n, r, i) => {
152
163
  return r;
153
164
  },
154
165
  queryKey: h(e)
155
- }), Yt = (e) => ({ mutationFn: async (n) => {
166
+ }), Qt = (e) => ({ mutationFn: async (n) => {
156
167
  let { data: r } = await t({
157
168
  ...e,
158
169
  ...n,
159
170
  throwOnError: !0
160
171
  });
161
172
  return r;
162
- } }), g = (e) => s("getDebitCards", e), Xt = (e) => o({
173
+ } }), g = (e) => s("getDebitCards", e), $t = (e) => o({
163
174
  queryFn: async ({ queryKey: t, signal: n }) => {
164
- let { data: r } = await Ee({
175
+ let { data: r } = await De({
165
176
  ...e,
166
177
  ...t[0],
167
178
  signal: n,
@@ -170,23 +181,23 @@ var s = (t, n, r, i) => {
170
181
  return r;
171
182
  },
172
183
  queryKey: g(e)
173
- }), Zt = (e) => ({ mutationFn: async (t) => {
184
+ }), en = (e) => ({ mutationFn: async (t) => {
174
185
  let { data: n } = await re({
175
186
  ...e,
176
187
  ...t,
177
188
  throwOnError: !0
178
189
  });
179
190
  return n;
180
- } }), Qt = (e) => ({ mutationFn: async (t) => {
181
- let { data: n } = await pt({
191
+ } }), tn = (e) => ({ mutationFn: async (t) => {
192
+ let { data: n } = await mt({
182
193
  ...e,
183
194
  ...t,
184
195
  throwOnError: !0
185
196
  });
186
197
  return n;
187
- } }), _ = (e) => s("getDebitCardById", e), $t = (e) => o({
198
+ } }), _ = (e) => s("getDebitCardById", e), nn = (e) => o({
188
199
  queryFn: async ({ queryKey: t, signal: n }) => {
189
- let { data: r } = await we({
200
+ let { data: r } = await Te({
190
201
  ...e,
191
202
  ...t[0],
192
203
  signal: n,
@@ -195,23 +206,23 @@ var s = (t, n, r, i) => {
195
206
  return r;
196
207
  },
197
208
  queryKey: _(e)
198
- }), en = (e) => ({ mutationFn: async (t) => {
199
- let { data: n } = await Et({
209
+ }), rn = (e) => ({ mutationFn: async (t) => {
210
+ let { data: n } = await Dt({
200
211
  ...e,
201
212
  ...t,
202
213
  throwOnError: !0
203
214
  });
204
215
  return n;
205
- } }), tn = (e) => ({ mutationFn: async (t) => {
216
+ } }), an = (e) => ({ mutationFn: async (t) => {
206
217
  let { data: r } = await n({
207
218
  ...e,
208
219
  ...t,
209
220
  throwOnError: !0
210
221
  });
211
222
  return r;
212
- } }), v = (e) => s("getDebitCardCredentials", e), nn = (e) => o({
223
+ } }), v = (e) => s("getDebitCardCredentials", e), on = (e) => o({
213
224
  queryFn: async ({ queryKey: t, signal: n }) => {
214
- let { data: r } = await Te({
225
+ let { data: r } = await Ee({
215
226
  ...e,
216
227
  ...t[0],
217
228
  signal: n,
@@ -220,23 +231,23 @@ var s = (t, n, r, i) => {
220
231
  return r;
221
232
  },
222
233
  queryKey: v(e)
223
- }), rn = (e) => ({ mutationFn: async (t) => {
224
- let { data: n } = await xt({
234
+ }), sn = (e) => ({ mutationFn: async (t) => {
235
+ let { data: n } = await St({
225
236
  ...e,
226
237
  ...t,
227
238
  throwOnError: !0
228
239
  });
229
240
  return n;
230
- } }), an = (e) => ({ mutationFn: async (t) => {
231
- let { data: n } = await At({
241
+ } }), cn = (e) => ({ mutationFn: async (t) => {
242
+ let { data: n } = await jt({
232
243
  ...e,
233
244
  ...t,
234
245
  throwOnError: !0
235
246
  });
236
247
  return n;
237
- } }), y = (e) => s("getExternalBankAccounts", e), on = (e) => o({
248
+ } }), y = (e) => s("getExternalBankAccounts", e), ln = (e) => o({
238
249
  queryFn: async ({ queryKey: t, signal: n }) => {
239
- let { data: r } = await Ne({
250
+ let { data: r } = await Pe({
240
251
  ...e,
241
252
  ...t[0],
242
253
  signal: n,
@@ -245,63 +256,63 @@ var s = (t, n, r, i) => {
245
256
  return r;
246
257
  },
247
258
  queryKey: y(e)
248
- }), sn = (e) => ({ mutationFn: async (t) => {
259
+ }), un = (e) => ({ mutationFn: async (t) => {
249
260
  let { data: n } = await r({
250
261
  ...e,
251
262
  ...t,
252
263
  throwOnError: !0
253
264
  });
254
265
  return n;
255
- } }), cn = (e) => ({ mutationFn: async (t) => {
256
- let { data: n } = await Ct({
266
+ } }), dn = (e) => ({ mutationFn: async (t) => {
267
+ let { data: n } = await wt({
257
268
  ...e,
258
269
  ...t,
259
270
  throwOnError: !0
260
271
  });
261
272
  return n;
262
- } }), ln = (e) => ({ mutationFn: async (t) => {
263
- let { data: n } = await Dt({
273
+ } }), fn = (e) => ({ mutationFn: async (t) => {
274
+ let { data: n } = await Ot({
264
275
  ...e,
265
276
  ...t,
266
277
  throwOnError: !0
267
278
  });
268
279
  return n;
269
- } }), un = (e) => s("getExternalBankAccountAccess", e), dn = (e) => ({ mutationFn: async (t) => {
270
- let { data: n } = await st({
280
+ } }), pn = (e) => s("getExternalBankAccountAccess", e), mn = (e) => ({ mutationFn: async (t) => {
281
+ let { data: n } = await ct({
271
282
  ...e,
272
283
  ...t,
273
284
  throwOnError: !0
274
285
  });
275
286
  return n;
276
- } }), fn = (e) => ({ mutationFn: async (t) => {
277
- let { data: n } = await ct({
287
+ } }), hn = (e) => ({ mutationFn: async (t) => {
288
+ let { data: n } = await lt({
278
289
  ...e,
279
290
  ...t,
280
291
  throwOnError: !0
281
292
  });
282
293
  return n;
283
- } }), pn = (e) => ({ mutationFn: async (t) => {
284
- let { data: n } = await kt({
294
+ } }), gn = (e) => ({ mutationFn: async (t) => {
295
+ let { data: n } = await At({
285
296
  ...e,
286
297
  ...t,
287
298
  throwOnError: !0
288
299
  });
289
300
  return n;
290
- } }), mn = (e) => ({ mutationFn: async (t) => {
301
+ } }), _n = (e) => ({ mutationFn: async (t) => {
291
302
  let { data: n } = await i({
292
303
  ...e,
293
304
  ...t,
294
305
  throwOnError: !0
295
306
  });
296
307
  return n;
297
- } }), hn = (e) => ({ mutationFn: async (t) => {
308
+ } }), vn = (e) => ({ mutationFn: async (t) => {
298
309
  let { data: n } = await te({
299
310
  ...e,
300
311
  ...t,
301
312
  throwOnError: !0
302
313
  });
303
314
  return n;
304
- } }), b = (e) => s("getAnalyticsPayables", e), gn = (e) => o({
315
+ } }), b = (e) => s("getAnalyticsPayables", e), yn = (e) => o({
305
316
  queryFn: async ({ queryKey: t, signal: n }) => {
306
317
  let { data: r } = await le({
307
318
  ...e,
@@ -312,7 +323,7 @@ var s = (t, n, r, i) => {
312
323
  return r;
313
324
  },
314
325
  queryKey: b(e)
315
- }), x = (e) => s("getAnalyticsReceivables", e), _n = (e) => o({
326
+ }), x = (e) => s("getAnalyticsReceivables", e), bn = (e) => o({
316
327
  queryFn: async ({ queryKey: t, signal: n }) => {
317
328
  let { data: r } = await ue({
318
329
  ...e,
@@ -323,7 +334,7 @@ var s = (t, n, r, i) => {
323
334
  return r;
324
335
  },
325
336
  queryKey: x(e)
326
- }), S = (e) => s("getApprovalPolicies", e), vn = (e) => o({
337
+ }), S = (e) => s("getApprovalPolicies", e), xn = (e) => o({
327
338
  queryFn: async ({ queryKey: t, signal: n }) => {
328
339
  let { data: r } = await fe({
329
340
  ...e,
@@ -334,28 +345,28 @@ var s = (t, n, r, i) => {
334
345
  return r;
335
346
  },
336
347
  queryKey: S(e)
337
- }), yn = (e) => ({ mutationFn: async (t) => {
338
- let { data: n } = await vt({
348
+ }), Sn = (e) => ({ mutationFn: async (t) => {
349
+ let { data: n } = await yt({
339
350
  ...e,
340
351
  ...t,
341
352
  throwOnError: !0
342
353
  });
343
354
  return n;
344
- } }), bn = (e) => ({ mutationFn: async (t) => {
355
+ } }), Cn = (e) => ({ mutationFn: async (t) => {
345
356
  let { data: n } = await ae({
346
357
  ...e,
347
358
  ...t,
348
359
  throwOnError: !0
349
360
  });
350
361
  return n;
351
- } }), xn = (e) => ({ mutationFn: async (t) => {
352
- let { data: n } = await mt({
362
+ } }), wn = (e) => ({ mutationFn: async (t) => {
363
+ let { data: n } = await ht({
353
364
  ...e,
354
365
  ...t,
355
366
  throwOnError: !0
356
367
  });
357
368
  return n;
358
- } }), C = (e) => s("getApprovalRequests", e), Sn = (e) => o({
369
+ } }), C = (e) => s("getApprovalRequests", e), Tn = (e) => o({
359
370
  queryFn: async ({ queryKey: t, signal: n }) => {
360
371
  let { data: r } = await pe({
361
372
  ...e,
@@ -366,9 +377,9 @@ var s = (t, n, r, i) => {
366
377
  return r;
367
378
  },
368
379
  queryKey: C(e)
369
- }), w = (e) => s("getCounterparts", e), Cn = (e) => o({
380
+ }), w = (e) => s("getCounterparts", e), En = (e) => o({
370
381
  queryFn: async ({ queryKey: t, signal: n }) => {
371
- let { data: r } = await ve({
382
+ let { data: r } = await ye({
372
383
  ...e,
373
384
  ...t[0],
374
385
  signal: n,
@@ -377,9 +388,9 @@ var s = (t, n, r, i) => {
377
388
  return r;
378
389
  },
379
390
  queryKey: w(e)
380
- }), T = (e) => s("getCounterpartsId", e), wn = (e) => o({
391
+ }), T = (e) => s("getCounterpartsId", e), Dn = (e) => o({
381
392
  queryFn: async ({ queryKey: t, signal: n }) => {
382
- let { data: r } = await ye({
393
+ let { data: r } = await be({
383
394
  ...e,
384
395
  ...t[0],
385
396
  signal: n,
@@ -388,9 +399,9 @@ var s = (t, n, r, i) => {
388
399
  return r;
389
400
  },
390
401
  queryKey: T(e)
391
- }), E = (e) => s("getCounterpartsIdAddresses", e), Tn = (e) => o({
402
+ }), E = (e) => s("getCounterpartsIdAddresses", e), On = (e) => o({
392
403
  queryFn: async ({ queryKey: t, signal: n }) => {
393
- let { data: r } = await be({
404
+ let { data: r } = await xe({
394
405
  ...e,
395
406
  ...t[0],
396
407
  signal: n,
@@ -399,9 +410,9 @@ var s = (t, n, r, i) => {
399
410
  return r;
400
411
  },
401
412
  queryKey: E(e)
402
- }), D = (e) => s("getCounterpartsIdBankAccounts", e), En = (e) => o({
413
+ }), D = (e) => s("getCounterpartsIdBankAccounts", e), kn = (e) => o({
403
414
  queryFn: async ({ queryKey: t, signal: n }) => {
404
- let { data: r } = await xe({
415
+ let { data: r } = await Se({
405
416
  ...e,
406
417
  ...t[0],
407
418
  signal: n,
@@ -410,9 +421,9 @@ var s = (t, n, r, i) => {
410
421
  return r;
411
422
  },
412
423
  queryKey: D(e)
413
- }), O = (e) => s("getEntitiesMe", e), Dn = (e) => o({
424
+ }), O = (e) => s("getEntitiesMe", e), An = (e) => o({
414
425
  queryFn: async ({ queryKey: t, signal: n }) => {
415
- let { data: r } = await ke({
426
+ let { data: r } = await Ae({
416
427
  ...e,
417
428
  ...t[0],
418
429
  signal: n,
@@ -421,9 +432,9 @@ var s = (t, n, r, i) => {
421
432
  return r;
422
433
  },
423
434
  queryKey: O(e)
424
- }), k = (e) => s("getEntitiesIdSettings", e), On = (e) => o({
435
+ }), k = (e) => s("getEntitiesIdSettings", e), jn = (e) => o({
425
436
  queryFn: async ({ queryKey: t, signal: n }) => {
426
- let { data: r } = await Oe({
437
+ let { data: r } = await ke({
427
438
  ...e,
428
439
  ...t[0],
429
440
  signal: n,
@@ -432,16 +443,16 @@ var s = (t, n, r, i) => {
432
443
  return r;
433
444
  },
434
445
  queryKey: k(e)
435
- }), kn = (e) => ({ mutationFn: async (t) => {
436
- let { data: n } = await ht({
446
+ }), Mn = (e) => ({ mutationFn: async (t) => {
447
+ let { data: n } = await gt({
437
448
  ...e,
438
449
  ...t,
439
450
  throwOnError: !0
440
451
  });
441
452
  return n;
442
- } }), A = (e) => s("getEntityUsers", e), An = (e) => o({
453
+ } }), A = (e) => s("getEntityUsers", e), Nn = (e) => o({
443
454
  queryFn: async ({ queryKey: t, signal: n }) => {
444
- let { data: r } = await Ae({
455
+ let { data: r } = await je({
445
456
  ...e,
446
457
  ...t[0],
447
458
  signal: n,
@@ -450,9 +461,9 @@ var s = (t, n, r, i) => {
450
461
  return r;
451
462
  },
452
463
  queryKey: A(e)
453
- }), j = (e) => s("getEntityUsersMe", e), jn = (e) => o({
464
+ }), j = (e) => s("getEntityUsersMe", e), Pn = (e) => o({
454
465
  queryFn: async ({ queryKey: t, signal: n }) => {
455
- let { data: r } = await je({
466
+ let { data: r } = await Me({
456
467
  ...e,
457
468
  ...t[0],
458
469
  signal: n,
@@ -461,9 +472,9 @@ var s = (t, n, r, i) => {
461
472
  return r;
462
473
  },
463
474
  queryKey: j(e)
464
- }), M = (e) => s("getEntityUsersMyEntity", e), Mn = (e) => o({
475
+ }), Fn = (e) => s("getEntityUsersMyEntity", e), In = (e) => o({
465
476
  queryFn: async ({ queryKey: t, signal: n }) => {
466
- let { data: r } = await Me({
477
+ let { data: r } = await Ne({
467
478
  ...e,
468
479
  ...t[0],
469
480
  signal: n,
@@ -471,10 +482,10 @@ var s = (t, n, r, i) => {
471
482
  });
472
483
  return r;
473
484
  },
474
- queryKey: M(e)
475
- }), N = (e) => s("getLedgerAccounts", e), Nn = (e) => o({
485
+ queryKey: Fn(e)
486
+ }), M = (e) => s("getLedgerAccounts", e), Ln = (e) => o({
476
487
  queryFn: async ({ queryKey: t, signal: n }) => {
477
- let { data: r } = await Pe({
488
+ let { data: r } = await Fe({
478
489
  ...e,
479
490
  ...t[0],
480
491
  signal: n,
@@ -482,31 +493,31 @@ var s = (t, n, r, i) => {
482
493
  });
483
494
  return r;
484
495
  },
485
- queryKey: N(e)
486
- }), Pn = (e) => ({ mutationFn: async (t) => {
487
- let { data: n } = await yt({
496
+ queryKey: M(e)
497
+ }), Rn = (e) => ({ mutationFn: async (t) => {
498
+ let { data: n } = await bt({
488
499
  ...e,
489
500
  ...t,
490
501
  throwOnError: !0
491
502
  });
492
503
  return n;
493
- } }), Fn = (e) => ({ mutationFn: async (t) => {
504
+ } }), zn = (e) => ({ mutationFn: async (t) => {
494
505
  let { data: n } = await oe({
495
506
  ...e,
496
507
  ...t,
497
508
  throwOnError: !0
498
509
  });
499
510
  return n;
500
- } }), In = (e) => ({ mutationFn: async (t) => {
501
- let { data: n } = await gt({
511
+ } }), Bn = (e) => ({ mutationFn: async (t) => {
512
+ let { data: n } = await _t({
502
513
  ...e,
503
514
  ...t,
504
515
  throwOnError: !0
505
516
  });
506
517
  return n;
507
- } }), Ln = (e) => s("getMeasureUnits", e), Rn = (e) => o({
518
+ } }), N = (e) => s("getMeasureUnits", e), Vn = (e) => o({
508
519
  queryFn: async ({ queryKey: t, signal: n }) => {
509
- let { data: r } = await Ie({
520
+ let { data: r } = await Le({
510
521
  ...e,
511
522
  ...t[0],
512
523
  signal: n,
@@ -514,10 +525,10 @@ var s = (t, n, r, i) => {
514
525
  });
515
526
  return r;
516
527
  },
517
- queryKey: Ln(e)
518
- }), P = (e) => s("getPayables", e), zn = (e) => o({
528
+ queryKey: N(e)
529
+ }), P = (e) => s("getPayables", e), Hn = (e) => o({
519
530
  queryFn: async ({ queryKey: t, signal: n }) => {
520
- let { data: r } = await ze({
531
+ let { data: r } = await Be({
521
532
  ...e,
522
533
  ...t[0],
523
534
  signal: n,
@@ -526,9 +537,9 @@ var s = (t, n, r, i) => {
526
537
  return r;
527
538
  },
528
539
  queryKey: P(e)
529
- }), F = (e) => s("getPayablesAnalytics", e), Bn = (e) => o({
540
+ }), F = (e) => s("getPayablesAnalytics", e), Un = (e) => o({
530
541
  queryFn: async ({ queryKey: t, signal: n }) => {
531
- let { data: r } = await Be({
542
+ let { data: r } = await Ve({
532
543
  ...e,
533
544
  ...t[0],
534
545
  signal: n,
@@ -537,9 +548,9 @@ var s = (t, n, r, i) => {
537
548
  return r;
538
549
  },
539
550
  queryKey: F(e)
540
- }), I = (e) => s("getPayablesId", e), Vn = (e) => o({
551
+ }), I = (e) => s("getPayablesId", e), Wn = (e) => o({
541
552
  queryFn: async ({ queryKey: t, signal: n }) => {
542
- let { data: r } = await Ve({
553
+ let { data: r } = await He({
543
554
  ...e,
544
555
  ...t[0],
545
556
  signal: n,
@@ -548,9 +559,9 @@ var s = (t, n, r, i) => {
548
559
  return r;
549
560
  },
550
561
  queryKey: I(e)
551
- }), L = (e) => s("getPayablesIdHistory", e), Hn = (e) => o({
562
+ }), L = (e) => s("getPayablesIdHistory", e), Gn = (e) => o({
552
563
  queryFn: async ({ queryKey: t, signal: n }) => {
553
- let { data: r } = await He({
564
+ let { data: r } = await Ue({
554
565
  ...e,
555
566
  ...t[0],
556
567
  signal: n,
@@ -559,9 +570,9 @@ var s = (t, n, r, i) => {
559
570
  return r;
560
571
  },
561
572
  queryKey: L(e)
562
- }), R = (e) => s("getPayablesIdLineItems", e), Un = (e) => o({
573
+ }), R = (e) => s("getPayablesIdLineItems", e), Kn = (e) => o({
563
574
  queryFn: async ({ queryKey: t, signal: n }) => {
564
- let { data: r } = await Ue({
575
+ let { data: r } = await We({
565
576
  ...e,
566
577
  ...t[0],
567
578
  signal: n,
@@ -570,9 +581,9 @@ var s = (t, n, r, i) => {
570
581
  return r;
571
582
  },
572
583
  queryKey: R(e)
573
- }), z = (e) => s("getPayablesIdSuggestions", e), Wn = (e) => o({
584
+ }), z = (e) => s("getPayablesIdSuggestions", e), qn = (e) => o({
574
585
  queryFn: async ({ queryKey: t, signal: n }) => {
575
- let { data: r } = await We({
586
+ let { data: r } = await Ge({
576
587
  ...e,
577
588
  ...t[0],
578
589
  signal: n,
@@ -581,9 +592,9 @@ var s = (t, n, r, i) => {
581
592
  return r;
582
593
  },
583
594
  queryKey: z(e)
584
- }), B = (e) => s("getPaymentRecords", e), Gn = (e) => o({
595
+ }), B = (e) => s("getPaymentRecords", e), Jn = (e) => o({
585
596
  queryFn: async ({ queryKey: t, signal: n }) => {
586
- let { data: r } = await Ge({
597
+ let { data: r } = await Ke({
587
598
  ...e,
588
599
  ...t[0],
589
600
  signal: n,
@@ -592,9 +603,9 @@ var s = (t, n, r, i) => {
592
603
  return r;
593
604
  },
594
605
  queryKey: B(e)
595
- }), V = (e) => s("getPaymentTerms", e), Kn = (e) => o({
606
+ }), V = (e) => s("getPaymentTerms", e), Yn = (e) => o({
596
607
  queryFn: async ({ queryKey: t, signal: n }) => {
597
- let { data: r } = await Ke({
608
+ let { data: r } = await qe({
598
609
  ...e,
599
610
  ...t[0],
600
611
  signal: n,
@@ -603,9 +614,9 @@ var s = (t, n, r, i) => {
603
614
  return r;
604
615
  },
605
616
  queryKey: V(e)
606
- }), H = (e) => s("getProducts", e), qn = (e) => o({
617
+ }), H = (e) => s("getProducts", e), Xn = (e) => o({
607
618
  queryFn: async ({ queryKey: t, signal: n }) => {
608
- let { data: r } = await qe({
619
+ let { data: r } = await Je({
609
620
  ...e,
610
621
  ...t[0],
611
622
  signal: n,
@@ -614,9 +625,9 @@ var s = (t, n, r, i) => {
614
625
  return r;
615
626
  },
616
627
  queryKey: H(e)
617
- }), U = (e) => s("getProductsId", e), Jn = (e) => o({
628
+ }), U = (e) => s("getProductsId", e), Zn = (e) => o({
618
629
  queryFn: async ({ queryKey: t, signal: n }) => {
619
- let { data: r } = await Je({
630
+ let { data: r } = await Ye({
620
631
  ...e,
621
632
  ...t[0],
622
633
  signal: n,
@@ -625,9 +636,9 @@ var s = (t, n, r, i) => {
625
636
  return r;
626
637
  },
627
638
  queryKey: U(e)
628
- }), W = (e) => s("getReceipts", e), Yn = (e) => o({
639
+ }), W = (e) => s("getReceipts", e), Qn = (e) => o({
629
640
  queryFn: async ({ queryKey: t, signal: n }) => {
630
- let { data: r } = await Ye({
641
+ let { data: r } = await Xe({
631
642
  ...e,
632
643
  ...t[0],
633
644
  signal: n,
@@ -636,23 +647,23 @@ var s = (t, n, r, i) => {
636
647
  return r;
637
648
  },
638
649
  queryKey: W(e)
639
- }), Xn = (e) => ({ mutationFn: async (t) => {
650
+ }), $n = (e) => ({ mutationFn: async (t) => {
640
651
  let { data: n } = await se({
641
652
  ...e,
642
653
  ...t,
643
654
  throwOnError: !0
644
655
  });
645
656
  return n;
646
- } }), Zn = (e) => s("getReceiptsId", e), Qn = (e) => ({ mutationFn: async (t) => {
647
- let { data: n } = await _t({
657
+ } }), er = (e) => s("getReceiptsId", e), tr = (e) => ({ mutationFn: async (t) => {
658
+ let { data: n } = await vt({
648
659
  ...e,
649
660
  ...t,
650
661
  throwOnError: !0
651
662
  });
652
663
  return n;
653
- } }), G = (e) => s("getReceivables", e), $n = (e) => o({
664
+ } }), G = (e) => s("getReceivables", e), nr = (e) => o({
654
665
  queryFn: async ({ queryKey: t, signal: n }) => {
655
- let { data: r } = await Xe({
666
+ let { data: r } = await Ze({
656
667
  ...e,
657
668
  ...t[0],
658
669
  signal: n,
@@ -661,9 +672,9 @@ var s = (t, n, r, i) => {
661
672
  return r;
662
673
  },
663
674
  queryKey: G(e)
664
- }), K = (e) => s("getReceivablesId", e), er = (e) => o({
675
+ }), K = (e) => s("getReceivablesId", e), rr = (e) => o({
665
676
  queryFn: async ({ queryKey: t, signal: n }) => {
666
- let { data: r } = await Ze({
677
+ let { data: r } = await Qe({
667
678
  ...e,
668
679
  ...t[0],
669
680
  signal: n,
@@ -672,9 +683,9 @@ var s = (t, n, r, i) => {
672
683
  return r;
673
684
  },
674
685
  queryKey: K(e)
675
- }), q = (e) => s("getReceivablesIdHistory", e), tr = (e) => o({
686
+ }), q = (e) => s("getReceivablesIdHistory", e), ir = (e) => o({
676
687
  queryFn: async ({ queryKey: t, signal: n }) => {
677
- let { data: r } = await Qe({
688
+ let { data: r } = await $e({
678
689
  ...e,
679
690
  ...t[0],
680
691
  signal: n,
@@ -683,9 +694,9 @@ var s = (t, n, r, i) => {
683
694
  return r;
684
695
  },
685
696
  queryKey: q(e)
686
- }), J = (e) => s("getReceivablesIdMails", e), nr = (e) => o({
697
+ }), J = (e) => s("getReceivablesIdMails", e), ar = (e) => o({
687
698
  queryFn: async ({ queryKey: t, signal: n }) => {
688
- let { data: r } = await $e({
699
+ let { data: r } = await et({
689
700
  ...e,
690
701
  ...t[0],
691
702
  signal: n,
@@ -694,9 +705,9 @@ var s = (t, n, r, i) => {
694
705
  return r;
695
706
  },
696
707
  queryKey: J(e)
697
- }), Y = (e) => s("getReceivablesIdPdfLink", e), rr = (e) => o({
708
+ }), Y = (e) => s("getReceivablesIdPdfLink", e), or = (e) => o({
698
709
  queryFn: async ({ queryKey: t, signal: n }) => {
699
- let { data: r } = await et({
710
+ let { data: r } = await tt({
700
711
  ...e,
701
712
  ...t[0],
702
713
  signal: n,
@@ -705,9 +716,9 @@ var s = (t, n, r, i) => {
705
716
  return r;
706
717
  },
707
718
  queryKey: Y(e)
708
- }), X = (e) => s("getTags", e), ir = (e) => o({
719
+ }), X = (e) => s("getTags", e), sr = (e) => o({
709
720
  queryFn: async ({ queryKey: t, signal: n }) => {
710
- let { data: r } = await tt({
721
+ let { data: r } = await nt({
711
722
  ...e,
712
723
  ...t[0],
713
724
  signal: n,
@@ -716,9 +727,9 @@ var s = (t, n, r, i) => {
716
727
  return r;
717
728
  },
718
729
  queryKey: X(e)
719
- }), Z = (e) => s("getTransactions", e), ar = (e) => o({
730
+ }), Z = (e) => s("getTransactions", e), cr = (e) => o({
720
731
  queryFn: async ({ queryKey: t, signal: n }) => {
721
- let { data: r } = await nt({
732
+ let { data: r } = await rt({
722
733
  ...e,
723
734
  ...t[0],
724
735
  signal: n,
@@ -727,9 +738,9 @@ var s = (t, n, r, i) => {
727
738
  return r;
728
739
  },
729
740
  queryKey: Z(e)
730
- }), Q = (e) => s("getTransactionsValidations", e), or = (e) => o({
741
+ }), Q = (e) => s("getTransactionsValidations", e), lr = (e) => o({
731
742
  queryFn: async ({ queryKey: t, signal: n }) => {
732
- let { data: r } = await rt({
743
+ let { data: r } = await it({
733
744
  ...e,
734
745
  ...t[0],
735
746
  signal: n,
@@ -738,16 +749,16 @@ var s = (t, n, r, i) => {
738
749
  return r;
739
750
  },
740
751
  queryKey: Q(e)
741
- }), sr = (e) => ({ mutationFn: async (t) => {
742
- let { data: n } = await bt({
752
+ }), ur = (e) => ({ mutationFn: async (t) => {
753
+ let { data: n } = await xt({
743
754
  ...e,
744
755
  ...t,
745
756
  throwOnError: !0
746
757
  });
747
758
  return n;
748
- } }), cr = (e) => s("getTransactionsId", e), $ = (e) => s("listDepartments", e), lr = (e) => o({
759
+ } }), dr = (e) => s("getTransactionsId", e), fr = (e) => s("listDepartments", e), pr = (e) => o({
749
760
  queryFn: async ({ queryKey: t, signal: n }) => {
750
- let { data: r } = await lt({
761
+ let { data: r } = await ut({
751
762
  ...e,
752
763
  ...t[0],
753
764
  signal: n,
@@ -755,10 +766,10 @@ var s = (t, n, r, i) => {
755
766
  });
756
767
  return r;
757
768
  },
758
- queryKey: $(e)
759
- }), ur = (e) => s("getDepartment", e), dr = (e) => o({
769
+ queryKey: fr(e)
770
+ }), mr = (e) => s("getDepartment", e), hr = (e) => o({
760
771
  queryFn: async ({ queryKey: t, signal: n }) => {
761
- let { data: r } = await De({
772
+ let { data: r } = await Oe({
762
773
  ...e,
763
774
  ...t[0],
764
775
  signal: n,
@@ -766,10 +777,10 @@ var s = (t, n, r, i) => {
766
777
  });
767
778
  return r;
768
779
  },
769
- queryKey: ur(e)
770
- }), fr = (e) => s("listLocations", e), pr = (e) => o({
780
+ queryKey: mr(e)
781
+ }), gr = (e) => s("listLocations", e), _r = (e) => o({
771
782
  queryFn: async ({ queryKey: t, signal: n }) => {
772
- let { data: r } = await ut({
783
+ let { data: r } = await dt({
773
784
  ...e,
774
785
  ...t[0],
775
786
  signal: n,
@@ -777,10 +788,10 @@ var s = (t, n, r, i) => {
777
788
  });
778
789
  return r;
779
790
  },
780
- queryKey: fr(e)
781
- }), mr = (e) => s("getLocation", e), hr = (e) => o({
791
+ queryKey: gr(e)
792
+ }), vr = (e) => s("getLocation", e), yr = (e) => o({
782
793
  queryFn: async ({ queryKey: t, signal: n }) => {
783
- let { data: r } = await Fe({
794
+ let { data: r } = await Ie({
784
795
  ...e,
785
796
  ...t[0],
786
797
  signal: n,
@@ -788,10 +799,10 @@ var s = (t, n, r, i) => {
788
799
  });
789
800
  return r;
790
801
  },
791
- queryKey: mr(e)
792
- }), gr = (e) => s("getOrganization", e), _r = (e) => o({
802
+ queryKey: vr(e)
803
+ }), br = (e) => s("getOrganization", e), xr = (e) => o({
793
804
  queryFn: async ({ queryKey: t, signal: n }) => {
794
- let { data: r } = await Re({
805
+ let { data: r } = await ze({
795
806
  ...e,
796
807
  ...t[0],
797
808
  signal: n,
@@ -799,10 +810,10 @@ var s = (t, n, r, i) => {
799
810
  });
800
811
  return r;
801
812
  },
802
- queryKey: gr(e)
803
- }), vr = (e) => s("listRoles", e), yr = (e) => o({
813
+ queryKey: br(e)
814
+ }), $ = (e) => s("listRoles", e), Sr = (e) => o({
804
815
  queryFn: async ({ queryKey: t, signal: n }) => {
805
- let { data: r } = await ft({
816
+ let { data: r } = await pt({
806
817
  ...e,
807
818
  ...t[0],
808
819
  signal: n,
@@ -810,10 +821,10 @@ var s = (t, n, r, i) => {
810
821
  });
811
822
  return r;
812
823
  },
813
- queryKey: vr(e)
814
- }), br = (e) => s("listRolePermissions", e), xr = (e) => o({
824
+ queryKey: $(e)
825
+ }), Cr = (e) => s("listRolePermissions", e), wr = (e) => o({
815
826
  queryFn: async ({ queryKey: t, signal: n }) => {
816
- let { data: r } = await dt({
827
+ let { data: r } = await ft({
817
828
  ...e,
818
829
  ...t[0],
819
830
  signal: n,
@@ -821,10 +832,10 @@ var s = (t, n, r, i) => {
821
832
  });
822
833
  return r;
823
834
  },
824
- queryKey: br(e)
825
- }), Sr = (e) => s("getUserData", e), Cr = (e) => o({
835
+ queryKey: Cr(e)
836
+ }), Tr = (e) => s("getUserData", e), Er = (e) => o({
826
837
  queryFn: async ({ queryKey: t, signal: n }) => {
827
- let { data: r } = await it({
838
+ let { data: r } = await at({
828
839
  ...e,
829
840
  ...t[0],
830
841
  signal: n,
@@ -832,17 +843,17 @@ var s = (t, n, r, i) => {
832
843
  });
833
844
  return r;
834
845
  },
835
- queryKey: Sr(e)
836
- }), wr = (e) => ({ mutationFn: async (t) => {
837
- let { data: n } = await Ot({
846
+ queryKey: Tr(e)
847
+ }), Dr = (e) => ({ mutationFn: async (t) => {
848
+ let { data: n } = await kt({
838
849
  ...e,
839
850
  ...t,
840
851
  throwOnError: !0
841
852
  });
842
853
  return n;
843
- } }), Tr = (e) => s("getUsers", e), Er = (e) => o({
854
+ } }), Or = (e) => s("getUsers", e), kr = (e) => o({
844
855
  queryFn: async ({ queryKey: t, signal: n }) => {
845
- let { data: r } = await at({
856
+ let { data: r } = await ot({
846
857
  ...e,
847
858
  ...t[0],
848
859
  signal: n,
@@ -850,8 +861,8 @@ var s = (t, n, r, i) => {
850
861
  });
851
862
  return r;
852
863
  },
853
- queryKey: Tr(e)
854
- }), Dr = (e) => ({ mutationFn: async (t) => {
864
+ queryKey: Or(e)
865
+ }), Ar = (e) => ({ mutationFn: async (t) => {
855
866
  let { data: n } = await ce({
856
867
  ...e,
857
868
  ...t,
@@ -860,4 +871,4 @@ var s = (t, n, r, i) => {
860
871
  return n;
861
872
  } });
862
873
  //#endregion
863
- export { Yt as activateCreditCardMutation, tn as activateDebitCardMutation, sn as connectExternalBankAccountMutation, mn as createAchMoneyMovementMutation, Ft as createApplicationMutation, zt as createBankAccountMutation, hn as createBookTransferMutation, Wt as createCheckDepositMutation, Zt as createDebitCardMutation, Pt as createVelocityControlMutation, bn as deleteApprovalPoliciesIdMutation, Fn as deleteLedgerAccountsIdMutation, Xn as deleteReceiptsIdMutation, Dr as disableUserMutation, gn as getAnalyticsPayablesOptions, b as getAnalyticsPayablesQueryKey, _n as getAnalyticsReceivablesOptions, x as getAnalyticsReceivablesQueryKey, jt as getApplicationStatusOptions, c as getApplicationStatusQueryKey, vn as getApprovalPoliciesOptions, S as getApprovalPoliciesQueryKey, Sn as getApprovalRequestsOptions, C as getApprovalRequestsQueryKey, Ht as getBankAccountAccessQueryKey, Bt as getBankAccountOptions, d as getBankAccountQueryKey, Gt as getBankAccountTransactionsOptions, f as getBankAccountTransactionsQueryKey, Kt as getBankAccountTransfersOptions, p as getBankAccountTransfersQueryKey, Rt as getBankAccountsOptions, u as getBankAccountsQueryKey, Tn as getCounterpartsIdAddressesOptions, E as getCounterpartsIdAddressesQueryKey, En as getCounterpartsIdBankAccountsOptions, D as getCounterpartsIdBankAccountsQueryKey, wn as getCounterpartsIdOptions, T as getCounterpartsIdQueryKey, Cn as getCounterpartsOptions, w as getCounterpartsQueryKey, Jt as getCreditCardByIdOptions, h as getCreditCardByIdQueryKey, qt as getCreditCardsOptions, m as getCreditCardsQueryKey, $t as getDebitCardByIdOptions, _ as getDebitCardByIdQueryKey, nn as getDebitCardCredentialsOptions, v as getDebitCardCredentialsQueryKey, Xt as getDebitCardsOptions, g as getDebitCardsQueryKey, dr as getDepartmentOptions, ur as getDepartmentQueryKey, On as getEntitiesIdSettingsOptions, k as getEntitiesIdSettingsQueryKey, Dn as getEntitiesMeOptions, O as getEntitiesMeQueryKey, jn as getEntityUsersMeOptions, j as getEntityUsersMeQueryKey, Mn as getEntityUsersMyEntityOptions, M as getEntityUsersMyEntityQueryKey, An as getEntityUsersOptions, A as getEntityUsersQueryKey, un as getExternalBankAccountAccessQueryKey, on as getExternalBankAccountsOptions, y as getExternalBankAccountsQueryKey, Nn as getLedgerAccountsOptions, N as getLedgerAccountsQueryKey, hr as getLocationOptions, mr as getLocationQueryKey, Rn as getMeasureUnitsOptions, Ln as getMeasureUnitsQueryKey, Mt as getMerchantCategoryGroupsOptions, l as getMerchantCategoryGroupsQueryKey, _r as getOrganizationOptions, gr as getOrganizationQueryKey, Bn as getPayablesAnalyticsOptions, F as getPayablesAnalyticsQueryKey, Hn as getPayablesIdHistoryOptions, L as getPayablesIdHistoryQueryKey, Un as getPayablesIdLineItemsOptions, R as getPayablesIdLineItemsQueryKey, Vn as getPayablesIdOptions, I as getPayablesIdQueryKey, Wn as getPayablesIdSuggestionsOptions, z as getPayablesIdSuggestionsQueryKey, zn as getPayablesOptions, P as getPayablesQueryKey, Gn as getPaymentRecordsOptions, B as getPaymentRecordsQueryKey, Kn as getPaymentTermsOptions, V as getPaymentTermsQueryKey, Jn as getProductsIdOptions, U as getProductsIdQueryKey, qn as getProductsOptions, H as getProductsQueryKey, Zn as getReceiptsIdQueryKey, Yn as getReceiptsOptions, W as getReceiptsQueryKey, tr as getReceivablesIdHistoryOptions, q as getReceivablesIdHistoryQueryKey, nr as getReceivablesIdMailsOptions, J as getReceivablesIdMailsQueryKey, er as getReceivablesIdOptions, rr as getReceivablesIdPdfLinkOptions, Y as getReceivablesIdPdfLinkQueryKey, K as getReceivablesIdQueryKey, $n as getReceivablesOptions, G as getReceivablesQueryKey, ir as getTagsOptions, X as getTagsQueryKey, cr as getTransactionsIdQueryKey, ar as getTransactionsOptions, Z as getTransactionsQueryKey, or as getTransactionsValidationsOptions, Q as getTransactionsValidationsQueryKey, Cr as getUserDataOptions, Sr as getUserDataQueryKey, Er as getUsersOptions, Tr as getUsersQueryKey, Nt as getVelocityControlsQueryKey, Ut as grantBankAccountAccessMutation, dn as grantExternalBankAccountAccessMutation, fn as linkExternalBankAccountMutation, lr as listDepartmentsOptions, $ as listDepartmentsQueryKey, pr as listLocationsOptions, fr as listLocationsQueryKey, xr as listRolePermissionsOptions, br as listRolePermissionsQueryKey, yr as listRolesOptions, vr as listRolesQueryKey, Qt as manageDebitCardAccessMutation, xn as patchApprovalPoliciesIdMutation, kn as patchEntitiesIdSettingsMutation, In as patchLedgerAccountsIdMutation, Qn as patchReceiptsIdMutation, yn as postApprovalPoliciesMutation, Pn as postLedgerAccountsMutation, sr as putTransactionsValidationsMutation, rn as setDebitCardLockStatusMutation, Lt as submitApplicationMutation, cn as unlinkExternalBankAccountMutation, It as updateApplicationMutation, Vt as updateBankAccountMutation, en as updateDebitCardMutation, ln as updateExternalBankAccountMutation, wr as upsertUserDataMutation, pn as validateExternalBankAccountMutation, an as verifyDebitCardMutation };
874
+ export { Qt as activateCreditCardMutation, an as activateDebitCardMutation, un as connectExternalBankAccountMutation, _n as createAchMoneyMovementMutation, Lt as createApplicationMutation, Ht as createBankAccountMutation, vn as createBookTransferMutation, qt as createCheckDepositMutation, en as createDebitCardMutation, It as createVelocityControlMutation, Cn as deleteApprovalPoliciesIdMutation, zn as deleteLedgerAccountsIdMutation, $n as deleteReceiptsIdMutation, Ar as disableUserMutation, yn as getAnalyticsPayablesOptions, b as getAnalyticsPayablesQueryKey, bn as getAnalyticsReceivablesOptions, x as getAnalyticsReceivablesQueryKey, Mt as getApplicationStatusOptions, c as getApplicationStatusQueryKey, xn as getApprovalPoliciesOptions, S as getApprovalPoliciesQueryKey, Tn as getApprovalRequestsOptions, C as getApprovalRequestsQueryKey, Gt as getBankAccountAccessQueryKey, Rt as getBankAccountApplicationOptions, l as getBankAccountApplicationQueryKey, Ut as getBankAccountOptions, d as getBankAccountQueryKey, Jt as getBankAccountTransactionsOptions, f as getBankAccountTransactionsQueryKey, Yt as getBankAccountTransfersOptions, p as getBankAccountTransfersQueryKey, Vt as getBankAccountsOptions, u as getBankAccountsQueryKey, On as getCounterpartsIdAddressesOptions, E as getCounterpartsIdAddressesQueryKey, kn as getCounterpartsIdBankAccountsOptions, D as getCounterpartsIdBankAccountsQueryKey, Dn as getCounterpartsIdOptions, T as getCounterpartsIdQueryKey, En as getCounterpartsOptions, w as getCounterpartsQueryKey, Zt as getCreditCardByIdOptions, h as getCreditCardByIdQueryKey, Xt as getCreditCardsOptions, m as getCreditCardsQueryKey, nn as getDebitCardByIdOptions, _ as getDebitCardByIdQueryKey, on as getDebitCardCredentialsOptions, v as getDebitCardCredentialsQueryKey, $t as getDebitCardsOptions, g as getDebitCardsQueryKey, hr as getDepartmentOptions, mr as getDepartmentQueryKey, jn as getEntitiesIdSettingsOptions, k as getEntitiesIdSettingsQueryKey, An as getEntitiesMeOptions, O as getEntitiesMeQueryKey, Pn as getEntityUsersMeOptions, j as getEntityUsersMeQueryKey, In as getEntityUsersMyEntityOptions, Fn as getEntityUsersMyEntityQueryKey, Nn as getEntityUsersOptions, A as getEntityUsersQueryKey, pn as getExternalBankAccountAccessQueryKey, ln as getExternalBankAccountsOptions, y as getExternalBankAccountsQueryKey, Ln as getLedgerAccountsOptions, M as getLedgerAccountsQueryKey, yr as getLocationOptions, vr as getLocationQueryKey, Vn as getMeasureUnitsOptions, N as getMeasureUnitsQueryKey, Pt as getMerchantCategoryGroupsOptions, Nt as getMerchantCategoryGroupsQueryKey, xr as getOrganizationOptions, br as getOrganizationQueryKey, Un as getPayablesAnalyticsOptions, F as getPayablesAnalyticsQueryKey, Gn as getPayablesIdHistoryOptions, L as getPayablesIdHistoryQueryKey, Kn as getPayablesIdLineItemsOptions, R as getPayablesIdLineItemsQueryKey, Wn as getPayablesIdOptions, I as getPayablesIdQueryKey, qn as getPayablesIdSuggestionsOptions, z as getPayablesIdSuggestionsQueryKey, Hn as getPayablesOptions, P as getPayablesQueryKey, Jn as getPaymentRecordsOptions, B as getPaymentRecordsQueryKey, Yn as getPaymentTermsOptions, V as getPaymentTermsQueryKey, Zn as getProductsIdOptions, U as getProductsIdQueryKey, Xn as getProductsOptions, H as getProductsQueryKey, er as getReceiptsIdQueryKey, Qn as getReceiptsOptions, W as getReceiptsQueryKey, ir as getReceivablesIdHistoryOptions, q as getReceivablesIdHistoryQueryKey, ar as getReceivablesIdMailsOptions, J as getReceivablesIdMailsQueryKey, rr as getReceivablesIdOptions, or as getReceivablesIdPdfLinkOptions, Y as getReceivablesIdPdfLinkQueryKey, K as getReceivablesIdQueryKey, nr as getReceivablesOptions, G as getReceivablesQueryKey, sr as getTagsOptions, X as getTagsQueryKey, dr as getTransactionsIdQueryKey, cr as getTransactionsOptions, Z as getTransactionsQueryKey, lr as getTransactionsValidationsOptions, Q as getTransactionsValidationsQueryKey, Er as getUserDataOptions, Tr as getUserDataQueryKey, kr as getUsersOptions, Or as getUsersQueryKey, Ft as getVelocityControlsQueryKey, Kt as grantBankAccountAccessMutation, mn as grantExternalBankAccountAccessMutation, hn as linkExternalBankAccountMutation, pr as listDepartmentsOptions, fr as listDepartmentsQueryKey, _r as listLocationsOptions, gr as listLocationsQueryKey, wr as listRolePermissionsOptions, Cr as listRolePermissionsQueryKey, Sr as listRolesOptions, $ as listRolesQueryKey, tn as manageDebitCardAccessMutation, wn as patchApprovalPoliciesIdMutation, Mn as patchEntitiesIdSettingsMutation, Bn as patchLedgerAccountsIdMutation, tr as patchReceiptsIdMutation, Sn as postApprovalPoliciesMutation, Rn as postLedgerAccountsMutation, ur as putTransactionsValidationsMutation, sn as setDebitCardLockStatusMutation, Bt as submitApplicationMutation, dn as unlinkExternalBankAccountMutation, zt as updateApplicationMutation, Wt as updateBankAccountMutation, rn as updateDebitCardMutation, fn as updateExternalBankAccountMutation, Dr as upsertUserDataMutation, gn as validateExternalBankAccountMutation, cn as verifyDebitCardMutation };