@tesouro/embedded-components-react 0.3.11 → 0.3.13
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.
- package/dist/index.d.ts +12 -0
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/CardsWidget.d.ts +12 -0
- package/dist/lib/CreateCardWidget.d.ts +12 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +7 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +24 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +61 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +123 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +11 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +40 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +51 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +5 -72
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +71 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +48 -79
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +91 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +33 -137
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +138 -67
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +63 -200
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +194 -184
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +180 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +64 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +46 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +26 -158
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +159 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +32 -98
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +102 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +13 -241
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +244 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +4 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +28 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +77 -130
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +145 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +2 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +45 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +9 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +94 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +14 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +59 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +3 -110
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +107 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +8 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +38 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +18 -98
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +92 -173
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +180 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +5 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +6 -112
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +114 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +56 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +75 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +120 -115
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index5.js +1 -2
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index5.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index6.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index4.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index5.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index6.js +22 -37
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index7.js +167 -110
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +111 -104
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +144 -128
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +1998 -1935
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { client as e } from "../client.gen.js";
|
|
2
|
-
import { connectExternalBankAccount as t, createAchMoneyMovement as n, createApplication as r, createBankAccount as i, createBookTransfer as a, createDebitCard as ee, deleteApprovalPoliciesId as te, deleteLedgerAccountsId as ne, deleteReceiptsId as re, disableUser as ie, getAnalyticsPayables as ae, getAnalyticsReceivables as oe, getApplicationStatus as se, getApprovalPolicies as ce, getApprovalRequests as le, getBankAccount as ue, getBankAccountTransactions as de, getBankAccountTransfers as fe, getBankAccounts as pe, getCounterparts as me, getCounterpartsId as he, getCounterpartsIdAddresses as ge, getCounterpartsIdBankAccounts as _e, getCreditCardById as ve, getCreditCards as ye, getDebitCardById as be, getDebitCards as xe, getDepartment as Se, getEntitiesIdSettings as Ce, getEntitiesMe as we, getEntityUsers as Te, getEntityUsersMe as Ee, getEntityUsersMyEntity as De, getExternalBankAccounts as Oe, getLedgerAccounts as ke, getLocation as Ae, getMeasureUnits as je, getOrganization as Me, getPayables as Ne, getPayablesAnalytics as Pe, getPayablesId as Fe, getPayablesIdHistory as Ie, getPayablesIdLineItems as Le, getPayablesIdSuggestions as Re, getPaymentRecords as ze, getPaymentTerms as Be, getProducts as Ve, getProductsId as He, getReceipts as Ue, getReceivables as We, getReceivablesId as Ge, getReceivablesIdHistory as Ke, getReceivablesIdMails as qe, getReceivablesIdPdfLink as Je, getTags as Ye, getTransactions as Xe, getTransactionsValidations as Ze, getUserData as Qe, getUsers as $e, grantBankAccountAccess as et, grantExternalBankAccountAccess as tt, linkExternalBankAccount as nt, listDepartments as rt, listLocations as it, listRolePermissions as at, listRoles as ot,
|
|
2
|
+
import { connectExternalBankAccount as t, createAchMoneyMovement as n, createApplication as r, createBankAccount as i, createBookTransfer as a, createDebitCard as ee, deleteApprovalPoliciesId as te, deleteLedgerAccountsId as ne, deleteReceiptsId as re, disableUser as ie, getAnalyticsPayables as ae, getAnalyticsReceivables as oe, getApplicationStatus as se, getApprovalPolicies as ce, getApprovalRequests as le, getBankAccount as ue, getBankAccountTransactions as de, getBankAccountTransfers as fe, getBankAccounts as pe, getCounterparts as me, getCounterpartsId as he, getCounterpartsIdAddresses as ge, getCounterpartsIdBankAccounts as _e, getCreditCardById as ve, getCreditCards as ye, getDebitCardById as be, getDebitCards as xe, getDepartment as Se, getEntitiesIdSettings as Ce, getEntitiesMe as we, getEntityUsers as Te, getEntityUsersMe as Ee, getEntityUsersMyEntity as De, getExternalBankAccounts as Oe, getLedgerAccounts as ke, getLocation as Ae, getMeasureUnits as je, getOrganization as Me, getPayables as Ne, getPayablesAnalytics as Pe, getPayablesId as Fe, getPayablesIdHistory as Ie, getPayablesIdLineItems as Le, getPayablesIdSuggestions as Re, getPaymentRecords as ze, getPaymentTerms as Be, getProducts as Ve, getProductsId as He, getReceipts as Ue, getReceivables as We, getReceivablesId as Ge, getReceivablesIdHistory as Ke, getReceivablesIdMails as qe, getReceivablesIdPdfLink as Je, getTags as Ye, getTransactions as Xe, getTransactionsValidations as Ze, getUserData as Qe, getUsers as $e, grantBankAccountAccess as et, grantExternalBankAccountAccess as tt, linkExternalBankAccount as nt, listDepartments as rt, listLocations as it, listRolePermissions as at, listRoles as ot, manageDebitCardAccess as st, patchApprovalPoliciesId as ct, patchEntitiesIdSettings as lt, patchLedgerAccountsId as ut, patchReceiptsId as dt, postApprovalPolicies as ft, postLedgerAccounts as pt, putTransactionsValidations as mt, submitApplication as ht, unlinkExternalBankAccount as gt, updateApplication as _t, updateBankAccount as vt, updateExternalBankAccount as yt, upsertUserData as bt, validateExternalBankAccount as xt } 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),
|
|
11
|
+
}, c = (e) => s("getApplicationStatus", e), St = (e) => o({
|
|
12
12
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
13
13
|
let { data: r } = await se({
|
|
14
14
|
...e,
|
|
@@ -19,28 +19,28 @@ var s = (t, n, r, i) => {
|
|
|
19
19
|
return r;
|
|
20
20
|
},
|
|
21
21
|
queryKey: c(e)
|
|
22
|
-
}),
|
|
22
|
+
}), Ct = (e) => ({ mutationFn: async (t) => {
|
|
23
23
|
let { data: n } = await r({
|
|
24
24
|
...e,
|
|
25
25
|
...t,
|
|
26
26
|
throwOnError: !0
|
|
27
27
|
});
|
|
28
28
|
return n;
|
|
29
|
-
} }),
|
|
30
|
-
let { data: n } = await
|
|
29
|
+
} }), wt = (e) => ({ mutationFn: async (t) => {
|
|
30
|
+
let { data: n } = await _t({
|
|
31
31
|
...e,
|
|
32
32
|
...t,
|
|
33
33
|
throwOnError: !0
|
|
34
34
|
});
|
|
35
35
|
return n;
|
|
36
|
-
} }),
|
|
37
|
-
let { data: n } = await
|
|
36
|
+
} }), Tt = (e) => ({ mutationFn: async (t) => {
|
|
37
|
+
let { data: n } = await ht({
|
|
38
38
|
...e,
|
|
39
39
|
...t,
|
|
40
40
|
throwOnError: !0
|
|
41
41
|
});
|
|
42
42
|
return n;
|
|
43
|
-
} }), l = (e) => s("getBankAccounts", e),
|
|
43
|
+
} }), l = (e) => s("getBankAccounts", e), Et = (e) => o({
|
|
44
44
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
45
45
|
let { data: r } = await pe({
|
|
46
46
|
...e,
|
|
@@ -51,14 +51,14 @@ var s = (t, n, r, i) => {
|
|
|
51
51
|
return r;
|
|
52
52
|
},
|
|
53
53
|
queryKey: l(e)
|
|
54
|
-
}),
|
|
54
|
+
}), Dt = (e) => ({ mutationFn: async (t) => {
|
|
55
55
|
let { data: n } = await i({
|
|
56
56
|
...e,
|
|
57
57
|
...t,
|
|
58
58
|
throwOnError: !0
|
|
59
59
|
});
|
|
60
60
|
return n;
|
|
61
|
-
} }), u = (e) => s("getBankAccount", e),
|
|
61
|
+
} }), u = (e) => s("getBankAccount", e), Ot = (e) => o({
|
|
62
62
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
63
63
|
let { data: r } = await ue({
|
|
64
64
|
...e,
|
|
@@ -69,21 +69,21 @@ var s = (t, n, r, i) => {
|
|
|
69
69
|
return r;
|
|
70
70
|
},
|
|
71
71
|
queryKey: u(e)
|
|
72
|
-
}),
|
|
73
|
-
let { data: n } = await
|
|
72
|
+
}), kt = (e) => ({ mutationFn: async (t) => {
|
|
73
|
+
let { data: n } = await vt({
|
|
74
74
|
...e,
|
|
75
75
|
...t,
|
|
76
76
|
throwOnError: !0
|
|
77
77
|
});
|
|
78
78
|
return n;
|
|
79
|
-
} }),
|
|
79
|
+
} }), At = (e) => s("getBankAccountAccess", e), jt = (e) => ({ mutationFn: async (t) => {
|
|
80
80
|
let { data: n } = await et({
|
|
81
81
|
...e,
|
|
82
82
|
...t,
|
|
83
83
|
throwOnError: !0
|
|
84
84
|
});
|
|
85
85
|
return n;
|
|
86
|
-
} }), d = (e) => s("getBankAccountTransactions", e),
|
|
86
|
+
} }), d = (e) => s("getBankAccountTransactions", e), Mt = (e) => o({
|
|
87
87
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
88
88
|
let { data: r } = await de({
|
|
89
89
|
...e,
|
|
@@ -94,7 +94,7 @@ var s = (t, n, r, i) => {
|
|
|
94
94
|
return r;
|
|
95
95
|
},
|
|
96
96
|
queryKey: d(e)
|
|
97
|
-
}), f = (e) => s("getBankAccountTransfers", e),
|
|
97
|
+
}), f = (e) => s("getBankAccountTransfers", e), Nt = (e) => o({
|
|
98
98
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
99
99
|
let { data: r } = await fe({
|
|
100
100
|
...e,
|
|
@@ -105,7 +105,7 @@ var s = (t, n, r, i) => {
|
|
|
105
105
|
return r;
|
|
106
106
|
},
|
|
107
107
|
queryKey: f(e)
|
|
108
|
-
}), p = (e) => s("getCreditCards", e),
|
|
108
|
+
}), p = (e) => s("getCreditCards", e), Pt = (e) => o({
|
|
109
109
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
110
110
|
let { data: r } = await ye({
|
|
111
111
|
...e,
|
|
@@ -116,7 +116,7 @@ var s = (t, n, r, i) => {
|
|
|
116
116
|
return r;
|
|
117
117
|
},
|
|
118
118
|
queryKey: p(e)
|
|
119
|
-
}), m = (e) => s("getCreditCardById", e),
|
|
119
|
+
}), m = (e) => s("getCreditCardById", e), Ft = (e) => o({
|
|
120
120
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
121
121
|
let { data: r } = await ve({
|
|
122
122
|
...e,
|
|
@@ -127,7 +127,7 @@ var s = (t, n, r, i) => {
|
|
|
127
127
|
return r;
|
|
128
128
|
},
|
|
129
129
|
queryKey: m(e)
|
|
130
|
-
}), h = (e) => s("getDebitCards", e),
|
|
130
|
+
}), h = (e) => s("getDebitCards", e), It = (e) => o({
|
|
131
131
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
132
132
|
let { data: r } = await xe({
|
|
133
133
|
...e,
|
|
@@ -138,14 +138,21 @@ var s = (t, n, r, i) => {
|
|
|
138
138
|
return r;
|
|
139
139
|
},
|
|
140
140
|
queryKey: h(e)
|
|
141
|
-
}),
|
|
141
|
+
}), Lt = (e) => ({ mutationFn: async (t) => {
|
|
142
142
|
let { data: n } = await ee({
|
|
143
143
|
...e,
|
|
144
144
|
...t,
|
|
145
145
|
throwOnError: !0
|
|
146
146
|
});
|
|
147
147
|
return n;
|
|
148
|
-
} }),
|
|
148
|
+
} }), Rt = (e) => ({ mutationFn: async (t) => {
|
|
149
|
+
let { data: n } = await st({
|
|
150
|
+
...e,
|
|
151
|
+
...t,
|
|
152
|
+
throwOnError: !0
|
|
153
|
+
});
|
|
154
|
+
return n;
|
|
155
|
+
} }), g = (e) => s("getDebitCardById", e), zt = (e) => o({
|
|
149
156
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
150
157
|
let { data: r } = await be({
|
|
151
158
|
...e,
|
|
@@ -156,7 +163,7 @@ var s = (t, n, r, i) => {
|
|
|
156
163
|
return r;
|
|
157
164
|
},
|
|
158
165
|
queryKey: g(e)
|
|
159
|
-
}), _ = (e) => s("getExternalBankAccounts", e),
|
|
166
|
+
}), _ = (e) => s("getExternalBankAccounts", e), Bt = (e) => o({
|
|
160
167
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
161
168
|
let { data: r } = await Oe({
|
|
162
169
|
...e,
|
|
@@ -167,63 +174,63 @@ var s = (t, n, r, i) => {
|
|
|
167
174
|
return r;
|
|
168
175
|
},
|
|
169
176
|
queryKey: _(e)
|
|
170
|
-
}),
|
|
177
|
+
}), Vt = (e) => ({ mutationFn: async (n) => {
|
|
171
178
|
let { data: r } = await t({
|
|
172
179
|
...e,
|
|
173
180
|
...n,
|
|
174
181
|
throwOnError: !0
|
|
175
182
|
});
|
|
176
183
|
return r;
|
|
177
|
-
} }),
|
|
178
|
-
let { data: n } = await
|
|
184
|
+
} }), Ht = (e) => ({ mutationFn: async (t) => {
|
|
185
|
+
let { data: n } = await gt({
|
|
179
186
|
...e,
|
|
180
187
|
...t,
|
|
181
188
|
throwOnError: !0
|
|
182
189
|
});
|
|
183
190
|
return n;
|
|
184
|
-
} }),
|
|
185
|
-
let { data: n } = await
|
|
191
|
+
} }), Ut = (e) => ({ mutationFn: async (t) => {
|
|
192
|
+
let { data: n } = await yt({
|
|
186
193
|
...e,
|
|
187
194
|
...t,
|
|
188
195
|
throwOnError: !0
|
|
189
196
|
});
|
|
190
197
|
return n;
|
|
191
|
-
} }),
|
|
198
|
+
} }), Wt = (e) => s("getExternalBankAccountAccess", e), Gt = (e) => ({ mutationFn: async (t) => {
|
|
192
199
|
let { data: n } = await tt({
|
|
193
200
|
...e,
|
|
194
201
|
...t,
|
|
195
202
|
throwOnError: !0
|
|
196
203
|
});
|
|
197
204
|
return n;
|
|
198
|
-
} }),
|
|
205
|
+
} }), Kt = (e) => ({ mutationFn: async (t) => {
|
|
199
206
|
let { data: n } = await nt({
|
|
200
207
|
...e,
|
|
201
208
|
...t,
|
|
202
209
|
throwOnError: !0
|
|
203
210
|
});
|
|
204
211
|
return n;
|
|
205
|
-
} }),
|
|
206
|
-
let { data: n } = await
|
|
212
|
+
} }), qt = (e) => ({ mutationFn: async (t) => {
|
|
213
|
+
let { data: n } = await xt({
|
|
207
214
|
...e,
|
|
208
215
|
...t,
|
|
209
216
|
throwOnError: !0
|
|
210
217
|
});
|
|
211
218
|
return n;
|
|
212
|
-
} }),
|
|
219
|
+
} }), Jt = (e) => ({ mutationFn: async (t) => {
|
|
213
220
|
let { data: r } = await n({
|
|
214
221
|
...e,
|
|
215
222
|
...t,
|
|
216
223
|
throwOnError: !0
|
|
217
224
|
});
|
|
218
225
|
return r;
|
|
219
|
-
} }),
|
|
226
|
+
} }), Yt = (e) => ({ mutationFn: async (t) => {
|
|
220
227
|
let { data: n } = await a({
|
|
221
228
|
...e,
|
|
222
229
|
...t,
|
|
223
230
|
throwOnError: !0
|
|
224
231
|
});
|
|
225
232
|
return n;
|
|
226
|
-
} }), v = (e) => s("getAnalyticsPayables", e),
|
|
233
|
+
} }), v = (e) => s("getAnalyticsPayables", e), Xt = (e) => o({
|
|
227
234
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
228
235
|
let { data: r } = await ae({
|
|
229
236
|
...e,
|
|
@@ -234,7 +241,7 @@ var s = (t, n, r, i) => {
|
|
|
234
241
|
return r;
|
|
235
242
|
},
|
|
236
243
|
queryKey: v(e)
|
|
237
|
-
}), y = (e) => s("getAnalyticsReceivables", e),
|
|
244
|
+
}), y = (e) => s("getAnalyticsReceivables", e), Zt = (e) => o({
|
|
238
245
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
239
246
|
let { data: r } = await oe({
|
|
240
247
|
...e,
|
|
@@ -245,7 +252,7 @@ var s = (t, n, r, i) => {
|
|
|
245
252
|
return r;
|
|
246
253
|
},
|
|
247
254
|
queryKey: y(e)
|
|
248
|
-
}), b = (e) => s("getApprovalPolicies", e),
|
|
255
|
+
}), b = (e) => s("getApprovalPolicies", e), Qt = (e) => o({
|
|
249
256
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
250
257
|
let { data: r } = await ce({
|
|
251
258
|
...e,
|
|
@@ -256,28 +263,28 @@ var s = (t, n, r, i) => {
|
|
|
256
263
|
return r;
|
|
257
264
|
},
|
|
258
265
|
queryKey: b(e)
|
|
259
|
-
}),
|
|
260
|
-
let { data: n } = await
|
|
266
|
+
}), $t = (e) => ({ mutationFn: async (t) => {
|
|
267
|
+
let { data: n } = await ft({
|
|
261
268
|
...e,
|
|
262
269
|
...t,
|
|
263
270
|
throwOnError: !0
|
|
264
271
|
});
|
|
265
272
|
return n;
|
|
266
|
-
} }),
|
|
273
|
+
} }), en = (e) => ({ mutationFn: async (t) => {
|
|
267
274
|
let { data: n } = await te({
|
|
268
275
|
...e,
|
|
269
276
|
...t,
|
|
270
277
|
throwOnError: !0
|
|
271
278
|
});
|
|
272
279
|
return n;
|
|
273
|
-
} }),
|
|
274
|
-
let { data: n } = await
|
|
280
|
+
} }), tn = (e) => ({ mutationFn: async (t) => {
|
|
281
|
+
let { data: n } = await ct({
|
|
275
282
|
...e,
|
|
276
283
|
...t,
|
|
277
284
|
throwOnError: !0
|
|
278
285
|
});
|
|
279
286
|
return n;
|
|
280
|
-
} }), x = (e) => s("getApprovalRequests", e),
|
|
287
|
+
} }), x = (e) => s("getApprovalRequests", e), nn = (e) => o({
|
|
281
288
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
282
289
|
let { data: r } = await le({
|
|
283
290
|
...e,
|
|
@@ -288,7 +295,7 @@ var s = (t, n, r, i) => {
|
|
|
288
295
|
return r;
|
|
289
296
|
},
|
|
290
297
|
queryKey: x(e)
|
|
291
|
-
}), S = (e) => s("getCounterparts", e),
|
|
298
|
+
}), S = (e) => s("getCounterparts", e), rn = (e) => o({
|
|
292
299
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
293
300
|
let { data: r } = await me({
|
|
294
301
|
...e,
|
|
@@ -299,7 +306,7 @@ var s = (t, n, r, i) => {
|
|
|
299
306
|
return r;
|
|
300
307
|
},
|
|
301
308
|
queryKey: S(e)
|
|
302
|
-
}), C = (e) => s("getCounterpartsId", e),
|
|
309
|
+
}), C = (e) => s("getCounterpartsId", e), an = (e) => o({
|
|
303
310
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
304
311
|
let { data: r } = await he({
|
|
305
312
|
...e,
|
|
@@ -310,7 +317,7 @@ var s = (t, n, r, i) => {
|
|
|
310
317
|
return r;
|
|
311
318
|
},
|
|
312
319
|
queryKey: C(e)
|
|
313
|
-
}), w = (e) => s("getCounterpartsIdAddresses", e),
|
|
320
|
+
}), w = (e) => s("getCounterpartsIdAddresses", e), on = (e) => o({
|
|
314
321
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
315
322
|
let { data: r } = await ge({
|
|
316
323
|
...e,
|
|
@@ -321,7 +328,7 @@ var s = (t, n, r, i) => {
|
|
|
321
328
|
return r;
|
|
322
329
|
},
|
|
323
330
|
queryKey: w(e)
|
|
324
|
-
}), T = (e) => s("getCounterpartsIdBankAccounts", e),
|
|
331
|
+
}), T = (e) => s("getCounterpartsIdBankAccounts", e), sn = (e) => o({
|
|
325
332
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
326
333
|
let { data: r } = await _e({
|
|
327
334
|
...e,
|
|
@@ -332,7 +339,7 @@ var s = (t, n, r, i) => {
|
|
|
332
339
|
return r;
|
|
333
340
|
},
|
|
334
341
|
queryKey: T(e)
|
|
335
|
-
}), E = (e) => s("getEntitiesMe", e),
|
|
342
|
+
}), E = (e) => s("getEntitiesMe", e), cn = (e) => o({
|
|
336
343
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
337
344
|
let { data: r } = await we({
|
|
338
345
|
...e,
|
|
@@ -343,7 +350,7 @@ var s = (t, n, r, i) => {
|
|
|
343
350
|
return r;
|
|
344
351
|
},
|
|
345
352
|
queryKey: E(e)
|
|
346
|
-
}), D = (e) => s("getEntitiesIdSettings", e),
|
|
353
|
+
}), D = (e) => s("getEntitiesIdSettings", e), ln = (e) => o({
|
|
347
354
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
348
355
|
let { data: r } = await Ce({
|
|
349
356
|
...e,
|
|
@@ -354,14 +361,14 @@ var s = (t, n, r, i) => {
|
|
|
354
361
|
return r;
|
|
355
362
|
},
|
|
356
363
|
queryKey: D(e)
|
|
357
|
-
}),
|
|
358
|
-
let { data: n } = await
|
|
364
|
+
}), un = (e) => ({ mutationFn: async (t) => {
|
|
365
|
+
let { data: n } = await lt({
|
|
359
366
|
...e,
|
|
360
367
|
...t,
|
|
361
368
|
throwOnError: !0
|
|
362
369
|
});
|
|
363
370
|
return n;
|
|
364
|
-
} }), O = (e) => s("getEntityUsers", e),
|
|
371
|
+
} }), O = (e) => s("getEntityUsers", e), dn = (e) => o({
|
|
365
372
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
366
373
|
let { data: r } = await Te({
|
|
367
374
|
...e,
|
|
@@ -372,7 +379,7 @@ var s = (t, n, r, i) => {
|
|
|
372
379
|
return r;
|
|
373
380
|
},
|
|
374
381
|
queryKey: O(e)
|
|
375
|
-
}), k = (e) => s("getEntityUsersMe", e),
|
|
382
|
+
}), k = (e) => s("getEntityUsersMe", e), fn = (e) => o({
|
|
376
383
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
377
384
|
let { data: r } = await Ee({
|
|
378
385
|
...e,
|
|
@@ -383,7 +390,7 @@ var s = (t, n, r, i) => {
|
|
|
383
390
|
return r;
|
|
384
391
|
},
|
|
385
392
|
queryKey: k(e)
|
|
386
|
-
}), A = (e) => s("getEntityUsersMyEntity", e),
|
|
393
|
+
}), A = (e) => s("getEntityUsersMyEntity", e), pn = (e) => o({
|
|
387
394
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
388
395
|
let { data: r } = await De({
|
|
389
396
|
...e,
|
|
@@ -394,7 +401,7 @@ var s = (t, n, r, i) => {
|
|
|
394
401
|
return r;
|
|
395
402
|
},
|
|
396
403
|
queryKey: A(e)
|
|
397
|
-
}), j = (e) => s("getLedgerAccounts", e),
|
|
404
|
+
}), j = (e) => s("getLedgerAccounts", e), mn = (e) => o({
|
|
398
405
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
399
406
|
let { data: r } = await ke({
|
|
400
407
|
...e,
|
|
@@ -405,28 +412,28 @@ var s = (t, n, r, i) => {
|
|
|
405
412
|
return r;
|
|
406
413
|
},
|
|
407
414
|
queryKey: j(e)
|
|
408
|
-
}),
|
|
409
|
-
let { data: n } = await
|
|
415
|
+
}), hn = (e) => ({ mutationFn: async (t) => {
|
|
416
|
+
let { data: n } = await pt({
|
|
410
417
|
...e,
|
|
411
418
|
...t,
|
|
412
419
|
throwOnError: !0
|
|
413
420
|
});
|
|
414
421
|
return n;
|
|
415
|
-
} }),
|
|
422
|
+
} }), gn = (e) => ({ mutationFn: async (t) => {
|
|
416
423
|
let { data: n } = await ne({
|
|
417
424
|
...e,
|
|
418
425
|
...t,
|
|
419
426
|
throwOnError: !0
|
|
420
427
|
});
|
|
421
428
|
return n;
|
|
422
|
-
} }),
|
|
423
|
-
let { data: n } = await
|
|
429
|
+
} }), _n = (e) => ({ mutationFn: async (t) => {
|
|
430
|
+
let { data: n } = await ut({
|
|
424
431
|
...e,
|
|
425
432
|
...t,
|
|
426
433
|
throwOnError: !0
|
|
427
434
|
});
|
|
428
435
|
return n;
|
|
429
|
-
} }), M = (e) => s("getMeasureUnits", e),
|
|
436
|
+
} }), M = (e) => s("getMeasureUnits", e), vn = (e) => o({
|
|
430
437
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
431
438
|
let { data: r } = await je({
|
|
432
439
|
...e,
|
|
@@ -437,7 +444,7 @@ var s = (t, n, r, i) => {
|
|
|
437
444
|
return r;
|
|
438
445
|
},
|
|
439
446
|
queryKey: M(e)
|
|
440
|
-
}),
|
|
447
|
+
}), yn = (e) => s("getPayables", e), bn = (e) => o({
|
|
441
448
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
442
449
|
let { data: r } = await Ne({
|
|
443
450
|
...e,
|
|
@@ -447,8 +454,8 @@ var s = (t, n, r, i) => {
|
|
|
447
454
|
});
|
|
448
455
|
return r;
|
|
449
456
|
},
|
|
450
|
-
queryKey:
|
|
451
|
-
}),
|
|
457
|
+
queryKey: yn(e)
|
|
458
|
+
}), N = (e) => s("getPayablesAnalytics", e), xn = (e) => o({
|
|
452
459
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
453
460
|
let { data: r } = await Pe({
|
|
454
461
|
...e,
|
|
@@ -458,8 +465,8 @@ var s = (t, n, r, i) => {
|
|
|
458
465
|
});
|
|
459
466
|
return r;
|
|
460
467
|
},
|
|
461
|
-
queryKey:
|
|
462
|
-
}), P = (e) => s("getPayablesId", e),
|
|
468
|
+
queryKey: N(e)
|
|
469
|
+
}), P = (e) => s("getPayablesId", e), Sn = (e) => o({
|
|
463
470
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
464
471
|
let { data: r } = await Fe({
|
|
465
472
|
...e,
|
|
@@ -470,7 +477,7 @@ var s = (t, n, r, i) => {
|
|
|
470
477
|
return r;
|
|
471
478
|
},
|
|
472
479
|
queryKey: P(e)
|
|
473
|
-
}), F = (e) => s("getPayablesIdHistory", e),
|
|
480
|
+
}), F = (e) => s("getPayablesIdHistory", e), Cn = (e) => o({
|
|
474
481
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
475
482
|
let { data: r } = await Ie({
|
|
476
483
|
...e,
|
|
@@ -481,7 +488,7 @@ var s = (t, n, r, i) => {
|
|
|
481
488
|
return r;
|
|
482
489
|
},
|
|
483
490
|
queryKey: F(e)
|
|
484
|
-
}), I = (e) => s("getPayablesIdLineItems", e),
|
|
491
|
+
}), I = (e) => s("getPayablesIdLineItems", e), wn = (e) => o({
|
|
485
492
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
486
493
|
let { data: r } = await Le({
|
|
487
494
|
...e,
|
|
@@ -492,7 +499,7 @@ var s = (t, n, r, i) => {
|
|
|
492
499
|
return r;
|
|
493
500
|
},
|
|
494
501
|
queryKey: I(e)
|
|
495
|
-
}), L = (e) => s("getPayablesIdSuggestions", e),
|
|
502
|
+
}), L = (e) => s("getPayablesIdSuggestions", e), Tn = (e) => o({
|
|
496
503
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
497
504
|
let { data: r } = await Re({
|
|
498
505
|
...e,
|
|
@@ -503,7 +510,7 @@ var s = (t, n, r, i) => {
|
|
|
503
510
|
return r;
|
|
504
511
|
},
|
|
505
512
|
queryKey: L(e)
|
|
506
|
-
}), R = (e) => s("getPaymentRecords", e),
|
|
513
|
+
}), R = (e) => s("getPaymentRecords", e), En = (e) => o({
|
|
507
514
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
508
515
|
let { data: r } = await ze({
|
|
509
516
|
...e,
|
|
@@ -514,7 +521,7 @@ var s = (t, n, r, i) => {
|
|
|
514
521
|
return r;
|
|
515
522
|
},
|
|
516
523
|
queryKey: R(e)
|
|
517
|
-
}), z = (e) => s("getPaymentTerms", e),
|
|
524
|
+
}), z = (e) => s("getPaymentTerms", e), Dn = (e) => o({
|
|
518
525
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
519
526
|
let { data: r } = await Be({
|
|
520
527
|
...e,
|
|
@@ -525,7 +532,7 @@ var s = (t, n, r, i) => {
|
|
|
525
532
|
return r;
|
|
526
533
|
},
|
|
527
534
|
queryKey: z(e)
|
|
528
|
-
}), B = (e) => s("getProducts", e),
|
|
535
|
+
}), B = (e) => s("getProducts", e), On = (e) => o({
|
|
529
536
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
530
537
|
let { data: r } = await Ve({
|
|
531
538
|
...e,
|
|
@@ -536,7 +543,7 @@ var s = (t, n, r, i) => {
|
|
|
536
543
|
return r;
|
|
537
544
|
},
|
|
538
545
|
queryKey: B(e)
|
|
539
|
-
}), V = (e) => s("getProductsId", e),
|
|
546
|
+
}), V = (e) => s("getProductsId", e), kn = (e) => o({
|
|
540
547
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
541
548
|
let { data: r } = await He({
|
|
542
549
|
...e,
|
|
@@ -547,7 +554,7 @@ var s = (t, n, r, i) => {
|
|
|
547
554
|
return r;
|
|
548
555
|
},
|
|
549
556
|
queryKey: V(e)
|
|
550
|
-
}), H = (e) => s("getReceipts", e),
|
|
557
|
+
}), H = (e) => s("getReceipts", e), An = (e) => o({
|
|
551
558
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
552
559
|
let { data: r } = await Ue({
|
|
553
560
|
...e,
|
|
@@ -558,21 +565,21 @@ var s = (t, n, r, i) => {
|
|
|
558
565
|
return r;
|
|
559
566
|
},
|
|
560
567
|
queryKey: H(e)
|
|
561
|
-
}),
|
|
568
|
+
}), jn = (e) => ({ mutationFn: async (t) => {
|
|
562
569
|
let { data: n } = await re({
|
|
563
570
|
...e,
|
|
564
571
|
...t,
|
|
565
572
|
throwOnError: !0
|
|
566
573
|
});
|
|
567
574
|
return n;
|
|
568
|
-
} }),
|
|
569
|
-
let { data: n } = await
|
|
575
|
+
} }), Mn = (e) => s("getReceiptsId", e), Nn = (e) => ({ mutationFn: async (t) => {
|
|
576
|
+
let { data: n } = await dt({
|
|
570
577
|
...e,
|
|
571
578
|
...t,
|
|
572
579
|
throwOnError: !0
|
|
573
580
|
});
|
|
574
581
|
return n;
|
|
575
|
-
} }), U = (e) => s("getReceivables", e),
|
|
582
|
+
} }), U = (e) => s("getReceivables", e), Pn = (e) => o({
|
|
576
583
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
577
584
|
let { data: r } = await We({
|
|
578
585
|
...e,
|
|
@@ -583,7 +590,7 @@ var s = (t, n, r, i) => {
|
|
|
583
590
|
return r;
|
|
584
591
|
},
|
|
585
592
|
queryKey: U(e)
|
|
586
|
-
}), W = (e) => s("getReceivablesId", e),
|
|
593
|
+
}), W = (e) => s("getReceivablesId", e), Fn = (e) => o({
|
|
587
594
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
588
595
|
let { data: r } = await Ge({
|
|
589
596
|
...e,
|
|
@@ -594,7 +601,7 @@ var s = (t, n, r, i) => {
|
|
|
594
601
|
return r;
|
|
595
602
|
},
|
|
596
603
|
queryKey: W(e)
|
|
597
|
-
}), G = (e) => s("getReceivablesIdHistory", e),
|
|
604
|
+
}), G = (e) => s("getReceivablesIdHistory", e), In = (e) => o({
|
|
598
605
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
599
606
|
let { data: r } = await Ke({
|
|
600
607
|
...e,
|
|
@@ -605,7 +612,7 @@ var s = (t, n, r, i) => {
|
|
|
605
612
|
return r;
|
|
606
613
|
},
|
|
607
614
|
queryKey: G(e)
|
|
608
|
-
}), K = (e) => s("getReceivablesIdMails", e),
|
|
615
|
+
}), K = (e) => s("getReceivablesIdMails", e), Ln = (e) => o({
|
|
609
616
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
610
617
|
let { data: r } = await qe({
|
|
611
618
|
...e,
|
|
@@ -616,7 +623,7 @@ var s = (t, n, r, i) => {
|
|
|
616
623
|
return r;
|
|
617
624
|
},
|
|
618
625
|
queryKey: K(e)
|
|
619
|
-
}), q = (e) => s("getReceivablesIdPdfLink", e),
|
|
626
|
+
}), q = (e) => s("getReceivablesIdPdfLink", e), Rn = (e) => o({
|
|
620
627
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
621
628
|
let { data: r } = await Je({
|
|
622
629
|
...e,
|
|
@@ -627,7 +634,7 @@ var s = (t, n, r, i) => {
|
|
|
627
634
|
return r;
|
|
628
635
|
},
|
|
629
636
|
queryKey: q(e)
|
|
630
|
-
}), J = (e) => s("getTags", e),
|
|
637
|
+
}), J = (e) => s("getTags", e), zn = (e) => o({
|
|
631
638
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
632
639
|
let { data: r } = await Ye({
|
|
633
640
|
...e,
|
|
@@ -638,7 +645,7 @@ var s = (t, n, r, i) => {
|
|
|
638
645
|
return r;
|
|
639
646
|
},
|
|
640
647
|
queryKey: J(e)
|
|
641
|
-
}), Y = (e) => s("getTransactions", e),
|
|
648
|
+
}), Y = (e) => s("getTransactions", e), Bn = (e) => o({
|
|
642
649
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
643
650
|
let { data: r } = await Xe({
|
|
644
651
|
...e,
|
|
@@ -649,7 +656,7 @@ var s = (t, n, r, i) => {
|
|
|
649
656
|
return r;
|
|
650
657
|
},
|
|
651
658
|
queryKey: Y(e)
|
|
652
|
-
}), X = (e) => s("getTransactionsValidations", e),
|
|
659
|
+
}), X = (e) => s("getTransactionsValidations", e), Vn = (e) => o({
|
|
653
660
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
654
661
|
let { data: r } = await Ze({
|
|
655
662
|
...e,
|
|
@@ -660,14 +667,14 @@ var s = (t, n, r, i) => {
|
|
|
660
667
|
return r;
|
|
661
668
|
},
|
|
662
669
|
queryKey: X(e)
|
|
663
|
-
}),
|
|
664
|
-
let { data: n } = await
|
|
670
|
+
}), Hn = (e) => ({ mutationFn: async (t) => {
|
|
671
|
+
let { data: n } = await mt({
|
|
665
672
|
...e,
|
|
666
673
|
...t,
|
|
667
674
|
throwOnError: !0
|
|
668
675
|
});
|
|
669
676
|
return n;
|
|
670
|
-
} }),
|
|
677
|
+
} }), Un = (e) => s("getTransactionsId", e), Z = (e) => s("listDepartments", e), Wn = (e) => o({
|
|
671
678
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
672
679
|
let { data: r } = await rt({
|
|
673
680
|
...e,
|
|
@@ -678,7 +685,7 @@ var s = (t, n, r, i) => {
|
|
|
678
685
|
return r;
|
|
679
686
|
},
|
|
680
687
|
queryKey: Z(e)
|
|
681
|
-
}), Q = (e) => s("getDepartment", e),
|
|
688
|
+
}), Q = (e) => s("getDepartment", e), Gn = (e) => o({
|
|
682
689
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
683
690
|
let { data: r } = await Se({
|
|
684
691
|
...e,
|
|
@@ -689,7 +696,7 @@ var s = (t, n, r, i) => {
|
|
|
689
696
|
return r;
|
|
690
697
|
},
|
|
691
698
|
queryKey: Q(e)
|
|
692
|
-
}), $ = (e) => s("listLocations", e),
|
|
699
|
+
}), $ = (e) => s("listLocations", e), Kn = (e) => o({
|
|
693
700
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
694
701
|
let { data: r } = await it({
|
|
695
702
|
...e,
|
|
@@ -700,7 +707,7 @@ var s = (t, n, r, i) => {
|
|
|
700
707
|
return r;
|
|
701
708
|
},
|
|
702
709
|
queryKey: $(e)
|
|
703
|
-
}),
|
|
710
|
+
}), qn = (e) => s("getLocation", e), Jn = (e) => o({
|
|
704
711
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
705
712
|
let { data: r } = await Ae({
|
|
706
713
|
...e,
|
|
@@ -710,8 +717,8 @@ var s = (t, n, r, i) => {
|
|
|
710
717
|
});
|
|
711
718
|
return r;
|
|
712
719
|
},
|
|
713
|
-
queryKey:
|
|
714
|
-
}),
|
|
720
|
+
queryKey: qn(e)
|
|
721
|
+
}), Yn = (e) => s("getOrganization", e), Xn = (e) => o({
|
|
715
722
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
716
723
|
let { data: r } = await Me({
|
|
717
724
|
...e,
|
|
@@ -721,8 +728,8 @@ var s = (t, n, r, i) => {
|
|
|
721
728
|
});
|
|
722
729
|
return r;
|
|
723
730
|
},
|
|
724
|
-
queryKey:
|
|
725
|
-
}),
|
|
731
|
+
queryKey: Yn(e)
|
|
732
|
+
}), Zn = (e) => s("listRoles", e), Qn = (e) => o({
|
|
726
733
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
727
734
|
let { data: r } = await ot({
|
|
728
735
|
...e,
|
|
@@ -732,8 +739,8 @@ var s = (t, n, r, i) => {
|
|
|
732
739
|
});
|
|
733
740
|
return r;
|
|
734
741
|
},
|
|
735
|
-
queryKey:
|
|
736
|
-
}),
|
|
742
|
+
queryKey: Zn(e)
|
|
743
|
+
}), $n = (e) => s("listRolePermissions", e), er = (e) => o({
|
|
737
744
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
738
745
|
let { data: r } = await at({
|
|
739
746
|
...e,
|
|
@@ -743,8 +750,8 @@ var s = (t, n, r, i) => {
|
|
|
743
750
|
});
|
|
744
751
|
return r;
|
|
745
752
|
},
|
|
746
|
-
queryKey:
|
|
747
|
-
}),
|
|
753
|
+
queryKey: $n(e)
|
|
754
|
+
}), tr = (e) => s("getUserData", e), nr = (e) => o({
|
|
748
755
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
749
756
|
let { data: r } = await Qe({
|
|
750
757
|
...e,
|
|
@@ -754,15 +761,15 @@ var s = (t, n, r, i) => {
|
|
|
754
761
|
});
|
|
755
762
|
return r;
|
|
756
763
|
},
|
|
757
|
-
queryKey:
|
|
758
|
-
}),
|
|
759
|
-
let { data: n } = await
|
|
764
|
+
queryKey: tr(e)
|
|
765
|
+
}), rr = (e) => ({ mutationFn: async (t) => {
|
|
766
|
+
let { data: n } = await bt({
|
|
760
767
|
...e,
|
|
761
768
|
...t,
|
|
762
769
|
throwOnError: !0
|
|
763
770
|
});
|
|
764
771
|
return n;
|
|
765
|
-
} }),
|
|
772
|
+
} }), ir = (e) => s("getUsers", e), ar = (e) => o({
|
|
766
773
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
767
774
|
let { data: r } = await $e({
|
|
768
775
|
...e,
|
|
@@ -772,8 +779,8 @@ var s = (t, n, r, i) => {
|
|
|
772
779
|
});
|
|
773
780
|
return r;
|
|
774
781
|
},
|
|
775
|
-
queryKey:
|
|
776
|
-
}),
|
|
782
|
+
queryKey: ir(e)
|
|
783
|
+
}), or = (e) => ({ mutationFn: async (t) => {
|
|
777
784
|
let { data: n } = await ie({
|
|
778
785
|
...e,
|
|
779
786
|
...t,
|
|
@@ -782,4 +789,4 @@ var s = (t, n, r, i) => {
|
|
|
782
789
|
return n;
|
|
783
790
|
} });
|
|
784
791
|
//#endregion
|
|
785
|
-
export {
|
|
792
|
+
export { Vt as connectExternalBankAccountMutation, Jt as createAchMoneyMovementMutation, Ct as createApplicationMutation, Dt as createBankAccountMutation, Yt as createBookTransferMutation, Lt as createDebitCardMutation, en as deleteApprovalPoliciesIdMutation, gn as deleteLedgerAccountsIdMutation, jn as deleteReceiptsIdMutation, or as disableUserMutation, Xt as getAnalyticsPayablesOptions, v as getAnalyticsPayablesQueryKey, Zt as getAnalyticsReceivablesOptions, y as getAnalyticsReceivablesQueryKey, St as getApplicationStatusOptions, c as getApplicationStatusQueryKey, Qt as getApprovalPoliciesOptions, b as getApprovalPoliciesQueryKey, nn as getApprovalRequestsOptions, x as getApprovalRequestsQueryKey, At as getBankAccountAccessQueryKey, Ot as getBankAccountOptions, u as getBankAccountQueryKey, Mt as getBankAccountTransactionsOptions, d as getBankAccountTransactionsQueryKey, Nt as getBankAccountTransfersOptions, f as getBankAccountTransfersQueryKey, Et as getBankAccountsOptions, l as getBankAccountsQueryKey, on as getCounterpartsIdAddressesOptions, w as getCounterpartsIdAddressesQueryKey, sn as getCounterpartsIdBankAccountsOptions, T as getCounterpartsIdBankAccountsQueryKey, an as getCounterpartsIdOptions, C as getCounterpartsIdQueryKey, rn as getCounterpartsOptions, S as getCounterpartsQueryKey, Ft as getCreditCardByIdOptions, m as getCreditCardByIdQueryKey, Pt as getCreditCardsOptions, p as getCreditCardsQueryKey, zt as getDebitCardByIdOptions, g as getDebitCardByIdQueryKey, It as getDebitCardsOptions, h as getDebitCardsQueryKey, Gn as getDepartmentOptions, Q as getDepartmentQueryKey, ln as getEntitiesIdSettingsOptions, D as getEntitiesIdSettingsQueryKey, cn as getEntitiesMeOptions, E as getEntitiesMeQueryKey, fn as getEntityUsersMeOptions, k as getEntityUsersMeQueryKey, pn as getEntityUsersMyEntityOptions, A as getEntityUsersMyEntityQueryKey, dn as getEntityUsersOptions, O as getEntityUsersQueryKey, Wt as getExternalBankAccountAccessQueryKey, Bt as getExternalBankAccountsOptions, _ as getExternalBankAccountsQueryKey, mn as getLedgerAccountsOptions, j as getLedgerAccountsQueryKey, Jn as getLocationOptions, qn as getLocationQueryKey, vn as getMeasureUnitsOptions, M as getMeasureUnitsQueryKey, Xn as getOrganizationOptions, Yn as getOrganizationQueryKey, xn as getPayablesAnalyticsOptions, N as getPayablesAnalyticsQueryKey, Cn as getPayablesIdHistoryOptions, F as getPayablesIdHistoryQueryKey, wn as getPayablesIdLineItemsOptions, I as getPayablesIdLineItemsQueryKey, Sn as getPayablesIdOptions, P as getPayablesIdQueryKey, Tn as getPayablesIdSuggestionsOptions, L as getPayablesIdSuggestionsQueryKey, bn as getPayablesOptions, yn as getPayablesQueryKey, En as getPaymentRecordsOptions, R as getPaymentRecordsQueryKey, Dn as getPaymentTermsOptions, z as getPaymentTermsQueryKey, kn as getProductsIdOptions, V as getProductsIdQueryKey, On as getProductsOptions, B as getProductsQueryKey, Mn as getReceiptsIdQueryKey, An as getReceiptsOptions, H as getReceiptsQueryKey, In as getReceivablesIdHistoryOptions, G as getReceivablesIdHistoryQueryKey, Ln as getReceivablesIdMailsOptions, K as getReceivablesIdMailsQueryKey, Fn as getReceivablesIdOptions, Rn as getReceivablesIdPdfLinkOptions, q as getReceivablesIdPdfLinkQueryKey, W as getReceivablesIdQueryKey, Pn as getReceivablesOptions, U as getReceivablesQueryKey, zn as getTagsOptions, J as getTagsQueryKey, Un as getTransactionsIdQueryKey, Bn as getTransactionsOptions, Y as getTransactionsQueryKey, Vn as getTransactionsValidationsOptions, X as getTransactionsValidationsQueryKey, nr as getUserDataOptions, tr as getUserDataQueryKey, ar as getUsersOptions, ir as getUsersQueryKey, jt as grantBankAccountAccessMutation, Gt as grantExternalBankAccountAccessMutation, Kt as linkExternalBankAccountMutation, Wn as listDepartmentsOptions, Z as listDepartmentsQueryKey, Kn as listLocationsOptions, $ as listLocationsQueryKey, er as listRolePermissionsOptions, $n as listRolePermissionsQueryKey, Qn as listRolesOptions, Zn as listRolesQueryKey, Rt as manageDebitCardAccessMutation, tn as patchApprovalPoliciesIdMutation, un as patchEntitiesIdSettingsMutation, _n as patchLedgerAccountsIdMutation, Nn as patchReceiptsIdMutation, $t as postApprovalPoliciesMutation, hn as postLedgerAccountsMutation, Hn as putTransactionsValidationsMutation, Tt as submitApplicationMutation, Ht as unlinkExternalBankAccountMutation, wt as updateApplicationMutation, kt as updateBankAccountMutation, Ut as updateExternalBankAccountMutation, rr as upsertUserDataMutation, qt as validateExternalBankAccountMutation };
|