@tesouro/embedded-components-react 0.5.90 → 0.5.92

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 (52) hide show
  1. package/dist/experimental/InvoiceSettings.d.ts +263 -21
  2. package/dist/experimental/InvoiceSettings.js +1 -1
  3. package/dist/experimental/index.d.ts +263 -21
  4. package/dist/experimental/index.js +1 -1
  5. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index.js +8 -0
  7. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index2.js +23 -0
  8. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index3.js +24 -0
  9. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index4.js +24 -0
  10. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index5.js +18 -0
  11. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index6.js +40 -0
  12. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index7.js +35 -0
  13. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index8.js +34 -0
  14. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index.js +4 -3
  15. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +145 -0
  16. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index11.js +2 -0
  17. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index2.js +8 -3
  18. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index3.js +20 -25
  19. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index4.js +16 -2
  20. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index5.js +20 -0
  21. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index6.js +36 -0
  22. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +155 -0
  23. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +103 -0
  24. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index9.js +5 -0
  25. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index.js +20 -0
  26. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index10.js +2 -0
  27. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index11.js +10 -0
  28. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index12.js +41 -0
  29. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index13.js +2 -0
  30. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index14.js +12 -0
  31. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index15.js +9 -0
  32. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index16.js +21 -0
  33. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index17.js +75 -0
  34. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index18.js +3 -0
  35. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index19.js +13 -0
  36. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index2.js +10 -0
  37. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index20.js +93 -0
  38. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index21.js +2 -0
  39. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index3.js +40 -0
  40. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index4.js +2 -0
  41. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index5.js +12 -0
  42. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index6.js +131 -0
  43. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index7.js +2 -0
  44. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index8.js +14 -0
  45. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/ui/dist/index9.js +74 -0
  46. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +27 -27
  47. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +185 -174
  48. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +125 -96
  49. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +831 -826
  50. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  51. package/dist/packages/shared-ui-shadcn/dist/index.js +2411 -2354
  52. package/package.json +1 -1
@@ -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, 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";
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, getDocumentsIdNextNumbers as ke, getEntitiesIdSettings as Ae, getEntitiesMe as je, getEntityUsers as Me, getEntityUsersMe as Ne, getEntityUsersMyEntity as Pe, getExternalBankAccounts as Fe, getLedgerAccounts as Ie, getLocation as Le, getMeasureUnits as Re, getMerchantCategoryGroups as ze, getOrganization as Be, getPayables as Ve, getPayablesAnalytics as He, getPayablesId as Ue, getPayablesIdHistory as We, getPayablesIdLineItems as Ge, getPayablesIdSuggestions as Ke, getPaymentRecords as qe, getPaymentTerms as Je, getProducts as Ye, getProductsId as Xe, getReceipts as Ze, getReceivables as Qe, getReceivablesId as $e, getReceivablesIdHistory as et, getReceivablesIdMails as tt, getReceivablesIdPdfLink as nt, getTags as rt, getTransactions as it, getTransactionsValidations as at, getUserData as ot, getUsers as st, grantBankAccountAccess as ct, grantExternalBankAccountAccess as lt, linkExternalBankAccount as ut, listDepartments as dt, listLocations as ft, listRolePermissions as pt, listRoles as mt, manageDebitCardAccess as ht, patchApprovalPoliciesId as gt, patchEntitiesIdSettings as _t, patchLedgerAccountsId as vt, patchReceiptsId as yt, postApprovalPolicies as bt, postLedgerAccounts as xt, putTransactionsValidations as St, setDebitCardLockStatus as Ct, submitApplication as wt, unlinkExternalBankAccount as Tt, updateApplication as Et, updateBankAccount as Dt, updateDebitCard as Ot, updateExternalBankAccount as kt, upsertUserData as At, validateExternalBankAccount as jt, verifyDebitCard as Mt } 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), Mt = (e) => o({
11
+ }, c = (e) => s("getApplicationStatus", e), Nt = (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
- }), Nt = (e) => s("getMerchantCategoryGroups", e), Pt = (e) => o({
22
+ }), l = (e) => s("getMerchantCategoryGroups", e), Pt = (e) => o({
23
23
  queryFn: async ({ queryKey: t, signal: n }) => {
24
- let { data: r } = await Re({
24
+ let { data: r } = await ze({
25
25
  ...e,
26
26
  ...t[0],
27
27
  signal: n,
@@ -29,7 +29,7 @@ var s = (t, n, r, i) => {
29
29
  });
30
30
  return r;
31
31
  },
32
- queryKey: Nt(e)
32
+ queryKey: l(e)
33
33
  }), Ft = (e) => s("getVelocityControls", e), It = (e) => ({ mutationFn: async (t) => {
34
34
  let { data: n } = await ie({
35
35
  ...e,
@@ -44,7 +44,7 @@ var s = (t, n, r, i) => {
44
44
  throwOnError: !0
45
45
  });
46
46
  return n;
47
- } }), l = (e) => s("getBankAccountApplication", e), Rt = (e) => o({
47
+ } }), u = (e) => s("getBankAccountApplication", e), Rt = (e) => o({
48
48
  queryFn: async ({ queryKey: t, signal: n }) => {
49
49
  let { data: r } = await he({
50
50
  ...e,
@@ -54,22 +54,22 @@ var s = (t, n, r, i) => {
54
54
  });
55
55
  return r;
56
56
  },
57
- queryKey: l(e)
57
+ queryKey: u(e)
58
58
  }), zt = (e) => ({ mutationFn: async (t) => {
59
- let { data: n } = await Tt({
59
+ let { data: n } = await Et({
60
60
  ...e,
61
61
  ...t,
62
62
  throwOnError: !0
63
63
  });
64
64
  return n;
65
65
  } }), Bt = (e) => ({ mutationFn: async (t) => {
66
- let { data: n } = await Ct({
66
+ let { data: n } = await wt({
67
67
  ...e,
68
68
  ...t,
69
69
  throwOnError: !0
70
70
  });
71
71
  return n;
72
- } }), u = (e) => s("getBankAccounts", e), Vt = (e) => o({
72
+ } }), d = (e) => s("getBankAccounts", e), Vt = (e) => o({
73
73
  queryFn: async ({ queryKey: t, signal: n }) => {
74
74
  let { data: r } = await ve({
75
75
  ...e,
@@ -79,7 +79,7 @@ var s = (t, n, r, i) => {
79
79
  });
80
80
  return r;
81
81
  },
82
- queryKey: u(e)
82
+ queryKey: d(e)
83
83
  }), Ht = (e) => ({ mutationFn: async (t) => {
84
84
  let { data: n } = await ee({
85
85
  ...e,
@@ -87,7 +87,7 @@ var s = (t, n, r, i) => {
87
87
  throwOnError: !0
88
88
  });
89
89
  return n;
90
- } }), d = (e) => s("getBankAccount", e), Ut = (e) => o({
90
+ } }), f = (e) => s("getBankAccount", e), Ut = (e) => o({
91
91
  queryFn: async ({ queryKey: t, signal: n }) => {
92
92
  let { data: r } = await me({
93
93
  ...e,
@@ -97,16 +97,16 @@ var s = (t, n, r, i) => {
97
97
  });
98
98
  return r;
99
99
  },
100
- queryKey: d(e)
100
+ queryKey: f(e)
101
101
  }), Wt = (e) => ({ mutationFn: async (t) => {
102
- let { data: n } = await Et({
102
+ let { data: n } = await Dt({
103
103
  ...e,
104
104
  ...t,
105
105
  throwOnError: !0
106
106
  });
107
107
  return n;
108
108
  } }), Gt = (e) => s("getBankAccountAccess", e), Kt = (e) => ({ mutationFn: async (t) => {
109
- let { data: n } = await st({
109
+ let { data: n } = await ct({
110
110
  ...e,
111
111
  ...t,
112
112
  throwOnError: !0
@@ -119,7 +119,7 @@ var s = (t, n, r, i) => {
119
119
  throwOnError: !0
120
120
  });
121
121
  return n;
122
- } }), f = (e) => s("getBankAccountTransactions", e), Jt = (e) => o({
122
+ } }), p = (e) => s("getBankAccountTransactions", e), Jt = (e) => o({
123
123
  queryFn: async ({ queryKey: t, signal: n }) => {
124
124
  let { data: r } = await ge({
125
125
  ...e,
@@ -129,8 +129,8 @@ var s = (t, n, r, i) => {
129
129
  });
130
130
  return r;
131
131
  },
132
- queryKey: f(e)
133
- }), p = (e) => s("getBankAccountTransfers", e), Yt = (e) => o({
132
+ queryKey: p(e)
133
+ }), m = (e) => s("getBankAccountTransfers", e), Yt = (e) => o({
134
134
  queryFn: async ({ queryKey: t, signal: n }) => {
135
135
  let { data: r } = await _e({
136
136
  ...e,
@@ -140,8 +140,8 @@ var s = (t, n, r, i) => {
140
140
  });
141
141
  return r;
142
142
  },
143
- queryKey: p(e)
144
- }), m = (e) => s("getCreditCards", e), Xt = (e) => o({
143
+ queryKey: m(e)
144
+ }), h = (e) => s("getCreditCards", e), Xt = (e) => o({
145
145
  queryFn: async ({ queryKey: t, signal: n }) => {
146
146
  let { data: r } = await we({
147
147
  ...e,
@@ -151,8 +151,8 @@ var s = (t, n, r, i) => {
151
151
  });
152
152
  return r;
153
153
  },
154
- queryKey: m(e)
155
- }), h = (e) => s("getCreditCardById", e), Zt = (e) => o({
154
+ queryKey: h(e)
155
+ }), g = (e) => s("getCreditCardById", e), Zt = (e) => o({
156
156
  queryFn: async ({ queryKey: t, signal: n }) => {
157
157
  let { data: r } = await Ce({
158
158
  ...e,
@@ -162,7 +162,7 @@ var s = (t, n, r, i) => {
162
162
  });
163
163
  return r;
164
164
  },
165
- queryKey: h(e)
165
+ queryKey: g(e)
166
166
  }), Qt = (e) => ({ mutationFn: async (n) => {
167
167
  let { data: r } = await t({
168
168
  ...e,
@@ -170,7 +170,7 @@ var s = (t, n, r, i) => {
170
170
  throwOnError: !0
171
171
  });
172
172
  return r;
173
- } }), g = (e) => s("getDebitCards", e), $t = (e) => o({
173
+ } }), _ = (e) => s("getDebitCards", e), $t = (e) => o({
174
174
  queryFn: async ({ queryKey: t, signal: n }) => {
175
175
  let { data: r } = await De({
176
176
  ...e,
@@ -180,7 +180,7 @@ var s = (t, n, r, i) => {
180
180
  });
181
181
  return r;
182
182
  },
183
- queryKey: g(e)
183
+ queryKey: _(e)
184
184
  }), en = (e) => ({ mutationFn: async (t) => {
185
185
  let { data: n } = await re({
186
186
  ...e,
@@ -189,13 +189,13 @@ var s = (t, n, r, i) => {
189
189
  });
190
190
  return n;
191
191
  } }), tn = (e) => ({ mutationFn: async (t) => {
192
- let { data: n } = await mt({
192
+ let { data: n } = await ht({
193
193
  ...e,
194
194
  ...t,
195
195
  throwOnError: !0
196
196
  });
197
197
  return n;
198
- } }), _ = (e) => s("getDebitCardById", e), nn = (e) => o({
198
+ } }), v = (e) => s("getDebitCardById", e), nn = (e) => o({
199
199
  queryFn: async ({ queryKey: t, signal: n }) => {
200
200
  let { data: r } = await Te({
201
201
  ...e,
@@ -205,9 +205,9 @@ var s = (t, n, r, i) => {
205
205
  });
206
206
  return r;
207
207
  },
208
- queryKey: _(e)
208
+ queryKey: v(e)
209
209
  }), rn = (e) => ({ mutationFn: async (t) => {
210
- let { data: n } = await Dt({
210
+ let { data: n } = await Ot({
211
211
  ...e,
212
212
  ...t,
213
213
  throwOnError: !0
@@ -220,7 +220,7 @@ var s = (t, n, r, i) => {
220
220
  throwOnError: !0
221
221
  });
222
222
  return r;
223
- } }), v = (e) => s("getDebitCardCredentials", e), on = (e) => o({
223
+ } }), y = (e) => s("getDebitCardCredentials", e), on = (e) => o({
224
224
  queryFn: async ({ queryKey: t, signal: n }) => {
225
225
  let { data: r } = await Ee({
226
226
  ...e,
@@ -230,24 +230,24 @@ var s = (t, n, r, i) => {
230
230
  });
231
231
  return r;
232
232
  },
233
- queryKey: v(e)
233
+ queryKey: y(e)
234
234
  }), sn = (e) => ({ mutationFn: async (t) => {
235
- let { data: n } = await St({
235
+ let { data: n } = await Ct({
236
236
  ...e,
237
237
  ...t,
238
238
  throwOnError: !0
239
239
  });
240
240
  return n;
241
241
  } }), cn = (e) => ({ mutationFn: async (t) => {
242
- let { data: n } = await jt({
242
+ let { data: n } = await Mt({
243
243
  ...e,
244
244
  ...t,
245
245
  throwOnError: !0
246
246
  });
247
247
  return n;
248
- } }), y = (e) => s("getExternalBankAccounts", e), ln = (e) => o({
248
+ } }), b = (e) => s("getExternalBankAccounts", e), ln = (e) => o({
249
249
  queryFn: async ({ queryKey: t, signal: n }) => {
250
- let { data: r } = await Pe({
250
+ let { data: r } = await Fe({
251
251
  ...e,
252
252
  ...t[0],
253
253
  signal: n,
@@ -255,7 +255,7 @@ var s = (t, n, r, i) => {
255
255
  });
256
256
  return r;
257
257
  },
258
- queryKey: y(e)
258
+ queryKey: b(e)
259
259
  }), un = (e) => ({ mutationFn: async (t) => {
260
260
  let { data: n } = await r({
261
261
  ...e,
@@ -264,35 +264,35 @@ var s = (t, n, r, i) => {
264
264
  });
265
265
  return n;
266
266
  } }), dn = (e) => ({ mutationFn: async (t) => {
267
- let { data: n } = await wt({
267
+ let { data: n } = await Tt({
268
268
  ...e,
269
269
  ...t,
270
270
  throwOnError: !0
271
271
  });
272
272
  return n;
273
273
  } }), fn = (e) => ({ mutationFn: async (t) => {
274
- let { data: n } = await Ot({
274
+ let { data: n } = await kt({
275
275
  ...e,
276
276
  ...t,
277
277
  throwOnError: !0
278
278
  });
279
279
  return n;
280
280
  } }), pn = (e) => s("getExternalBankAccountAccess", e), mn = (e) => ({ mutationFn: async (t) => {
281
- let { data: n } = await ct({
281
+ let { data: n } = await lt({
282
282
  ...e,
283
283
  ...t,
284
284
  throwOnError: !0
285
285
  });
286
286
  return n;
287
287
  } }), hn = (e) => ({ mutationFn: async (t) => {
288
- let { data: n } = await lt({
288
+ let { data: n } = await ut({
289
289
  ...e,
290
290
  ...t,
291
291
  throwOnError: !0
292
292
  });
293
293
  return n;
294
294
  } }), gn = (e) => ({ mutationFn: async (t) => {
295
- let { data: n } = await At({
295
+ let { data: n } = await jt({
296
296
  ...e,
297
297
  ...t,
298
298
  throwOnError: !0
@@ -312,7 +312,7 @@ var s = (t, n, r, i) => {
312
312
  throwOnError: !0
313
313
  });
314
314
  return n;
315
- } }), b = (e) => s("getAnalyticsPayables", e), yn = (e) => o({
315
+ } }), x = (e) => s("getAnalyticsPayables", e), yn = (e) => o({
316
316
  queryFn: async ({ queryKey: t, signal: n }) => {
317
317
  let { data: r } = await le({
318
318
  ...e,
@@ -322,8 +322,8 @@ var s = (t, n, r, i) => {
322
322
  });
323
323
  return r;
324
324
  },
325
- queryKey: b(e)
326
- }), x = (e) => s("getAnalyticsReceivables", e), bn = (e) => o({
325
+ queryKey: x(e)
326
+ }), S = (e) => s("getAnalyticsReceivables", e), bn = (e) => o({
327
327
  queryFn: async ({ queryKey: t, signal: n }) => {
328
328
  let { data: r } = await ue({
329
329
  ...e,
@@ -333,8 +333,8 @@ var s = (t, n, r, i) => {
333
333
  });
334
334
  return r;
335
335
  },
336
- queryKey: x(e)
337
- }), S = (e) => s("getApprovalPolicies", e), xn = (e) => o({
336
+ queryKey: S(e)
337
+ }), C = (e) => s("getApprovalPolicies", e), xn = (e) => o({
338
338
  queryFn: async ({ queryKey: t, signal: n }) => {
339
339
  let { data: r } = await fe({
340
340
  ...e,
@@ -344,9 +344,9 @@ var s = (t, n, r, i) => {
344
344
  });
345
345
  return r;
346
346
  },
347
- queryKey: S(e)
347
+ queryKey: C(e)
348
348
  }), Sn = (e) => ({ mutationFn: async (t) => {
349
- let { data: n } = await yt({
349
+ let { data: n } = await bt({
350
350
  ...e,
351
351
  ...t,
352
352
  throwOnError: !0
@@ -360,13 +360,13 @@ var s = (t, n, r, i) => {
360
360
  });
361
361
  return n;
362
362
  } }), wn = (e) => ({ mutationFn: async (t) => {
363
- let { data: n } = await ht({
363
+ let { data: n } = await gt({
364
364
  ...e,
365
365
  ...t,
366
366
  throwOnError: !0
367
367
  });
368
368
  return n;
369
- } }), C = (e) => s("getApprovalRequests", e), Tn = (e) => o({
369
+ } }), w = (e) => s("getApprovalRequests", e), Tn = (e) => o({
370
370
  queryFn: async ({ queryKey: t, signal: n }) => {
371
371
  let { data: r } = await pe({
372
372
  ...e,
@@ -376,8 +376,8 @@ var s = (t, n, r, i) => {
376
376
  });
377
377
  return r;
378
378
  },
379
- queryKey: C(e)
380
- }), w = (e) => s("getCounterparts", e), En = (e) => o({
379
+ queryKey: w(e)
380
+ }), T = (e) => s("getCounterparts", e), En = (e) => o({
381
381
  queryFn: async ({ queryKey: t, signal: n }) => {
382
382
  let { data: r } = await ye({
383
383
  ...e,
@@ -387,8 +387,8 @@ var s = (t, n, r, i) => {
387
387
  });
388
388
  return r;
389
389
  },
390
- queryKey: w(e)
391
- }), T = (e) => s("getCounterpartsId", e), Dn = (e) => o({
390
+ queryKey: T(e)
391
+ }), E = (e) => s("getCounterpartsId", e), Dn = (e) => o({
392
392
  queryFn: async ({ queryKey: t, signal: n }) => {
393
393
  let { data: r } = await be({
394
394
  ...e,
@@ -398,8 +398,8 @@ var s = (t, n, r, i) => {
398
398
  });
399
399
  return r;
400
400
  },
401
- queryKey: T(e)
402
- }), E = (e) => s("getCounterpartsIdAddresses", e), On = (e) => o({
401
+ queryKey: E(e)
402
+ }), D = (e) => s("getCounterpartsIdAddresses", e), On = (e) => o({
403
403
  queryFn: async ({ queryKey: t, signal: n }) => {
404
404
  let { data: r } = await xe({
405
405
  ...e,
@@ -409,8 +409,8 @@ var s = (t, n, r, i) => {
409
409
  });
410
410
  return r;
411
411
  },
412
- queryKey: E(e)
413
- }), D = (e) => s("getCounterpartsIdBankAccounts", e), kn = (e) => o({
412
+ queryKey: D(e)
413
+ }), O = (e) => s("getCounterpartsIdBankAccounts", e), kn = (e) => o({
414
414
  queryFn: async ({ queryKey: t, signal: n }) => {
415
415
  let { data: r } = await Se({
416
416
  ...e,
@@ -420,10 +420,10 @@ var s = (t, n, r, i) => {
420
420
  });
421
421
  return r;
422
422
  },
423
- queryKey: D(e)
424
- }), O = (e) => s("getEntitiesMe", e), An = (e) => o({
423
+ queryKey: O(e)
424
+ }), k = (e) => s("getDocumentsIdNextNumbers", e), An = (e) => o({
425
425
  queryFn: async ({ queryKey: t, signal: n }) => {
426
- let { data: r } = await Ae({
426
+ let { data: r } = await ke({
427
427
  ...e,
428
428
  ...t[0],
429
429
  signal: n,
@@ -431,10 +431,10 @@ var s = (t, n, r, i) => {
431
431
  });
432
432
  return r;
433
433
  },
434
- queryKey: O(e)
435
- }), k = (e) => s("getEntitiesIdSettings", e), jn = (e) => o({
434
+ queryKey: k(e)
435
+ }), A = (e) => s("getEntitiesMe", e), jn = (e) => o({
436
436
  queryFn: async ({ queryKey: t, signal: n }) => {
437
- let { data: r } = await ke({
437
+ let { data: r } = await je({
438
438
  ...e,
439
439
  ...t[0],
440
440
  signal: n,
@@ -442,17 +442,28 @@ var s = (t, n, r, i) => {
442
442
  });
443
443
  return r;
444
444
  },
445
- queryKey: k(e)
446
- }), Mn = (e) => ({ mutationFn: async (t) => {
447
- let { data: n } = await gt({
445
+ queryKey: A(e)
446
+ }), j = (e) => s("getEntitiesIdSettings", e), Mn = (e) => o({
447
+ queryFn: async ({ queryKey: t, signal: n }) => {
448
+ let { data: r } = await Ae({
449
+ ...e,
450
+ ...t[0],
451
+ signal: n,
452
+ throwOnError: !0
453
+ });
454
+ return r;
455
+ },
456
+ queryKey: j(e)
457
+ }), Nn = (e) => ({ mutationFn: async (t) => {
458
+ let { data: n } = await _t({
448
459
  ...e,
449
460
  ...t,
450
461
  throwOnError: !0
451
462
  });
452
463
  return n;
453
- } }), A = (e) => s("getEntityUsers", e), Nn = (e) => o({
464
+ } }), M = (e) => s("getEntityUsers", 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,
@@ -460,10 +471,10 @@ var s = (t, n, r, i) => {
460
471
  });
461
472
  return r;
462
473
  },
463
- queryKey: A(e)
464
- }), j = (e) => s("getEntityUsersMe", e), Pn = (e) => o({
474
+ queryKey: M(e)
475
+ }), N = (e) => s("getEntityUsersMe", e), Fn = (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: j(e)
475
- }), Fn = (e) => s("getEntityUsersMyEntity", e), In = (e) => o({
485
+ queryKey: N(e)
486
+ }), P = (e) => s("getEntityUsersMyEntity", e), In = (e) => o({
476
487
  queryFn: async ({ queryKey: t, signal: n }) => {
477
- let { data: r } = await Ne({
488
+ let { data: r } = await Pe({
478
489
  ...e,
479
490
  ...t[0],
480
491
  signal: n,
@@ -482,10 +493,10 @@ var s = (t, n, r, i) => {
482
493
  });
483
494
  return r;
484
495
  },
485
- queryKey: Fn(e)
486
- }), M = (e) => s("getLedgerAccounts", e), Ln = (e) => o({
496
+ queryKey: P(e)
497
+ }), F = (e) => s("getLedgerAccounts", e), Ln = (e) => o({
487
498
  queryFn: async ({ queryKey: t, signal: n }) => {
488
- let { data: r } = await Fe({
499
+ let { data: r } = await Ie({
489
500
  ...e,
490
501
  ...t[0],
491
502
  signal: n,
@@ -493,9 +504,9 @@ var s = (t, n, r, i) => {
493
504
  });
494
505
  return r;
495
506
  },
496
- queryKey: M(e)
507
+ queryKey: F(e)
497
508
  }), Rn = (e) => ({ mutationFn: async (t) => {
498
- let { data: n } = await bt({
509
+ let { data: n } = await xt({
499
510
  ...e,
500
511
  ...t,
501
512
  throwOnError: !0
@@ -509,26 +520,15 @@ var s = (t, n, r, i) => {
509
520
  });
510
521
  return n;
511
522
  } }), Bn = (e) => ({ mutationFn: async (t) => {
512
- let { data: n } = await _t({
523
+ let { data: n } = await vt({
513
524
  ...e,
514
525
  ...t,
515
526
  throwOnError: !0
516
527
  });
517
528
  return n;
518
- } }), N = (e) => s("getMeasureUnits", e), Vn = (e) => o({
519
- queryFn: async ({ queryKey: t, signal: n }) => {
520
- let { data: r } = await Le({
521
- ...e,
522
- ...t[0],
523
- signal: n,
524
- throwOnError: !0
525
- });
526
- return r;
527
- },
528
- queryKey: N(e)
529
- }), P = (e) => s("getPayables", e), Hn = (e) => o({
529
+ } }), Vn = (e) => s("getMeasureUnits", e), Hn = (e) => o({
530
530
  queryFn: async ({ queryKey: t, signal: n }) => {
531
- let { data: r } = await Be({
531
+ let { data: r } = await Re({
532
532
  ...e,
533
533
  ...t[0],
534
534
  signal: n,
@@ -536,8 +536,8 @@ var s = (t, n, r, i) => {
536
536
  });
537
537
  return r;
538
538
  },
539
- queryKey: P(e)
540
- }), F = (e) => s("getPayablesAnalytics", e), Un = (e) => o({
539
+ queryKey: Vn(e)
540
+ }), I = (e) => s("getPayables", e), Un = (e) => o({
541
541
  queryFn: async ({ queryKey: t, signal: n }) => {
542
542
  let { data: r } = await Ve({
543
543
  ...e,
@@ -547,8 +547,8 @@ var s = (t, n, r, i) => {
547
547
  });
548
548
  return r;
549
549
  },
550
- queryKey: F(e)
551
- }), I = (e) => s("getPayablesId", e), Wn = (e) => o({
550
+ queryKey: I(e)
551
+ }), L = (e) => s("getPayablesAnalytics", e), Wn = (e) => o({
552
552
  queryFn: async ({ queryKey: t, signal: n }) => {
553
553
  let { data: r } = await He({
554
554
  ...e,
@@ -558,8 +558,8 @@ var s = (t, n, r, i) => {
558
558
  });
559
559
  return r;
560
560
  },
561
- queryKey: I(e)
562
- }), L = (e) => s("getPayablesIdHistory", e), Gn = (e) => o({
561
+ queryKey: L(e)
562
+ }), R = (e) => s("getPayablesId", e), Gn = (e) => o({
563
563
  queryFn: async ({ queryKey: t, signal: n }) => {
564
564
  let { data: r } = await Ue({
565
565
  ...e,
@@ -569,8 +569,8 @@ var s = (t, n, r, i) => {
569
569
  });
570
570
  return r;
571
571
  },
572
- queryKey: L(e)
573
- }), R = (e) => s("getPayablesIdLineItems", e), Kn = (e) => o({
572
+ queryKey: R(e)
573
+ }), z = (e) => s("getPayablesIdHistory", e), Kn = (e) => o({
574
574
  queryFn: async ({ queryKey: t, signal: n }) => {
575
575
  let { data: r } = await We({
576
576
  ...e,
@@ -580,8 +580,8 @@ var s = (t, n, r, i) => {
580
580
  });
581
581
  return r;
582
582
  },
583
- queryKey: R(e)
584
- }), z = (e) => s("getPayablesIdSuggestions", e), qn = (e) => o({
583
+ queryKey: z(e)
584
+ }), B = (e) => s("getPayablesIdLineItems", e), qn = (e) => o({
585
585
  queryFn: async ({ queryKey: t, signal: n }) => {
586
586
  let { data: r } = await Ge({
587
587
  ...e,
@@ -591,8 +591,8 @@ var s = (t, n, r, i) => {
591
591
  });
592
592
  return r;
593
593
  },
594
- queryKey: z(e)
595
- }), B = (e) => s("getPaymentRecords", e), Jn = (e) => o({
594
+ queryKey: B(e)
595
+ }), V = (e) => s("getPayablesIdSuggestions", e), Jn = (e) => o({
596
596
  queryFn: async ({ queryKey: t, signal: n }) => {
597
597
  let { data: r } = await Ke({
598
598
  ...e,
@@ -602,8 +602,8 @@ var s = (t, n, r, i) => {
602
602
  });
603
603
  return r;
604
604
  },
605
- queryKey: B(e)
606
- }), V = (e) => s("getPaymentTerms", e), Yn = (e) => o({
605
+ queryKey: V(e)
606
+ }), H = (e) => s("getPaymentRecords", e), Yn = (e) => o({
607
607
  queryFn: async ({ queryKey: t, signal: n }) => {
608
608
  let { data: r } = await qe({
609
609
  ...e,
@@ -613,8 +613,8 @@ var s = (t, n, r, i) => {
613
613
  });
614
614
  return r;
615
615
  },
616
- queryKey: V(e)
617
- }), H = (e) => s("getProducts", e), Xn = (e) => o({
616
+ queryKey: H(e)
617
+ }), U = (e) => s("getPaymentTerms", e), Xn = (e) => o({
618
618
  queryFn: async ({ queryKey: t, signal: n }) => {
619
619
  let { data: r } = await Je({
620
620
  ...e,
@@ -624,8 +624,8 @@ var s = (t, n, r, i) => {
624
624
  });
625
625
  return r;
626
626
  },
627
- queryKey: H(e)
628
- }), U = (e) => s("getProductsId", e), Zn = (e) => o({
627
+ queryKey: U(e)
628
+ }), W = (e) => s("getProducts", e), Zn = (e) => o({
629
629
  queryFn: async ({ queryKey: t, signal: n }) => {
630
630
  let { data: r } = await Ye({
631
631
  ...e,
@@ -635,8 +635,8 @@ var s = (t, n, r, i) => {
635
635
  });
636
636
  return r;
637
637
  },
638
- queryKey: U(e)
639
- }), W = (e) => s("getReceipts", e), Qn = (e) => o({
638
+ queryKey: W(e)
639
+ }), G = (e) => s("getProductsId", e), Qn = (e) => o({
640
640
  queryFn: async ({ queryKey: t, signal: n }) => {
641
641
  let { data: r } = await Xe({
642
642
  ...e,
@@ -646,24 +646,35 @@ var s = (t, n, r, i) => {
646
646
  });
647
647
  return r;
648
648
  },
649
- queryKey: W(e)
650
- }), $n = (e) => ({ mutationFn: async (t) => {
649
+ queryKey: G(e)
650
+ }), K = (e) => s("getReceipts", e), $n = (e) => o({
651
+ queryFn: async ({ queryKey: t, signal: n }) => {
652
+ let { data: r } = await Ze({
653
+ ...e,
654
+ ...t[0],
655
+ signal: n,
656
+ throwOnError: !0
657
+ });
658
+ return r;
659
+ },
660
+ queryKey: K(e)
661
+ }), er = (e) => ({ mutationFn: async (t) => {
651
662
  let { data: n } = await se({
652
663
  ...e,
653
664
  ...t,
654
665
  throwOnError: !0
655
666
  });
656
667
  return n;
657
- } }), er = (e) => s("getReceiptsId", e), tr = (e) => ({ mutationFn: async (t) => {
658
- let { data: n } = await vt({
668
+ } }), tr = (e) => s("getReceiptsId", e), nr = (e) => ({ mutationFn: async (t) => {
669
+ let { data: n } = await yt({
659
670
  ...e,
660
671
  ...t,
661
672
  throwOnError: !0
662
673
  });
663
674
  return n;
664
- } }), G = (e) => s("getReceivables", e), nr = (e) => o({
675
+ } }), q = (e) => s("getReceivables", 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,
@@ -671,10 +682,10 @@ var s = (t, n, r, i) => {
671
682
  });
672
683
  return r;
673
684
  },
674
- queryKey: G(e)
675
- }), K = (e) => s("getReceivablesId", e), rr = (e) => o({
685
+ queryKey: q(e)
686
+ }), J = (e) => s("getReceivablesId", 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,
@@ -682,10 +693,10 @@ var s = (t, n, r, i) => {
682
693
  });
683
694
  return r;
684
695
  },
685
- queryKey: K(e)
686
- }), q = (e) => s("getReceivablesIdHistory", e), ir = (e) => o({
696
+ queryKey: J(e)
697
+ }), Y = (e) => s("getReceivablesIdHistory", 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,
@@ -693,10 +704,10 @@ var s = (t, n, r, i) => {
693
704
  });
694
705
  return r;
695
706
  },
696
- queryKey: q(e)
697
- }), J = (e) => s("getReceivablesIdMails", e), ar = (e) => o({
707
+ queryKey: Y(e)
708
+ }), X = (e) => s("getReceivablesIdMails", 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,
@@ -704,10 +715,10 @@ var s = (t, n, r, i) => {
704
715
  });
705
716
  return r;
706
717
  },
707
- queryKey: J(e)
708
- }), Y = (e) => s("getReceivablesIdPdfLink", e), or = (e) => o({
718
+ queryKey: X(e)
719
+ }), Z = (e) => s("getReceivablesIdPdfLink", 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,
@@ -715,10 +726,10 @@ var s = (t, n, r, i) => {
715
726
  });
716
727
  return r;
717
728
  },
718
- queryKey: Y(e)
719
- }), X = (e) => s("getTags", e), sr = (e) => o({
729
+ queryKey: Z(e)
730
+ }), Q = (e) => s("getTags", 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,
@@ -726,10 +737,10 @@ var s = (t, n, r, i) => {
726
737
  });
727
738
  return r;
728
739
  },
729
- queryKey: X(e)
730
- }), Z = (e) => s("getTransactions", e), cr = (e) => o({
740
+ queryKey: Q(e)
741
+ }), lr = (e) => s("getTransactions", e), ur = (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,
@@ -737,10 +748,10 @@ var s = (t, n, r, i) => {
737
748
  });
738
749
  return r;
739
750
  },
740
- queryKey: Z(e)
741
- }), Q = (e) => s("getTransactionsValidations", e), lr = (e) => o({
751
+ queryKey: lr(e)
752
+ }), dr = (e) => s("getTransactionsValidations", e), fr = (e) => o({
742
753
  queryFn: async ({ queryKey: t, signal: n }) => {
743
- let { data: r } = await it({
754
+ let { data: r } = await at({
744
755
  ...e,
745
756
  ...t[0],
746
757
  signal: n,
@@ -748,17 +759,17 @@ var s = (t, n, r, i) => {
748
759
  });
749
760
  return r;
750
761
  },
751
- queryKey: Q(e)
752
- }), ur = (e) => ({ mutationFn: async (t) => {
753
- let { data: n } = await xt({
762
+ queryKey: dr(e)
763
+ }), pr = (e) => ({ mutationFn: async (t) => {
764
+ let { data: n } = await St({
754
765
  ...e,
755
766
  ...t,
756
767
  throwOnError: !0
757
768
  });
758
769
  return n;
759
- } }), dr = (e) => s("getTransactionsId", e), fr = (e) => s("listDepartments", e), pr = (e) => o({
770
+ } }), mr = (e) => s("getTransactionsId", e), hr = (e) => s("listDepartments", e), gr = (e) => o({
760
771
  queryFn: async ({ queryKey: t, signal: n }) => {
761
- let { data: r } = await ut({
772
+ let { data: r } = await dt({
762
773
  ...e,
763
774
  ...t[0],
764
775
  signal: n,
@@ -766,8 +777,8 @@ var s = (t, n, r, i) => {
766
777
  });
767
778
  return r;
768
779
  },
769
- queryKey: fr(e)
770
- }), mr = (e) => s("getDepartment", e), hr = (e) => o({
780
+ queryKey: hr(e)
781
+ }), _r = (e) => s("getDepartment", e), vr = (e) => o({
771
782
  queryFn: async ({ queryKey: t, signal: n }) => {
772
783
  let { data: r } = await Oe({
773
784
  ...e,
@@ -777,10 +788,10 @@ var s = (t, n, r, i) => {
777
788
  });
778
789
  return r;
779
790
  },
780
- queryKey: mr(e)
781
- }), gr = (e) => s("listLocations", e), _r = (e) => o({
791
+ queryKey: _r(e)
792
+ }), yr = (e) => s("listLocations", e), br = (e) => o({
782
793
  queryFn: async ({ queryKey: t, signal: n }) => {
783
- let { data: r } = await dt({
794
+ let { data: r } = await ft({
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: gr(e)
792
- }), vr = (e) => s("getLocation", e), yr = (e) => o({
802
+ queryKey: yr(e)
803
+ }), xr = (e) => s("getLocation", e), Sr = (e) => o({
793
804
  queryFn: async ({ queryKey: t, signal: n }) => {
794
- let { data: r } = await Ie({
805
+ let { data: r } = await Le({
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: vr(e)
803
- }), br = (e) => s("getOrganization", e), xr = (e) => o({
813
+ queryKey: xr(e)
814
+ }), Cr = (e) => s("getOrganization", e), wr = (e) => o({
804
815
  queryFn: async ({ queryKey: t, signal: n }) => {
805
- let { data: r } = await ze({
816
+ let { data: r } = await Be({
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: br(e)
814
- }), $ = (e) => s("listRoles", e), Sr = (e) => o({
824
+ queryKey: Cr(e)
825
+ }), Tr = (e) => s("listRoles", e), Er = (e) => o({
815
826
  queryFn: async ({ queryKey: t, signal: n }) => {
816
- let { data: r } = await pt({
827
+ let { data: r } = await mt({
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: $(e)
825
- }), Cr = (e) => s("listRolePermissions", e), wr = (e) => o({
835
+ queryKey: Tr(e)
836
+ }), Dr = (e) => s("listRolePermissions", e), Or = (e) => o({
826
837
  queryFn: async ({ queryKey: t, signal: n }) => {
827
- let { data: r } = await ft({
838
+ let { data: r } = await pt({
828
839
  ...e,
829
840
  ...t[0],
830
841
  signal: n,
@@ -832,10 +843,10 @@ var s = (t, n, r, i) => {
832
843
  });
833
844
  return r;
834
845
  },
835
- queryKey: Cr(e)
836
- }), Tr = (e) => s("getUserData", e), Er = (e) => o({
846
+ queryKey: Dr(e)
847
+ }), kr = (e) => s("getUserData", e), Ar = (e) => o({
837
848
  queryFn: async ({ queryKey: t, signal: n }) => {
838
- let { data: r } = await at({
849
+ let { data: r } = await ot({
839
850
  ...e,
840
851
  ...t[0],
841
852
  signal: n,
@@ -843,17 +854,17 @@ var s = (t, n, r, i) => {
843
854
  });
844
855
  return r;
845
856
  },
846
- queryKey: Tr(e)
847
- }), Dr = (e) => ({ mutationFn: async (t) => {
848
- let { data: n } = await kt({
857
+ queryKey: kr(e)
858
+ }), jr = (e) => ({ mutationFn: async (t) => {
859
+ let { data: n } = await At({
849
860
  ...e,
850
861
  ...t,
851
862
  throwOnError: !0
852
863
  });
853
864
  return n;
854
- } }), Or = (e) => s("getUsers", e), kr = (e) => o({
865
+ } }), $ = (e) => s("getUsers", e), Mr = (e) => o({
855
866
  queryFn: async ({ queryKey: t, signal: n }) => {
856
- let { data: r } = await ot({
867
+ let { data: r } = await st({
857
868
  ...e,
858
869
  ...t[0],
859
870
  signal: n,
@@ -861,8 +872,8 @@ var s = (t, n, r, i) => {
861
872
  });
862
873
  return r;
863
874
  },
864
- queryKey: Or(e)
865
- }), Ar = (e) => ({ mutationFn: async (t) => {
875
+ queryKey: $(e)
876
+ }), Nr = (e) => ({ mutationFn: async (t) => {
866
877
  let { data: n } = await ce({
867
878
  ...e,
868
879
  ...t,
@@ -871,4 +882,4 @@ var s = (t, n, r, i) => {
871
882
  return n;
872
883
  } });
873
884
  //#endregion
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 };
885
+ 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, er as deleteReceiptsIdMutation, Nr as disableUserMutation, yn as getAnalyticsPayablesOptions, x as getAnalyticsPayablesQueryKey, bn as getAnalyticsReceivablesOptions, S as getAnalyticsReceivablesQueryKey, Nt as getApplicationStatusOptions, c as getApplicationStatusQueryKey, xn as getApprovalPoliciesOptions, C as getApprovalPoliciesQueryKey, Tn as getApprovalRequestsOptions, w as getApprovalRequestsQueryKey, Gt as getBankAccountAccessQueryKey, Rt as getBankAccountApplicationOptions, u as getBankAccountApplicationQueryKey, Ut as getBankAccountOptions, f as getBankAccountQueryKey, Jt as getBankAccountTransactionsOptions, p as getBankAccountTransactionsQueryKey, Yt as getBankAccountTransfersOptions, m as getBankAccountTransfersQueryKey, Vt as getBankAccountsOptions, d as getBankAccountsQueryKey, On as getCounterpartsIdAddressesOptions, D as getCounterpartsIdAddressesQueryKey, kn as getCounterpartsIdBankAccountsOptions, O as getCounterpartsIdBankAccountsQueryKey, Dn as getCounterpartsIdOptions, E as getCounterpartsIdQueryKey, En as getCounterpartsOptions, T as getCounterpartsQueryKey, Zt as getCreditCardByIdOptions, g as getCreditCardByIdQueryKey, Xt as getCreditCardsOptions, h as getCreditCardsQueryKey, nn as getDebitCardByIdOptions, v as getDebitCardByIdQueryKey, on as getDebitCardCredentialsOptions, y as getDebitCardCredentialsQueryKey, $t as getDebitCardsOptions, _ as getDebitCardsQueryKey, vr as getDepartmentOptions, _r as getDepartmentQueryKey, An as getDocumentsIdNextNumbersOptions, k as getDocumentsIdNextNumbersQueryKey, Mn as getEntitiesIdSettingsOptions, j as getEntitiesIdSettingsQueryKey, jn as getEntitiesMeOptions, A as getEntitiesMeQueryKey, Fn as getEntityUsersMeOptions, N as getEntityUsersMeQueryKey, In as getEntityUsersMyEntityOptions, P as getEntityUsersMyEntityQueryKey, Pn as getEntityUsersOptions, M as getEntityUsersQueryKey, pn as getExternalBankAccountAccessQueryKey, ln as getExternalBankAccountsOptions, b as getExternalBankAccountsQueryKey, Ln as getLedgerAccountsOptions, F as getLedgerAccountsQueryKey, Sr as getLocationOptions, xr as getLocationQueryKey, Hn as getMeasureUnitsOptions, Vn as getMeasureUnitsQueryKey, Pt as getMerchantCategoryGroupsOptions, l as getMerchantCategoryGroupsQueryKey, wr as getOrganizationOptions, Cr as getOrganizationQueryKey, Wn as getPayablesAnalyticsOptions, L as getPayablesAnalyticsQueryKey, Kn as getPayablesIdHistoryOptions, z as getPayablesIdHistoryQueryKey, qn as getPayablesIdLineItemsOptions, B as getPayablesIdLineItemsQueryKey, Gn as getPayablesIdOptions, R as getPayablesIdQueryKey, Jn as getPayablesIdSuggestionsOptions, V as getPayablesIdSuggestionsQueryKey, Un as getPayablesOptions, I as getPayablesQueryKey, Yn as getPaymentRecordsOptions, H as getPaymentRecordsQueryKey, Xn as getPaymentTermsOptions, U as getPaymentTermsQueryKey, Qn as getProductsIdOptions, G as getProductsIdQueryKey, Zn as getProductsOptions, W as getProductsQueryKey, tr as getReceiptsIdQueryKey, $n as getReceiptsOptions, K as getReceiptsQueryKey, ar as getReceivablesIdHistoryOptions, Y as getReceivablesIdHistoryQueryKey, or as getReceivablesIdMailsOptions, X as getReceivablesIdMailsQueryKey, ir as getReceivablesIdOptions, sr as getReceivablesIdPdfLinkOptions, Z as getReceivablesIdPdfLinkQueryKey, J as getReceivablesIdQueryKey, rr as getReceivablesOptions, q as getReceivablesQueryKey, cr as getTagsOptions, Q as getTagsQueryKey, mr as getTransactionsIdQueryKey, ur as getTransactionsOptions, lr as getTransactionsQueryKey, fr as getTransactionsValidationsOptions, dr as getTransactionsValidationsQueryKey, Ar as getUserDataOptions, kr as getUserDataQueryKey, Mr as getUsersOptions, $ as getUsersQueryKey, Ft as getVelocityControlsQueryKey, Kt as grantBankAccountAccessMutation, mn as grantExternalBankAccountAccessMutation, hn as linkExternalBankAccountMutation, gr as listDepartmentsOptions, hr as listDepartmentsQueryKey, br as listLocationsOptions, yr as listLocationsQueryKey, Or as listRolePermissionsOptions, Dr as listRolePermissionsQueryKey, Er as listRolesOptions, Tr as listRolesQueryKey, tn as manageDebitCardAccessMutation, wn as patchApprovalPoliciesIdMutation, Nn as patchEntitiesIdSettingsMutation, Bn as patchLedgerAccountsIdMutation, nr as patchReceiptsIdMutation, Sn as postApprovalPoliciesMutation, Rn as postLedgerAccountsMutation, pr as putTransactionsValidationsMutation, sn as setDebitCardLockStatusMutation, Bt as submitApplicationMutation, dn as unlinkExternalBankAccountMutation, zt as updateApplicationMutation, Wt as updateBankAccountMutation, rn as updateDebitCardMutation, fn as updateExternalBankAccountMutation, jr as upsertUserDataMutation, gn as validateExternalBankAccountMutation, cn as verifyDebitCardMutation };