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