@bluecopa/react 0.1.112 → 0.1.114
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/hooks/pipeline/usePipelineOutputSample.d.ts +16 -0
- package/dist/hooks/pipeline/usePipelineOutputSample.d.ts.map +1 -0
- package/dist/hooks/pipeline/usePipelineOverview.d.ts +4 -0
- package/dist/hooks/pipeline/usePipelineOverview.d.ts.map +1 -0
- package/dist/hooks/solutions/useSolutionList.d.ts +9 -0
- package/dist/hooks/solutions/useSolutionList.d.ts.map +1 -0
- package/dist/hooks/solutions/useSolutionPicker.d.ts +19 -0
- package/dist/hooks/solutions/useSolutionPicker.d.ts.map +1 -0
- package/dist/hooks/useGetFileById.d.ts +11 -0
- package/dist/hooks/useGetFileById.d.ts.map +1 -0
- package/dist/hooks/versioning/useListBranches.d.ts +8 -0
- package/dist/hooks/versioning/useListBranches.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +797 -698
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useQuery as s, useMutation as
|
|
2
|
-
import * as
|
|
3
|
-
import { copaApi as r, copaGetConfig as
|
|
1
|
+
import { useQuery as s, useMutation as u, useQueryClient as w } from "@tanstack/react-query";
|
|
2
|
+
import * as ue from "@tanstack/react-query";
|
|
3
|
+
import { copaApi as r, copaGetConfig as C, copaUtils as v } from "@bluecopa/core";
|
|
4
4
|
export * from "@bluecopa/core";
|
|
5
|
-
import { useState as
|
|
6
|
-
import { ReactQueryDevtools as
|
|
7
|
-
const
|
|
5
|
+
import { useState as b, useRef as A, useEffect as P, useMemo as h, useCallback as G } from "react";
|
|
6
|
+
import { ReactQueryDevtools as Ur } from "@tanstack/react-query-devtools";
|
|
7
|
+
const O = {
|
|
8
8
|
enabled: !0,
|
|
9
9
|
staleTime: 1e3 * 60 * 5,
|
|
10
10
|
// 5 minutes
|
|
@@ -13,27 +13,27 @@ const M = {
|
|
|
13
13
|
retry: 2,
|
|
14
14
|
retryDelay: (e) => Math.min(1e3 * 2 ** e, 3e4)
|
|
15
15
|
};
|
|
16
|
-
function
|
|
16
|
+
function M(e = {}) {
|
|
17
17
|
return {
|
|
18
|
-
...
|
|
18
|
+
...O,
|
|
19
19
|
...e
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function L(e = 5e3) {
|
|
23
23
|
return new Promise((n) => setTimeout(n, e));
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
const t = Object.entries(e).filter(([a,
|
|
25
|
+
function x(e, n) {
|
|
26
|
+
const t = Object.entries(e).filter(([a, o]) => !o).map(([a]) => a);
|
|
27
27
|
if (t.length > 0)
|
|
28
28
|
throw new Error(
|
|
29
29
|
n || `Missing required parameters: ${t.join(", ")}`
|
|
30
30
|
);
|
|
31
31
|
}
|
|
32
32
|
function y(e, n, t = 0) {
|
|
33
|
-
return async () => (await
|
|
33
|
+
return async () => (await L(t), await e());
|
|
34
34
|
}
|
|
35
35
|
function d(e) {
|
|
36
|
-
const n =
|
|
36
|
+
const n = M(e.options);
|
|
37
37
|
return {
|
|
38
38
|
queryKey: e.queryKey,
|
|
39
39
|
queryFn: e.queryFn,
|
|
@@ -46,8 +46,8 @@ function d(e) {
|
|
|
46
46
|
onError: n.onError
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
const t = n.enabled !== !1 && !!e, a = n.solutionBindings ?? null,
|
|
49
|
+
function ce(e, n = {}) {
|
|
50
|
+
const t = n.enabled !== !1 && !!e, a = n.solutionBindings ?? null, o = y(async () => {
|
|
51
51
|
if (!e)
|
|
52
52
|
throw new Error("Metric ID is required");
|
|
53
53
|
return console.log("Fetching metric data..."), await r.metric.getData(e, {
|
|
@@ -55,13 +55,13 @@ function ue(e, n = {}) {
|
|
|
55
55
|
});
|
|
56
56
|
}), i = d({
|
|
57
57
|
queryKey: ["metricData", e, a, n.limit ?? null],
|
|
58
|
-
queryFn:
|
|
58
|
+
queryFn: o,
|
|
59
59
|
enabled: t,
|
|
60
60
|
options: n
|
|
61
61
|
});
|
|
62
62
|
return s(i);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function le(e, n = {}) {
|
|
65
65
|
const t = !!e, a = y(async () => {
|
|
66
66
|
if (!e)
|
|
67
67
|
throw new Error("Dataset ID is required");
|
|
@@ -69,16 +69,16 @@ function se(e, n = {}) {
|
|
|
69
69
|
datasetId: e,
|
|
70
70
|
dataFilter: "all_data"
|
|
71
71
|
});
|
|
72
|
-
}),
|
|
72
|
+
}), o = d({
|
|
73
73
|
queryKey: ["datasetData", e],
|
|
74
74
|
queryFn: a,
|
|
75
75
|
enabled: t,
|
|
76
76
|
options: n
|
|
77
77
|
});
|
|
78
|
-
return s(
|
|
78
|
+
return s(o);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return
|
|
80
|
+
function ye(e = {}) {
|
|
81
|
+
return u({
|
|
82
82
|
mutationFn: async (n) => await r.chat.createThread(n),
|
|
83
83
|
onSuccess: e.onSuccess,
|
|
84
84
|
onError: e.onError,
|
|
@@ -86,20 +86,20 @@ function ie(e = {}) {
|
|
|
86
86
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
const t = n.enabled !== !1 && !!e, a = y(async () => (
|
|
89
|
+
function de(e, n = {}) {
|
|
90
|
+
const t = n.enabled !== !1 && !!e, a = y(async () => (x(
|
|
91
91
|
{ threadId: e },
|
|
92
92
|
"Thread ID is required to fetch comments"
|
|
93
|
-
), await r.chat.getCommentsByThreadId(e))),
|
|
93
|
+
), await r.chat.getCommentsByThreadId(e))), o = d({
|
|
94
94
|
queryKey: ["chat", "comments", e],
|
|
95
95
|
queryFn: a,
|
|
96
96
|
enabled: t,
|
|
97
97
|
options: n
|
|
98
98
|
});
|
|
99
|
-
return s(
|
|
99
|
+
return s(o);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function ge(e = {}) {
|
|
102
|
+
return u({
|
|
103
103
|
mutationFn: async (n) => await r.chat.postComment(n),
|
|
104
104
|
onSuccess: e.onSuccess,
|
|
105
105
|
onError: e.onError,
|
|
@@ -107,8 +107,8 @@ function le(e = {}) {
|
|
|
107
107
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
110
|
+
function fe(e = {}) {
|
|
111
|
+
return u({
|
|
112
112
|
mutationFn: async (n) => await r.chat.updateComment(n),
|
|
113
113
|
onSuccess: e.onSuccess,
|
|
114
114
|
onError: e.onError,
|
|
@@ -116,8 +116,8 @@ function ye(e = {}) {
|
|
|
116
116
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
return
|
|
119
|
+
function me(e = {}) {
|
|
120
|
+
return u({
|
|
121
121
|
mutationFn: async (n) => await r.chat.deleteComment(n),
|
|
122
122
|
onSuccess: e.onSuccess,
|
|
123
123
|
onError: e.onError,
|
|
@@ -125,8 +125,8 @@ function de(e = {}) {
|
|
|
125
125
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
return
|
|
128
|
+
function we(e = {}) {
|
|
129
|
+
return u({
|
|
130
130
|
mutationFn: async (n) => await r.chat.subscribeUser(n),
|
|
131
131
|
onSuccess: e.onSuccess,
|
|
132
132
|
onError: e.onError,
|
|
@@ -134,8 +134,8 @@ function ge(e = {}) {
|
|
|
134
134
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
return
|
|
137
|
+
function pe(e = {}) {
|
|
138
|
+
return u({
|
|
139
139
|
mutationFn: async (n) => await r.chat.unsubscribeUser(n),
|
|
140
140
|
onSuccess: e.onSuccess,
|
|
141
141
|
onError: e.onError,
|
|
@@ -143,40 +143,40 @@ function fe(e = {}) {
|
|
|
143
143
|
retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
const a = t.enabled !== !1 && !!e && !!n,
|
|
146
|
+
function Fe(e, n, t = {}) {
|
|
147
|
+
const a = t.enabled !== !1 && !!e && !!n, o = y(async () => (x(
|
|
148
148
|
{ userId: e, threadId: n },
|
|
149
149
|
"User ID and Thread ID are required to check subscription status"
|
|
150
150
|
), await r.chat.checkSubscriptionStatus(e, n))), i = d({
|
|
151
151
|
queryKey: ["chat", "subscription", e, n],
|
|
152
|
-
queryFn:
|
|
152
|
+
queryFn: o,
|
|
153
153
|
enabled: a,
|
|
154
154
|
options: t
|
|
155
155
|
});
|
|
156
156
|
return s(i);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return
|
|
158
|
+
function qe(e = {}) {
|
|
159
|
+
return u({
|
|
160
160
|
mutationFn: async (n) => await r.statement.createNewRun(n),
|
|
161
161
|
...e
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function be(e, n = {}) {
|
|
165
165
|
const t = !!e, a = y(async () => {
|
|
166
166
|
if (!e)
|
|
167
167
|
throw new Error("Dataset ID is required");
|
|
168
168
|
return console.log("Fetching dataset data..."), await r.dataset.getData(e, {
|
|
169
169
|
limit: n.limit || 1e3
|
|
170
170
|
});
|
|
171
|
-
}),
|
|
171
|
+
}), o = d({
|
|
172
172
|
queryKey: ["datasetData", e],
|
|
173
173
|
queryFn: a,
|
|
174
174
|
enabled: t,
|
|
175
175
|
options: n
|
|
176
176
|
});
|
|
177
|
-
return s(
|
|
177
|
+
return s(o);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function he() {
|
|
180
180
|
const e = y(async () => (console.log("Fetching dataset data..."), await r.dataset.getAllDatasets())), n = d({
|
|
181
181
|
queryKey: ["datasetData"],
|
|
182
182
|
queryFn: e,
|
|
@@ -184,7 +184,7 @@ function pe() {
|
|
|
184
184
|
});
|
|
185
185
|
return s(n);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function De() {
|
|
188
188
|
const e = y(async () => await r.dataset.getVirtualDatasets()), n = d({
|
|
189
189
|
queryKey: ["virtualDatasets"],
|
|
190
190
|
queryFn: e,
|
|
@@ -192,8 +192,8 @@ function qe() {
|
|
|
192
192
|
});
|
|
193
193
|
return s(n);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
const
|
|
195
|
+
function Te(e, n, t, a = {}) {
|
|
196
|
+
const o = !!e && !!n && !!t, i = y(async () => {
|
|
197
197
|
if (!e || !n || !t)
|
|
198
198
|
throw new Error("Key, contentType, and method are required");
|
|
199
199
|
return console.log("Getting signed file URL..."), await r.files.getFileUrlByFileId({
|
|
@@ -204,21 +204,21 @@ function be(e, n, t, a = {}) {
|
|
|
204
204
|
}), c = d({
|
|
205
205
|
queryKey: ["file", "getFileUrlByFileId", e, n, t],
|
|
206
206
|
queryFn: i,
|
|
207
|
-
enabled:
|
|
207
|
+
enabled: o,
|
|
208
208
|
options: a
|
|
209
209
|
});
|
|
210
210
|
return s(c);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
const a = e?.trim(),
|
|
212
|
+
function Re(e, n, t = {}) {
|
|
213
|
+
const a = e?.trim(), o = n?.trim(), i = !!(a && o), c = y(async () => await r.files.getFileByFolderIdAndName({
|
|
214
214
|
folderId: a,
|
|
215
|
-
name:
|
|
215
|
+
name: o
|
|
216
216
|
})), l = d({
|
|
217
217
|
queryKey: [
|
|
218
218
|
"file",
|
|
219
219
|
"getFileByFolderIdAndName",
|
|
220
220
|
a,
|
|
221
|
-
|
|
221
|
+
o
|
|
222
222
|
],
|
|
223
223
|
queryFn: c,
|
|
224
224
|
enabled: i,
|
|
@@ -226,47 +226,56 @@ function he(e, n, t = {}) {
|
|
|
226
226
|
});
|
|
227
227
|
return s(l);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
const
|
|
229
|
+
function Se(e, n = {}) {
|
|
230
|
+
const t = e?.trim(), a = !!t, o = y(async () => await r.files.getFileById({ id: t })), i = d({
|
|
231
|
+
queryKey: ["file", "getFileById", t],
|
|
232
|
+
queryFn: o,
|
|
233
|
+
enabled: a,
|
|
234
|
+
options: n
|
|
235
|
+
});
|
|
236
|
+
return s(i);
|
|
237
|
+
}
|
|
238
|
+
function ke(e, n, t = {}) {
|
|
239
|
+
const a = !!e && !!n, o = y(async () => {
|
|
231
240
|
if (!e || !n)
|
|
232
241
|
throw new Error("Type and ID are required");
|
|
233
242
|
return console.log("Fetching published workbook by ID..."), await r.workbook.getPublishedWorkbookById({ type: e, id: n });
|
|
234
243
|
}), i = d({
|
|
235
244
|
queryKey: ["workbook", "getPublishedWorkbookById", e, n],
|
|
236
|
-
queryFn:
|
|
245
|
+
queryFn: o,
|
|
237
246
|
enabled: a,
|
|
238
247
|
options: t
|
|
239
248
|
});
|
|
240
249
|
return s(i);
|
|
241
250
|
}
|
|
242
|
-
function
|
|
251
|
+
function Ie(e, n = {}) {
|
|
243
252
|
const t = !!e, a = y(async () => {
|
|
244
253
|
if (!e)
|
|
245
254
|
throw new Error("Run ID is required");
|
|
246
255
|
return await r.statement.getRunResultById(e);
|
|
247
|
-
}),
|
|
256
|
+
}), o = d({
|
|
248
257
|
queryKey: ["statement", "getRunResultById", e],
|
|
249
258
|
queryFn: a,
|
|
250
259
|
enabled: t,
|
|
251
260
|
options: n
|
|
252
261
|
});
|
|
253
|
-
return s(
|
|
262
|
+
return s(o);
|
|
254
263
|
}
|
|
255
|
-
function
|
|
264
|
+
function Ce(e, n = {}) {
|
|
256
265
|
const t = !!e, a = y(async () => {
|
|
257
266
|
if (!e)
|
|
258
267
|
throw new Error("View ID is required");
|
|
259
268
|
return await r.statement.getRunsByViewId(e);
|
|
260
|
-
}),
|
|
269
|
+
}), o = d({
|
|
261
270
|
queryKey: ["statement", "getRunsByViewId", e],
|
|
262
271
|
queryFn: a,
|
|
263
272
|
enabled: t,
|
|
264
273
|
options: n
|
|
265
274
|
});
|
|
266
|
-
return s(
|
|
275
|
+
return s(o);
|
|
267
276
|
}
|
|
268
|
-
function
|
|
269
|
-
const
|
|
277
|
+
function Pe(e, n, t, a = {}) {
|
|
278
|
+
const o = !!e, i = y(async () => {
|
|
270
279
|
if (!e)
|
|
271
280
|
throw new Error("Statement ID is required");
|
|
272
281
|
return await r.statement.getData({
|
|
@@ -277,123 +286,123 @@ function ke(e, n, t, a = {}) {
|
|
|
277
286
|
}), c = d({
|
|
278
287
|
queryKey: ["statement", "getData", e, n, t],
|
|
279
288
|
queryFn: i,
|
|
280
|
-
enabled:
|
|
289
|
+
enabled: o,
|
|
281
290
|
options: a
|
|
282
291
|
});
|
|
283
292
|
return s(c);
|
|
284
293
|
}
|
|
285
|
-
function
|
|
294
|
+
function xe(e, n = {}) {
|
|
286
295
|
const t = !!e, a = y(async () => {
|
|
287
296
|
if (!e)
|
|
288
297
|
throw new Error("Table ID is required");
|
|
289
298
|
return console.log("Fetching table by ID..."), await r.inputTable.getTableById(e);
|
|
290
|
-
}),
|
|
299
|
+
}), o = d({
|
|
291
300
|
queryKey: ["inputTable", "getTableById", e],
|
|
292
301
|
queryFn: a,
|
|
293
302
|
enabled: t,
|
|
294
303
|
options: n
|
|
295
304
|
});
|
|
296
|
-
return s(
|
|
305
|
+
return s(o);
|
|
297
306
|
}
|
|
298
|
-
function
|
|
307
|
+
function Ke(e, n = {}) {
|
|
299
308
|
const t = !!e, a = y(async () => {
|
|
300
309
|
if (!e)
|
|
301
310
|
throw new Error("View ID is required");
|
|
302
311
|
return await r.statement.getViewById(e);
|
|
303
|
-
}),
|
|
312
|
+
}), o = d({
|
|
304
313
|
queryKey: ["statement", "getViewById", e],
|
|
305
314
|
queryFn: a,
|
|
306
315
|
enabled: t,
|
|
307
316
|
options: n
|
|
308
317
|
});
|
|
309
|
-
return s(
|
|
318
|
+
return s(o);
|
|
310
319
|
}
|
|
311
|
-
function
|
|
320
|
+
function Ve(e, n = {}) {
|
|
312
321
|
const t = !!e, a = y(async () => {
|
|
313
322
|
if (!e)
|
|
314
323
|
throw new Error("Sheet ID is required");
|
|
315
324
|
return await r.statement.getViewsBySheetId(e);
|
|
316
|
-
}),
|
|
325
|
+
}), o = d({
|
|
317
326
|
queryKey: ["statement", "getViewsBySheetId", e],
|
|
318
327
|
queryFn: a,
|
|
319
328
|
enabled: t,
|
|
320
329
|
options: n
|
|
321
330
|
});
|
|
322
|
-
return s(
|
|
331
|
+
return s(o);
|
|
323
332
|
}
|
|
324
|
-
function
|
|
333
|
+
function Ee(e, n = {}) {
|
|
325
334
|
const t = !!e, a = y(async () => {
|
|
326
335
|
if (!e)
|
|
327
336
|
throw new Error("Type is required");
|
|
328
337
|
return console.log("Fetching workbooks by type..."), await r.workbook.getWorkbooksByType(e);
|
|
329
|
-
}),
|
|
338
|
+
}), o = d({
|
|
330
339
|
queryKey: ["workbook", "getWorkbooksByType", e],
|
|
331
340
|
queryFn: a,
|
|
332
341
|
enabled: t,
|
|
333
342
|
options: n
|
|
334
343
|
});
|
|
335
|
-
return s(
|
|
344
|
+
return s(o);
|
|
336
345
|
}
|
|
337
346
|
var U = /* @__PURE__ */ ((e) => (e.Succeeded = "Succeeded", e.Failed = "Failed", e.Running = "Running", e.NotFound = "NotFound", e))(U || {});
|
|
338
|
-
function
|
|
339
|
-
return
|
|
347
|
+
function Be(e = {}) {
|
|
348
|
+
return u({
|
|
340
349
|
mutationFn: async (n) => (console.log("Fetching workflow instance status..."), await r.workflow.getWorkflowInstanceStatusById(n)),
|
|
341
350
|
...e
|
|
342
351
|
});
|
|
343
352
|
}
|
|
344
|
-
function
|
|
353
|
+
function ve(e, n = {}) {
|
|
345
354
|
const t = !!e && e.length > 0, a = y(async () => {
|
|
346
355
|
if (!e || e.length === 0)
|
|
347
356
|
throw new Error("Worksheet IDs are required");
|
|
348
357
|
return console.log("Fetching worksheets..."), await r.worksheet.getWorksheets(e);
|
|
349
|
-
}),
|
|
358
|
+
}), o = d({
|
|
350
359
|
queryKey: ["worksheet", "getWorksheets", e],
|
|
351
360
|
queryFn: a,
|
|
352
361
|
enabled: t,
|
|
353
362
|
options: n
|
|
354
363
|
});
|
|
355
|
-
return s(
|
|
364
|
+
return s(o);
|
|
356
365
|
}
|
|
357
|
-
function
|
|
366
|
+
function Ae(e, n = {}) {
|
|
358
367
|
const t = !!e, a = y(async () => {
|
|
359
368
|
if (!e)
|
|
360
369
|
throw new Error("Type is required");
|
|
361
370
|
return console.log("Fetching worksheets by type..."), await r.worksheet.getWorksheetsByType(e);
|
|
362
|
-
}),
|
|
371
|
+
}), o = d({
|
|
363
372
|
queryKey: ["worksheet", "getWorksheetsByType", e],
|
|
364
373
|
queryFn: a,
|
|
365
374
|
enabled: t,
|
|
366
375
|
options: n
|
|
367
376
|
});
|
|
368
|
-
return s(
|
|
377
|
+
return s(o);
|
|
369
378
|
}
|
|
370
|
-
function
|
|
379
|
+
function Ge(e, n, t = {}) {
|
|
371
380
|
const {
|
|
372
381
|
limitParams: a = { limit: 2e3, limitFrom: "top" },
|
|
373
|
-
pageParams:
|
|
382
|
+
pageParams: o,
|
|
374
383
|
sortParams: i,
|
|
375
384
|
offsetParam: c,
|
|
376
385
|
...l
|
|
377
|
-
} = t,
|
|
386
|
+
} = t, g = l.enabled !== !1 && !!e && !!n, f = y(async () => {
|
|
378
387
|
if (!e || !n)
|
|
379
388
|
throw new Error("Input table ID and view ID are required");
|
|
380
389
|
return console.log("Fetching input table data..."), await r.inputTable.getData({
|
|
381
390
|
inputTableId: e,
|
|
382
391
|
inputTableViewId: n,
|
|
383
|
-
pageParams:
|
|
392
|
+
pageParams: o,
|
|
384
393
|
limitParams: a,
|
|
385
394
|
sortParams: i,
|
|
386
395
|
offsetParam: c
|
|
387
396
|
});
|
|
388
|
-
}),
|
|
397
|
+
}), m = d({
|
|
389
398
|
queryKey: ["inputTableData", e, n],
|
|
390
|
-
queryFn:
|
|
391
|
-
enabled:
|
|
399
|
+
queryFn: f,
|
|
400
|
+
enabled: g,
|
|
392
401
|
options: l
|
|
393
402
|
});
|
|
394
|
-
return s(
|
|
403
|
+
return s(m);
|
|
395
404
|
}
|
|
396
|
-
function
|
|
405
|
+
function Oe() {
|
|
397
406
|
const e = y(async () => (console.log("Fetching input table data..."), await r.inputTable.getInputTables())), n = d({
|
|
398
407
|
queryKey: ["inputTableData"],
|
|
399
408
|
queryFn: e,
|
|
@@ -401,7 +410,7 @@ function Ae() {
|
|
|
401
410
|
});
|
|
402
411
|
return s(n);
|
|
403
412
|
}
|
|
404
|
-
function
|
|
413
|
+
function Me(e, n = {}) {
|
|
405
414
|
const t = [
|
|
406
415
|
"enabled",
|
|
407
416
|
"staleTime",
|
|
@@ -410,25 +419,25 @@ function Ge(e, n = {}) {
|
|
|
410
419
|
"retryDelay",
|
|
411
420
|
"onSuccess",
|
|
412
421
|
"onError"
|
|
413
|
-
], { limit: a, offset:
|
|
414
|
-
Object.keys(l).forEach((
|
|
415
|
-
t.includes(
|
|
422
|
+
], { limit: a, offset: o, order: i, order_by: c, ...l } = n, g = {}, f = { limit: a, offset: o, order: i, order_by: c };
|
|
423
|
+
Object.keys(l).forEach((F) => {
|
|
424
|
+
t.includes(F) ? g[F] = l[F] : f[F] = l[F];
|
|
416
425
|
});
|
|
417
|
-
const
|
|
426
|
+
const m = g.enabled !== !1 && !!e, q = y(async () => {
|
|
418
427
|
if (!e)
|
|
419
428
|
throw new Error("Table ID is required");
|
|
420
|
-
return console.log("Fetching input table rows..."), await r.inputTable.getRows(e,
|
|
421
|
-
}),
|
|
429
|
+
return console.log("Fetching input table rows..."), await r.inputTable.getRows(e, f);
|
|
430
|
+
}), p = d({
|
|
422
431
|
queryKey: ["inputTableRows", e, n],
|
|
423
432
|
queryFn: q,
|
|
424
|
-
enabled:
|
|
425
|
-
options:
|
|
433
|
+
enabled: m,
|
|
434
|
+
options: g
|
|
426
435
|
});
|
|
427
|
-
return s(
|
|
436
|
+
return s(p);
|
|
428
437
|
}
|
|
429
|
-
function
|
|
430
|
-
const n =
|
|
431
|
-
return
|
|
438
|
+
function Le(e = {}) {
|
|
439
|
+
const n = w();
|
|
440
|
+
return u({
|
|
432
441
|
mutationFn: async (t) => (console.log("Inserting row into input table..."), await r.inputTable.insertRow(t.tableId, t.rowData)),
|
|
433
442
|
onSuccess: (t, a) => {
|
|
434
443
|
n.invalidateQueries({
|
|
@@ -441,9 +450,9 @@ function Be(e = {}) {
|
|
|
441
450
|
...e
|
|
442
451
|
});
|
|
443
452
|
}
|
|
444
|
-
function
|
|
445
|
-
const n =
|
|
446
|
-
return
|
|
453
|
+
function Ue(e = {}) {
|
|
454
|
+
const n = w();
|
|
455
|
+
return u({
|
|
447
456
|
mutationFn: async (t) => (console.log("Updating input table row..."), await r.inputTable.updateRow(
|
|
448
457
|
t.tableId,
|
|
449
458
|
t.updateData,
|
|
@@ -460,9 +469,9 @@ function Me(e = {}) {
|
|
|
460
469
|
...e
|
|
461
470
|
});
|
|
462
471
|
}
|
|
463
|
-
function
|
|
464
|
-
const n =
|
|
465
|
-
return
|
|
472
|
+
function Qe(e = {}) {
|
|
473
|
+
const n = w();
|
|
474
|
+
return u({
|
|
466
475
|
mutationFn: async (t) => (console.log("Deleting input table row(s)..."), await r.inputTable.deleteRow(
|
|
467
476
|
t.tableId,
|
|
468
477
|
t.rowId,
|
|
@@ -479,37 +488,37 @@ function ve(e = {}) {
|
|
|
479
488
|
...e
|
|
480
489
|
});
|
|
481
490
|
}
|
|
482
|
-
function
|
|
483
|
-
return
|
|
491
|
+
function We(e = {}) {
|
|
492
|
+
return u({
|
|
484
493
|
mutationFn: async (n) => (console.log("Running definition..."), await r.definition.runDefinition(n)),
|
|
485
494
|
...e
|
|
486
495
|
});
|
|
487
496
|
}
|
|
488
|
-
function
|
|
489
|
-
return
|
|
497
|
+
function He(e = {}) {
|
|
498
|
+
return u({
|
|
490
499
|
mutationFn: async (n) => await r.definition.runPublishedDefinition(n),
|
|
491
500
|
...e
|
|
492
501
|
});
|
|
493
502
|
}
|
|
494
|
-
function
|
|
495
|
-
return
|
|
503
|
+
function _e(e = {}) {
|
|
504
|
+
return u({
|
|
496
505
|
mutationFn: async (n) => await r.definition.runSampleDefinition(n),
|
|
497
506
|
...e
|
|
498
507
|
});
|
|
499
508
|
}
|
|
500
|
-
function
|
|
501
|
-
return
|
|
509
|
+
function ze(e = {}) {
|
|
510
|
+
return u({
|
|
502
511
|
mutationFn: async (n) => (console.log("Triggering HTTP workflow..."), await r.workflow.triggerHttpWorkflowById(n)),
|
|
503
512
|
...e
|
|
504
513
|
});
|
|
505
514
|
}
|
|
506
|
-
function
|
|
507
|
-
return
|
|
515
|
+
function Ne(e = {}) {
|
|
516
|
+
return u({
|
|
508
517
|
mutationFn: async (n) => (console.log("Triggering workflow..."), await r.workflow.triggerWorkflowById(n)),
|
|
509
518
|
...e
|
|
510
519
|
});
|
|
511
520
|
}
|
|
512
|
-
function
|
|
521
|
+
function Q(e = {}) {
|
|
513
522
|
const n = e.enabled !== !1, t = y(async () => (console.log("Fetching user details..."), await r.user.getLoggedInUserDetails())), a = d({
|
|
514
523
|
queryKey: ["user"],
|
|
515
524
|
queryFn: t,
|
|
@@ -518,108 +527,108 @@ function L(e = {}) {
|
|
|
518
527
|
});
|
|
519
528
|
return s(a);
|
|
520
529
|
}
|
|
521
|
-
const
|
|
522
|
-
function
|
|
523
|
-
const a = t.enabled !== !1 && !!e?.trim(),
|
|
530
|
+
const je = Q, W = ["Owner", "Editor", "Viewer", "ReadOnly"], I = r.permissions?.getPermissions;
|
|
531
|
+
function $e(e, n, t = {}) {
|
|
532
|
+
const a = t.enabled !== !1 && !!e?.trim(), o = y(
|
|
524
533
|
async () => {
|
|
525
534
|
if (!e?.trim())
|
|
526
535
|
return {};
|
|
527
|
-
if (!
|
|
536
|
+
if (!I)
|
|
528
537
|
throw new Error(
|
|
529
538
|
"@bluecopa/core: permissions.getPermissions not available. Rebuild the core package."
|
|
530
539
|
);
|
|
531
|
-
const c =
|
|
540
|
+
const c = C();
|
|
532
541
|
if (!c.userId)
|
|
533
542
|
throw new Error(
|
|
534
543
|
"@bluecopa/core: userId is required. Call copaSetConfig({ userId, ... }) before using useDocumentPermissions."
|
|
535
544
|
);
|
|
536
|
-
return await
|
|
545
|
+
return await I({
|
|
537
546
|
objectId: e.trim(),
|
|
538
547
|
objectType: n,
|
|
539
548
|
user: c.userId,
|
|
540
549
|
userType: "User",
|
|
541
|
-
relations: t.relations ??
|
|
550
|
+
relations: t.relations ?? W
|
|
542
551
|
});
|
|
543
552
|
},
|
|
544
553
|
void 0,
|
|
545
554
|
0
|
|
546
555
|
), i = d({
|
|
547
556
|
queryKey: ["documentPermissions", e ?? "", n, t.relations ?? []],
|
|
548
|
-
queryFn:
|
|
557
|
+
queryFn: o,
|
|
549
558
|
enabled: a,
|
|
550
559
|
options: t
|
|
551
560
|
});
|
|
552
561
|
return s(i);
|
|
553
562
|
}
|
|
554
|
-
function
|
|
555
|
-
return
|
|
563
|
+
function Je(e = {}) {
|
|
564
|
+
return u({
|
|
556
565
|
mutationFn: async (n) => (console.log("Uploading file..."), await r.files.fileUpload(n)),
|
|
557
566
|
...e
|
|
558
567
|
});
|
|
559
568
|
}
|
|
560
|
-
function
|
|
569
|
+
function Xe({
|
|
561
570
|
fileId: e,
|
|
562
571
|
contentType: n = "application/json",
|
|
563
572
|
method: t = "GET"
|
|
564
573
|
}, a = {}) {
|
|
565
|
-
const
|
|
574
|
+
const o = !!e, i = y(async () => {
|
|
566
575
|
if (!e)
|
|
567
576
|
throw new Error("File ID is required");
|
|
568
577
|
return console.log("Downloading file..."), await r.files.fileDownload({ fileId: e, contentType: n, method: t });
|
|
569
578
|
}), c = d({
|
|
570
579
|
queryKey: ["file", "fileDownload", e],
|
|
571
580
|
queryFn: i,
|
|
572
|
-
enabled:
|
|
581
|
+
enabled: o,
|
|
573
582
|
options: a
|
|
574
583
|
});
|
|
575
584
|
return s(c);
|
|
576
585
|
}
|
|
577
|
-
function
|
|
586
|
+
function Ye(e, n = {}) {
|
|
578
587
|
const t = !!e, a = y(async () => {
|
|
579
588
|
if (!e)
|
|
580
589
|
throw new Error("Task ID is required");
|
|
581
590
|
return console.log("Fetching task details..."), await r.task.getTaskDetails({ taskId: e });
|
|
582
|
-
}),
|
|
591
|
+
}), o = d({
|
|
583
592
|
queryKey: ["task", "getTaskDetails", e],
|
|
584
593
|
queryFn: a,
|
|
585
594
|
enabled: t,
|
|
586
595
|
options: n
|
|
587
596
|
});
|
|
588
|
-
return s(
|
|
597
|
+
return s(o);
|
|
589
598
|
}
|
|
590
|
-
function
|
|
599
|
+
function Ze(e, n = {}) {
|
|
591
600
|
const t = !!e, a = y(async () => {
|
|
592
601
|
if (!e)
|
|
593
602
|
throw new Error("Workbook ID is required");
|
|
594
603
|
return console.log("Fetching workbook details..."), await r.workbook.getWorkbookDetails({ workbookId: e });
|
|
595
|
-
}),
|
|
604
|
+
}), o = d({
|
|
596
605
|
queryKey: ["workbook", "getWorkbookDetails", e],
|
|
597
606
|
queryFn: a,
|
|
598
607
|
enabled: t,
|
|
599
608
|
options: n
|
|
600
609
|
});
|
|
601
|
-
return s(
|
|
610
|
+
return s(o);
|
|
602
611
|
}
|
|
603
|
-
function
|
|
604
|
-
return
|
|
612
|
+
function en(e = {}) {
|
|
613
|
+
return u({
|
|
605
614
|
mutationFn: async (n) => (console.log("Saving workbook..."), await r.workbook.saveWorkbook(n)),
|
|
606
615
|
...e
|
|
607
616
|
});
|
|
608
617
|
}
|
|
609
|
-
function
|
|
610
|
-
return
|
|
618
|
+
function nn(e = {}) {
|
|
619
|
+
return u({
|
|
611
620
|
mutationFn: async (n) => (console.log("Publishing workbook..."), await r.workbook.publishWorkbook(n)),
|
|
612
621
|
...e
|
|
613
622
|
});
|
|
614
623
|
}
|
|
615
|
-
function
|
|
616
|
-
return
|
|
624
|
+
function tn(e = {}) {
|
|
625
|
+
return u({
|
|
617
626
|
mutationFn: async (n) => (console.log("Running recon workflow..."), await r.recon.runRecon(n)),
|
|
618
627
|
...e
|
|
619
628
|
});
|
|
620
629
|
}
|
|
621
|
-
function
|
|
622
|
-
const a = !!e && !!n,
|
|
630
|
+
function rn(e, n, t = {}) {
|
|
631
|
+
const a = !!e && !!n, o = y(async () => {
|
|
623
632
|
if (!e || !n)
|
|
624
633
|
throw new Error("Form instance ID and revision are required");
|
|
625
634
|
return console.log("Fetching form schema..."), await r.form.getFormSchema({ formInstanceId: e, formRevision: n });
|
|
@@ -627,26 +636,26 @@ function Ze(e, n, t = {}) {
|
|
|
627
636
|
return s(
|
|
628
637
|
d({
|
|
629
638
|
queryKey: ["form", "getFormSchema", e, n],
|
|
630
|
-
queryFn:
|
|
639
|
+
queryFn: o,
|
|
631
640
|
enabled: a,
|
|
632
641
|
options: t
|
|
633
642
|
})
|
|
634
643
|
);
|
|
635
644
|
}
|
|
636
|
-
function
|
|
645
|
+
function an(e, n = {}) {
|
|
637
646
|
const t = !!e, a = y(async () => {
|
|
638
647
|
if (!e)
|
|
639
648
|
throw new Error("Form ID is required");
|
|
640
649
|
return console.log("Fetching form data..."), await r.form.getFormData({ formId: e });
|
|
641
|
-
}),
|
|
650
|
+
}), o = d({
|
|
642
651
|
queryKey: ["form", "getFormData", e],
|
|
643
652
|
queryFn: a,
|
|
644
653
|
enabled: t,
|
|
645
654
|
options: n
|
|
646
655
|
});
|
|
647
|
-
return s(
|
|
656
|
+
return s(o);
|
|
648
657
|
}
|
|
649
|
-
function
|
|
658
|
+
function on(e, n = {}) {
|
|
650
659
|
return s({
|
|
651
660
|
queryKey: ["form", e],
|
|
652
661
|
queryFn: async () => {
|
|
@@ -658,70 +667,70 @@ function nn(e, n = {}) {
|
|
|
658
667
|
...n
|
|
659
668
|
});
|
|
660
669
|
}
|
|
661
|
-
function
|
|
662
|
-
return
|
|
670
|
+
function un(e = {}) {
|
|
671
|
+
return u({
|
|
663
672
|
mutationFn: async (n) => await r.form.createOrUpdateForm(n),
|
|
664
673
|
...e
|
|
665
674
|
});
|
|
666
675
|
}
|
|
667
|
-
function
|
|
668
|
-
return
|
|
676
|
+
function sn(e = {}) {
|
|
677
|
+
return u({
|
|
669
678
|
mutationFn: async (n) => await r.audit.getAuditLogs(n),
|
|
670
679
|
...e
|
|
671
680
|
});
|
|
672
681
|
}
|
|
673
|
-
function
|
|
674
|
-
return
|
|
682
|
+
function cn(e = {}) {
|
|
683
|
+
return u({
|
|
675
684
|
mutationFn: async (n) => await r.audit.createAuditLog(n),
|
|
676
685
|
...e
|
|
677
686
|
});
|
|
678
687
|
}
|
|
679
|
-
function
|
|
688
|
+
function ln(e = {}) {
|
|
680
689
|
return s({
|
|
681
690
|
queryKey: ["templatedPipelines"],
|
|
682
691
|
queryFn: async () => await r.templatedPipeline.getAllTemplatedPipelines(),
|
|
683
692
|
...e
|
|
684
693
|
});
|
|
685
694
|
}
|
|
686
|
-
function
|
|
695
|
+
function yn(e = {}) {
|
|
687
696
|
return s({
|
|
688
697
|
queryKey: ["reconWorkflows"],
|
|
689
698
|
queryFn: async () => await r.recon.getAllReconWorkflows(),
|
|
690
699
|
...e
|
|
691
700
|
});
|
|
692
701
|
}
|
|
693
|
-
function
|
|
694
|
-
return
|
|
702
|
+
function H(e = {}) {
|
|
703
|
+
return u({
|
|
695
704
|
mutationFn: async (n) => await r.reconV2.createReconV2(n),
|
|
696
705
|
...e
|
|
697
706
|
});
|
|
698
707
|
}
|
|
699
|
-
function
|
|
700
|
-
return
|
|
708
|
+
function _(e = {}) {
|
|
709
|
+
return u({
|
|
701
710
|
mutationFn: async (n) => await r.reconV2.updateReconV2(n),
|
|
702
711
|
...e
|
|
703
712
|
});
|
|
704
713
|
}
|
|
705
|
-
function
|
|
706
|
-
return
|
|
714
|
+
function dn(e = {}) {
|
|
715
|
+
return u({
|
|
707
716
|
mutationFn: async (n) => await r.reconV2.deleteReconV2(n),
|
|
708
717
|
...e
|
|
709
718
|
});
|
|
710
719
|
}
|
|
711
|
-
function
|
|
712
|
-
return
|
|
720
|
+
function z(e = {}) {
|
|
721
|
+
return u({
|
|
713
722
|
mutationFn: async (n) => await r.reconV2.runReconV2(n),
|
|
714
723
|
...e
|
|
715
724
|
});
|
|
716
725
|
}
|
|
717
|
-
function
|
|
726
|
+
function N(e = {}) {
|
|
718
727
|
return s({
|
|
719
728
|
queryKey: ["reconV2Workflows"],
|
|
720
729
|
queryFn: async () => await r.reconV2.getAllReconV2Workflows(),
|
|
721
730
|
...e
|
|
722
731
|
});
|
|
723
732
|
}
|
|
724
|
-
function
|
|
733
|
+
function j(e, n = {}) {
|
|
725
734
|
const t = e?.trim();
|
|
726
735
|
return s({
|
|
727
736
|
queryKey: ["reconV2", "runs", t],
|
|
@@ -730,14 +739,14 @@ function N(e, n = {}) {
|
|
|
730
739
|
...n
|
|
731
740
|
});
|
|
732
741
|
}
|
|
733
|
-
function
|
|
742
|
+
function gn(e = {}) {
|
|
734
743
|
return s({
|
|
735
744
|
queryKey: ["reconV2", "templates"],
|
|
736
745
|
queryFn: async () => await r.reconV2.getReconV2Templates(),
|
|
737
746
|
...e
|
|
738
747
|
});
|
|
739
748
|
}
|
|
740
|
-
function
|
|
749
|
+
function $(e, n = {}) {
|
|
741
750
|
return s({
|
|
742
751
|
queryKey: ["reconV2", "runResult", e],
|
|
743
752
|
queryFn: async () => await r.reconV2.getReconV2RunResult({ runId: e }),
|
|
@@ -745,7 +754,7 @@ function j(e, n = {}) {
|
|
|
745
754
|
...n
|
|
746
755
|
});
|
|
747
756
|
}
|
|
748
|
-
function
|
|
757
|
+
function J(e, n = {}) {
|
|
749
758
|
return s({
|
|
750
759
|
queryKey: [
|
|
751
760
|
"reconV2",
|
|
@@ -763,13 +772,13 @@ function $(e, n = {}) {
|
|
|
763
772
|
...n
|
|
764
773
|
});
|
|
765
774
|
}
|
|
766
|
-
function
|
|
767
|
-
return
|
|
775
|
+
function fn(e = {}) {
|
|
776
|
+
return u({
|
|
768
777
|
mutationFn: async (n) => await r.reconV2.startReconV2Profile(n),
|
|
769
778
|
...e
|
|
770
779
|
});
|
|
771
780
|
}
|
|
772
|
-
function
|
|
781
|
+
function mn(e, n = "left", t = {}) {
|
|
773
782
|
return s({
|
|
774
783
|
queryKey: ["reconV2", "profile", e, n],
|
|
775
784
|
queryFn: async () => await r.reconV2.getReconV2ProfileResult({
|
|
@@ -780,13 +789,13 @@ function yn(e, n = "left", t = {}) {
|
|
|
780
789
|
...t
|
|
781
790
|
});
|
|
782
791
|
}
|
|
783
|
-
function
|
|
784
|
-
return
|
|
792
|
+
function wn(e = {}) {
|
|
793
|
+
return u({
|
|
785
794
|
mutationFn: async (n) => await r.reconV2.startReconV2Clean(n),
|
|
786
795
|
...e
|
|
787
796
|
});
|
|
788
797
|
}
|
|
789
|
-
function
|
|
798
|
+
function pn(e, n = "left", t = {}) {
|
|
790
799
|
return s({
|
|
791
800
|
queryKey: ["reconV2", "clean", e, n],
|
|
792
801
|
queryFn: async () => await r.reconV2.getReconV2CleanResult({
|
|
@@ -797,7 +806,7 @@ function gn(e, n = "left", t = {}) {
|
|
|
797
806
|
...t
|
|
798
807
|
});
|
|
799
808
|
}
|
|
800
|
-
function
|
|
809
|
+
function Fn(e, n, t, a = {}) {
|
|
801
810
|
return s({
|
|
802
811
|
queryKey: ["reconV2", "diff", e, t],
|
|
803
812
|
queryFn: async () => await r.reconV2.getReconV2Diff({
|
|
@@ -809,7 +818,7 @@ function fn(e, n, t, a = {}) {
|
|
|
809
818
|
...a
|
|
810
819
|
});
|
|
811
820
|
}
|
|
812
|
-
function
|
|
821
|
+
function qn(e, n, t = {}) {
|
|
813
822
|
return s({
|
|
814
823
|
queryKey: ["reconV2", "explanation", e],
|
|
815
824
|
queryFn: async () => await r.reconV2.getReconV2Explanation({
|
|
@@ -820,37 +829,37 @@ function mn(e, n, t = {}) {
|
|
|
820
829
|
...t
|
|
821
830
|
});
|
|
822
831
|
}
|
|
823
|
-
const
|
|
824
|
-
function
|
|
825
|
-
const [t, a] =
|
|
832
|
+
const X = ["SUCCEEDED", "FAILED"];
|
|
833
|
+
function Y(e, n = {}) {
|
|
834
|
+
const [t, a] = b(
|
|
826
835
|
void 0
|
|
827
|
-
), [
|
|
828
|
-
return c.current = n.onComplete,
|
|
836
|
+
), [o, i] = b(!1), c = A(n.onComplete);
|
|
837
|
+
return c.current = n.onComplete, P(() => {
|
|
829
838
|
if (!e)
|
|
830
839
|
return;
|
|
831
|
-
const l =
|
|
840
|
+
const l = C().websocketProvider;
|
|
832
841
|
if (!l)
|
|
833
842
|
return;
|
|
834
843
|
a(void 0), i(!1);
|
|
835
|
-
const
|
|
836
|
-
let
|
|
837
|
-
const
|
|
838
|
-
|
|
844
|
+
const g = v.websocketUtils.ReconResultChannel;
|
|
845
|
+
let f = !1;
|
|
846
|
+
const m = () => {
|
|
847
|
+
f || (f = !0, l.unbind(g, e));
|
|
839
848
|
};
|
|
840
|
-
return l.bind(
|
|
841
|
-
let
|
|
849
|
+
return l.bind(g, e, (q) => {
|
|
850
|
+
let p;
|
|
842
851
|
try {
|
|
843
|
-
|
|
852
|
+
p = typeof q == "string" ? JSON.parse(q) : q;
|
|
844
853
|
} catch {
|
|
845
|
-
|
|
854
|
+
p = { status: void 0 };
|
|
846
855
|
}
|
|
847
|
-
a(
|
|
848
|
-
const
|
|
849
|
-
|
|
850
|
-
}),
|
|
851
|
-
}, [e]), { data: t, isTerminal:
|
|
856
|
+
a(p);
|
|
857
|
+
const F = p?.status?.toUpperCase();
|
|
858
|
+
F && X.includes(F) && (i(!0), c.current?.(p), m());
|
|
859
|
+
}), m;
|
|
860
|
+
}, [e]), { data: t, isTerminal: o };
|
|
852
861
|
}
|
|
853
|
-
function
|
|
862
|
+
function Z(e, n = {}) {
|
|
854
863
|
const t = e?.trim();
|
|
855
864
|
return s({
|
|
856
865
|
queryKey: ["reconV2", "workflow", t],
|
|
@@ -859,26 +868,26 @@ function Y(e, n = {}) {
|
|
|
859
868
|
...n
|
|
860
869
|
});
|
|
861
870
|
}
|
|
862
|
-
function
|
|
871
|
+
function ee(e, n) {
|
|
863
872
|
return n.split(".").reduce(
|
|
864
873
|
(t, a) => t && typeof t == "object" ? t[a] : void 0,
|
|
865
874
|
e
|
|
866
875
|
);
|
|
867
876
|
}
|
|
868
|
-
function
|
|
869
|
-
const t =
|
|
877
|
+
function bn(e, n = {}) {
|
|
878
|
+
const t = N(n);
|
|
870
879
|
return {
|
|
871
|
-
workflows:
|
|
872
|
-
const
|
|
873
|
-
return e?.key ?
|
|
880
|
+
workflows: h(() => {
|
|
881
|
+
const o = t.data ?? [];
|
|
882
|
+
return e?.key ? o.filter((i) => ee(i, e.key) === e.value) : o;
|
|
874
883
|
}, [t.data, e?.key, e?.value]),
|
|
875
884
|
isLoading: t.isLoading,
|
|
876
885
|
error: t.error,
|
|
877
886
|
refetch: t.refetch
|
|
878
887
|
};
|
|
879
888
|
}
|
|
880
|
-
function
|
|
881
|
-
const t =
|
|
889
|
+
function hn(e, n = {}) {
|
|
890
|
+
const t = Z(e, n);
|
|
882
891
|
return {
|
|
883
892
|
workflow: t.data,
|
|
884
893
|
isLoading: t.isLoading,
|
|
@@ -886,8 +895,8 @@ function Fn(e, n = {}) {
|
|
|
886
895
|
refetch: t.refetch
|
|
887
896
|
};
|
|
888
897
|
}
|
|
889
|
-
function
|
|
890
|
-
const e =
|
|
898
|
+
function Dn() {
|
|
899
|
+
const e = H(), n = _();
|
|
891
900
|
return {
|
|
892
901
|
create: e.mutateAsync,
|
|
893
902
|
update: n.mutateAsync,
|
|
@@ -896,14 +905,14 @@ function pn() {
|
|
|
896
905
|
data: n.data ?? e.data
|
|
897
906
|
};
|
|
898
907
|
}
|
|
899
|
-
function
|
|
900
|
-
const t = e?.trim(), [a,
|
|
908
|
+
function Tn(e, n = {}) {
|
|
909
|
+
const t = e?.trim(), [a, o] = b(void 0), i = z(), c = Y(a, { onComplete: n.onComplete }), l = j(t);
|
|
901
910
|
return {
|
|
902
|
-
startRun: async (
|
|
911
|
+
startRun: async (f = {}) => {
|
|
903
912
|
if (!t)
|
|
904
913
|
throw new Error("workflowId is required to start a run");
|
|
905
|
-
const
|
|
906
|
-
return
|
|
914
|
+
const m = await i.mutateAsync({ workflowId: t, ...f });
|
|
915
|
+
return o(m?.runId), m?.runId;
|
|
907
916
|
},
|
|
908
917
|
runId: a,
|
|
909
918
|
status: c.data,
|
|
@@ -913,19 +922,19 @@ function qn(e, n = {}) {
|
|
|
913
922
|
refetchRuns: l.refetch
|
|
914
923
|
};
|
|
915
924
|
}
|
|
916
|
-
function
|
|
925
|
+
function Rn({
|
|
917
926
|
runId: e,
|
|
918
927
|
workflowId: n,
|
|
919
928
|
exceptionType: t,
|
|
920
929
|
ruleFilter: a,
|
|
921
|
-
orderBy:
|
|
930
|
+
orderBy: o
|
|
922
931
|
}) {
|
|
923
|
-
const i =
|
|
932
|
+
const i = $(e), c = J({
|
|
924
933
|
runId: e ?? void 0,
|
|
925
934
|
workflowId: n ?? void 0,
|
|
926
935
|
exceptionType: t,
|
|
927
936
|
ruleFilter: a,
|
|
928
|
-
orderBy:
|
|
937
|
+
orderBy: o
|
|
929
938
|
}), l = c.data?.result;
|
|
930
939
|
return {
|
|
931
940
|
runResult: i.data,
|
|
@@ -936,33 +945,33 @@ function bn({
|
|
|
936
945
|
refetch: c.refetch
|
|
937
946
|
};
|
|
938
947
|
}
|
|
939
|
-
function
|
|
948
|
+
function Sn(e = {}) {
|
|
940
949
|
return s({
|
|
941
950
|
queryKey: ["users"],
|
|
942
951
|
queryFn: async () => await r.user.getAllUsers(),
|
|
943
952
|
...e
|
|
944
953
|
});
|
|
945
954
|
}
|
|
946
|
-
function
|
|
955
|
+
function kn(e = {}) {
|
|
947
956
|
return s({
|
|
948
957
|
queryKey: ["httpTriggers"],
|
|
949
958
|
queryFn: async () => await r.workflow.getAllHttpTriggers(),
|
|
950
959
|
...e
|
|
951
960
|
});
|
|
952
961
|
}
|
|
953
|
-
function
|
|
954
|
-
return
|
|
962
|
+
function In(e = {}) {
|
|
963
|
+
return u({
|
|
955
964
|
mutationFn: async (n) => await r.process.markTaskDone(n),
|
|
956
965
|
...e
|
|
957
966
|
});
|
|
958
967
|
}
|
|
959
|
-
function
|
|
960
|
-
return
|
|
968
|
+
function Cn(e = {}) {
|
|
969
|
+
return u({
|
|
961
970
|
mutationFn: async (n) => await r.process.reassignTask(n),
|
|
962
971
|
...e
|
|
963
972
|
});
|
|
964
973
|
}
|
|
965
|
-
function
|
|
974
|
+
function Pn(e, n = {}) {
|
|
966
975
|
return s({
|
|
967
976
|
queryKey: ["processTriggers", e],
|
|
968
977
|
queryFn: async () => await r.process.getTriggersBySheet(e),
|
|
@@ -970,9 +979,9 @@ function kn(e, n = {}) {
|
|
|
970
979
|
...n
|
|
971
980
|
});
|
|
972
981
|
}
|
|
973
|
-
function
|
|
974
|
-
const n =
|
|
975
|
-
return
|
|
982
|
+
function xn(e = {}) {
|
|
983
|
+
const n = w();
|
|
984
|
+
return u({
|
|
976
985
|
mutationFn: async (t) => await r.process.registerProcessTrigger(t),
|
|
977
986
|
onSuccess: (t, a) => {
|
|
978
987
|
n.invalidateQueries({
|
|
@@ -982,9 +991,9 @@ function Cn(e = {}) {
|
|
|
982
991
|
...e
|
|
983
992
|
});
|
|
984
993
|
}
|
|
985
|
-
function
|
|
986
|
-
const n =
|
|
987
|
-
return
|
|
994
|
+
function Kn(e = {}) {
|
|
995
|
+
const n = w();
|
|
996
|
+
return u({
|
|
988
997
|
mutationFn: async ({ id: t }) => await r.process.deleteProcessTrigger(t),
|
|
989
998
|
onSuccess: (t, a) => {
|
|
990
999
|
n.invalidateQueries({
|
|
@@ -994,9 +1003,9 @@ function xn(e = {}) {
|
|
|
994
1003
|
...e
|
|
995
1004
|
});
|
|
996
1005
|
}
|
|
997
|
-
function
|
|
998
|
-
const n =
|
|
999
|
-
return
|
|
1006
|
+
function Vn(e = {}) {
|
|
1007
|
+
const n = w();
|
|
1008
|
+
return u({
|
|
1000
1009
|
mutationFn: async ({ triggerId: t, scheduleName: a }) => await r.process.pauseSchedule(t, a),
|
|
1001
1010
|
onSuccess: (t, a) => {
|
|
1002
1011
|
n.invalidateQueries({
|
|
@@ -1008,9 +1017,9 @@ function Pn(e = {}) {
|
|
|
1008
1017
|
...e
|
|
1009
1018
|
});
|
|
1010
1019
|
}
|
|
1011
|
-
function
|
|
1012
|
-
const n =
|
|
1013
|
-
return
|
|
1020
|
+
function En(e = {}) {
|
|
1021
|
+
const n = w();
|
|
1022
|
+
return u({
|
|
1014
1023
|
mutationFn: async ({ triggerId: t, scheduleName: a }) => await r.process.resumeSchedule(t, a),
|
|
1015
1024
|
onSuccess: (t, a) => {
|
|
1016
1025
|
n.invalidateQueries({
|
|
@@ -1022,7 +1031,7 @@ function Sn(e = {}) {
|
|
|
1022
1031
|
...e
|
|
1023
1032
|
});
|
|
1024
1033
|
}
|
|
1025
|
-
function
|
|
1034
|
+
function Bn(e, n, t = {}) {
|
|
1026
1035
|
return s({
|
|
1027
1036
|
queryKey: ["scheduleStatus", e, n],
|
|
1028
1037
|
queryFn: async () => await r.process.getScheduleStatus(
|
|
@@ -1033,9 +1042,9 @@ function In(e, n, t = {}) {
|
|
|
1033
1042
|
...t
|
|
1034
1043
|
});
|
|
1035
1044
|
}
|
|
1036
|
-
function
|
|
1037
|
-
const n =
|
|
1038
|
-
return
|
|
1045
|
+
function vn(e = {}) {
|
|
1046
|
+
const n = w();
|
|
1047
|
+
return u({
|
|
1039
1048
|
mutationFn: async ({ triggerId: t, scheduleName: a }) => await r.process.executeNow(t, a),
|
|
1040
1049
|
onSuccess: (t, a) => {
|
|
1041
1050
|
n.invalidateQueries({
|
|
@@ -1045,9 +1054,9 @@ function Kn(e = {}) {
|
|
|
1045
1054
|
...e
|
|
1046
1055
|
});
|
|
1047
1056
|
}
|
|
1048
|
-
function
|
|
1049
|
-
const n =
|
|
1050
|
-
return
|
|
1057
|
+
function An(e = {}) {
|
|
1058
|
+
const n = w();
|
|
1059
|
+
return u({
|
|
1051
1060
|
mutationFn: async (t) => await r.processTree.createOrUpdateProcessTreeTrigger(
|
|
1052
1061
|
t
|
|
1053
1062
|
),
|
|
@@ -1059,9 +1068,9 @@ function Vn(e = {}) {
|
|
|
1059
1068
|
...e
|
|
1060
1069
|
});
|
|
1061
1070
|
}
|
|
1062
|
-
function
|
|
1063
|
-
const n =
|
|
1064
|
-
return
|
|
1071
|
+
function Gn(e = {}) {
|
|
1072
|
+
const n = w();
|
|
1073
|
+
return u({
|
|
1065
1074
|
mutationFn: async (t) => await r.processTree.executeProcessTreeTrigger(t),
|
|
1066
1075
|
onSuccess: (t, a) => {
|
|
1067
1076
|
n.invalidateQueries({
|
|
@@ -1071,9 +1080,9 @@ function En(e = {}) {
|
|
|
1071
1080
|
...e
|
|
1072
1081
|
});
|
|
1073
1082
|
}
|
|
1074
|
-
function
|
|
1075
|
-
const n =
|
|
1076
|
-
return
|
|
1083
|
+
function On(e = {}) {
|
|
1084
|
+
const n = w();
|
|
1085
|
+
return u({
|
|
1077
1086
|
mutationFn: async ({ payload: t }) => await r.processTree.terminatePipelines(t),
|
|
1078
1087
|
onSuccess: (t, a) => {
|
|
1079
1088
|
a.sheetId && n.invalidateQueries({
|
|
@@ -1085,9 +1094,9 @@ function An(e = {}) {
|
|
|
1085
1094
|
...e
|
|
1086
1095
|
});
|
|
1087
1096
|
}
|
|
1088
|
-
function
|
|
1089
|
-
const n =
|
|
1090
|
-
return
|
|
1097
|
+
function Mn(e = {}) {
|
|
1098
|
+
const n = w();
|
|
1099
|
+
return u({
|
|
1091
1100
|
mutationFn: async (t) => await r.processTree.logProcessTreeRun(t),
|
|
1092
1101
|
onSuccess: (t, a) => {
|
|
1093
1102
|
n.invalidateQueries({
|
|
@@ -1099,9 +1108,9 @@ function Gn(e = {}) {
|
|
|
1099
1108
|
...e
|
|
1100
1109
|
});
|
|
1101
1110
|
}
|
|
1102
|
-
function
|
|
1103
|
-
const n =
|
|
1104
|
-
return
|
|
1111
|
+
function Ln(e = {}) {
|
|
1112
|
+
const n = w();
|
|
1113
|
+
return u({
|
|
1105
1114
|
mutationFn: async ({
|
|
1106
1115
|
instanceId: t,
|
|
1107
1116
|
context: a
|
|
@@ -1117,9 +1126,9 @@ function Bn(e = {}) {
|
|
|
1117
1126
|
...e
|
|
1118
1127
|
});
|
|
1119
1128
|
}
|
|
1120
|
-
function
|
|
1121
|
-
const n =
|
|
1122
|
-
return
|
|
1129
|
+
function Un(e = {}) {
|
|
1130
|
+
const n = w();
|
|
1131
|
+
return u({
|
|
1123
1132
|
mutationFn: async ({ id: t }) => await r.processTree.deleteProcessTreeTrigger(t),
|
|
1124
1133
|
onSuccess: (t, a) => {
|
|
1125
1134
|
n.invalidateQueries({
|
|
@@ -1129,7 +1138,7 @@ function Mn(e = {}) {
|
|
|
1129
1138
|
...e
|
|
1130
1139
|
});
|
|
1131
1140
|
}
|
|
1132
|
-
function
|
|
1141
|
+
function Qn(e, n = {}) {
|
|
1133
1142
|
return s({
|
|
1134
1143
|
queryKey: ["processTreeTrigger", e],
|
|
1135
1144
|
queryFn: async () => await r.processTree.getProcessTreeTrigger(e),
|
|
@@ -1137,7 +1146,7 @@ function vn(e, n = {}) {
|
|
|
1137
1146
|
...n
|
|
1138
1147
|
});
|
|
1139
1148
|
}
|
|
1140
|
-
function
|
|
1149
|
+
function Wn(e, n = {}) {
|
|
1141
1150
|
return s({
|
|
1142
1151
|
queryKey: ["processTreeTriggers", e],
|
|
1143
1152
|
queryFn: async () => await r.processTree.getProcessTreeTriggersBySheetId(e),
|
|
@@ -1145,7 +1154,7 @@ function On(e, n = {}) {
|
|
|
1145
1154
|
...n
|
|
1146
1155
|
});
|
|
1147
1156
|
}
|
|
1148
|
-
function
|
|
1157
|
+
function Hn(e, n = {}) {
|
|
1149
1158
|
return s({
|
|
1150
1159
|
queryKey: ["processTreeRuns", e],
|
|
1151
1160
|
queryFn: async () => await r.processTree.getProcessTreeRunsBySheetId(e),
|
|
@@ -1153,7 +1162,7 @@ function Un(e, n = {}) {
|
|
|
1153
1162
|
...n
|
|
1154
1163
|
});
|
|
1155
1164
|
}
|
|
1156
|
-
function
|
|
1165
|
+
function _n(e, n, t = {}) {
|
|
1157
1166
|
return s({
|
|
1158
1167
|
queryKey: [
|
|
1159
1168
|
"processTreeRuns",
|
|
@@ -1171,7 +1180,7 @@ function Ln(e, n, t = {}) {
|
|
|
1171
1180
|
...t
|
|
1172
1181
|
});
|
|
1173
1182
|
}
|
|
1174
|
-
function
|
|
1183
|
+
function zn(e, n = {}) {
|
|
1175
1184
|
return s({
|
|
1176
1185
|
queryKey: ["processTreeRun", e],
|
|
1177
1186
|
queryFn: async () => await r.processTree.getProcessTreeRunByInstanceId(
|
|
@@ -1181,16 +1190,16 @@ function Qn(e, n = {}) {
|
|
|
1181
1190
|
...n
|
|
1182
1191
|
});
|
|
1183
1192
|
}
|
|
1184
|
-
function
|
|
1193
|
+
function Nn(e = {}) {
|
|
1185
1194
|
return s({
|
|
1186
1195
|
queryKey: ["customAuthzModel"],
|
|
1187
1196
|
queryFn: async () => await r.customAuthz.getCustomAuthzModel(),
|
|
1188
1197
|
...e
|
|
1189
1198
|
});
|
|
1190
1199
|
}
|
|
1191
|
-
function
|
|
1192
|
-
const n =
|
|
1193
|
-
return
|
|
1200
|
+
function jn(e = {}) {
|
|
1201
|
+
const n = w();
|
|
1202
|
+
return u({
|
|
1194
1203
|
mutationFn: async (t) => await r.customAuthz.registerCustomAuthzModel(t),
|
|
1195
1204
|
onSuccess: () => {
|
|
1196
1205
|
n.invalidateQueries({ queryKey: ["customAuthzModel"] });
|
|
@@ -1198,65 +1207,65 @@ function Hn(e = {}) {
|
|
|
1198
1207
|
...e
|
|
1199
1208
|
});
|
|
1200
1209
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return
|
|
1210
|
+
function $n(e = {}) {
|
|
1211
|
+
return u({
|
|
1203
1212
|
mutationFn: async (n) => await r.customAuthz.updateCustomObjectPermissions(n),
|
|
1204
1213
|
...e
|
|
1205
1214
|
});
|
|
1206
1215
|
}
|
|
1207
|
-
function
|
|
1208
|
-
return
|
|
1216
|
+
function Jn(e = {}) {
|
|
1217
|
+
return u({
|
|
1209
1218
|
mutationFn: async (n) => await r.customAuthz.bulkUpdateCustomObjectPermissions(
|
|
1210
1219
|
n
|
|
1211
1220
|
),
|
|
1212
1221
|
...e
|
|
1213
1222
|
});
|
|
1214
1223
|
}
|
|
1215
|
-
function
|
|
1216
|
-
return
|
|
1224
|
+
function Xn(e = {}) {
|
|
1225
|
+
return u({
|
|
1217
1226
|
mutationFn: async (n) => await r.customAuthz.checkCustomPermissions(n),
|
|
1218
1227
|
...e
|
|
1219
1228
|
});
|
|
1220
1229
|
}
|
|
1221
|
-
function
|
|
1222
|
-
return
|
|
1230
|
+
function Yn(e = {}) {
|
|
1231
|
+
return u({
|
|
1223
1232
|
mutationFn: async (n) => await r.customAuthz.bulkCheckCustomPermissions(n),
|
|
1224
1233
|
...e
|
|
1225
1234
|
});
|
|
1226
1235
|
}
|
|
1227
|
-
function
|
|
1236
|
+
function Zn(e = {}, n = {}) {
|
|
1228
1237
|
return s({
|
|
1229
1238
|
queryKey: ["inboxItems", "all", e.page, e.perPage],
|
|
1230
1239
|
queryFn: async () => await r.inboxItems.getAllInboxItems(e),
|
|
1231
1240
|
...n
|
|
1232
1241
|
});
|
|
1233
1242
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return
|
|
1243
|
+
function et(e = {}) {
|
|
1244
|
+
return u({
|
|
1236
1245
|
mutationFn: async (n) => await r.inboxItems.markItemAsRead(n),
|
|
1237
1246
|
...e
|
|
1238
1247
|
});
|
|
1239
1248
|
}
|
|
1240
|
-
function
|
|
1241
|
-
return
|
|
1249
|
+
function nt(e = {}) {
|
|
1250
|
+
return u({
|
|
1242
1251
|
mutationFn: async (n) => await r.inboxItems.markItemAsUnread(n),
|
|
1243
1252
|
...e
|
|
1244
1253
|
});
|
|
1245
1254
|
}
|
|
1246
|
-
function
|
|
1247
|
-
return
|
|
1255
|
+
function tt(e = {}) {
|
|
1256
|
+
return u({
|
|
1248
1257
|
mutationFn: async (n) => await r.inboxItems.createInboxItemPerUser(n),
|
|
1249
1258
|
...e
|
|
1250
1259
|
});
|
|
1251
1260
|
}
|
|
1252
|
-
function
|
|
1261
|
+
function rt(e = {}) {
|
|
1253
1262
|
return s({
|
|
1254
1263
|
queryKey: ["inboxV2", "types"],
|
|
1255
1264
|
queryFn: async () => await r.inboxV2.listTypes(),
|
|
1256
1265
|
...e
|
|
1257
1266
|
});
|
|
1258
1267
|
}
|
|
1259
|
-
function
|
|
1268
|
+
function at(e, n = {}) {
|
|
1260
1269
|
return s({
|
|
1261
1270
|
queryKey: ["inboxV2", "type", e],
|
|
1262
1271
|
queryFn: async () => await r.inboxV2.getType(e),
|
|
@@ -1264,25 +1273,25 @@ function et(e, n = {}) {
|
|
|
1264
1273
|
...n
|
|
1265
1274
|
});
|
|
1266
1275
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return
|
|
1276
|
+
function ot(e = {}) {
|
|
1277
|
+
return u({
|
|
1269
1278
|
mutationFn: async (n) => await r.inboxV2.createType(n),
|
|
1270
1279
|
...e
|
|
1271
1280
|
});
|
|
1272
1281
|
}
|
|
1273
|
-
function
|
|
1274
|
-
return
|
|
1282
|
+
function ut(e = {}) {
|
|
1283
|
+
return u({
|
|
1275
1284
|
mutationFn: async ({ id: n, data: t }) => await r.inboxV2.updateType(n, t),
|
|
1276
1285
|
...e
|
|
1277
1286
|
});
|
|
1278
1287
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return
|
|
1288
|
+
function st(e = {}) {
|
|
1289
|
+
return u({
|
|
1281
1290
|
mutationFn: async (n) => await r.inboxV2.deleteType(n),
|
|
1282
1291
|
...e
|
|
1283
1292
|
});
|
|
1284
1293
|
}
|
|
1285
|
-
function
|
|
1294
|
+
function it(e = {}, n = {}) {
|
|
1286
1295
|
return s({
|
|
1287
1296
|
queryKey: [
|
|
1288
1297
|
"inboxV2",
|
|
@@ -1297,7 +1306,7 @@ function at(e = {}, n = {}) {
|
|
|
1297
1306
|
...n
|
|
1298
1307
|
});
|
|
1299
1308
|
}
|
|
1300
|
-
function
|
|
1309
|
+
function ct(e, n = {}) {
|
|
1301
1310
|
return s({
|
|
1302
1311
|
queryKey: ["inboxV2", "item", e],
|
|
1303
1312
|
queryFn: async () => await r.inboxV2.getItem(e),
|
|
@@ -1305,92 +1314,92 @@ function ot(e, n = {}) {
|
|
|
1305
1314
|
...n
|
|
1306
1315
|
});
|
|
1307
1316
|
}
|
|
1308
|
-
function
|
|
1309
|
-
return
|
|
1317
|
+
function lt(e = {}) {
|
|
1318
|
+
return u({
|
|
1310
1319
|
mutationFn: async (n) => await r.inboxV2.createItem(n),
|
|
1311
1320
|
...e
|
|
1312
1321
|
});
|
|
1313
1322
|
}
|
|
1314
|
-
function
|
|
1315
|
-
return
|
|
1323
|
+
function yt(e = {}) {
|
|
1324
|
+
return u({
|
|
1316
1325
|
mutationFn: async ({ id: n, data: t }) => await r.inboxV2.updateItem(n, t),
|
|
1317
1326
|
...e
|
|
1318
1327
|
});
|
|
1319
1328
|
}
|
|
1320
|
-
function
|
|
1321
|
-
return
|
|
1329
|
+
function dt(e = {}) {
|
|
1330
|
+
return u({
|
|
1322
1331
|
mutationFn: async (n) => await r.inboxV2.markRead(n),
|
|
1323
1332
|
...e
|
|
1324
1333
|
});
|
|
1325
1334
|
}
|
|
1326
|
-
function
|
|
1327
|
-
return
|
|
1335
|
+
function gt(e = {}) {
|
|
1336
|
+
return u({
|
|
1328
1337
|
mutationFn: async (n) => await r.inboxV2.markUnread(n),
|
|
1329
1338
|
...e
|
|
1330
1339
|
});
|
|
1331
1340
|
}
|
|
1332
|
-
function
|
|
1333
|
-
return
|
|
1341
|
+
function ft(e = {}) {
|
|
1342
|
+
return u({
|
|
1334
1343
|
mutationFn: async ({ id: n, data: t }) => await r.inboxV2.snoozeItem(n, t),
|
|
1335
1344
|
...e
|
|
1336
1345
|
});
|
|
1337
1346
|
}
|
|
1338
|
-
function
|
|
1339
|
-
return
|
|
1347
|
+
function mt(e = {}) {
|
|
1348
|
+
return u({
|
|
1340
1349
|
mutationFn: async (n) => await r.inboxV2.dismissItem(n),
|
|
1341
1350
|
...e
|
|
1342
1351
|
});
|
|
1343
1352
|
}
|
|
1344
|
-
function
|
|
1345
|
-
return
|
|
1353
|
+
function wt(e = {}) {
|
|
1354
|
+
return u({
|
|
1346
1355
|
mutationFn: async (n) => await r.inboxV2.claimItem(n),
|
|
1347
1356
|
...e
|
|
1348
1357
|
});
|
|
1349
1358
|
}
|
|
1350
|
-
function
|
|
1351
|
-
return
|
|
1359
|
+
function pt(e = {}) {
|
|
1360
|
+
return u({
|
|
1352
1361
|
mutationFn: async (n) => await r.inboxV2.completeItem(n),
|
|
1353
1362
|
...e
|
|
1354
1363
|
});
|
|
1355
1364
|
}
|
|
1356
|
-
function
|
|
1357
|
-
return
|
|
1365
|
+
function Ft(e = {}) {
|
|
1366
|
+
return u({
|
|
1358
1367
|
mutationFn: async (n) => await r.inboxV2.releaseItem(n),
|
|
1359
1368
|
...e
|
|
1360
1369
|
});
|
|
1361
1370
|
}
|
|
1362
|
-
function
|
|
1363
|
-
return
|
|
1371
|
+
function qt(e = {}) {
|
|
1372
|
+
return u({
|
|
1364
1373
|
mutationFn: async (n) => await r.inboxV2.cancelItem(n),
|
|
1365
1374
|
...e
|
|
1366
1375
|
});
|
|
1367
1376
|
}
|
|
1368
|
-
function
|
|
1369
|
-
return
|
|
1377
|
+
function bt(e = {}) {
|
|
1378
|
+
return u({
|
|
1370
1379
|
mutationFn: async ({ id: n, data: t }) => await r.inboxV2.reassignItem(n, t),
|
|
1371
1380
|
...e
|
|
1372
1381
|
});
|
|
1373
1382
|
}
|
|
1374
|
-
function
|
|
1375
|
-
return
|
|
1383
|
+
function ht(e = {}) {
|
|
1384
|
+
return u({
|
|
1376
1385
|
mutationFn: async (n) => await r.inboxV2.completeByKey(n),
|
|
1377
1386
|
...e
|
|
1378
1387
|
});
|
|
1379
1388
|
}
|
|
1380
|
-
function
|
|
1381
|
-
return
|
|
1389
|
+
function Dt(e = {}) {
|
|
1390
|
+
return u({
|
|
1382
1391
|
mutationFn: async (n) => await r.inboxV2.cancelByKey(n),
|
|
1383
1392
|
...e
|
|
1384
1393
|
});
|
|
1385
1394
|
}
|
|
1386
|
-
function
|
|
1395
|
+
function Tt(e, n = {}) {
|
|
1387
1396
|
return s({
|
|
1388
1397
|
queryKey: ["emailConversations", e?.page, e?.pageSize, e?.tag, e?.orderByCreatedDate],
|
|
1389
1398
|
queryFn: async () => await r.emailEngine.getAllConversations(e),
|
|
1390
1399
|
...n
|
|
1391
1400
|
});
|
|
1392
1401
|
}
|
|
1393
|
-
function
|
|
1402
|
+
function Rt(e, n = {}) {
|
|
1394
1403
|
return s({
|
|
1395
1404
|
queryKey: ["emailConversation", e],
|
|
1396
1405
|
queryFn: async () => await r.emailEngine.getConversation({
|
|
@@ -1400,9 +1409,9 @@ function bt(e, n = {}) {
|
|
|
1400
1409
|
...n
|
|
1401
1410
|
});
|
|
1402
1411
|
}
|
|
1403
|
-
function
|
|
1404
|
-
const n =
|
|
1405
|
-
return
|
|
1412
|
+
function St(e = {}) {
|
|
1413
|
+
const n = w();
|
|
1414
|
+
return u({
|
|
1406
1415
|
mutationFn: async (t) => await r.emailEngine.createConversation(t),
|
|
1407
1416
|
onSuccess: () => {
|
|
1408
1417
|
n.invalidateQueries({ queryKey: ["emailConversations"] });
|
|
@@ -1410,9 +1419,9 @@ function ht(e = {}) {
|
|
|
1410
1419
|
...e
|
|
1411
1420
|
});
|
|
1412
1421
|
}
|
|
1413
|
-
function
|
|
1414
|
-
const n =
|
|
1415
|
-
return
|
|
1422
|
+
function kt(e = {}) {
|
|
1423
|
+
const n = w();
|
|
1424
|
+
return u({
|
|
1416
1425
|
mutationFn: async (t) => await r.emailEngine.replyToConversation(t),
|
|
1417
1426
|
onSuccess: (t, a) => {
|
|
1418
1427
|
n.invalidateQueries({
|
|
@@ -1422,7 +1431,7 @@ function Dt(e = {}) {
|
|
|
1422
1431
|
...e
|
|
1423
1432
|
});
|
|
1424
1433
|
}
|
|
1425
|
-
function
|
|
1434
|
+
function It(e, n = {}) {
|
|
1426
1435
|
return s({
|
|
1427
1436
|
queryKey: [
|
|
1428
1437
|
"emailMessagesBySender",
|
|
@@ -1437,13 +1446,13 @@ function Tt(e, n = {}) {
|
|
|
1437
1446
|
...n
|
|
1438
1447
|
});
|
|
1439
1448
|
}
|
|
1440
|
-
function
|
|
1441
|
-
return
|
|
1449
|
+
function Ct(e = {}) {
|
|
1450
|
+
return u({
|
|
1442
1451
|
mutationFn: async (n) => await r.emailEngine.searchMessages(n),
|
|
1443
1452
|
...e
|
|
1444
1453
|
});
|
|
1445
1454
|
}
|
|
1446
|
-
function
|
|
1455
|
+
function Pt(e = {}) {
|
|
1447
1456
|
const n = y(async () => await r.tcn.getAuthUrl()), t = d({
|
|
1448
1457
|
queryKey: ["tcn", "authUrl"],
|
|
1449
1458
|
queryFn: n,
|
|
@@ -1452,132 +1461,132 @@ function kt(e = {}) {
|
|
|
1452
1461
|
});
|
|
1453
1462
|
return s(t);
|
|
1454
1463
|
}
|
|
1455
|
-
function
|
|
1456
|
-
return
|
|
1464
|
+
function xt(e = {}) {
|
|
1465
|
+
return u({
|
|
1457
1466
|
mutationFn: async ({ code: n }) => await r.tcn.exchangeCode(n),
|
|
1458
1467
|
...e
|
|
1459
1468
|
});
|
|
1460
1469
|
}
|
|
1461
|
-
function
|
|
1462
|
-
return
|
|
1470
|
+
function Kt(e = {}) {
|
|
1471
|
+
return u({
|
|
1463
1472
|
mutationFn: async ({ refresh_token: n }) => await r.tcn.refreshToken(n),
|
|
1464
1473
|
...e
|
|
1465
1474
|
});
|
|
1466
1475
|
}
|
|
1467
|
-
function
|
|
1468
|
-
return
|
|
1476
|
+
function Vt(e = {}) {
|
|
1477
|
+
return u({
|
|
1469
1478
|
mutationFn: async ({ token: n }) => await r.tcn.getCurrentAgent(n),
|
|
1470
1479
|
...e
|
|
1471
1480
|
});
|
|
1472
1481
|
}
|
|
1473
|
-
function
|
|
1474
|
-
return
|
|
1482
|
+
function Et(e = {}) {
|
|
1483
|
+
return u({
|
|
1475
1484
|
mutationFn: async ({ token: n, huntGroupSid: t }) => await r.tcn.getAgentSkills(n, t),
|
|
1476
1485
|
...e
|
|
1477
1486
|
});
|
|
1478
1487
|
}
|
|
1479
|
-
function
|
|
1480
|
-
return
|
|
1488
|
+
function Bt(e = {}) {
|
|
1489
|
+
return u({
|
|
1481
1490
|
mutationFn: async ({ token: n, huntGroupSid: t, skills: a }) => await r.tcn.createSession(n, t, a),
|
|
1482
1491
|
...e
|
|
1483
1492
|
});
|
|
1484
1493
|
}
|
|
1485
|
-
function
|
|
1486
|
-
return
|
|
1494
|
+
function vt(e = {}) {
|
|
1495
|
+
return u({
|
|
1487
1496
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.keepAlive(n, t),
|
|
1488
1497
|
...e
|
|
1489
1498
|
});
|
|
1490
1499
|
}
|
|
1491
|
-
function
|
|
1492
|
-
return
|
|
1500
|
+
function At(e = {}) {
|
|
1501
|
+
return u({
|
|
1493
1502
|
mutationFn: async ({ token: n }) => await r.tcn.agentGetStatus(n),
|
|
1494
1503
|
...e
|
|
1495
1504
|
});
|
|
1496
1505
|
}
|
|
1497
|
-
function
|
|
1498
|
-
return
|
|
1506
|
+
function Gt(e = {}) {
|
|
1507
|
+
return u({
|
|
1499
1508
|
mutationFn: async ({ token: n, huntGroupSid: t }) => await r.tcn.getHuntGroupAgentSettings(n, t),
|
|
1500
1509
|
...e
|
|
1501
1510
|
});
|
|
1502
1511
|
}
|
|
1503
|
-
function
|
|
1504
|
-
return
|
|
1512
|
+
function Ot(e = {}) {
|
|
1513
|
+
return u({
|
|
1505
1514
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.dialManualPrepare(n, t),
|
|
1506
1515
|
...e
|
|
1507
1516
|
});
|
|
1508
1517
|
}
|
|
1509
|
-
function
|
|
1510
|
-
return
|
|
1518
|
+
function Mt(e = {}) {
|
|
1519
|
+
return u({
|
|
1511
1520
|
mutationFn: async ({ token: n, call: t }) => await r.tcn.processManualDial(n, t),
|
|
1512
1521
|
...e
|
|
1513
1522
|
});
|
|
1514
1523
|
}
|
|
1515
|
-
function
|
|
1516
|
-
return
|
|
1517
|
-
mutationFn: async ({ token: n, agentSessionSid: t, huntGroupSid: a, simpleCallData:
|
|
1524
|
+
function Lt(e = {}) {
|
|
1525
|
+
return u({
|
|
1526
|
+
mutationFn: async ({ token: n, agentSessionSid: t, huntGroupSid: a, simpleCallData: o }) => await r.tcn.manualDialStart(
|
|
1518
1527
|
n,
|
|
1519
1528
|
t,
|
|
1520
1529
|
a,
|
|
1521
|
-
|
|
1530
|
+
o
|
|
1522
1531
|
),
|
|
1523
1532
|
...e
|
|
1524
1533
|
});
|
|
1525
1534
|
}
|
|
1526
|
-
function
|
|
1527
|
-
return
|
|
1535
|
+
function Ut(e = {}) {
|
|
1536
|
+
return u({
|
|
1528
1537
|
mutationFn: async ({ token: n, sessionSid: t, reason: a }) => await r.tcn.agentDisconnect(n, t, a),
|
|
1529
1538
|
...e
|
|
1530
1539
|
});
|
|
1531
1540
|
}
|
|
1532
|
-
function
|
|
1533
|
-
return
|
|
1541
|
+
function Qt(e = {}) {
|
|
1542
|
+
return u({
|
|
1534
1543
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentPause(n, t),
|
|
1535
1544
|
...e
|
|
1536
1545
|
});
|
|
1537
1546
|
}
|
|
1538
|
-
function
|
|
1539
|
-
return
|
|
1547
|
+
function Wt(e = {}) {
|
|
1548
|
+
return u({
|
|
1540
1549
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentSetReady(n, t),
|
|
1541
1550
|
...e
|
|
1542
1551
|
});
|
|
1543
1552
|
}
|
|
1544
|
-
function
|
|
1545
|
-
return
|
|
1553
|
+
function Ht(e = {}) {
|
|
1554
|
+
return u({
|
|
1546
1555
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentGetConnectedParty(n, t),
|
|
1547
1556
|
...e
|
|
1548
1557
|
});
|
|
1549
1558
|
}
|
|
1550
|
-
function
|
|
1551
|
-
return
|
|
1559
|
+
function _t(e = {}) {
|
|
1560
|
+
return u({
|
|
1552
1561
|
mutationFn: async ({ token: n, callSid: t }) => await r.tcn.getCallData(n, t),
|
|
1553
1562
|
...e
|
|
1554
1563
|
});
|
|
1555
1564
|
}
|
|
1556
|
-
function
|
|
1557
|
-
return
|
|
1565
|
+
function zt(e = {}) {
|
|
1566
|
+
return u({
|
|
1558
1567
|
mutationFn: async ({ token: n, sessionSid: t, holdType: a }) => await r.tcn.agentPutCallOnHold(n, t, a),
|
|
1559
1568
|
...e
|
|
1560
1569
|
});
|
|
1561
1570
|
}
|
|
1562
|
-
function
|
|
1563
|
-
return
|
|
1571
|
+
function Nt(e = {}) {
|
|
1572
|
+
return u({
|
|
1564
1573
|
mutationFn: async ({ token: n, sessionSid: t, holdType: a }) => await r.tcn.agentGetCallFromHold(n, t, a),
|
|
1565
1574
|
...e
|
|
1566
1575
|
});
|
|
1567
1576
|
}
|
|
1568
|
-
function
|
|
1569
|
-
return
|
|
1577
|
+
function jt(e = {}) {
|
|
1578
|
+
return u({
|
|
1570
1579
|
mutationFn: async (n) => await r.tcn.ftpManualDialReport(n),
|
|
1571
1580
|
...e
|
|
1572
1581
|
});
|
|
1573
1582
|
}
|
|
1574
|
-
function
|
|
1575
|
-
return
|
|
1583
|
+
function $t(e = {}) {
|
|
1584
|
+
return u({
|
|
1576
1585
|
mutationFn: async (n) => await r.templates.renderTemplate(n),
|
|
1577
1586
|
...e
|
|
1578
1587
|
});
|
|
1579
1588
|
}
|
|
1580
|
-
function
|
|
1589
|
+
function Jt(e, n = {}) {
|
|
1581
1590
|
const t = e?.trim();
|
|
1582
1591
|
return s({
|
|
1583
1592
|
queryKey: ["databox", "folder", t],
|
|
@@ -1590,7 +1599,7 @@ function zt(e, n = {}) {
|
|
|
1590
1599
|
...n
|
|
1591
1600
|
});
|
|
1592
1601
|
}
|
|
1593
|
-
function
|
|
1602
|
+
function Xt(e, n = {}) {
|
|
1594
1603
|
const t = e?.trim();
|
|
1595
1604
|
return s({
|
|
1596
1605
|
queryKey: ["databox", "folder", t, "files"],
|
|
@@ -1603,7 +1612,7 @@ function Nt(e, n = {}) {
|
|
|
1603
1612
|
...n
|
|
1604
1613
|
});
|
|
1605
1614
|
}
|
|
1606
|
-
function
|
|
1615
|
+
function Yt(e, n = {}) {
|
|
1607
1616
|
const t = e?.trim();
|
|
1608
1617
|
return s({
|
|
1609
1618
|
queryKey: ["databox", "folder", t, "datasets"],
|
|
@@ -1616,7 +1625,7 @@ function jt(e, n = {}) {
|
|
|
1616
1625
|
...n
|
|
1617
1626
|
});
|
|
1618
1627
|
}
|
|
1619
|
-
function
|
|
1628
|
+
function Zt(e, n = {}) {
|
|
1620
1629
|
const t = e?.trim();
|
|
1621
1630
|
return s({
|
|
1622
1631
|
queryKey: ["databox", "folder", t, "duplicates"],
|
|
@@ -1631,7 +1640,7 @@ function $t(e, n = {}) {
|
|
|
1631
1640
|
...n
|
|
1632
1641
|
});
|
|
1633
1642
|
}
|
|
1634
|
-
function
|
|
1643
|
+
function er(e, n = {}) {
|
|
1635
1644
|
const t = e?.trim();
|
|
1636
1645
|
return s({
|
|
1637
1646
|
queryKey: ["dataset", t, "exceptions"],
|
|
@@ -1644,7 +1653,7 @@ function Jt(e, n = {}) {
|
|
|
1644
1653
|
...n
|
|
1645
1654
|
});
|
|
1646
1655
|
}
|
|
1647
|
-
function
|
|
1656
|
+
function nr(e, n, t = {}) {
|
|
1648
1657
|
const a = e?.trim();
|
|
1649
1658
|
return s({
|
|
1650
1659
|
queryKey: ["dataset", a, "duplicates", n ?? null],
|
|
@@ -1660,7 +1669,7 @@ function Xt(e, n, t = {}) {
|
|
|
1660
1669
|
...t
|
|
1661
1670
|
});
|
|
1662
1671
|
}
|
|
1663
|
-
function
|
|
1672
|
+
function tr(e, n = {}) {
|
|
1664
1673
|
const t = e?.trim();
|
|
1665
1674
|
return s({
|
|
1666
1675
|
queryKey: ["databox", "folder", t, "schema"],
|
|
@@ -1673,7 +1682,7 @@ function Yt(e, n = {}) {
|
|
|
1673
1682
|
...n
|
|
1674
1683
|
});
|
|
1675
1684
|
}
|
|
1676
|
-
function
|
|
1685
|
+
function rr(e, n = {}) {
|
|
1677
1686
|
const t = e?.trim();
|
|
1678
1687
|
return s({
|
|
1679
1688
|
queryKey: ["databox", "folder", t, "schema", "history"],
|
|
@@ -1686,7 +1695,7 @@ function Zt(e, n = {}) {
|
|
|
1686
1695
|
...n
|
|
1687
1696
|
});
|
|
1688
1697
|
}
|
|
1689
|
-
function
|
|
1698
|
+
function ar(e, n = {}) {
|
|
1690
1699
|
const t = e?.trim();
|
|
1691
1700
|
return s({
|
|
1692
1701
|
queryKey: ["databox", "folder", t, "trash"],
|
|
@@ -1699,7 +1708,7 @@ function er(e, n = {}) {
|
|
|
1699
1708
|
...n
|
|
1700
1709
|
});
|
|
1701
1710
|
}
|
|
1702
|
-
function
|
|
1711
|
+
function or(e, n = {}) {
|
|
1703
1712
|
const t = e?.trim();
|
|
1704
1713
|
return s({
|
|
1705
1714
|
queryKey: ["databox", "file", t],
|
|
@@ -1712,7 +1721,7 @@ function nr(e, n = {}) {
|
|
|
1712
1721
|
...n
|
|
1713
1722
|
});
|
|
1714
1723
|
}
|
|
1715
|
-
function
|
|
1724
|
+
function ur(e, n = {}) {
|
|
1716
1725
|
const t = e?.trim();
|
|
1717
1726
|
return s({
|
|
1718
1727
|
queryKey: ["databox", "file", t, "status"],
|
|
@@ -1725,7 +1734,7 @@ function tr(e, n = {}) {
|
|
|
1725
1734
|
...n
|
|
1726
1735
|
});
|
|
1727
1736
|
}
|
|
1728
|
-
function
|
|
1737
|
+
function sr(e, n = {}) {
|
|
1729
1738
|
const t = e?.trim();
|
|
1730
1739
|
return s({
|
|
1731
1740
|
queryKey: ["databox", "file", t, "runs"],
|
|
@@ -1738,7 +1747,7 @@ function rr(e, n = {}) {
|
|
|
1738
1747
|
...n
|
|
1739
1748
|
});
|
|
1740
1749
|
}
|
|
1741
|
-
function
|
|
1750
|
+
function ir(e, n = {}) {
|
|
1742
1751
|
const t = e?.trim();
|
|
1743
1752
|
return s({
|
|
1744
1753
|
queryKey: ["databox", "file", t, "download-url"],
|
|
@@ -1751,43 +1760,43 @@ function ar(e, n = {}) {
|
|
|
1751
1760
|
...n
|
|
1752
1761
|
});
|
|
1753
1762
|
}
|
|
1754
|
-
function
|
|
1755
|
-
return
|
|
1763
|
+
function cr(e = {}) {
|
|
1764
|
+
return u({
|
|
1756
1765
|
mutationFn: async (n) => await r.databox.dropFileToDatabox(n),
|
|
1757
1766
|
...e
|
|
1758
1767
|
});
|
|
1759
1768
|
}
|
|
1760
|
-
function
|
|
1761
|
-
return
|
|
1769
|
+
function lr(e = {}) {
|
|
1770
|
+
return u({
|
|
1762
1771
|
mutationFn: async (n) => await r.databox.runDataboxFolder(n),
|
|
1763
1772
|
...e
|
|
1764
1773
|
});
|
|
1765
1774
|
}
|
|
1766
|
-
function
|
|
1767
|
-
return
|
|
1775
|
+
function yr(e = {}) {
|
|
1776
|
+
return u({
|
|
1768
1777
|
mutationFn: async (n) => await r.databox.updateDataboxFolderSchema(n),
|
|
1769
1778
|
...e
|
|
1770
1779
|
});
|
|
1771
1780
|
}
|
|
1772
|
-
function
|
|
1773
|
-
return
|
|
1781
|
+
function dr(e = {}) {
|
|
1782
|
+
return u({
|
|
1774
1783
|
mutationFn: async (n) => await r.databox.trashDataboxFiles(n),
|
|
1775
1784
|
...e
|
|
1776
1785
|
});
|
|
1777
1786
|
}
|
|
1778
|
-
function
|
|
1779
|
-
return
|
|
1787
|
+
function gr(e = {}) {
|
|
1788
|
+
return u({
|
|
1780
1789
|
mutationFn: async (n) => await r.databox.restoreDataboxFile(n),
|
|
1781
1790
|
...e
|
|
1782
1791
|
});
|
|
1783
1792
|
}
|
|
1784
|
-
function
|
|
1785
|
-
return
|
|
1793
|
+
function fr(e = {}) {
|
|
1794
|
+
return u({
|
|
1786
1795
|
mutationFn: async (n) => await r.databox.permanentDeleteDataboxFiles(n),
|
|
1787
1796
|
...e
|
|
1788
1797
|
});
|
|
1789
1798
|
}
|
|
1790
|
-
function
|
|
1799
|
+
function mr(e, n = {}) {
|
|
1791
1800
|
const t = y(async () => await r.periodManagement.listFiscalCalendars(e)), a = d({
|
|
1792
1801
|
queryKey: ["periodManagement", "fiscalCalendars", e ?? "all"],
|
|
1793
1802
|
queryFn: t,
|
|
@@ -1795,38 +1804,38 @@ function yr(e, n = {}) {
|
|
|
1795
1804
|
});
|
|
1796
1805
|
return s(a);
|
|
1797
1806
|
}
|
|
1798
|
-
function
|
|
1807
|
+
function wr(e, n = {}) {
|
|
1799
1808
|
const t = !!e, a = y(async () => {
|
|
1800
1809
|
if (!e)
|
|
1801
1810
|
throw new Error("Fiscal calendar id is required");
|
|
1802
1811
|
return await r.periodManagement.getFiscalCalendar(e);
|
|
1803
|
-
}),
|
|
1812
|
+
}), o = d({
|
|
1804
1813
|
queryKey: ["periodManagement", "fiscalCalendar", e],
|
|
1805
1814
|
queryFn: a,
|
|
1806
1815
|
enabled: t,
|
|
1807
1816
|
options: n
|
|
1808
1817
|
});
|
|
1809
|
-
return s(
|
|
1818
|
+
return s(o);
|
|
1810
1819
|
}
|
|
1811
|
-
function
|
|
1812
|
-
return
|
|
1820
|
+
function pr(e = {}) {
|
|
1821
|
+
return u({
|
|
1813
1822
|
mutationFn: async (n) => await r.periodManagement.createFiscalCalendar(n),
|
|
1814
1823
|
...e
|
|
1815
1824
|
});
|
|
1816
1825
|
}
|
|
1817
|
-
function
|
|
1818
|
-
return
|
|
1826
|
+
function Fr(e = {}) {
|
|
1827
|
+
return u({
|
|
1819
1828
|
mutationFn: async ({ id: n, params: t }) => await r.periodManagement.updateFiscalCalendar(n, t),
|
|
1820
1829
|
...e
|
|
1821
1830
|
});
|
|
1822
1831
|
}
|
|
1823
|
-
function
|
|
1824
|
-
return
|
|
1832
|
+
function qr(e = {}) {
|
|
1833
|
+
return u({
|
|
1825
1834
|
mutationFn: async (n) => await r.periodManagement.deleteFiscalCalendar(n),
|
|
1826
1835
|
...e
|
|
1827
1836
|
});
|
|
1828
1837
|
}
|
|
1829
|
-
function
|
|
1838
|
+
function br(e, n = {}) {
|
|
1830
1839
|
const t = y(async () => await r.periodManagement.listHolidayCalendars(e)), a = d({
|
|
1831
1840
|
queryKey: ["periodManagement", "holidayCalendars", e ?? "all"],
|
|
1832
1841
|
queryFn: t,
|
|
@@ -1834,79 +1843,79 @@ function wr(e, n = {}) {
|
|
|
1834
1843
|
});
|
|
1835
1844
|
return s(a);
|
|
1836
1845
|
}
|
|
1837
|
-
function
|
|
1846
|
+
function hr(e, n = {}) {
|
|
1838
1847
|
const t = !!e, a = y(async () => {
|
|
1839
1848
|
if (!e)
|
|
1840
1849
|
throw new Error("Holiday calendar id is required");
|
|
1841
1850
|
return await r.periodManagement.getHolidayCalendar(e);
|
|
1842
|
-
}),
|
|
1851
|
+
}), o = d({
|
|
1843
1852
|
queryKey: ["periodManagement", "holidayCalendar", e],
|
|
1844
1853
|
queryFn: a,
|
|
1845
1854
|
enabled: t,
|
|
1846
1855
|
options: n
|
|
1847
1856
|
});
|
|
1848
|
-
return s(
|
|
1857
|
+
return s(o);
|
|
1849
1858
|
}
|
|
1850
|
-
function
|
|
1851
|
-
return
|
|
1859
|
+
function Dr(e = {}) {
|
|
1860
|
+
return u({
|
|
1852
1861
|
mutationFn: async (n) => await r.periodManagement.createHolidayCalendar(n),
|
|
1853
1862
|
...e
|
|
1854
1863
|
});
|
|
1855
1864
|
}
|
|
1856
|
-
function
|
|
1857
|
-
return
|
|
1865
|
+
function Tr(e = {}) {
|
|
1866
|
+
return u({
|
|
1858
1867
|
mutationFn: async ({ id: n, params: t }) => await r.periodManagement.updateHolidayCalendar(n, t),
|
|
1859
1868
|
...e
|
|
1860
1869
|
});
|
|
1861
1870
|
}
|
|
1862
|
-
function
|
|
1863
|
-
return
|
|
1871
|
+
function Rr(e = {}) {
|
|
1872
|
+
return u({
|
|
1864
1873
|
mutationFn: async (n) => await r.periodManagement.deleteHolidayCalendar(n),
|
|
1865
1874
|
...e
|
|
1866
1875
|
});
|
|
1867
1876
|
}
|
|
1868
|
-
function
|
|
1877
|
+
function Sr(e, n = {}) {
|
|
1869
1878
|
const t = !!e, a = y(async () => {
|
|
1870
1879
|
if (!e)
|
|
1871
1880
|
throw new Error("Holiday calendar id is required");
|
|
1872
1881
|
return await r.periodManagement.listHolidays(e);
|
|
1873
|
-
}),
|
|
1882
|
+
}), o = d({
|
|
1874
1883
|
queryKey: ["periodManagement", "holidayCalendar", e, "holidays"],
|
|
1875
1884
|
queryFn: a,
|
|
1876
1885
|
enabled: t,
|
|
1877
1886
|
options: n
|
|
1878
1887
|
});
|
|
1879
|
-
return s(
|
|
1888
|
+
return s(o);
|
|
1880
1889
|
}
|
|
1881
|
-
function
|
|
1882
|
-
return
|
|
1890
|
+
function kr(e = {}) {
|
|
1891
|
+
return u({
|
|
1883
1892
|
mutationFn: async ({ id: n, items: t }) => await r.periodManagement.importHolidays(n, t),
|
|
1884
1893
|
...e
|
|
1885
1894
|
});
|
|
1886
1895
|
}
|
|
1887
|
-
function
|
|
1896
|
+
function ne(e, n) {
|
|
1888
1897
|
return n.split(".").reduce(
|
|
1889
1898
|
(t, a) => t && typeof t == "object" ? t[a] : void 0,
|
|
1890
1899
|
e
|
|
1891
1900
|
);
|
|
1892
1901
|
}
|
|
1893
|
-
function
|
|
1902
|
+
function Ir(e, n = {}) {
|
|
1894
1903
|
const t = s({
|
|
1895
1904
|
...n,
|
|
1896
1905
|
queryKey: ["pipeline", "list"],
|
|
1897
1906
|
queryFn: async () => r.pipeline.getPipelineList()
|
|
1898
1907
|
});
|
|
1899
1908
|
return {
|
|
1900
|
-
pipelines:
|
|
1901
|
-
const
|
|
1902
|
-
return e?.key ?
|
|
1909
|
+
pipelines: h(() => {
|
|
1910
|
+
const o = t.data ?? [];
|
|
1911
|
+
return e?.key ? o.filter((i) => ne(i, e.key) === e.value) : o;
|
|
1903
1912
|
}, [t.data, e?.key, e?.value]),
|
|
1904
1913
|
isLoading: t.isLoading,
|
|
1905
1914
|
error: t.error,
|
|
1906
1915
|
refetch: t.refetch
|
|
1907
1916
|
};
|
|
1908
1917
|
}
|
|
1909
|
-
function
|
|
1918
|
+
function te(e, n = {}) {
|
|
1910
1919
|
const t = e?.trim(), a = s({
|
|
1911
1920
|
...n,
|
|
1912
1921
|
queryKey: ["pipeline", "runs", t],
|
|
@@ -1920,67 +1929,108 @@ function ne(e, n = {}) {
|
|
|
1920
1929
|
refetch: a.refetch
|
|
1921
1930
|
};
|
|
1922
1931
|
}
|
|
1923
|
-
function
|
|
1924
|
-
const { runs: t, isLoading: a, error:
|
|
1925
|
-
return { run:
|
|
1926
|
-
const l = t.filter((
|
|
1932
|
+
function Cr(e, n = {}) {
|
|
1933
|
+
const { runs: t, isLoading: a, error: o, refetch: i } = te(e, n);
|
|
1934
|
+
return { run: h(() => {
|
|
1935
|
+
const l = t.filter((g) => g.status === "SUCCEEDED");
|
|
1927
1936
|
if (l.length)
|
|
1928
1937
|
return l.reduce(
|
|
1929
|
-
(
|
|
1938
|
+
(g, f) => (f.startedAt ?? "") > (g.startedAt ?? "") ? f : g
|
|
1930
1939
|
);
|
|
1931
|
-
}, [t]), isLoading: a, error:
|
|
1940
|
+
}, [t]), isLoading: a, error: o, refetch: i };
|
|
1932
1941
|
}
|
|
1933
|
-
function
|
|
1934
|
-
const a = e?.trim(),
|
|
1942
|
+
function Pr(e, n, t = {}) {
|
|
1943
|
+
const a = e?.trim(), o = n?.trim(), i = (t.enabled ?? !0) && !!a && !!o, c = s({
|
|
1935
1944
|
queryKey: ["pipeline", "definition", a],
|
|
1936
1945
|
queryFn: async () => r.pipeline.getPipelineDefinition(a),
|
|
1937
1946
|
enabled: i
|
|
1938
|
-
}), l =
|
|
1947
|
+
}), l = h(
|
|
1939
1948
|
() => c.data?.nodes ?? [],
|
|
1940
1949
|
[c.data]
|
|
1941
|
-
),
|
|
1950
|
+
), g = h(
|
|
1942
1951
|
() => c.data?.edges ?? [],
|
|
1943
1952
|
[c.data]
|
|
1944
|
-
),
|
|
1953
|
+
), f = (T) => l.find((S) => S.id === T)?.data, m = s({
|
|
1945
1954
|
queryKey: ["pipeline", "runs", a],
|
|
1946
1955
|
queryFn: async () => r.pipeline.getPipelineRunStatus(a),
|
|
1947
1956
|
enabled: i
|
|
1948
|
-
}), q =
|
|
1949
|
-
() => (
|
|
1950
|
-
[
|
|
1951
|
-
), [
|
|
1952
|
-
queryKey: ["pipeline", "output",
|
|
1957
|
+
}), q = h(
|
|
1958
|
+
() => (m.data ?? []).find((T) => T.id === o),
|
|
1959
|
+
[m.data, o]
|
|
1960
|
+
), [p, F] = b(!1), D = q?.datasetId, R = s({
|
|
1961
|
+
queryKey: ["pipeline", "output", o, D],
|
|
1953
1962
|
queryFn: async () => {
|
|
1954
|
-
const
|
|
1955
|
-
r.definition.runDefinition({ inputs: {}, definition:
|
|
1956
|
-
r.definition.getDescription({ inputs: {}, definition:
|
|
1957
|
-
]),
|
|
1963
|
+
const T = r.pipeline.buildDatasetDefinition(D), [S, k] = await Promise.all([
|
|
1964
|
+
r.definition.runDefinition({ inputs: {}, definition: T, variable: D }),
|
|
1965
|
+
r.definition.getDescription({ inputs: {}, definition: T, variable: D })
|
|
1966
|
+
]), B = Array.isArray(k) ? k : k?.data ?? [];
|
|
1958
1967
|
return {
|
|
1959
|
-
rows:
|
|
1960
|
-
columns:
|
|
1968
|
+
rows: S ?? [],
|
|
1969
|
+
columns: B
|
|
1961
1970
|
};
|
|
1962
1971
|
},
|
|
1963
|
-
enabled: i &&
|
|
1964
|
-
}),
|
|
1965
|
-
c.refetch(),
|
|
1972
|
+
enabled: i && p && !!D
|
|
1973
|
+
}), K = c.isLoading || m.isLoading, V = c.error ?? m.error, E = () => {
|
|
1974
|
+
c.refetch(), m.refetch(), p && D && R.refetch();
|
|
1966
1975
|
};
|
|
1967
1976
|
return {
|
|
1968
1977
|
run: q,
|
|
1969
1978
|
nodes: l,
|
|
1970
|
-
edges:
|
|
1979
|
+
edges: g,
|
|
1971
1980
|
isCurrentDefinition: !0,
|
|
1972
1981
|
// run carries no snapshot; graph reflects the current definition
|
|
1973
|
-
isLoading:
|
|
1974
|
-
error:
|
|
1975
|
-
getNodeProperties:
|
|
1982
|
+
isLoading: K,
|
|
1983
|
+
error: V,
|
|
1984
|
+
getNodeProperties: f,
|
|
1976
1985
|
output: R.data,
|
|
1977
|
-
isOutputLoading: R.isLoading &&
|
|
1986
|
+
isOutputLoading: R.isLoading && p,
|
|
1978
1987
|
outputError: R.error,
|
|
1979
|
-
loadOutput: () =>
|
|
1980
|
-
refetch:
|
|
1988
|
+
loadOutput: () => F(!0),
|
|
1989
|
+
refetch: E
|
|
1990
|
+
};
|
|
1991
|
+
}
|
|
1992
|
+
function xr(e, n = {}) {
|
|
1993
|
+
const t = e?.trim();
|
|
1994
|
+
return s({
|
|
1995
|
+
...n,
|
|
1996
|
+
queryKey: ["pipeline", "overview", t],
|
|
1997
|
+
queryFn: async () => r.pipeline.getPipelineOverview(t),
|
|
1998
|
+
enabled: !!t
|
|
1999
|
+
});
|
|
2000
|
+
}
|
|
2001
|
+
function Kr(e) {
|
|
2002
|
+
const n = e?.trim(), [t, a] = b(
|
|
2003
|
+
void 0
|
|
2004
|
+
), o = u({
|
|
2005
|
+
mutationFn: async () => r.pipeline.startOutputSample(n),
|
|
2006
|
+
onSuccess: (g) => a(g)
|
|
2007
|
+
});
|
|
2008
|
+
P(() => {
|
|
2009
|
+
a(void 0), n && o.mutate();
|
|
2010
|
+
}, [n]);
|
|
2011
|
+
const i = s({
|
|
2012
|
+
queryKey: ["pipeline", "outputSample", n, t?.runId],
|
|
2013
|
+
queryFn: async () => r.pipeline.getOutputSampleResult({
|
|
2014
|
+
pipelineId: n,
|
|
2015
|
+
runId: t.runId,
|
|
2016
|
+
nodeId: t.outputNodeId,
|
|
2017
|
+
sheetId: t.sheetId
|
|
2018
|
+
}),
|
|
2019
|
+
enabled: !!n && !!t?.runId,
|
|
2020
|
+
refetchInterval: (g) => g.state.data?.status === "running" ? 1500 : !1
|
|
2021
|
+
}), c = o.isError ? "failed" : i.data?.status ?? (o.isPending || t ? "running" : "idle"), l = G(() => {
|
|
2022
|
+
a(void 0), n && o.mutate();
|
|
2023
|
+
}, [n]);
|
|
2024
|
+
return {
|
|
2025
|
+
status: c,
|
|
2026
|
+
rows: i.data?.rows,
|
|
2027
|
+
columns: i.data?.columns,
|
|
2028
|
+
totalCount: i.data?.totalCount,
|
|
2029
|
+
error: i.data?.error ?? o.error?.message,
|
|
2030
|
+
refetch: l
|
|
1981
2031
|
};
|
|
1982
2032
|
}
|
|
1983
|
-
function
|
|
2033
|
+
function Vr(e = {}) {
|
|
1984
2034
|
const n = s({
|
|
1985
2035
|
...e,
|
|
1986
2036
|
queryKey: ["workingPaper", "list"],
|
|
@@ -1993,61 +2043,61 @@ function Cr(e = {}) {
|
|
|
1993
2043
|
refetch: n.refetch
|
|
1994
2044
|
};
|
|
1995
2045
|
}
|
|
1996
|
-
function
|
|
1997
|
-
const t = e?.trim(), a =
|
|
2046
|
+
function Er(e, n = {}) {
|
|
2047
|
+
const t = e?.trim(), a = w(), o = s({
|
|
1998
2048
|
...n,
|
|
1999
2049
|
queryKey: ["workingPaper", "detail", t],
|
|
2000
2050
|
queryFn: async () => r.workingPaper.getWorkingPaper(t),
|
|
2001
2051
|
enabled: !!t && (n.enabled ?? !0)
|
|
2002
|
-
}), i =
|
|
2052
|
+
}), i = u({
|
|
2003
2053
|
mutationFn: async (l) => r.workingPaper.updateWorkingPaper(t, l),
|
|
2004
2054
|
onSuccess: () => {
|
|
2005
2055
|
a.invalidateQueries({ queryKey: ["workingPaper", "detail", t] }), a.invalidateQueries({ queryKey: ["workingPaper", "list"] });
|
|
2006
2056
|
}
|
|
2007
|
-
}), c =
|
|
2057
|
+
}), c = u({
|
|
2008
2058
|
mutationFn: async () => r.workingPaper.deleteWorkingPaper(t),
|
|
2009
2059
|
onSuccess: () => {
|
|
2010
2060
|
a.invalidateQueries({ queryKey: ["workingPaper", "list"] });
|
|
2011
2061
|
}
|
|
2012
2062
|
});
|
|
2013
2063
|
return {
|
|
2014
|
-
paper:
|
|
2015
|
-
sheets:
|
|
2016
|
-
isLoading:
|
|
2017
|
-
error:
|
|
2018
|
-
refetch:
|
|
2064
|
+
paper: o.data,
|
|
2065
|
+
sheets: o.data?.sheets ?? [],
|
|
2066
|
+
isLoading: o.isLoading,
|
|
2067
|
+
error: o.error,
|
|
2068
|
+
refetch: o.refetch,
|
|
2019
2069
|
save: (l) => i.mutateAsync(l),
|
|
2020
2070
|
isSaving: i.isPending,
|
|
2021
2071
|
remove: () => c.mutateAsync(),
|
|
2022
2072
|
isDeleting: c.isPending
|
|
2023
2073
|
};
|
|
2024
2074
|
}
|
|
2025
|
-
function
|
|
2026
|
-
const e =
|
|
2027
|
-
return
|
|
2075
|
+
function Br() {
|
|
2076
|
+
const e = w();
|
|
2077
|
+
return u({
|
|
2028
2078
|
mutationFn: async (n) => r.workingPaper.createWorkingPaper(n),
|
|
2029
2079
|
onSuccess: () => e.invalidateQueries({ queryKey: ["workingPaper", "list"] })
|
|
2030
2080
|
});
|
|
2031
2081
|
}
|
|
2032
|
-
function
|
|
2033
|
-
const a = e?.inputTableId?.trim(),
|
|
2082
|
+
function vr(e, n = {}, t = {}) {
|
|
2083
|
+
const a = e?.inputTableId?.trim(), o = e?.viewId, i = e?.limit, c = s({
|
|
2034
2084
|
...n,
|
|
2035
2085
|
queryKey: ["workingPaper", "inputTableSheet", "views", a],
|
|
2036
2086
|
queryFn: async () => r.statement.getViewsBySheetId(a),
|
|
2037
2087
|
enabled: !!a && (n.enabled ?? !0)
|
|
2038
2088
|
}), l = s({
|
|
2039
2089
|
...t,
|
|
2040
|
-
queryKey: ["workingPaper", "inputTableSheet", "rows", a,
|
|
2090
|
+
queryKey: ["workingPaper", "inputTableSheet", "rows", a, o, i],
|
|
2041
2091
|
queryFn: async () => r.inputTable.getRows(a, {
|
|
2042
|
-
...
|
|
2092
|
+
...o ? { view_id: o } : {},
|
|
2043
2093
|
...i ? { limit: i } : {}
|
|
2044
2094
|
}),
|
|
2045
2095
|
enabled: !!a && (t.enabled ?? !0)
|
|
2046
|
-
}),
|
|
2096
|
+
}), g = c.data ?? [], f = l.data;
|
|
2047
2097
|
return {
|
|
2048
|
-
views:
|
|
2049
|
-
rows:
|
|
2050
|
-
totalCount:
|
|
2098
|
+
views: g,
|
|
2099
|
+
rows: f?.data ?? [],
|
|
2100
|
+
totalCount: f?.total_count ?? 0,
|
|
2051
2101
|
isLoading: c.isLoading || l.isLoading,
|
|
2052
2102
|
error: c.error ?? l.error,
|
|
2053
2103
|
refetch: () => {
|
|
@@ -2055,15 +2105,15 @@ function Sr(e, n = {}, t = {}) {
|
|
|
2055
2105
|
}
|
|
2056
2106
|
};
|
|
2057
2107
|
}
|
|
2058
|
-
function
|
|
2059
|
-
const [n, t] =
|
|
2108
|
+
function Ar(e) {
|
|
2109
|
+
const [n, t] = b(
|
|
2060
2110
|
() => e?.definition ?? (e?.datasetId ? r.workingPaper.createFxDatasetDefinition(e.datasetId, e.columns ?? []) : void 0)
|
|
2061
|
-
), a =
|
|
2111
|
+
), a = u({
|
|
2062
2112
|
mutationFn: async () => {
|
|
2063
2113
|
if (!n) throw { message: "No fx definition to run", status: 400 };
|
|
2064
|
-
const
|
|
2065
|
-
r.definition.runDefinition({ inputs: {}, definition: n, variable:
|
|
2066
|
-
r.definition.getDescription({ inputs: {}, definition: n, variable:
|
|
2114
|
+
const o = r.workingPaper.FX_RESULT_VARIABLE, [i, c] = await Promise.all([
|
|
2115
|
+
r.definition.runDefinition({ inputs: {}, definition: n, variable: o }),
|
|
2116
|
+
r.definition.getDescription({ inputs: {}, definition: n, variable: o })
|
|
2067
2117
|
]), l = Array.isArray(c) ? c : c?.data ?? [];
|
|
2068
2118
|
return { rows: i ?? [], columns: l };
|
|
2069
2119
|
}
|
|
@@ -2071,217 +2121,266 @@ function Ir(e) {
|
|
|
2071
2121
|
return {
|
|
2072
2122
|
definition: n,
|
|
2073
2123
|
setDefinition: t,
|
|
2074
|
-
reset: (
|
|
2075
|
-
addFilter: (
|
|
2076
|
-
addSort: (
|
|
2077
|
-
addMetric: (
|
|
2078
|
-
addPivot: (
|
|
2079
|
-
addColumn: (
|
|
2124
|
+
reset: (o, i) => t(r.workingPaper.createFxDatasetDefinition(o, i ?? [])),
|
|
2125
|
+
addFilter: (o, i) => t((c) => r.workingPaper.addRuleFilter(c, o, i)),
|
|
2126
|
+
addSort: (o, i, c) => t((l) => r.workingPaper.addSort(l, o, i, c)),
|
|
2127
|
+
addMetric: (o, i, c) => t((l) => r.workingPaper.addMetric(l, o, i, c)),
|
|
2128
|
+
addPivot: (o, i) => t((c) => r.workingPaper.addPivot(c, o, i)),
|
|
2129
|
+
addColumn: (o, i, c) => t((l) => r.workingPaper.addColumn(l, o, i, c)),
|
|
2080
2130
|
run: () => a.mutateAsync(),
|
|
2081
2131
|
result: a.data,
|
|
2082
2132
|
isRunning: a.isPending,
|
|
2083
2133
|
runError: a.error
|
|
2084
2134
|
};
|
|
2085
2135
|
}
|
|
2136
|
+
function re(e = {}) {
|
|
2137
|
+
const n = s({
|
|
2138
|
+
...e,
|
|
2139
|
+
queryKey: ["solutions", "list"],
|
|
2140
|
+
queryFn: async () => r.solutions.getSolutionList()
|
|
2141
|
+
});
|
|
2142
|
+
return {
|
|
2143
|
+
solutions: n.data ?? [],
|
|
2144
|
+
isLoading: n.isLoading,
|
|
2145
|
+
error: n.error,
|
|
2146
|
+
refetch: n.refetch
|
|
2147
|
+
};
|
|
2148
|
+
}
|
|
2149
|
+
function ae(e, n, t = {}) {
|
|
2150
|
+
const a = e?.trim();
|
|
2151
|
+
return s({
|
|
2152
|
+
...t,
|
|
2153
|
+
queryKey: ["versioning", "branches", a, n],
|
|
2154
|
+
queryFn: async () => r.versioning.getBranches({ solutionId: a, branchType: n }),
|
|
2155
|
+
enabled: !!a
|
|
2156
|
+
});
|
|
2157
|
+
}
|
|
2158
|
+
function Gr() {
|
|
2159
|
+
const { solutions: e, isLoading: n } = re(), [t, a] = b(void 0), [o, i] = b(
|
|
2160
|
+
void 0
|
|
2161
|
+
), c = ae(t), l = c.data ?? [], g = (m) => {
|
|
2162
|
+
a(m), i(void 0);
|
|
2163
|
+
}, f = h(
|
|
2164
|
+
() => e.find((m) => m.id === t),
|
|
2165
|
+
[e, t]
|
|
2166
|
+
);
|
|
2167
|
+
return {
|
|
2168
|
+
solutions: e,
|
|
2169
|
+
selectedSolution: f,
|
|
2170
|
+
selectedSolutionId: t,
|
|
2171
|
+
selectSolution: g,
|
|
2172
|
+
branches: l,
|
|
2173
|
+
selectedBranch: o,
|
|
2174
|
+
selectBranch: i,
|
|
2175
|
+
isLoadingSolutions: n,
|
|
2176
|
+
isLoadingBranches: c.isLoading
|
|
2177
|
+
};
|
|
2178
|
+
}
|
|
2086
2179
|
export {
|
|
2087
|
-
|
|
2180
|
+
Ur as ReactQueryDevtools,
|
|
2088
2181
|
U as WorkflowStatus,
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
it as
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
xt as
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2182
|
+
ue as reactQuery,
|
|
2183
|
+
Yn as useBulkCheckCustomPermissions,
|
|
2184
|
+
Jn as useBulkUpdateCustomObjectPermissions,
|
|
2185
|
+
qt as useCancelInboxItem,
|
|
2186
|
+
Dt as useCancelInboxItemsByKey,
|
|
2187
|
+
Xn as useCheckCustomPermissions,
|
|
2188
|
+
Fe as useCheckSubscriptionStatus,
|
|
2189
|
+
wt as useClaimInboxItem,
|
|
2190
|
+
pt as useCompleteInboxItem,
|
|
2191
|
+
ht as useCompleteInboxItemsByKey,
|
|
2192
|
+
cn as useCreateAuditLog,
|
|
2193
|
+
St as useCreateConversation,
|
|
2194
|
+
pr as useCreateFiscalCalendar,
|
|
2195
|
+
Dr as useCreateHolidayCalendar,
|
|
2196
|
+
lt as useCreateInboxItem,
|
|
2197
|
+
tt as useCreateInboxItemPerUser,
|
|
2198
|
+
ot as useCreateInboxType,
|
|
2199
|
+
un as useCreateOrUpdateForm,
|
|
2200
|
+
An as useCreateOrUpdateProcessTreeTrigger,
|
|
2201
|
+
H as useCreateReconV2,
|
|
2202
|
+
qe as useCreateStatementRun,
|
|
2203
|
+
ye as useCreateThread,
|
|
2204
|
+
Br as useCreateWorkingPaper,
|
|
2205
|
+
Nn as useCustomAuthzModel,
|
|
2206
|
+
be as useDataset,
|
|
2207
|
+
le as useDatasetSample,
|
|
2208
|
+
me as useDeleteComment,
|
|
2209
|
+
qr as useDeleteFiscalCalendar,
|
|
2210
|
+
Rr as useDeleteHolidayCalendar,
|
|
2211
|
+
st as useDeleteInboxType,
|
|
2212
|
+
Un as useDeleteProcessTreeTrigger,
|
|
2213
|
+
Kn as useDeleteProcessTrigger,
|
|
2214
|
+
dn as useDeleteReconV2,
|
|
2215
|
+
Qe as useDeleteRow,
|
|
2216
|
+
mt as useDismissInboxItem,
|
|
2217
|
+
$e as useDocumentPermissions,
|
|
2218
|
+
cr as useDropFileToDatabox,
|
|
2219
|
+
vn as useExecuteNow,
|
|
2220
|
+
Gn as useExecuteProcessTreeTrigger,
|
|
2221
|
+
Xe as useFileDownload,
|
|
2222
|
+
Je as useFileUpload,
|
|
2223
|
+
It as useFilterMessagesBySenderId,
|
|
2224
|
+
Ar as useFxDefinitionSheet,
|
|
2225
|
+
Tt as useGetAllConversations,
|
|
2226
|
+
kn as useGetAllHttpTriggers,
|
|
2227
|
+
Zn as useGetAllInboxItems,
|
|
2228
|
+
yn as useGetAllRecon,
|
|
2229
|
+
N as useGetAllReconV2,
|
|
2230
|
+
ln as useGetAllTemplatedPipelines,
|
|
2231
|
+
Sn as useGetAllUsers,
|
|
2232
|
+
sn as useGetAuditLogs,
|
|
2233
|
+
de as useGetCommentsByThreadId,
|
|
2234
|
+
Rt as useGetConversation,
|
|
2235
|
+
or as useGetDataboxFile,
|
|
2236
|
+
ir as useGetDataboxFileDownloadUrl,
|
|
2237
|
+
sr as useGetDataboxFileRuns,
|
|
2238
|
+
ur as useGetDataboxFileStatus,
|
|
2239
|
+
Jt as useGetDataboxFolder,
|
|
2240
|
+
Yt as useGetDataboxFolderDatasets,
|
|
2241
|
+
Zt as useGetDataboxFolderDuplicates,
|
|
2242
|
+
Xt as useGetDataboxFolderFiles,
|
|
2243
|
+
tr as useGetDataboxFolderSchema,
|
|
2244
|
+
rr as useGetDataboxSchemaHistory,
|
|
2245
|
+
ar as useGetDataboxTrashFiles,
|
|
2246
|
+
nr as useGetDatasetDuplicates,
|
|
2247
|
+
er as useGetDatasetExceptions,
|
|
2248
|
+
he as useGetDatasets,
|
|
2249
|
+
Re as useGetFileByFolderIdAndName,
|
|
2250
|
+
Se as useGetFileById,
|
|
2251
|
+
Te as useGetFileUrlByFileId,
|
|
2252
|
+
wr as useGetFiscalCalendar,
|
|
2253
|
+
on as useGetFormById,
|
|
2254
|
+
an as useGetFormData,
|
|
2255
|
+
rn as useGetFormSchema,
|
|
2256
|
+
hr as useGetHolidayCalendar,
|
|
2257
|
+
ct as useGetInboxItem,
|
|
2258
|
+
at as useGetInboxType,
|
|
2259
|
+
Oe as useGetInputTables,
|
|
2260
|
+
zn as useGetProcessTreeRunByInstanceId,
|
|
2261
|
+
Hn as useGetProcessTreeRunsBySheetId,
|
|
2262
|
+
_n as useGetProcessTreeRunsBySheetIdPaginated,
|
|
2263
|
+
Qn as useGetProcessTreeTrigger,
|
|
2264
|
+
Wn as useGetProcessTreeTriggersBySheetId,
|
|
2265
|
+
ke as useGetPublishedWorkbookById,
|
|
2266
|
+
pn as useGetReconV2CleanResult,
|
|
2267
|
+
Fn as useGetReconV2Diff,
|
|
2268
|
+
qn as useGetReconV2Explanation,
|
|
2269
|
+
mn as useGetReconV2ProfileResult,
|
|
2270
|
+
$ as useGetReconV2RunResult,
|
|
2271
|
+
j as useGetReconV2Runs,
|
|
2272
|
+
J as useGetReconV2SmartResult,
|
|
2273
|
+
Z as useGetReconV2Workflow,
|
|
2274
|
+
Ie as useGetRunResultById,
|
|
2275
|
+
Ce as useGetRunsByViewId,
|
|
2276
|
+
Bn as useGetScheduleStatus,
|
|
2277
|
+
Pe as useGetStatementData,
|
|
2278
|
+
xe as useGetTableById,
|
|
2279
|
+
Ye as useGetTaskDetails,
|
|
2280
|
+
Pn as useGetTriggersBySheet,
|
|
2281
|
+
Ke as useGetViewById,
|
|
2282
|
+
Ve as useGetViewsBySheetId,
|
|
2283
|
+
De as useGetVirtualDatasets,
|
|
2284
|
+
Ze as useGetWorkbookDetails,
|
|
2285
|
+
Ee as useGetWorkbooksByType,
|
|
2286
|
+
Be as useGetWorkflowInstanceStatusById,
|
|
2287
|
+
ve as useGetWorksheets,
|
|
2288
|
+
Ae as useGetWorksheetsByType,
|
|
2289
|
+
kr as useImportHolidays,
|
|
2290
|
+
Ge as useInputTable,
|
|
2291
|
+
Le as useInsertRow,
|
|
2292
|
+
Cr as useLastSuccessfulPipelineRun,
|
|
2293
|
+
ae as useListBranches,
|
|
2294
|
+
mr as useListFiscalCalendars,
|
|
2295
|
+
br as useListHolidayCalendars,
|
|
2296
|
+
Sr as useListHolidays,
|
|
2297
|
+
rt as useListInboxTypes,
|
|
2298
|
+
it as useListMyInboxItems,
|
|
2299
|
+
Mn as useLogProcessTreeRun,
|
|
2300
|
+
dt as useMarkInboxItemsRead,
|
|
2301
|
+
gt as useMarkInboxItemsUnread,
|
|
2302
|
+
et as useMarkItemAsRead,
|
|
2303
|
+
nt as useMarkItemAsUnread,
|
|
2304
|
+
In as useMarkTaskDone,
|
|
2305
|
+
ce as useMetric,
|
|
2306
|
+
Vn as usePauseSchedule,
|
|
2307
|
+
fr as usePermanentDeleteDataboxFiles,
|
|
2308
|
+
Ir as usePipelineList,
|
|
2309
|
+
Kr as usePipelineOutputSample,
|
|
2310
|
+
xr as usePipelineOverview,
|
|
2311
|
+
Pr as usePipelineRunDetail,
|
|
2312
|
+
te as usePipelineRuns,
|
|
2313
|
+
ge as usePostComment,
|
|
2314
|
+
nn as usePublishWorkbook,
|
|
2315
|
+
bt as useReassignInboxItem,
|
|
2316
|
+
Cn as useReassignTask,
|
|
2317
|
+
hn as useReconV2Detail,
|
|
2318
|
+
Dn as useReconV2Editor,
|
|
2319
|
+
bn as useReconV2List,
|
|
2320
|
+
Rn as useReconV2Results,
|
|
2321
|
+
Tn as useReconV2RunController,
|
|
2322
|
+
Y as useReconV2RunStatus,
|
|
2323
|
+
gn as useReconV2Templates,
|
|
2324
|
+
jn as useRegisterCustomAuthzModel,
|
|
2325
|
+
xn as useRegisterProcessTrigger,
|
|
2326
|
+
Ft as useReleaseInboxItem,
|
|
2327
|
+
$t as useRenderTemplate,
|
|
2328
|
+
kt as useReplyToConversation,
|
|
2329
|
+
gr as useRestoreDataboxFile,
|
|
2330
|
+
En as useResumeSchedule,
|
|
2331
|
+
Me as useRows,
|
|
2332
|
+
lr as useRunDataboxFolder,
|
|
2333
|
+
We as useRunDefinition,
|
|
2334
|
+
He as useRunPublishedDefinition,
|
|
2335
|
+
tn as useRunRecon,
|
|
2336
|
+
z as useRunReconV2,
|
|
2337
|
+
_e as useRunSampleDefinition,
|
|
2338
|
+
en as useSaveWorkbook,
|
|
2339
|
+
Ct as useSearchMessages,
|
|
2340
|
+
ft as useSnoozeInboxItem,
|
|
2341
|
+
re as useSolutionList,
|
|
2342
|
+
Gr as useSolutionPicker,
|
|
2343
|
+
wn as useStartReconV2Clean,
|
|
2344
|
+
fn as useStartReconV2Profile,
|
|
2345
|
+
we as useSubscribeUser,
|
|
2346
|
+
Ut as useTcnAgentDisconnect,
|
|
2347
|
+
Nt as useTcnAgentGetCallFromHold,
|
|
2348
|
+
At as useTcnAgentGetStatus,
|
|
2349
|
+
Qt as useTcnAgentPause,
|
|
2350
|
+
zt as useTcnAgentPutCallOnHold,
|
|
2351
|
+
Wt as useTcnAgentSetReady,
|
|
2352
|
+
Et as useTcnAgentSkills,
|
|
2353
|
+
Pt as useTcnAuthUrl,
|
|
2354
|
+
_t as useTcnCallData,
|
|
2355
|
+
Ht as useTcnConnectedParty,
|
|
2356
|
+
Bt as useTcnCreateSession,
|
|
2357
|
+
Vt as useTcnCurrentAgent,
|
|
2358
|
+
Ot as useTcnDialManualPrepare,
|
|
2359
|
+
xt as useTcnExchangeCode,
|
|
2360
|
+
jt as useTcnFtpManualDialReport,
|
|
2361
|
+
Gt as useTcnHuntGroupSettings,
|
|
2362
|
+
vt as useTcnKeepAlive,
|
|
2363
|
+
Lt as useTcnManualDialStart,
|
|
2364
|
+
Mt as useTcnProcessManualDial,
|
|
2365
|
+
Kt as useTcnRefreshToken,
|
|
2366
|
+
On as useTerminateProcessTreePipelines,
|
|
2367
|
+
dr as useTrashDataboxFiles,
|
|
2368
|
+
ze as useTriggerHttpWorkflow,
|
|
2369
|
+
Ne as useTriggerWorkflow,
|
|
2370
|
+
pe as useUnsubscribeUser,
|
|
2371
|
+
fe as useUpdateComment,
|
|
2372
|
+
$n as useUpdateCustomObjectPermissions,
|
|
2373
|
+
yr as useUpdateDataboxFolderSchema,
|
|
2374
|
+
Fr as useUpdateFiscalCalendar,
|
|
2375
|
+
Tr as useUpdateHolidayCalendar,
|
|
2376
|
+
yt as useUpdateInboxItem,
|
|
2377
|
+
ut as useUpdateInboxType,
|
|
2378
|
+
Ln as useUpdateProcessTreeRunContext,
|
|
2379
|
+
_ as useUpdateReconV2,
|
|
2380
|
+
Ue as useUpdateRow,
|
|
2381
|
+
Q as useUser,
|
|
2382
|
+
je as useUserDetails,
|
|
2383
|
+
Er as useWorkingPaper,
|
|
2384
|
+
vr as useWorkingPaperInputTableSheet,
|
|
2385
|
+
Vr as useWorkingPaperList
|
|
2287
2386
|
};
|