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