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