@tesouro/embedded-components-react 0.5.224 → 0.5.226

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 (41) hide show
  1. package/README.md +335 -413
  2. package/dist/index.d.ts +23 -2
  3. package/dist/index.js +1 -1
  4. package/dist/lib/ReceivablesWidget.d.ts +23 -2
  5. package/dist/lib/ReceivablesWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +4 -4
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +45 -31
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +51 -32
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +20 -1
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +17 -202
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +220 -31
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +32 -145
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +126 -44
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +145 -117
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +46 -58
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +113 -87
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +58 -116
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +98 -225
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +111 -27
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +225 -462
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +34 -41
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +627 -34
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +39 -77
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +34 -112
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +75 -310
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +124 -0
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +324 -0
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index6.js +20 -15
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +56 -53
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +33 -29
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +184 -162
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +1 -3
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +78 -69
  35. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/CounterpartSelector.js +7 -6
  36. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index15.js +20 -19
  37. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +39 -39
  38. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +210 -199
  39. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +60 -52
  40. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  41. 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, deleteBankAccountApplication as oe, deleteLedgerAccountsId as se, deleteReceiptsId as ce, disableUser as le, getAnalyticsPayables as ue, getAnalyticsReceipts as de, getAnalyticsReceivables as fe, getAnalyticsTransactions as pe, getApplicationStatus as me, getApprovalPolicies as he, getApprovalRequests as ge, getBankAccount as _e, getBankAccountApplication as ve, getBankAccountStatements as ye, getBankAccountTransactions as be, getBankAccountTransfers as xe, getBankAccounts as Se, getBankDetails as Ce, getCounterparts as we, getCounterpartsId as Te, getCounterpartsIdAddresses as Ee, getCounterpartsIdBankAccounts as De, getCreditCardById as Oe, getCreditCards as ke, getDebitCardById as Ae, getDebitCardCredentials as je, getDebitCards as Me, getDepartment as Ne, getDepositableBankAccounts as Pe, getDocumentsIdNextNumbers as Fe, getEntitiesIdSettings as Ie, getEntityUsers as Le, getEntityUsersMe as Re, getEntityUsersMyEntity as ze, getExternalBankAccounts as Be, getLedgerAccounts as Ve, getLocation as He, getMailboxes as Ue, getMeasureUnits as We, getMerchantCategoryGroups as Ge, getOrganization as Ke, getOverdueReminders as qe, getPayables as Je, getPayablesId as Ye, getPayablesIdHistory as Xe, getPayablesIdLineItems as Ze, getPayablesIdSuggestions as Qe, getPaymentRecords as $e, getPaymentReminders as et, getPaymentTerms as tt, getProducts as nt, getProductsId as rt, getReceipts as it, getReceivables as at, getReceivablesId as ot, getReceivablesIdHistory as st, getReceivablesIdMails as ct, getReceivablesIdPdfLink as lt, getRecurrencesId as ut, getTransactions as dt, getTransactionsId as ft, getTransactionsIdExpenseHistory as pt, getTransactionsValidations as mt, getUserData as ht, getUsers as gt, grantBankAccountAccess as _t, grantExternalBankAccountAccess as vt, linkExternalBankAccount as yt, listDepartments as bt, listLocations as xt, listRolePermissions as St, listRoles as Ct, manageDebitCardAccess as wt, patchApprovalPoliciesId as Tt, patchLedgerAccountsId as Et, patchReceiptsId as Dt, postApprovalPolicies as Ot, postLedgerAccounts as kt, postReceiptsUploadFromFile as At, putTransactionsValidations as jt, setDebitCardLockStatus as Mt, submitApplication as Nt, unlinkExternalBankAccount as Pt, updateApplication as Ft, updateBankAccount as It, updateDebitCard as Lt, updateExternalBankAccount as Rt, upsertUserData as zt, validateExternalBankAccount as Bt, verifyDebitCard as Vt } 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, deleteBankAccountApplication as oe, deleteLedgerAccountsId as se, deleteReceiptsId as ce, disableUser as le, getAnalyticsPayables as ue, getAnalyticsReceipts as de, getAnalyticsReceivables as fe, getAnalyticsTransactions as pe, getApplicationStatus as me, getApprovalPolicies as he, getApprovalRequests as ge, getBankAccount as _e, getBankAccountApplication as ve, getBankAccountStatements as ye, getBankAccountTransactions as be, getBankAccountTransfers as xe, getBankAccounts as Se, getBankDetails as Ce, getCounterparts as we, getCounterpartsId as Te, getCounterpartsIdAddresses as Ee, getCounterpartsIdBankAccounts as De, getCreditCardById as Oe, getCreditCards as ke, getDebitCardById as Ae, getDebitCardCredentials as je, getDebitCards as Me, getDepartment as Ne, getDepositableBankAccounts as Pe, getDocumentsIdNextNumbers as Fe, getEntitiesIdSettings as Ie, getEntityUsers as Le, getEntityUsersMe as Re, getEntityUsersMyEntity as ze, getExternalBankAccounts as Be, getLedgerAccounts as Ve, getLocation as He, getMailboxes as Ue, getMeasureUnits as We, getMerchantCategoryGroups as Ge, getOrganization as Ke, getOverdueReminders as qe, getPayables as Je, getPayablesId as Ye, getPayablesIdHistory as Xe, getPayablesIdLineItems as Ze, getPayablesIdSuggestions as Qe, getPaymentRecords as $e, getPaymentReminders as et, getPaymentTerms as tt, getProducts as nt, getProductsId as rt, getReceipts as it, getReceivables as at, getReceivablesId as ot, getReceivablesIdHistory as st, getReceivablesIdMails as ct, getReceivablesIdPdfLink as lt, getReceivablesRequiredFields as ut, getRecurrencesId as dt, getTransactions as ft, getTransactionsId as pt, getTransactionsIdExpenseHistory as mt, getTransactionsValidations as ht, getUserData as gt, getUsers as _t, grantBankAccountAccess as vt, grantExternalBankAccountAccess as yt, linkExternalBankAccount as bt, listDepartments as xt, listLocations as St, listRolePermissions as Ct, listRoles as wt, manageDebitCardAccess as Tt, patchApprovalPoliciesId as Et, patchLedgerAccountsId as Dt, patchReceiptsId as Ot, postApprovalPolicies as kt, postLedgerAccounts as At, postReceiptsUploadFromFile as jt, putTransactionsValidations as Mt, setDebitCardLockStatus as Nt, submitApplication as Pt, unlinkExternalBankAccount as Ft, updateApplication as It, updateBankAccount as Lt, updateDebitCard as Rt, updateExternalBankAccount as zt, upsertUserData as Bt, validateExternalBankAccount as Vt, verifyDebitCard as Ht } 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), Ht = (e) => o({
11
+ }, Ut = (e) => s("getApplicationStatus", e), Wt = (e) => o({
12
12
  queryFn: async ({ queryKey: t, signal: n }) => {
13
13
  let { data: r } = await me({
14
14
  ...e,
@@ -18,8 +18,8 @@ var s = (t, n, r, i) => {
18
18
  });
19
19
  return r;
20
20
  },
21
- queryKey: c(e)
22
- }), Ut = (e) => s("getMerchantCategoryGroups", e), Wt = (e) => o({
21
+ queryKey: Ut(e)
22
+ }), Gt = (e) => s("getMerchantCategoryGroups", e), Kt = (e) => o({
23
23
  queryFn: async ({ queryKey: t, signal: n }) => {
24
24
  let { data: r } = await Ge({
25
25
  ...e,
@@ -29,29 +29,29 @@ var s = (t, n, r, i) => {
29
29
  });
30
30
  return r;
31
31
  },
32
- queryKey: Ut(e)
33
- }), Gt = (e) => s("getVelocityControls", e), Kt = (e) => ({ mutationFn: async (t) => {
32
+ queryKey: Gt(e)
33
+ }), qt = (e) => s("getVelocityControls", e), Jt = (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
- } }), qt = (e) => ({ mutationFn: async (t) => {
40
+ } }), Yt = (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
- } }), Jt = (e) => ({ mutationFn: async (t) => {
47
+ } }), Xt = (e) => ({ mutationFn: async (t) => {
48
48
  let { data: n } = await oe({
49
49
  ...e,
50
50
  ...t,
51
51
  throwOnError: !0
52
52
  });
53
53
  return n;
54
- } }), l = (e) => s("getBankAccountApplication", e), Yt = (e) => o({
54
+ } }), c = (e) => s("getBankAccountApplication", e), Zt = (e) => o({
55
55
  queryFn: async ({ queryKey: t, signal: n }) => {
56
56
  let { data: r } = await ve({
57
57
  ...e,
@@ -61,22 +61,22 @@ var s = (t, n, r, i) => {
61
61
  });
62
62
  return r;
63
63
  },
64
- queryKey: l(e)
65
- }), Xt = (e) => ({ mutationFn: async (t) => {
66
- let { data: n } = await Ft({
64
+ queryKey: c(e)
65
+ }), Qt = (e) => ({ mutationFn: async (t) => {
66
+ let { data: n } = await It({
67
67
  ...e,
68
68
  ...t,
69
69
  throwOnError: !0
70
70
  });
71
71
  return n;
72
- } }), Zt = (e) => ({ mutationFn: async (t) => {
73
- let { data: n } = await Nt({
72
+ } }), $t = (e) => ({ mutationFn: async (t) => {
73
+ let { data: n } = await Pt({
74
74
  ...e,
75
75
  ...t,
76
76
  throwOnError: !0
77
77
  });
78
78
  return n;
79
- } }), u = (e) => s("getBankAccounts", e), Qt = (e) => o({
79
+ } }), l = (e) => s("getBankAccounts", e), en = (e) => o({
80
80
  queryFn: async ({ queryKey: t, signal: n }) => {
81
81
  let { data: r } = await Se({
82
82
  ...e,
@@ -86,15 +86,15 @@ var s = (t, n, r, i) => {
86
86
  });
87
87
  return r;
88
88
  },
89
- queryKey: u(e)
90
- }), $t = (e) => ({ mutationFn: async (t) => {
89
+ queryKey: l(e)
90
+ }), tn = (e) => ({ mutationFn: async (t) => {
91
91
  let { data: n } = await ee({
92
92
  ...e,
93
93
  ...t,
94
94
  throwOnError: !0
95
95
  });
96
96
  return n;
97
- } }), d = (e) => s("getDepositableBankAccounts", e), en = (e) => o({
97
+ } }), u = (e) => s("getDepositableBankAccounts", e), nn = (e) => o({
98
98
  queryFn: async ({ queryKey: t, signal: n }) => {
99
99
  let { data: r } = await Pe({
100
100
  ...e,
@@ -104,8 +104,8 @@ var s = (t, n, r, i) => {
104
104
  });
105
105
  return r;
106
106
  },
107
- queryKey: d(e)
108
- }), f = (e) => s("getBankAccount", e), tn = (e) => o({
107
+ queryKey: u(e)
108
+ }), d = (e) => s("getBankAccount", e), rn = (e) => o({
109
109
  queryFn: async ({ queryKey: t, signal: n }) => {
110
110
  let { data: r } = await _e({
111
111
  ...e,
@@ -115,29 +115,29 @@ var s = (t, n, r, i) => {
115
115
  });
116
116
  return r;
117
117
  },
118
- queryKey: f(e)
119
- }), nn = (e) => ({ mutationFn: async (t) => {
120
- let { data: n } = await It({
118
+ queryKey: d(e)
119
+ }), an = (e) => ({ mutationFn: async (t) => {
120
+ let { data: n } = await Lt({
121
121
  ...e,
122
122
  ...t,
123
123
  throwOnError: !0
124
124
  });
125
125
  return n;
126
- } }), rn = (e) => s("getBankAccountAccess", e), an = (e) => ({ mutationFn: async (t) => {
127
- let { data: n } = await _t({
126
+ } }), on = (e) => s("getBankAccountAccess", e), sn = (e) => ({ mutationFn: async (t) => {
127
+ let { data: n } = await vt({
128
128
  ...e,
129
129
  ...t,
130
130
  throwOnError: !0
131
131
  });
132
132
  return n;
133
- } }), on = (e) => ({ mutationFn: async (t) => {
133
+ } }), cn = (e) => ({ mutationFn: async (t) => {
134
134
  let { data: n } = await ne({
135
135
  ...e,
136
136
  ...t,
137
137
  throwOnError: !0
138
138
  });
139
139
  return n;
140
- } }), p = (e) => s("getBankAccountStatements", e), sn = (e) => o({
140
+ } }), f = (e) => s("getBankAccountStatements", e), ln = (e) => o({
141
141
  queryFn: async ({ queryKey: t, signal: n }) => {
142
142
  let { data: r } = await ye({
143
143
  ...e,
@@ -147,8 +147,8 @@ var s = (t, n, r, i) => {
147
147
  });
148
148
  return r;
149
149
  },
150
- queryKey: p(e)
151
- }), m = (e) => s("getBankAccountTransactions", e), cn = (e) => o({
150
+ queryKey: f(e)
151
+ }), p = (e) => s("getBankAccountTransactions", e), un = (e) => o({
152
152
  queryFn: async ({ queryKey: t, signal: n }) => {
153
153
  let { data: r } = await be({
154
154
  ...e,
@@ -158,8 +158,8 @@ var s = (t, n, r, i) => {
158
158
  });
159
159
  return r;
160
160
  },
161
- queryKey: m(e)
162
- }), h = (e) => s("getBankAccountTransfers", e), ln = (e) => o({
161
+ queryKey: p(e)
162
+ }), m = (e) => s("getBankAccountTransfers", e), dn = (e) => o({
163
163
  queryFn: async ({ queryKey: t, signal: n }) => {
164
164
  let { data: r } = await xe({
165
165
  ...e,
@@ -169,8 +169,8 @@ var s = (t, n, r, i) => {
169
169
  });
170
170
  return r;
171
171
  },
172
- queryKey: h(e)
173
- }), g = (e) => s("getCreditCards", e), un = (e) => o({
172
+ queryKey: m(e)
173
+ }), h = (e) => s("getCreditCards", e), fn = (e) => o({
174
174
  queryFn: async ({ queryKey: t, signal: n }) => {
175
175
  let { data: r } = await ke({
176
176
  ...e,
@@ -180,8 +180,8 @@ var s = (t, n, r, i) => {
180
180
  });
181
181
  return r;
182
182
  },
183
- queryKey: g(e)
184
- }), _ = (e) => s("getCreditCardById", e), dn = (e) => o({
183
+ queryKey: h(e)
184
+ }), g = (e) => s("getCreditCardById", e), pn = (e) => o({
185
185
  queryFn: async ({ queryKey: t, signal: n }) => {
186
186
  let { data: r } = await Oe({
187
187
  ...e,
@@ -191,15 +191,15 @@ var s = (t, n, r, i) => {
191
191
  });
192
192
  return r;
193
193
  },
194
- queryKey: _(e)
195
- }), fn = (e) => ({ mutationFn: async (n) => {
194
+ queryKey: g(e)
195
+ }), mn = (e) => ({ mutationFn: async (n) => {
196
196
  let { data: r } = await t({
197
197
  ...e,
198
198
  ...n,
199
199
  throwOnError: !0
200
200
  });
201
201
  return r;
202
- } }), v = (e) => s("getDebitCards", e), pn = (e) => o({
202
+ } }), _ = (e) => s("getDebitCards", e), hn = (e) => o({
203
203
  queryFn: async ({ queryKey: t, signal: n }) => {
204
204
  let { data: r } = await Me({
205
205
  ...e,
@@ -209,22 +209,22 @@ var s = (t, n, r, i) => {
209
209
  });
210
210
  return r;
211
211
  },
212
- queryKey: v(e)
213
- }), mn = (e) => ({ mutationFn: async (t) => {
212
+ queryKey: _(e)
213
+ }), gn = (e) => ({ mutationFn: async (t) => {
214
214
  let { data: n } = await re({
215
215
  ...e,
216
216
  ...t,
217
217
  throwOnError: !0
218
218
  });
219
219
  return n;
220
- } }), hn = (e) => ({ mutationFn: async (t) => {
221
- let { data: n } = await wt({
220
+ } }), _n = (e) => ({ mutationFn: async (t) => {
221
+ let { data: n } = await Tt({
222
222
  ...e,
223
223
  ...t,
224
224
  throwOnError: !0
225
225
  });
226
226
  return n;
227
- } }), y = (e) => s("getDebitCardById", e), gn = (e) => o({
227
+ } }), v = (e) => s("getDebitCardById", e), vn = (e) => o({
228
228
  queryFn: async ({ queryKey: t, signal: n }) => {
229
229
  let { data: r } = await Ae({
230
230
  ...e,
@@ -234,22 +234,22 @@ var s = (t, n, r, i) => {
234
234
  });
235
235
  return r;
236
236
  },
237
- queryKey: y(e)
238
- }), _n = (e) => ({ mutationFn: async (t) => {
239
- let { data: n } = await Lt({
237
+ queryKey: v(e)
238
+ }), yn = (e) => ({ mutationFn: async (t) => {
239
+ let { data: n } = await Rt({
240
240
  ...e,
241
241
  ...t,
242
242
  throwOnError: !0
243
243
  });
244
244
  return n;
245
- } }), vn = (e) => ({ mutationFn: async (t) => {
245
+ } }), bn = (e) => ({ mutationFn: async (t) => {
246
246
  let { data: r } = await n({
247
247
  ...e,
248
248
  ...t,
249
249
  throwOnError: !0
250
250
  });
251
251
  return r;
252
- } }), b = (e) => s("getDebitCardCredentials", e), yn = (e) => o({
252
+ } }), y = (e) => s("getDebitCardCredentials", e), xn = (e) => o({
253
253
  queryFn: async ({ queryKey: t, signal: n }) => {
254
254
  let { data: r } = await je({
255
255
  ...e,
@@ -259,22 +259,22 @@ var s = (t, n, r, i) => {
259
259
  });
260
260
  return r;
261
261
  },
262
- queryKey: b(e)
263
- }), bn = (e) => ({ mutationFn: async (t) => {
264
- let { data: n } = await Mt({
262
+ queryKey: y(e)
263
+ }), Sn = (e) => ({ mutationFn: async (t) => {
264
+ let { data: n } = await Nt({
265
265
  ...e,
266
266
  ...t,
267
267
  throwOnError: !0
268
268
  });
269
269
  return n;
270
- } }), xn = (e) => ({ mutationFn: async (t) => {
271
- let { data: n } = await Vt({
270
+ } }), Cn = (e) => ({ mutationFn: async (t) => {
271
+ let { data: n } = await Ht({
272
272
  ...e,
273
273
  ...t,
274
274
  throwOnError: !0
275
275
  });
276
276
  return n;
277
- } }), x = (e) => s("getExternalBankAccounts", e), Sn = (e) => o({
277
+ } }), b = (e) => s("getExternalBankAccounts", e), wn = (e) => o({
278
278
  queryFn: async ({ queryKey: t, signal: n }) => {
279
279
  let { data: r } = await Be({
280
280
  ...e,
@@ -284,64 +284,64 @@ var s = (t, n, r, i) => {
284
284
  });
285
285
  return r;
286
286
  },
287
- queryKey: x(e)
288
- }), Cn = (e) => ({ mutationFn: async (t) => {
287
+ queryKey: b(e)
288
+ }), Tn = (e) => ({ mutationFn: async (t) => {
289
289
  let { data: n } = await r({
290
290
  ...e,
291
291
  ...t,
292
292
  throwOnError: !0
293
293
  });
294
294
  return n;
295
- } }), wn = (e) => ({ mutationFn: async (t) => {
296
- let { data: n } = await Pt({
295
+ } }), En = (e) => ({ mutationFn: async (t) => {
296
+ let { data: n } = await Ft({
297
297
  ...e,
298
298
  ...t,
299
299
  throwOnError: !0
300
300
  });
301
301
  return n;
302
- } }), Tn = (e) => ({ mutationFn: async (t) => {
303
- let { data: n } = await Rt({
302
+ } }), Dn = (e) => ({ mutationFn: async (t) => {
303
+ let { data: n } = await zt({
304
304
  ...e,
305
305
  ...t,
306
306
  throwOnError: !0
307
307
  });
308
308
  return n;
309
- } }), En = (e) => s("getExternalBankAccountAccess", e), Dn = (e) => ({ mutationFn: async (t) => {
310
- let { data: n } = await vt({
309
+ } }), On = (e) => s("getExternalBankAccountAccess", e), kn = (e) => ({ mutationFn: async (t) => {
310
+ let { data: n } = await yt({
311
311
  ...e,
312
312
  ...t,
313
313
  throwOnError: !0
314
314
  });
315
315
  return n;
316
- } }), On = (e) => ({ mutationFn: async (t) => {
317
- let { data: n } = await yt({
316
+ } }), An = (e) => ({ mutationFn: async (t) => {
317
+ let { data: n } = await bt({
318
318
  ...e,
319
319
  ...t,
320
320
  throwOnError: !0
321
321
  });
322
322
  return n;
323
- } }), kn = (e) => ({ mutationFn: async (t) => {
324
- let { data: n } = await Bt({
323
+ } }), jn = (e) => ({ mutationFn: async (t) => {
324
+ let { data: n } = await Vt({
325
325
  ...e,
326
326
  ...t,
327
327
  throwOnError: !0
328
328
  });
329
329
  return n;
330
- } }), An = (e) => ({ mutationFn: async (t) => {
330
+ } }), Mn = (e) => ({ mutationFn: async (t) => {
331
331
  let { data: n } = await i({
332
332
  ...e,
333
333
  ...t,
334
334
  throwOnError: !0
335
335
  });
336
336
  return n;
337
- } }), jn = (e) => ({ mutationFn: async (t) => {
337
+ } }), Nn = (e) => ({ mutationFn: async (t) => {
338
338
  let { data: n } = await te({
339
339
  ...e,
340
340
  ...t,
341
341
  throwOnError: !0
342
342
  });
343
343
  return n;
344
- } }), S = (e) => s("getAnalyticsPayables", e), Mn = (e) => o({
344
+ } }), x = (e) => s("getAnalyticsPayables", e), Pn = (e) => o({
345
345
  queryFn: async ({ queryKey: t, signal: n }) => {
346
346
  let { data: r } = await ue({
347
347
  ...e,
@@ -351,8 +351,8 @@ var s = (t, n, r, i) => {
351
351
  });
352
352
  return r;
353
353
  },
354
- queryKey: S(e)
355
- }), C = (e) => s("getAnalyticsReceipts", e), Nn = (e) => o({
354
+ queryKey: x(e)
355
+ }), S = (e) => s("getAnalyticsReceipts", e), Fn = (e) => o({
356
356
  queryFn: async ({ queryKey: t, signal: n }) => {
357
357
  let { data: r } = await de({
358
358
  ...e,
@@ -362,8 +362,8 @@ var s = (t, n, r, i) => {
362
362
  });
363
363
  return r;
364
364
  },
365
- queryKey: C(e)
366
- }), w = (e) => s("getAnalyticsReceivables", e), Pn = (e) => o({
365
+ queryKey: S(e)
366
+ }), C = (e) => s("getAnalyticsReceivables", e), In = (e) => o({
367
367
  queryFn: async ({ queryKey: t, signal: n }) => {
368
368
  let { data: r } = await fe({
369
369
  ...e,
@@ -373,8 +373,8 @@ var s = (t, n, r, i) => {
373
373
  });
374
374
  return r;
375
375
  },
376
- queryKey: w(e)
377
- }), T = (e) => s("getAnalyticsTransactions", e), Fn = (e) => o({
376
+ queryKey: C(e)
377
+ }), w = (e) => s("getAnalyticsTransactions", e), Ln = (e) => o({
378
378
  queryFn: async ({ queryKey: t, signal: n }) => {
379
379
  let { data: r } = await pe({
380
380
  ...e,
@@ -384,8 +384,8 @@ var s = (t, n, r, i) => {
384
384
  });
385
385
  return r;
386
386
  },
387
- queryKey: T(e)
388
- }), E = (e) => s("getApprovalPolicies", e), In = (e) => o({
387
+ queryKey: w(e)
388
+ }), T = (e) => s("getApprovalPolicies", e), Rn = (e) => o({
389
389
  queryFn: async ({ queryKey: t, signal: n }) => {
390
390
  let { data: r } = await he({
391
391
  ...e,
@@ -395,29 +395,29 @@ var s = (t, n, r, i) => {
395
395
  });
396
396
  return r;
397
397
  },
398
- queryKey: E(e)
399
- }), Ln = (e) => ({ mutationFn: async (t) => {
400
- let { data: n } = await Ot({
398
+ queryKey: T(e)
399
+ }), zn = (e) => ({ mutationFn: async (t) => {
400
+ let { data: n } = await kt({
401
401
  ...e,
402
402
  ...t,
403
403
  throwOnError: !0
404
404
  });
405
405
  return n;
406
- } }), Rn = (e) => ({ mutationFn: async (t) => {
406
+ } }), Bn = (e) => ({ mutationFn: async (t) => {
407
407
  let { data: n } = await ae({
408
408
  ...e,
409
409
  ...t,
410
410
  throwOnError: !0
411
411
  });
412
412
  return n;
413
- } }), zn = (e) => ({ mutationFn: async (t) => {
414
- let { data: n } = await Tt({
413
+ } }), Vn = (e) => ({ mutationFn: async (t) => {
414
+ let { data: n } = await Et({
415
415
  ...e,
416
416
  ...t,
417
417
  throwOnError: !0
418
418
  });
419
419
  return n;
420
- } }), D = (e) => s("getApprovalRequests", e), Bn = (e) => o({
420
+ } }), E = (e) => s("getApprovalRequests", e), Hn = (e) => o({
421
421
  queryFn: async ({ queryKey: t, signal: n }) => {
422
422
  let { data: r } = await ge({
423
423
  ...e,
@@ -427,8 +427,8 @@ var s = (t, n, r, i) => {
427
427
  });
428
428
  return r;
429
429
  },
430
- queryKey: D(e)
431
- }), O = (e) => s("getBankDetails", e), Vn = (e) => o({
430
+ queryKey: E(e)
431
+ }), D = (e) => s("getBankDetails", e), Un = (e) => o({
432
432
  queryFn: async ({ queryKey: t, signal: n }) => {
433
433
  let { data: r } = await Ce({
434
434
  ...e,
@@ -438,8 +438,8 @@ var s = (t, n, r, i) => {
438
438
  });
439
439
  return r;
440
440
  },
441
- queryKey: O(e)
442
- }), k = (e) => s("getCounterparts", e), Hn = (e) => o({
441
+ queryKey: D(e)
442
+ }), O = (e) => s("getCounterparts", e), Wn = (e) => o({
443
443
  queryFn: async ({ queryKey: t, signal: n }) => {
444
444
  let { data: r } = await we({
445
445
  ...e,
@@ -449,8 +449,8 @@ var s = (t, n, r, i) => {
449
449
  });
450
450
  return r;
451
451
  },
452
- queryKey: k(e)
453
- }), A = (e) => s("getCounterpartsId", e), Un = (e) => o({
452
+ queryKey: O(e)
453
+ }), k = (e) => s("getCounterpartsId", e), Gn = (e) => o({
454
454
  queryFn: async ({ queryKey: t, signal: n }) => {
455
455
  let { data: r } = await Te({
456
456
  ...e,
@@ -460,8 +460,8 @@ var s = (t, n, r, i) => {
460
460
  });
461
461
  return r;
462
462
  },
463
- queryKey: A(e)
464
- }), j = (e) => s("getCounterpartsIdAddresses", e), Wn = (e) => o({
463
+ queryKey: k(e)
464
+ }), A = (e) => s("getCounterpartsIdAddresses", e), Kn = (e) => o({
465
465
  queryFn: async ({ queryKey: t, signal: n }) => {
466
466
  let { data: r } = await Ee({
467
467
  ...e,
@@ -471,8 +471,8 @@ var s = (t, n, r, i) => {
471
471
  });
472
472
  return r;
473
473
  },
474
- queryKey: j(e)
475
- }), M = (e) => s("getCounterpartsIdBankAccounts", e), Gn = (e) => o({
474
+ queryKey: A(e)
475
+ }), j = (e) => s("getCounterpartsIdBankAccounts", e), qn = (e) => o({
476
476
  queryFn: async ({ queryKey: t, signal: n }) => {
477
477
  let { data: r } = await De({
478
478
  ...e,
@@ -482,8 +482,8 @@ var s = (t, n, r, i) => {
482
482
  });
483
483
  return r;
484
484
  },
485
- queryKey: M(e)
486
- }), N = (e) => s("getDocumentsIdNextNumbers", e), Kn = (e) => o({
485
+ queryKey: j(e)
486
+ }), M = (e) => s("getDocumentsIdNextNumbers", e), Jn = (e) => o({
487
487
  queryFn: async ({ queryKey: t, signal: n }) => {
488
488
  let { data: r } = await Fe({
489
489
  ...e,
@@ -493,8 +493,8 @@ var s = (t, n, r, i) => {
493
493
  });
494
494
  return r;
495
495
  },
496
- queryKey: N(e)
497
- }), P = (e) => s("getEntitiesIdSettings", e), qn = (e) => o({
496
+ queryKey: M(e)
497
+ }), N = (e) => s("getEntitiesIdSettings", e), Yn = (e) => o({
498
498
  queryFn: async ({ queryKey: t, signal: n }) => {
499
499
  let { data: r } = await Ie({
500
500
  ...e,
@@ -504,8 +504,8 @@ var s = (t, n, r, i) => {
504
504
  });
505
505
  return r;
506
506
  },
507
- queryKey: P(e)
508
- }), F = (e) => s("getEntityUsers", e), Jn = (e) => o({
507
+ queryKey: N(e)
508
+ }), P = (e) => s("getEntityUsers", e), Xn = (e) => o({
509
509
  queryFn: async ({ queryKey: t, signal: n }) => {
510
510
  let { data: r } = await Le({
511
511
  ...e,
@@ -515,8 +515,8 @@ var s = (t, n, r, i) => {
515
515
  });
516
516
  return r;
517
517
  },
518
- queryKey: F(e)
519
- }), I = (e) => s("getEntityUsersMe", e), Yn = (e) => o({
518
+ queryKey: P(e)
519
+ }), F = (e) => s("getEntityUsersMe", e), Zn = (e) => o({
520
520
  queryFn: async ({ queryKey: t, signal: n }) => {
521
521
  let { data: r } = await Re({
522
522
  ...e,
@@ -526,8 +526,8 @@ var s = (t, n, r, i) => {
526
526
  });
527
527
  return r;
528
528
  },
529
- queryKey: I(e)
530
- }), L = (e) => s("getEntityUsersMyEntity", e), Xn = (e) => o({
529
+ queryKey: F(e)
530
+ }), I = (e) => s("getEntityUsersMyEntity", e), Qn = (e) => o({
531
531
  queryFn: async ({ queryKey: t, signal: n }) => {
532
532
  let { data: r } = await ze({
533
533
  ...e,
@@ -537,8 +537,8 @@ var s = (t, n, r, i) => {
537
537
  });
538
538
  return r;
539
539
  },
540
- queryKey: L(e)
541
- }), Zn = (e) => s("getFiles", e), R = (e) => s("getLedgerAccounts", e), Qn = (e) => o({
540
+ queryKey: I(e)
541
+ }), $n = (e) => s("getFiles", e), L = (e) => s("getLedgerAccounts", e), er = (e) => o({
542
542
  queryFn: async ({ queryKey: t, signal: n }) => {
543
543
  let { data: r } = await Ve({
544
544
  ...e,
@@ -548,29 +548,29 @@ var s = (t, n, r, i) => {
548
548
  });
549
549
  return r;
550
550
  },
551
- queryKey: R(e)
552
- }), $n = (e) => ({ mutationFn: async (t) => {
553
- let { data: n } = await kt({
551
+ queryKey: L(e)
552
+ }), tr = (e) => ({ mutationFn: async (t) => {
553
+ let { data: n } = await At({
554
554
  ...e,
555
555
  ...t,
556
556
  throwOnError: !0
557
557
  });
558
558
  return n;
559
- } }), er = (e) => ({ mutationFn: async (t) => {
559
+ } }), nr = (e) => ({ mutationFn: async (t) => {
560
560
  let { data: n } = await se({
561
561
  ...e,
562
562
  ...t,
563
563
  throwOnError: !0
564
564
  });
565
565
  return n;
566
- } }), tr = (e) => ({ mutationFn: async (t) => {
567
- let { data: n } = await Et({
566
+ } }), rr = (e) => ({ mutationFn: async (t) => {
567
+ let { data: n } = await Dt({
568
568
  ...e,
569
569
  ...t,
570
570
  throwOnError: !0
571
571
  });
572
572
  return n;
573
- } }), z = (e) => s("getMailboxes", e), nr = (e) => o({
573
+ } }), R = (e) => s("getMailboxes", e), ir = (e) => o({
574
574
  queryFn: async ({ queryKey: t, signal: n }) => {
575
575
  let { data: r } = await Ue({
576
576
  ...e,
@@ -580,8 +580,8 @@ var s = (t, n, r, i) => {
580
580
  });
581
581
  return r;
582
582
  },
583
- queryKey: z(e)
584
- }), B = (e) => s("getMeasureUnits", e), rr = (e) => o({
583
+ queryKey: R(e)
584
+ }), z = (e) => s("getMeasureUnits", e), ar = (e) => o({
585
585
  queryFn: async ({ queryKey: t, signal: n }) => {
586
586
  let { data: r } = await We({
587
587
  ...e,
@@ -591,8 +591,8 @@ var s = (t, n, r, i) => {
591
591
  });
592
592
  return r;
593
593
  },
594
- queryKey: B(e)
595
- }), V = (e) => s("getOverdueReminders", e), ir = (e) => o({
594
+ queryKey: z(e)
595
+ }), B = (e) => s("getOverdueReminders", e), or = (e) => o({
596
596
  queryFn: async ({ queryKey: t, signal: n }) => {
597
597
  let { data: r } = await qe({
598
598
  ...e,
@@ -602,8 +602,8 @@ var s = (t, n, r, i) => {
602
602
  });
603
603
  return r;
604
604
  },
605
- queryKey: V(e)
606
- }), H = (e) => s("getPayables", e), ar = (e) => o({
605
+ queryKey: B(e)
606
+ }), V = (e) => s("getPayables", e), sr = (e) => o({
607
607
  queryFn: async ({ queryKey: t, signal: n }) => {
608
608
  let { data: r } = await Je({
609
609
  ...e,
@@ -613,8 +613,8 @@ var s = (t, n, r, i) => {
613
613
  });
614
614
  return r;
615
615
  },
616
- queryKey: H(e)
617
- }), U = (e) => s("getPayablesId", e), or = (e) => o({
616
+ queryKey: V(e)
617
+ }), H = (e) => s("getPayablesId", e), cr = (e) => o({
618
618
  queryFn: async ({ queryKey: t, signal: n }) => {
619
619
  let { data: r } = await Ye({
620
620
  ...e,
@@ -624,8 +624,8 @@ var s = (t, n, r, i) => {
624
624
  });
625
625
  return r;
626
626
  },
627
- queryKey: U(e)
628
- }), sr = (e) => s("getPayablesIdHistory", e), cr = (e) => o({
627
+ queryKey: H(e)
628
+ }), U = (e) => s("getPayablesIdHistory", e), lr = (e) => o({
629
629
  queryFn: async ({ queryKey: t, signal: n }) => {
630
630
  let { data: r } = await Xe({
631
631
  ...e,
@@ -635,8 +635,8 @@ var s = (t, n, r, i) => {
635
635
  });
636
636
  return r;
637
637
  },
638
- queryKey: sr(e)
639
- }), W = (e) => s("getPayablesIdLineItems", e), lr = (e) => o({
638
+ queryKey: U(e)
639
+ }), ur = (e) => s("getPayablesIdLineItems", e), dr = (e) => o({
640
640
  queryFn: async ({ queryKey: t, signal: n }) => {
641
641
  let { data: r } = await Ze({
642
642
  ...e,
@@ -646,8 +646,8 @@ var s = (t, n, r, i) => {
646
646
  });
647
647
  return r;
648
648
  },
649
- queryKey: W(e)
650
- }), G = (e) => s("getPayablesIdSuggestions", e), ur = (e) => o({
649
+ queryKey: ur(e)
650
+ }), W = (e) => s("getPayablesIdSuggestions", e), fr = (e) => o({
651
651
  queryFn: async ({ queryKey: t, signal: n }) => {
652
652
  let { data: r } = await Qe({
653
653
  ...e,
@@ -657,8 +657,8 @@ var s = (t, n, r, i) => {
657
657
  });
658
658
  return r;
659
659
  },
660
- queryKey: G(e)
661
- }), K = (e) => s("getPaymentRecords", e), dr = (e) => o({
660
+ queryKey: W(e)
661
+ }), G = (e) => s("getPaymentRecords", e), pr = (e) => o({
662
662
  queryFn: async ({ queryKey: t, signal: n }) => {
663
663
  let { data: r } = await $e({
664
664
  ...e,
@@ -668,8 +668,8 @@ var s = (t, n, r, i) => {
668
668
  });
669
669
  return r;
670
670
  },
671
- queryKey: K(e)
672
- }), q = (e) => s("getPaymentReminders", e), fr = (e) => o({
671
+ queryKey: G(e)
672
+ }), K = (e) => s("getPaymentReminders", e), mr = (e) => o({
673
673
  queryFn: async ({ queryKey: t, signal: n }) => {
674
674
  let { data: r } = await et({
675
675
  ...e,
@@ -679,8 +679,8 @@ var s = (t, n, r, i) => {
679
679
  });
680
680
  return r;
681
681
  },
682
- queryKey: q(e)
683
- }), J = (e) => s("getPaymentTerms", e), pr = (e) => o({
682
+ queryKey: K(e)
683
+ }), q = (e) => s("getPaymentTerms", e), hr = (e) => o({
684
684
  queryFn: async ({ queryKey: t, signal: n }) => {
685
685
  let { data: r } = await tt({
686
686
  ...e,
@@ -690,8 +690,8 @@ var s = (t, n, r, i) => {
690
690
  });
691
691
  return r;
692
692
  },
693
- queryKey: J(e)
694
- }), Y = (e) => s("getProducts", e), mr = (e) => o({
693
+ queryKey: q(e)
694
+ }), J = (e) => s("getProducts", e), gr = (e) => o({
695
695
  queryFn: async ({ queryKey: t, signal: n }) => {
696
696
  let { data: r } = await nt({
697
697
  ...e,
@@ -701,8 +701,8 @@ var s = (t, n, r, i) => {
701
701
  });
702
702
  return r;
703
703
  },
704
- queryKey: Y(e)
705
- }), X = (e) => s("getProductsId", e), hr = (e) => o({
704
+ queryKey: J(e)
705
+ }), Y = (e) => s("getProductsId", e), _r = (e) => o({
706
706
  queryFn: async ({ queryKey: t, signal: n }) => {
707
707
  let { data: r } = await rt({
708
708
  ...e,
@@ -712,8 +712,8 @@ var s = (t, n, r, i) => {
712
712
  });
713
713
  return r;
714
714
  },
715
- queryKey: X(e)
716
- }), Z = (e) => s("getReceipts", e), gr = (e) => o({
715
+ queryKey: Y(e)
716
+ }), X = (e) => s("getReceipts", e), vr = (e) => o({
717
717
  queryFn: async ({ queryKey: t, signal: n }) => {
718
718
  let { data: r } = await it({
719
719
  ...e,
@@ -723,29 +723,29 @@ var s = (t, n, r, i) => {
723
723
  });
724
724
  return r;
725
725
  },
726
- queryKey: Z(e)
727
- }), _r = (e) => ({ mutationFn: async (t) => {
728
- let { data: n } = await At({
726
+ queryKey: X(e)
727
+ }), yr = (e) => ({ mutationFn: async (t) => {
728
+ let { data: n } = await jt({
729
729
  ...e,
730
730
  ...t,
731
731
  throwOnError: !0
732
732
  });
733
733
  return n;
734
- } }), vr = (e) => ({ mutationFn: async (t) => {
734
+ } }), br = (e) => ({ mutationFn: async (t) => {
735
735
  let { data: n } = await ce({
736
736
  ...e,
737
737
  ...t,
738
738
  throwOnError: !0
739
739
  });
740
740
  return n;
741
- } }), yr = (e) => s("getReceiptsId", e), br = (e) => ({ mutationFn: async (t) => {
742
- let { data: n } = await Dt({
741
+ } }), xr = (e) => s("getReceiptsId", e), Sr = (e) => ({ mutationFn: async (t) => {
742
+ let { data: n } = await Ot({
743
743
  ...e,
744
744
  ...t,
745
745
  throwOnError: !0
746
746
  });
747
747
  return n;
748
- } }), Q = (e) => s("getReceivables", e), xr = (e) => o({
748
+ } }), Z = (e) => s("getReceivables", e), Cr = (e) => o({
749
749
  queryFn: async ({ queryKey: t, signal: n }) => {
750
750
  let { data: r } = await at({
751
751
  ...e,
@@ -755,8 +755,19 @@ var s = (t, n, r, i) => {
755
755
  });
756
756
  return r;
757
757
  },
758
+ queryKey: Z(e)
759
+ }), Q = (e) => s("getReceivablesRequiredFields", e), wr = (e) => o({
760
+ queryFn: async ({ queryKey: t, signal: n }) => {
761
+ let { data: r } = await ut({
762
+ ...e,
763
+ ...t[0],
764
+ signal: n,
765
+ throwOnError: !0
766
+ });
767
+ return r;
768
+ },
758
769
  queryKey: Q(e)
759
- }), Sr = (e) => s("getReceivablesId", e), Cr = (e) => o({
770
+ }), Tr = (e) => s("getReceivablesId", e), Er = (e) => o({
760
771
  queryFn: async ({ queryKey: t, signal: n }) => {
761
772
  let { data: r } = await ot({
762
773
  ...e,
@@ -766,8 +777,8 @@ var s = (t, n, r, i) => {
766
777
  });
767
778
  return r;
768
779
  },
769
- queryKey: Sr(e)
770
- }), wr = (e) => s("getReceivablesIdHistory", e), Tr = (e) => o({
780
+ queryKey: Tr(e)
781
+ }), Dr = (e) => s("getReceivablesIdHistory", e), Or = (e) => o({
771
782
  queryFn: async ({ queryKey: t, signal: n }) => {
772
783
  let { data: r } = await st({
773
784
  ...e,
@@ -777,8 +788,8 @@ var s = (t, n, r, i) => {
777
788
  });
778
789
  return r;
779
790
  },
780
- queryKey: wr(e)
781
- }), Er = (e) => s("getReceivablesIdMails", e), Dr = (e) => o({
791
+ queryKey: Dr(e)
792
+ }), kr = (e) => s("getReceivablesIdMails", e), Ar = (e) => o({
782
793
  queryFn: async ({ queryKey: t, signal: n }) => {
783
794
  let { data: r } = await ct({
784
795
  ...e,
@@ -788,8 +799,8 @@ var s = (t, n, r, i) => {
788
799
  });
789
800
  return r;
790
801
  },
791
- queryKey: Er(e)
792
- }), Or = (e) => s("getReceivablesIdPdfLink", e), kr = (e) => o({
802
+ queryKey: kr(e)
803
+ }), jr = (e) => s("getReceivablesIdPdfLink", e), Mr = (e) => o({
793
804
  queryFn: async ({ queryKey: t, signal: n }) => {
794
805
  let { data: r } = await lt({
795
806
  ...e,
@@ -799,10 +810,10 @@ var s = (t, n, r, i) => {
799
810
  });
800
811
  return r;
801
812
  },
802
- queryKey: Or(e)
803
- }), Ar = (e) => s("getRecurrences", e), jr = (e) => s("getRecurrencesId", e), Mr = (e) => o({
813
+ queryKey: jr(e)
814
+ }), Nr = (e) => s("getRecurrences", e), Pr = (e) => s("getRecurrencesId", e), Fr = (e) => o({
804
815
  queryFn: async ({ queryKey: t, signal: n }) => {
805
- let { data: r } = await ut({
816
+ let { data: r } = await dt({
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: jr(e)
814
- }), Nr = (e) => s("getTransactions", e), Pr = (e) => o({
824
+ queryKey: Pr(e)
825
+ }), Ir = (e) => s("getTransactions", e), Lr = (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: Nr(e)
825
- }), Fr = (e) => s("getTransactionsValidations", e), Ir = (e) => o({
835
+ queryKey: Ir(e)
836
+ }), Rr = (e) => s("getTransactionsValidations", e), zr = (e) => o({
826
837
  queryFn: async ({ queryKey: t, signal: n }) => {
827
- let { data: r } = await mt({
838
+ let { data: r } = await ht({
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: Fr(e)
836
- }), Lr = (e) => ({ mutationFn: async (t) => {
837
- let { data: n } = await jt({
846
+ queryKey: Rr(e)
847
+ }), Br = (e) => ({ mutationFn: async (t) => {
848
+ let { data: n } = await Mt({
838
849
  ...e,
839
850
  ...t,
840
851
  throwOnError: !0
841
852
  });
842
853
  return n;
843
- } }), Rr = (e) => s("getTransactionsId", e), zr = (e) => o({
854
+ } }), Vr = (e) => s("getTransactionsId", e), Hr = (e) => o({
844
855
  queryFn: async ({ queryKey: t, signal: n }) => {
845
- let { data: r } = await ft({
856
+ let { data: r } = await pt({
846
857
  ...e,
847
858
  ...t[0],
848
859
  signal: n,
@@ -850,10 +861,10 @@ var s = (t, n, r, i) => {
850
861
  });
851
862
  return r;
852
863
  },
853
- queryKey: Rr(e)
854
- }), Br = (e) => s("getTransactionsIdExpenseHistory", e), Vr = (e) => o({
864
+ queryKey: Vr(e)
865
+ }), Ur = (e) => s("getTransactionsIdExpenseHistory", e), Wr = (e) => o({
855
866
  queryFn: async ({ queryKey: t, signal: n }) => {
856
- let { data: r } = await pt({
867
+ let { data: r } = await mt({
857
868
  ...e,
858
869
  ...t[0],
859
870
  signal: n,
@@ -861,10 +872,10 @@ var s = (t, n, r, i) => {
861
872
  });
862
873
  return r;
863
874
  },
864
- queryKey: Br(e)
865
- }), Hr = (e) => s("listDepartments", e), Ur = (e) => o({
875
+ queryKey: Ur(e)
876
+ }), Gr = (e) => s("listDepartments", e), Kr = (e) => o({
866
877
  queryFn: async ({ queryKey: t, signal: n }) => {
867
- let { data: r } = await bt({
878
+ let { data: r } = await xt({
868
879
  ...e,
869
880
  ...t[0],
870
881
  signal: n,
@@ -872,8 +883,8 @@ var s = (t, n, r, i) => {
872
883
  });
873
884
  return r;
874
885
  },
875
- queryKey: Hr(e)
876
- }), Wr = (e) => s("getDepartment", e), Gr = (e) => o({
886
+ queryKey: Gr(e)
887
+ }), qr = (e) => s("getDepartment", e), Jr = (e) => o({
877
888
  queryFn: async ({ queryKey: t, signal: n }) => {
878
889
  let { data: r } = await Ne({
879
890
  ...e,
@@ -883,10 +894,10 @@ var s = (t, n, r, i) => {
883
894
  });
884
895
  return r;
885
896
  },
886
- queryKey: Wr(e)
887
- }), Kr = (e) => s("listLocations", e), qr = (e) => o({
897
+ queryKey: qr(e)
898
+ }), $ = (e) => s("listLocations", e), Yr = (e) => o({
888
899
  queryFn: async ({ queryKey: t, signal: n }) => {
889
- let { data: r } = await xt({
900
+ let { data: r } = await St({
890
901
  ...e,
891
902
  ...t[0],
892
903
  signal: n,
@@ -894,8 +905,8 @@ var s = (t, n, r, i) => {
894
905
  });
895
906
  return r;
896
907
  },
897
- queryKey: Kr(e)
898
- }), $ = (e) => s("getLocation", e), Jr = (e) => o({
908
+ queryKey: $(e)
909
+ }), Xr = (e) => s("getLocation", e), Zr = (e) => o({
899
910
  queryFn: async ({ queryKey: t, signal: n }) => {
900
911
  let { data: r } = await He({
901
912
  ...e,
@@ -905,8 +916,8 @@ var s = (t, n, r, i) => {
905
916
  });
906
917
  return r;
907
918
  },
908
- queryKey: $(e)
909
- }), Yr = (e) => s("getOrganization", e), Xr = (e) => o({
919
+ queryKey: Xr(e)
920
+ }), Qr = (e) => s("getOrganization", e), $r = (e) => o({
910
921
  queryFn: async ({ queryKey: t, signal: n }) => {
911
922
  let { data: r } = await Ke({
912
923
  ...e,
@@ -916,10 +927,10 @@ var s = (t, n, r, i) => {
916
927
  });
917
928
  return r;
918
929
  },
919
- queryKey: Yr(e)
920
- }), Zr = (e) => s("listRoles", e), Qr = (e) => o({
930
+ queryKey: Qr(e)
931
+ }), ei = (e) => s("listRoles", e), ti = (e) => o({
921
932
  queryFn: async ({ queryKey: t, signal: n }) => {
922
- let { data: r } = await Ct({
933
+ let { data: r } = await wt({
923
934
  ...e,
924
935
  ...t[0],
925
936
  signal: n,
@@ -927,10 +938,10 @@ var s = (t, n, r, i) => {
927
938
  });
928
939
  return r;
929
940
  },
930
- queryKey: Zr(e)
931
- }), $r = (e) => s("listRolePermissions", e), ei = (e) => o({
941
+ queryKey: ei(e)
942
+ }), ni = (e) => s("listRolePermissions", e), ri = (e) => o({
932
943
  queryFn: async ({ queryKey: t, signal: n }) => {
933
- let { data: r } = await St({
944
+ let { data: r } = await Ct({
934
945
  ...e,
935
946
  ...t[0],
936
947
  signal: n,
@@ -938,10 +949,10 @@ var s = (t, n, r, i) => {
938
949
  });
939
950
  return r;
940
951
  },
941
- queryKey: $r(e)
942
- }), ti = (e) => s("getUserData", e), ni = (e) => o({
952
+ queryKey: ni(e)
953
+ }), ii = (e) => s("getUserData", e), ai = (e) => o({
943
954
  queryFn: async ({ queryKey: t, signal: n }) => {
944
- let { data: r } = await ht({
955
+ let { data: r } = await gt({
945
956
  ...e,
946
957
  ...t[0],
947
958
  signal: n,
@@ -949,17 +960,17 @@ var s = (t, n, r, i) => {
949
960
  });
950
961
  return r;
951
962
  },
952
- queryKey: ti(e)
953
- }), ri = (e) => ({ mutationFn: async (t) => {
954
- let { data: n } = await zt({
963
+ queryKey: ii(e)
964
+ }), oi = (e) => ({ mutationFn: async (t) => {
965
+ let { data: n } = await Bt({
955
966
  ...e,
956
967
  ...t,
957
968
  throwOnError: !0
958
969
  });
959
970
  return n;
960
- } }), ii = (e) => s("getUsers", e), ai = (e) => o({
971
+ } }), si = (e) => s("getUsers", e), ci = (e) => o({
961
972
  queryFn: async ({ queryKey: t, signal: n }) => {
962
- let { data: r } = await gt({
973
+ let { data: r } = await _t({
963
974
  ...e,
964
975
  ...t[0],
965
976
  signal: n,
@@ -967,8 +978,8 @@ var s = (t, n, r, i) => {
967
978
  });
968
979
  return r;
969
980
  },
970
- queryKey: ii(e)
971
- }), oi = (e) => ({ mutationFn: async (t) => {
981
+ queryKey: si(e)
982
+ }), li = (e) => ({ mutationFn: async (t) => {
972
983
  let { data: n } = await le({
973
984
  ...e,
974
985
  ...t,
@@ -977,4 +988,4 @@ var s = (t, n, r, i) => {
977
988
  return n;
978
989
  } });
979
990
  //#endregion
980
- export { fn as activateCreditCardMutation, vn as activateDebitCardMutation, Cn as connectExternalBankAccountMutation, An as createAchMoneyMovementMutation, qt as createApplicationMutation, $t as createBankAccountMutation, jn as createBookTransferMutation, on as createCheckDepositMutation, mn as createDebitCardMutation, Kt as createVelocityControlMutation, Rn as deleteApprovalPoliciesIdMutation, Jt as deleteBankAccountApplicationMutation, er as deleteLedgerAccountsIdMutation, vr as deleteReceiptsIdMutation, oi as disableUserMutation, Mn as getAnalyticsPayablesOptions, S as getAnalyticsPayablesQueryKey, Nn as getAnalyticsReceiptsOptions, C as getAnalyticsReceiptsQueryKey, Pn as getAnalyticsReceivablesOptions, w as getAnalyticsReceivablesQueryKey, Fn as getAnalyticsTransactionsOptions, T as getAnalyticsTransactionsQueryKey, Ht as getApplicationStatusOptions, c as getApplicationStatusQueryKey, In as getApprovalPoliciesOptions, E as getApprovalPoliciesQueryKey, Bn as getApprovalRequestsOptions, D as getApprovalRequestsQueryKey, rn as getBankAccountAccessQueryKey, Yt as getBankAccountApplicationOptions, l as getBankAccountApplicationQueryKey, tn as getBankAccountOptions, f as getBankAccountQueryKey, sn as getBankAccountStatementsOptions, p as getBankAccountStatementsQueryKey, cn as getBankAccountTransactionsOptions, m as getBankAccountTransactionsQueryKey, ln as getBankAccountTransfersOptions, h as getBankAccountTransfersQueryKey, Qt as getBankAccountsOptions, u as getBankAccountsQueryKey, Vn as getBankDetailsOptions, O as getBankDetailsQueryKey, Wn as getCounterpartsIdAddressesOptions, j as getCounterpartsIdAddressesQueryKey, Gn as getCounterpartsIdBankAccountsOptions, M as getCounterpartsIdBankAccountsQueryKey, Un as getCounterpartsIdOptions, A as getCounterpartsIdQueryKey, Hn as getCounterpartsOptions, k as getCounterpartsQueryKey, dn as getCreditCardByIdOptions, _ as getCreditCardByIdQueryKey, un as getCreditCardsOptions, g as getCreditCardsQueryKey, gn as getDebitCardByIdOptions, y as getDebitCardByIdQueryKey, yn as getDebitCardCredentialsOptions, b as getDebitCardCredentialsQueryKey, pn as getDebitCardsOptions, v as getDebitCardsQueryKey, Gr as getDepartmentOptions, Wr as getDepartmentQueryKey, en as getDepositableBankAccountsOptions, d as getDepositableBankAccountsQueryKey, Kn as getDocumentsIdNextNumbersOptions, N as getDocumentsIdNextNumbersQueryKey, qn as getEntitiesIdSettingsOptions, P as getEntitiesIdSettingsQueryKey, Yn as getEntityUsersMeOptions, I as getEntityUsersMeQueryKey, Xn as getEntityUsersMyEntityOptions, L as getEntityUsersMyEntityQueryKey, Jn as getEntityUsersOptions, F as getEntityUsersQueryKey, En as getExternalBankAccountAccessQueryKey, Sn as getExternalBankAccountsOptions, x as getExternalBankAccountsQueryKey, Zn as getFilesQueryKey, Qn as getLedgerAccountsOptions, R as getLedgerAccountsQueryKey, Jr as getLocationOptions, $ as getLocationQueryKey, nr as getMailboxesOptions, z as getMailboxesQueryKey, rr as getMeasureUnitsOptions, B as getMeasureUnitsQueryKey, Wt as getMerchantCategoryGroupsOptions, Ut as getMerchantCategoryGroupsQueryKey, Xr as getOrganizationOptions, Yr as getOrganizationQueryKey, ir as getOverdueRemindersOptions, V as getOverdueRemindersQueryKey, cr as getPayablesIdHistoryOptions, sr as getPayablesIdHistoryQueryKey, lr as getPayablesIdLineItemsOptions, W as getPayablesIdLineItemsQueryKey, or as getPayablesIdOptions, U as getPayablesIdQueryKey, ur as getPayablesIdSuggestionsOptions, G as getPayablesIdSuggestionsQueryKey, ar as getPayablesOptions, H as getPayablesQueryKey, dr as getPaymentRecordsOptions, K as getPaymentRecordsQueryKey, fr as getPaymentRemindersOptions, q as getPaymentRemindersQueryKey, pr as getPaymentTermsOptions, J as getPaymentTermsQueryKey, hr as getProductsIdOptions, X as getProductsIdQueryKey, mr as getProductsOptions, Y as getProductsQueryKey, yr as getReceiptsIdQueryKey, gr as getReceiptsOptions, Z as getReceiptsQueryKey, Tr as getReceivablesIdHistoryOptions, wr as getReceivablesIdHistoryQueryKey, Dr as getReceivablesIdMailsOptions, Er as getReceivablesIdMailsQueryKey, Cr as getReceivablesIdOptions, kr as getReceivablesIdPdfLinkOptions, Or as getReceivablesIdPdfLinkQueryKey, Sr as getReceivablesIdQueryKey, xr as getReceivablesOptions, Q as getReceivablesQueryKey, Mr as getRecurrencesIdOptions, jr as getRecurrencesIdQueryKey, Ar as getRecurrencesQueryKey, Vr as getTransactionsIdExpenseHistoryOptions, Br as getTransactionsIdExpenseHistoryQueryKey, zr as getTransactionsIdOptions, Rr as getTransactionsIdQueryKey, Pr as getTransactionsOptions, Nr as getTransactionsQueryKey, Ir as getTransactionsValidationsOptions, Fr as getTransactionsValidationsQueryKey, ni as getUserDataOptions, ti as getUserDataQueryKey, ai as getUsersOptions, ii as getUsersQueryKey, Gt as getVelocityControlsQueryKey, an as grantBankAccountAccessMutation, Dn as grantExternalBankAccountAccessMutation, On as linkExternalBankAccountMutation, Ur as listDepartmentsOptions, Hr as listDepartmentsQueryKey, qr as listLocationsOptions, Kr as listLocationsQueryKey, ei as listRolePermissionsOptions, $r as listRolePermissionsQueryKey, Qr as listRolesOptions, Zr as listRolesQueryKey, hn as manageDebitCardAccessMutation, zn as patchApprovalPoliciesIdMutation, tr as patchLedgerAccountsIdMutation, br as patchReceiptsIdMutation, Ln as postApprovalPoliciesMutation, $n as postLedgerAccountsMutation, _r as postReceiptsUploadFromFileMutation, Lr as putTransactionsValidationsMutation, bn as setDebitCardLockStatusMutation, Zt as submitApplicationMutation, wn as unlinkExternalBankAccountMutation, Xt as updateApplicationMutation, nn as updateBankAccountMutation, _n as updateDebitCardMutation, Tn as updateExternalBankAccountMutation, ri as upsertUserDataMutation, kn as validateExternalBankAccountMutation, xn as verifyDebitCardMutation };
991
+ export { mn as activateCreditCardMutation, bn as activateDebitCardMutation, Tn as connectExternalBankAccountMutation, Mn as createAchMoneyMovementMutation, Yt as createApplicationMutation, tn as createBankAccountMutation, Nn as createBookTransferMutation, cn as createCheckDepositMutation, gn as createDebitCardMutation, Jt as createVelocityControlMutation, Bn as deleteApprovalPoliciesIdMutation, Xt as deleteBankAccountApplicationMutation, nr as deleteLedgerAccountsIdMutation, br as deleteReceiptsIdMutation, li as disableUserMutation, Pn as getAnalyticsPayablesOptions, x as getAnalyticsPayablesQueryKey, Fn as getAnalyticsReceiptsOptions, S as getAnalyticsReceiptsQueryKey, In as getAnalyticsReceivablesOptions, C as getAnalyticsReceivablesQueryKey, Ln as getAnalyticsTransactionsOptions, w as getAnalyticsTransactionsQueryKey, Wt as getApplicationStatusOptions, Ut as getApplicationStatusQueryKey, Rn as getApprovalPoliciesOptions, T as getApprovalPoliciesQueryKey, Hn as getApprovalRequestsOptions, E as getApprovalRequestsQueryKey, on as getBankAccountAccessQueryKey, Zt as getBankAccountApplicationOptions, c as getBankAccountApplicationQueryKey, rn as getBankAccountOptions, d as getBankAccountQueryKey, ln as getBankAccountStatementsOptions, f as getBankAccountStatementsQueryKey, un as getBankAccountTransactionsOptions, p as getBankAccountTransactionsQueryKey, dn as getBankAccountTransfersOptions, m as getBankAccountTransfersQueryKey, en as getBankAccountsOptions, l as getBankAccountsQueryKey, Un as getBankDetailsOptions, D as getBankDetailsQueryKey, Kn as getCounterpartsIdAddressesOptions, A as getCounterpartsIdAddressesQueryKey, qn as getCounterpartsIdBankAccountsOptions, j as getCounterpartsIdBankAccountsQueryKey, Gn as getCounterpartsIdOptions, k as getCounterpartsIdQueryKey, Wn as getCounterpartsOptions, O as getCounterpartsQueryKey, pn as getCreditCardByIdOptions, g as getCreditCardByIdQueryKey, fn as getCreditCardsOptions, h as getCreditCardsQueryKey, vn as getDebitCardByIdOptions, v as getDebitCardByIdQueryKey, xn as getDebitCardCredentialsOptions, y as getDebitCardCredentialsQueryKey, hn as getDebitCardsOptions, _ as getDebitCardsQueryKey, Jr as getDepartmentOptions, qr as getDepartmentQueryKey, nn as getDepositableBankAccountsOptions, u as getDepositableBankAccountsQueryKey, Jn as getDocumentsIdNextNumbersOptions, M as getDocumentsIdNextNumbersQueryKey, Yn as getEntitiesIdSettingsOptions, N as getEntitiesIdSettingsQueryKey, Zn as getEntityUsersMeOptions, F as getEntityUsersMeQueryKey, Qn as getEntityUsersMyEntityOptions, I as getEntityUsersMyEntityQueryKey, Xn as getEntityUsersOptions, P as getEntityUsersQueryKey, On as getExternalBankAccountAccessQueryKey, wn as getExternalBankAccountsOptions, b as getExternalBankAccountsQueryKey, $n as getFilesQueryKey, er as getLedgerAccountsOptions, L as getLedgerAccountsQueryKey, Zr as getLocationOptions, Xr as getLocationQueryKey, ir as getMailboxesOptions, R as getMailboxesQueryKey, ar as getMeasureUnitsOptions, z as getMeasureUnitsQueryKey, Kt as getMerchantCategoryGroupsOptions, Gt as getMerchantCategoryGroupsQueryKey, $r as getOrganizationOptions, Qr as getOrganizationQueryKey, or as getOverdueRemindersOptions, B as getOverdueRemindersQueryKey, lr as getPayablesIdHistoryOptions, U as getPayablesIdHistoryQueryKey, dr as getPayablesIdLineItemsOptions, ur as getPayablesIdLineItemsQueryKey, cr as getPayablesIdOptions, H as getPayablesIdQueryKey, fr as getPayablesIdSuggestionsOptions, W as getPayablesIdSuggestionsQueryKey, sr as getPayablesOptions, V as getPayablesQueryKey, pr as getPaymentRecordsOptions, G as getPaymentRecordsQueryKey, mr as getPaymentRemindersOptions, K as getPaymentRemindersQueryKey, hr as getPaymentTermsOptions, q as getPaymentTermsQueryKey, _r as getProductsIdOptions, Y as getProductsIdQueryKey, gr as getProductsOptions, J as getProductsQueryKey, xr as getReceiptsIdQueryKey, vr as getReceiptsOptions, X as getReceiptsQueryKey, Or as getReceivablesIdHistoryOptions, Dr as getReceivablesIdHistoryQueryKey, Ar as getReceivablesIdMailsOptions, kr as getReceivablesIdMailsQueryKey, Er as getReceivablesIdOptions, Mr as getReceivablesIdPdfLinkOptions, jr as getReceivablesIdPdfLinkQueryKey, Tr as getReceivablesIdQueryKey, Cr as getReceivablesOptions, Z as getReceivablesQueryKey, wr as getReceivablesRequiredFieldsOptions, Q as getReceivablesRequiredFieldsQueryKey, Fr as getRecurrencesIdOptions, Pr as getRecurrencesIdQueryKey, Nr as getRecurrencesQueryKey, Wr as getTransactionsIdExpenseHistoryOptions, Ur as getTransactionsIdExpenseHistoryQueryKey, Hr as getTransactionsIdOptions, Vr as getTransactionsIdQueryKey, Lr as getTransactionsOptions, Ir as getTransactionsQueryKey, zr as getTransactionsValidationsOptions, Rr as getTransactionsValidationsQueryKey, ai as getUserDataOptions, ii as getUserDataQueryKey, ci as getUsersOptions, si as getUsersQueryKey, qt as getVelocityControlsQueryKey, sn as grantBankAccountAccessMutation, kn as grantExternalBankAccountAccessMutation, An as linkExternalBankAccountMutation, Kr as listDepartmentsOptions, Gr as listDepartmentsQueryKey, Yr as listLocationsOptions, $ as listLocationsQueryKey, ri as listRolePermissionsOptions, ni as listRolePermissionsQueryKey, ti as listRolesOptions, ei as listRolesQueryKey, _n as manageDebitCardAccessMutation, Vn as patchApprovalPoliciesIdMutation, rr as patchLedgerAccountsIdMutation, Sr as patchReceiptsIdMutation, zn as postApprovalPoliciesMutation, tr as postLedgerAccountsMutation, yr as postReceiptsUploadFromFileMutation, Br as putTransactionsValidationsMutation, Sn as setDebitCardLockStatusMutation, $t as submitApplicationMutation, En as unlinkExternalBankAccountMutation, Qt as updateApplicationMutation, an as updateBankAccountMutation, yn as updateDebitCardMutation, Dn as updateExternalBankAccountMutation, oi as upsertUserDataMutation, jn as validateExternalBankAccountMutation, Cn as verifyDebitCardMutation };