@bluecopa/react 0.1.121 → 0.1.123
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/useChecklistMutations.d.ts +41 -0
- package/dist/hooks/useChecklistMutations.d.ts.map +1 -0
- package/dist/hooks/useChecklists.d.ts +21 -0
- package/dist/hooks/useChecklists.d.ts.map +1 -0
- package/dist/hooks/useExportResults.d.ts +5 -0
- package/dist/hooks/useExportResults.d.ts.map +1 -0
- package/dist/hooks/useTriggerWorkflow.d.ts +1 -16
- package/dist/hooks/useTriggerWorkflow.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1278 -1162
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useQuery as
|
|
2
|
-
import * as
|
|
3
|
-
import { copaApi as r, copaGetConfig as
|
|
1
|
+
import { useQuery as o, useMutation as a, useQueryClient as p } from "@tanstack/react-query";
|
|
2
|
+
import * as ce from "@tanstack/react-query";
|
|
3
|
+
import { copaApi as r, copaGetConfig as K, copaUtils as A } from "@bluecopa/core";
|
|
4
4
|
export * from "@bluecopa/core";
|
|
5
|
-
import { useState as q, useRef as B, useEffect as
|
|
6
|
-
import { ReactQueryDevtools as
|
|
5
|
+
import { useState as q, useRef as B, useEffect as x, useMemo as h, useCallback as G } from "react";
|
|
6
|
+
import { ReactQueryDevtools as Ha } from "@tanstack/react-query-devtools";
|
|
7
7
|
const M = {
|
|
8
8
|
enabled: !0,
|
|
9
9
|
staleTime: 1e3 * 60 * 5,
|
|
@@ -23,7 +23,7 @@ function L(e = 5e3) {
|
|
|
23
23
|
return new Promise((t) => setTimeout(t, e));
|
|
24
24
|
}
|
|
25
25
|
function P(e, t) {
|
|
26
|
-
const n = Object.entries(e).filter(([
|
|
26
|
+
const n = Object.entries(e).filter(([u, s]) => !s).map(([u]) => u);
|
|
27
27
|
if (n.length > 0)
|
|
28
28
|
throw new Error(
|
|
29
29
|
t || `Missing required parameters: ${n.join(", ")}`
|
|
@@ -46,39 +46,39 @@ function d(e) {
|
|
|
46
46
|
onError: t.onError
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
const n = t.enabled !== !1 && !!e,
|
|
49
|
+
function de(e, t = {}) {
|
|
50
|
+
const n = t.enabled !== !1 && !!e, u = t.solutionBindings ?? null, s = 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, {
|
|
54
54
|
limit: t.limit
|
|
55
55
|
});
|
|
56
56
|
}), i = d({
|
|
57
|
-
queryKey: ["metricData", e,
|
|
58
|
-
queryFn:
|
|
57
|
+
queryKey: ["metricData", e, u, t.limit ?? null],
|
|
58
|
+
queryFn: s,
|
|
59
59
|
enabled: n,
|
|
60
60
|
options: t
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return o(i);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
const n = !!e,
|
|
64
|
+
function pe(e, t = {}) {
|
|
65
|
+
const n = !!e, u = y(async () => {
|
|
66
66
|
if (!e)
|
|
67
67
|
throw new Error("Dataset ID is required");
|
|
68
68
|
return console.log("Fetching dataset data..."), await r.dataset.getSampleData({
|
|
69
69
|
datasetId: e,
|
|
70
70
|
dataFilter: "all_data"
|
|
71
71
|
});
|
|
72
|
-
}),
|
|
72
|
+
}), s = d({
|
|
73
73
|
queryKey: ["datasetData", e],
|
|
74
|
-
queryFn:
|
|
74
|
+
queryFn: u,
|
|
75
75
|
enabled: n,
|
|
76
76
|
options: t
|
|
77
77
|
});
|
|
78
|
-
return s
|
|
78
|
+
return o(s);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return
|
|
80
|
+
function fe(e = {}) {
|
|
81
|
+
return a({
|
|
82
82
|
mutationFn: async (t) => await r.chat.createThread(t),
|
|
83
83
|
onSuccess: e.onSuccess,
|
|
84
84
|
onError: e.onError,
|
|
@@ -86,20 +86,20 @@ function ye(e = {}) {
|
|
|
86
86
|
retryDelay: e.retryDelay ?? ((t) => Math.min(1e3 * 2 ** t, 3e4))
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
const n = t.enabled !== !1 && !!e,
|
|
89
|
+
function ge(e, t = {}) {
|
|
90
|
+
const n = t.enabled !== !1 && !!e, u = y(async () => (P(
|
|
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))), s = d({
|
|
94
94
|
queryKey: ["chat", "comments", e],
|
|
95
|
-
queryFn:
|
|
95
|
+
queryFn: u,
|
|
96
96
|
enabled: n,
|
|
97
97
|
options: t
|
|
98
98
|
});
|
|
99
|
-
return s
|
|
99
|
+
return o(s);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function me(e = {}) {
|
|
102
|
+
return a({
|
|
103
103
|
mutationFn: async (t) => await r.chat.postComment(t),
|
|
104
104
|
onSuccess: e.onSuccess,
|
|
105
105
|
onError: e.onError,
|
|
@@ -107,8 +107,8 @@ function pe(e = {}) {
|
|
|
107
107
|
retryDelay: e.retryDelay ?? ((t) => Math.min(1e3 * 2 ** t, 3e4))
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
110
|
+
function be(e = {}) {
|
|
111
|
+
return a({
|
|
112
112
|
mutationFn: async (t) => await r.chat.updateComment(t),
|
|
113
113
|
onSuccess: e.onSuccess,
|
|
114
114
|
onError: e.onError,
|
|
@@ -116,8 +116,8 @@ function ge(e = {}) {
|
|
|
116
116
|
retryDelay: e.retryDelay ?? ((t) => Math.min(1e3 * 2 ** t, 3e4))
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
return
|
|
119
|
+
function Fe(e = {}) {
|
|
120
|
+
return a({
|
|
121
121
|
mutationFn: async (t) => await r.chat.deleteComment(t),
|
|
122
122
|
onSuccess: e.onSuccess,
|
|
123
123
|
onError: e.onError,
|
|
@@ -125,8 +125,8 @@ function fe(e = {}) {
|
|
|
125
125
|
retryDelay: e.retryDelay ?? ((t) => Math.min(1e3 * 2 ** t, 3e4))
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
return
|
|
128
|
+
function we(e = {}) {
|
|
129
|
+
return a({
|
|
130
130
|
mutationFn: async (t) => await r.chat.subscribeUser(t),
|
|
131
131
|
onSuccess: e.onSuccess,
|
|
132
132
|
onError: e.onError,
|
|
@@ -134,8 +134,8 @@ function me(e = {}) {
|
|
|
134
134
|
retryDelay: e.retryDelay ?? ((t) => Math.min(1e3 * 2 ** t, 3e4))
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
return
|
|
137
|
+
function qe(e = {}) {
|
|
138
|
+
return a({
|
|
139
139
|
mutationFn: async (t) => await r.chat.unsubscribeUser(t),
|
|
140
140
|
onSuccess: e.onSuccess,
|
|
141
141
|
onError: e.onError,
|
|
@@ -143,57 +143,57 @@ function be(e = {}) {
|
|
|
143
143
|
retryDelay: e.retryDelay ?? ((t) => Math.min(1e3 * 2 ** t, 3e4))
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
const
|
|
146
|
+
function he(e, t, n = {}) {
|
|
147
|
+
const u = n.enabled !== !1 && !!e && !!t, s = y(async () => (P(
|
|
148
148
|
{ userId: e, threadId: t },
|
|
149
149
|
"User ID and Thread ID are required to check subscription status"
|
|
150
150
|
), await r.chat.checkSubscriptionStatus(e, t))), i = d({
|
|
151
151
|
queryKey: ["chat", "subscription", e, t],
|
|
152
|
-
queryFn:
|
|
153
|
-
enabled:
|
|
152
|
+
queryFn: s,
|
|
153
|
+
enabled: u,
|
|
154
154
|
options: n
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return o(i);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return
|
|
158
|
+
function Te(e = {}) {
|
|
159
|
+
return a({
|
|
160
160
|
mutationFn: async (t) => await r.statement.createNewRun(t),
|
|
161
161
|
...e
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
const n = !!e,
|
|
164
|
+
function De(e, t = {}) {
|
|
165
|
+
const n = !!e, u = 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: t.limit || 1e3
|
|
170
170
|
});
|
|
171
|
-
}),
|
|
171
|
+
}), s = d({
|
|
172
172
|
queryKey: ["datasetData", e],
|
|
173
|
-
queryFn:
|
|
173
|
+
queryFn: u,
|
|
174
174
|
enabled: n,
|
|
175
175
|
options: t
|
|
176
176
|
});
|
|
177
|
-
return s
|
|
177
|
+
return o(s);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Ce() {
|
|
180
180
|
const e = y(async () => (console.log("Fetching dataset data..."), await r.dataset.getAllDatasets())), t = d({
|
|
181
181
|
queryKey: ["datasetData"],
|
|
182
182
|
queryFn: e,
|
|
183
183
|
enabled: !0
|
|
184
184
|
});
|
|
185
|
-
return
|
|
185
|
+
return o(t);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function ke() {
|
|
188
188
|
const e = y(async () => await r.dataset.getVirtualDatasets()), t = d({
|
|
189
189
|
queryKey: ["virtualDatasets"],
|
|
190
190
|
queryFn: e,
|
|
191
191
|
enabled: !0
|
|
192
192
|
});
|
|
193
|
-
return
|
|
193
|
+
return o(t);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
const
|
|
195
|
+
function Se(e, t, n, u = {}) {
|
|
196
|
+
const s = !!e && !!t && !!n, i = y(async () => {
|
|
197
197
|
if (!e || !t || !n)
|
|
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,78 +204,78 @@ function De(e, t, n, a = {}) {
|
|
|
204
204
|
}), c = d({
|
|
205
205
|
queryKey: ["file", "getFileUrlByFileId", e, t, n],
|
|
206
206
|
queryFn: i,
|
|
207
|
-
enabled:
|
|
208
|
-
options:
|
|
207
|
+
enabled: s,
|
|
208
|
+
options: u
|
|
209
209
|
});
|
|
210
|
-
return
|
|
210
|
+
return o(c);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
const
|
|
214
|
-
folderId:
|
|
215
|
-
name:
|
|
212
|
+
function Re(e, t, n = {}) {
|
|
213
|
+
const u = e?.trim(), s = t?.trim(), i = !!(u && s), c = y(async () => await r.files.getFileByFolderIdAndName({
|
|
214
|
+
folderId: u,
|
|
215
|
+
name: s
|
|
216
216
|
})), l = d({
|
|
217
217
|
queryKey: [
|
|
218
218
|
"file",
|
|
219
219
|
"getFileByFolderIdAndName",
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
u,
|
|
221
|
+
s
|
|
222
222
|
],
|
|
223
223
|
queryFn: c,
|
|
224
224
|
enabled: i,
|
|
225
225
|
options: n
|
|
226
226
|
});
|
|
227
|
-
return
|
|
227
|
+
return o(l);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
const n = e?.trim(),
|
|
229
|
+
function Ke(e, t = {}) {
|
|
230
|
+
const n = e?.trim(), u = !!n, s = y(async () => await r.files.getFileById({ id: n })), i = d({
|
|
231
231
|
queryKey: ["file", "getFileById", n],
|
|
232
|
-
queryFn:
|
|
233
|
-
enabled:
|
|
232
|
+
queryFn: s,
|
|
233
|
+
enabled: u,
|
|
234
234
|
options: t
|
|
235
235
|
});
|
|
236
|
-
return
|
|
236
|
+
return o(i);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
const
|
|
238
|
+
function xe(e, t, n = {}) {
|
|
239
|
+
const u = !!e && !!t, s = y(async () => {
|
|
240
240
|
if (!e || !t)
|
|
241
241
|
throw new Error("Type and ID are required");
|
|
242
242
|
return console.log("Fetching published workbook by ID..."), await r.workbook.getPublishedWorkbookById({ type: e, id: t });
|
|
243
243
|
}), i = d({
|
|
244
244
|
queryKey: ["workbook", "getPublishedWorkbookById", e, t],
|
|
245
|
-
queryFn:
|
|
246
|
-
enabled:
|
|
245
|
+
queryFn: s,
|
|
246
|
+
enabled: u,
|
|
247
247
|
options: n
|
|
248
248
|
});
|
|
249
|
-
return
|
|
249
|
+
return o(i);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
const n = !!e,
|
|
251
|
+
function Pe(e, t = {}) {
|
|
252
|
+
const n = !!e, u = y(async () => {
|
|
253
253
|
if (!e)
|
|
254
254
|
throw new Error("Run ID is required");
|
|
255
255
|
return await r.statement.getRunResultById(e);
|
|
256
|
-
}),
|
|
256
|
+
}), s = d({
|
|
257
257
|
queryKey: ["statement", "getRunResultById", e],
|
|
258
|
-
queryFn:
|
|
258
|
+
queryFn: u,
|
|
259
259
|
enabled: n,
|
|
260
260
|
options: t
|
|
261
261
|
});
|
|
262
|
-
return s
|
|
262
|
+
return o(s);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
const n = !!e,
|
|
264
|
+
function ve(e, t = {}) {
|
|
265
|
+
const n = !!e, u = y(async () => {
|
|
266
266
|
if (!e)
|
|
267
267
|
throw new Error("View ID is required");
|
|
268
268
|
return await r.statement.getRunsByViewId(e);
|
|
269
|
-
}),
|
|
269
|
+
}), s = d({
|
|
270
270
|
queryKey: ["statement", "getRunsByViewId", e],
|
|
271
|
-
queryFn:
|
|
271
|
+
queryFn: u,
|
|
272
272
|
enabled: n,
|
|
273
273
|
options: t
|
|
274
274
|
});
|
|
275
|
-
return s
|
|
275
|
+
return o(s);
|
|
276
276
|
}
|
|
277
|
-
function
|
|
278
|
-
const
|
|
277
|
+
function Ie(e, t, n, u = {}) {
|
|
278
|
+
const s = !!e, i = y(async () => {
|
|
279
279
|
if (!e)
|
|
280
280
|
throw new Error("Statement ID is required");
|
|
281
281
|
return await r.statement.getData({
|
|
@@ -286,131 +286,131 @@ function Ke(e, t, n, a = {}) {
|
|
|
286
286
|
}), c = d({
|
|
287
287
|
queryKey: ["statement", "getData", e, t, n],
|
|
288
288
|
queryFn: i,
|
|
289
|
-
enabled:
|
|
290
|
-
options:
|
|
289
|
+
enabled: s,
|
|
290
|
+
options: u
|
|
291
291
|
});
|
|
292
|
-
return
|
|
292
|
+
return o(c);
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
const n = !!e,
|
|
294
|
+
function Ve(e, t = {}) {
|
|
295
|
+
const n = !!e, u = y(async () => {
|
|
296
296
|
if (!e)
|
|
297
297
|
throw new Error("Table ID is required");
|
|
298
298
|
return console.log("Fetching table by ID..."), await r.inputTable.getTableById(e);
|
|
299
|
-
}),
|
|
299
|
+
}), s = d({
|
|
300
300
|
queryKey: ["inputTable", "getTableById", e],
|
|
301
|
-
queryFn:
|
|
301
|
+
queryFn: u,
|
|
302
302
|
enabled: n,
|
|
303
303
|
options: t
|
|
304
304
|
});
|
|
305
|
-
return s
|
|
305
|
+
return o(s);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
308
|
-
const n = !!e,
|
|
307
|
+
function Ee(e, t = {}) {
|
|
308
|
+
const n = !!e, u = y(async () => {
|
|
309
309
|
if (!e)
|
|
310
310
|
throw new Error("View ID is required");
|
|
311
311
|
return await r.statement.getViewById(e);
|
|
312
|
-
}),
|
|
312
|
+
}), s = d({
|
|
313
313
|
queryKey: ["statement", "getViewById", e],
|
|
314
|
-
queryFn:
|
|
314
|
+
queryFn: u,
|
|
315
315
|
enabled: n,
|
|
316
316
|
options: t
|
|
317
317
|
});
|
|
318
|
-
return s
|
|
318
|
+
return o(s);
|
|
319
319
|
}
|
|
320
|
-
function
|
|
321
|
-
const n = !!e,
|
|
320
|
+
function Ae(e, t = {}) {
|
|
321
|
+
const n = !!e, u = y(async () => {
|
|
322
322
|
if (!e)
|
|
323
323
|
throw new Error("Sheet ID is required");
|
|
324
324
|
return await r.statement.getViewsBySheetId(e);
|
|
325
|
-
}),
|
|
325
|
+
}), s = d({
|
|
326
326
|
queryKey: ["statement", "getViewsBySheetId", e],
|
|
327
|
-
queryFn:
|
|
327
|
+
queryFn: u,
|
|
328
328
|
enabled: n,
|
|
329
329
|
options: t
|
|
330
330
|
});
|
|
331
|
-
return s
|
|
331
|
+
return o(s);
|
|
332
332
|
}
|
|
333
|
-
function
|
|
334
|
-
const n = !!e,
|
|
333
|
+
function Be(e, t = {}) {
|
|
334
|
+
const n = !!e, u = y(async () => {
|
|
335
335
|
if (!e)
|
|
336
336
|
throw new Error("Type is required");
|
|
337
337
|
return console.log("Fetching workbooks by type..."), await r.workbook.getWorkbooksByType(e);
|
|
338
|
-
}),
|
|
338
|
+
}), s = d({
|
|
339
339
|
queryKey: ["workbook", "getWorkbooksByType", e],
|
|
340
|
-
queryFn:
|
|
340
|
+
queryFn: u,
|
|
341
341
|
enabled: n,
|
|
342
342
|
options: t
|
|
343
343
|
});
|
|
344
|
-
return s
|
|
344
|
+
return o(s);
|
|
345
345
|
}
|
|
346
346
|
var H = /* @__PURE__ */ ((e) => (e.Succeeded = "Succeeded", e.Failed = "Failed", e.Running = "Running", e.NotFound = "NotFound", e))(H || {});
|
|
347
|
-
function
|
|
348
|
-
return
|
|
347
|
+
function Ge(e = {}) {
|
|
348
|
+
return a({
|
|
349
349
|
mutationFn: async (t) => (console.log("Fetching workflow instance status..."), await r.workflow.getWorkflowInstanceStatusById(t)),
|
|
350
350
|
...e
|
|
351
351
|
});
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
const n = !!e && e.length > 0,
|
|
353
|
+
function Me(e, t = {}) {
|
|
354
|
+
const n = !!e && e.length > 0, u = y(async () => {
|
|
355
355
|
if (!e || e.length === 0)
|
|
356
356
|
throw new Error("Worksheet IDs are required");
|
|
357
357
|
return console.log("Fetching worksheets..."), await r.worksheet.getWorksheets(e);
|
|
358
|
-
}),
|
|
358
|
+
}), s = d({
|
|
359
359
|
queryKey: ["worksheet", "getWorksheets", e],
|
|
360
|
-
queryFn:
|
|
360
|
+
queryFn: u,
|
|
361
361
|
enabled: n,
|
|
362
362
|
options: t
|
|
363
363
|
});
|
|
364
|
-
return s
|
|
364
|
+
return o(s);
|
|
365
365
|
}
|
|
366
|
-
function
|
|
367
|
-
const n = !!e,
|
|
366
|
+
function Oe(e, t = {}) {
|
|
367
|
+
const n = !!e, u = y(async () => {
|
|
368
368
|
if (!e)
|
|
369
369
|
throw new Error("Type is required");
|
|
370
370
|
return console.log("Fetching worksheets by type..."), await r.worksheet.getWorksheetsByType(e);
|
|
371
|
-
}),
|
|
371
|
+
}), s = d({
|
|
372
372
|
queryKey: ["worksheet", "getWorksheetsByType", e],
|
|
373
|
-
queryFn:
|
|
373
|
+
queryFn: u,
|
|
374
374
|
enabled: n,
|
|
375
375
|
options: t
|
|
376
376
|
});
|
|
377
|
-
return s
|
|
377
|
+
return o(s);
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Le(e, t, n = {}) {
|
|
380
380
|
const {
|
|
381
|
-
limitParams:
|
|
382
|
-
pageParams:
|
|
381
|
+
limitParams: u = { limit: 2e3, limitFrom: "top" },
|
|
382
|
+
pageParams: s,
|
|
383
383
|
sortParams: i,
|
|
384
384
|
offsetParam: c,
|
|
385
385
|
...l
|
|
386
|
-
} = n,
|
|
386
|
+
} = n, f = l.enabled !== !1 && !!e && !!t, g = y(async () => {
|
|
387
387
|
if (!e || !t)
|
|
388
388
|
throw new Error("Input table ID and view ID are required");
|
|
389
389
|
return console.log("Fetching input table data..."), await r.inputTable.getData({
|
|
390
390
|
inputTableId: e,
|
|
391
391
|
inputTableViewId: t,
|
|
392
|
-
pageParams:
|
|
393
|
-
limitParams:
|
|
392
|
+
pageParams: s,
|
|
393
|
+
limitParams: u,
|
|
394
394
|
sortParams: i,
|
|
395
395
|
offsetParam: c
|
|
396
396
|
});
|
|
397
397
|
}), m = d({
|
|
398
398
|
queryKey: ["inputTableData", e, t],
|
|
399
|
-
queryFn:
|
|
400
|
-
enabled:
|
|
399
|
+
queryFn: g,
|
|
400
|
+
enabled: f,
|
|
401
401
|
options: l
|
|
402
402
|
});
|
|
403
|
-
return
|
|
403
|
+
return o(m);
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function He() {
|
|
406
406
|
const e = y(async () => (console.log("Fetching input table data..."), await r.inputTable.getInputTables())), t = d({
|
|
407
407
|
queryKey: ["inputTableData"],
|
|
408
408
|
queryFn: e,
|
|
409
409
|
enabled: !0
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return o(t);
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function Ue(e, t = {}) {
|
|
414
414
|
const n = [
|
|
415
415
|
"enabled",
|
|
416
416
|
"staleTime",
|
|
@@ -419,29 +419,29 @@ function Oe(e, t = {}) {
|
|
|
419
419
|
"retryDelay",
|
|
420
420
|
"onSuccess",
|
|
421
421
|
"onError"
|
|
422
|
-
], { limit:
|
|
422
|
+
], { limit: u, offset: s, order: i, order_by: c, ...l } = t, f = {}, g = { limit: u, offset: s, order: i, order_by: c };
|
|
423
423
|
Object.keys(l).forEach((F) => {
|
|
424
|
-
n.includes(F) ?
|
|
424
|
+
n.includes(F) ? f[F] = l[F] : g[F] = l[F];
|
|
425
425
|
});
|
|
426
|
-
const m =
|
|
426
|
+
const m = f.enabled !== !1 && !!e, w = y(async () => {
|
|
427
427
|
if (!e)
|
|
428
428
|
throw new Error("Table ID is required");
|
|
429
|
-
return console.log("Fetching input table rows..."), await r.inputTable.getRows(e,
|
|
429
|
+
return console.log("Fetching input table rows..."), await r.inputTable.getRows(e, g);
|
|
430
430
|
}), b = d({
|
|
431
431
|
queryKey: ["inputTableRows", e, t],
|
|
432
432
|
queryFn: w,
|
|
433
433
|
enabled: m,
|
|
434
|
-
options:
|
|
434
|
+
options: f
|
|
435
435
|
});
|
|
436
|
-
return
|
|
436
|
+
return o(b);
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function Qe(e = {}) {
|
|
439
439
|
const t = p();
|
|
440
|
-
return
|
|
440
|
+
return a({
|
|
441
441
|
mutationFn: async (n) => (console.log("Inserting row into input table..."), await r.inputTable.insertRow(n.tableId, n.rowData)),
|
|
442
|
-
onSuccess: (n,
|
|
442
|
+
onSuccess: (n, u) => {
|
|
443
443
|
t.invalidateQueries({
|
|
444
|
-
queryKey: ["inputTableRows",
|
|
444
|
+
queryKey: ["inputTableRows", u.tableId]
|
|
445
445
|
}), e.onSuccess?.(n);
|
|
446
446
|
},
|
|
447
447
|
onError: (n) => {
|
|
@@ -450,17 +450,17 @@ function Le(e = {}) {
|
|
|
450
450
|
...e
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function We(e = {}) {
|
|
454
454
|
const t = p();
|
|
455
|
-
return
|
|
455
|
+
return a({
|
|
456
456
|
mutationFn: async (n) => (console.log("Updating input table row..."), await r.inputTable.updateRow(
|
|
457
457
|
n.tableId,
|
|
458
458
|
n.updateData,
|
|
459
459
|
n.rowId
|
|
460
460
|
)),
|
|
461
|
-
onSuccess: (n,
|
|
461
|
+
onSuccess: (n, u) => {
|
|
462
462
|
t.invalidateQueries({
|
|
463
|
-
queryKey: ["inputTableRows",
|
|
463
|
+
queryKey: ["inputTableRows", u.tableId]
|
|
464
464
|
}), e.onSuccess?.(n);
|
|
465
465
|
},
|
|
466
466
|
onError: (n) => {
|
|
@@ -469,17 +469,17 @@ function He(e = {}) {
|
|
|
469
469
|
...e
|
|
470
470
|
});
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function ze(e = {}) {
|
|
473
473
|
const t = p();
|
|
474
|
-
return
|
|
474
|
+
return a({
|
|
475
475
|
mutationFn: async (n) => (console.log("Deleting input table row(s)..."), await r.inputTable.deleteRow(
|
|
476
476
|
n.tableId,
|
|
477
477
|
n.rowId,
|
|
478
478
|
n.idField
|
|
479
479
|
)),
|
|
480
|
-
onSuccess: (n,
|
|
480
|
+
onSuccess: (n, u) => {
|
|
481
481
|
t.invalidateQueries({
|
|
482
|
-
queryKey: ["inputTableRows",
|
|
482
|
+
queryKey: ["inputTableRows", u.tableId]
|
|
483
483
|
}), e.onSuccess?.(n);
|
|
484
484
|
},
|
|
485
485
|
onError: (n) => {
|
|
@@ -488,48 +488,48 @@ function Ue(e = {}) {
|
|
|
488
488
|
...e
|
|
489
489
|
});
|
|
490
490
|
}
|
|
491
|
-
function
|
|
492
|
-
return
|
|
491
|
+
function Ne(e = {}) {
|
|
492
|
+
return a({
|
|
493
493
|
mutationFn: async (t) => (console.log("Running definition..."), await r.definition.runDefinition(t)),
|
|
494
494
|
...e
|
|
495
495
|
});
|
|
496
496
|
}
|
|
497
|
-
function
|
|
498
|
-
return
|
|
497
|
+
function _e(e = {}) {
|
|
498
|
+
return a({
|
|
499
499
|
mutationFn: async (t) => await r.definition.runPublishedDefinition(t),
|
|
500
500
|
...e
|
|
501
501
|
});
|
|
502
502
|
}
|
|
503
|
-
function
|
|
504
|
-
return
|
|
503
|
+
function je(e = {}) {
|
|
504
|
+
return a({
|
|
505
505
|
mutationFn: async (t) => await r.definition.runSampleDefinition(t),
|
|
506
506
|
...e
|
|
507
507
|
});
|
|
508
508
|
}
|
|
509
|
-
function
|
|
510
|
-
return
|
|
509
|
+
function Je(e = {}) {
|
|
510
|
+
return a({
|
|
511
511
|
mutationFn: async (t) => (console.log("Triggering HTTP workflow..."), await r.workflow.triggerHttpWorkflowById(t)),
|
|
512
512
|
...e
|
|
513
513
|
});
|
|
514
514
|
}
|
|
515
|
-
function
|
|
516
|
-
return
|
|
515
|
+
function $e(e = {}) {
|
|
516
|
+
return a({
|
|
517
517
|
mutationFn: async (t) => (console.log("Triggering workflow..."), await r.workflow.triggerWorkflowById(t)),
|
|
518
518
|
...e
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
521
|
function U(e = {}) {
|
|
522
|
-
const t = e.enabled !== !1, n = y(async () => (console.log("Fetching user details..."), await r.user.getLoggedInUserDetails())),
|
|
522
|
+
const t = e.enabled !== !1, n = y(async () => (console.log("Fetching user details..."), await r.user.getLoggedInUserDetails())), u = d({
|
|
523
523
|
queryKey: ["user"],
|
|
524
524
|
queryFn: n,
|
|
525
525
|
enabled: t,
|
|
526
526
|
options: e
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return o(u);
|
|
529
529
|
}
|
|
530
|
-
const
|
|
531
|
-
function
|
|
532
|
-
const
|
|
530
|
+
const Xe = U, Q = ["Owner", "Editor", "Viewer", "ReadOnly"], R = r.permissions?.getPermissions;
|
|
531
|
+
function Ye(e, t, n = {}) {
|
|
532
|
+
const u = n.enabled !== !1 && !!e?.trim(), s = y(
|
|
533
533
|
async () => {
|
|
534
534
|
if (!e?.trim())
|
|
535
535
|
return {};
|
|
@@ -537,7 +537,7 @@ function Je(e, t, n = {}) {
|
|
|
537
537
|
throw new Error(
|
|
538
538
|
"@bluecopa/core: permissions.getPermissions not available. Rebuild the core package."
|
|
539
539
|
);
|
|
540
|
-
const c =
|
|
540
|
+
const c = K();
|
|
541
541
|
if (!c.userId)
|
|
542
542
|
throw new Error(
|
|
543
543
|
"@bluecopa/core: userId is required. Call copaSetConfig({ userId, ... }) before using useDocumentPermissions."
|
|
@@ -547,122 +547,122 @@ function Je(e, t, n = {}) {
|
|
|
547
547
|
objectType: t,
|
|
548
548
|
user: c.userId,
|
|
549
549
|
userType: "User",
|
|
550
|
-
relations: n.relations ??
|
|
550
|
+
relations: n.relations ?? Q
|
|
551
551
|
});
|
|
552
552
|
},
|
|
553
553
|
void 0,
|
|
554
554
|
0
|
|
555
555
|
), i = d({
|
|
556
556
|
queryKey: ["documentPermissions", e ?? "", t, n.relations ?? []],
|
|
557
|
-
queryFn:
|
|
558
|
-
enabled:
|
|
557
|
+
queryFn: s,
|
|
558
|
+
enabled: u,
|
|
559
559
|
options: n
|
|
560
560
|
});
|
|
561
|
-
return
|
|
561
|
+
return o(i);
|
|
562
562
|
}
|
|
563
|
-
function
|
|
564
|
-
return
|
|
563
|
+
function Ze(e = {}) {
|
|
564
|
+
return a({
|
|
565
565
|
mutationFn: async (t) => (console.log("Uploading file..."), await r.files.fileUpload(t)),
|
|
566
566
|
...e
|
|
567
567
|
});
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function et({
|
|
570
570
|
fileId: e,
|
|
571
571
|
contentType: t = "application/json",
|
|
572
572
|
method: n = "GET"
|
|
573
|
-
},
|
|
574
|
-
const
|
|
573
|
+
}, u = {}) {
|
|
574
|
+
const s = !!e, i = y(async () => {
|
|
575
575
|
if (!e)
|
|
576
576
|
throw new Error("File ID is required");
|
|
577
577
|
return console.log("Downloading file..."), await r.files.fileDownload({ fileId: e, contentType: t, method: n });
|
|
578
578
|
}), c = d({
|
|
579
579
|
queryKey: ["file", "fileDownload", e],
|
|
580
580
|
queryFn: i,
|
|
581
|
-
enabled:
|
|
582
|
-
options:
|
|
581
|
+
enabled: s,
|
|
582
|
+
options: u
|
|
583
583
|
});
|
|
584
|
-
return
|
|
584
|
+
return o(c);
|
|
585
585
|
}
|
|
586
|
-
function
|
|
587
|
-
const n = !!e,
|
|
586
|
+
function tt(e, t = {}) {
|
|
587
|
+
const n = !!e, u = y(async () => {
|
|
588
588
|
if (!e)
|
|
589
589
|
throw new Error("Task ID is required");
|
|
590
590
|
return console.log("Fetching task details..."), await r.task.getTaskDetails({ taskId: e });
|
|
591
|
-
}),
|
|
591
|
+
}), s = d({
|
|
592
592
|
queryKey: ["task", "getTaskDetails", e],
|
|
593
|
-
queryFn:
|
|
593
|
+
queryFn: u,
|
|
594
594
|
enabled: n,
|
|
595
595
|
options: t
|
|
596
596
|
});
|
|
597
|
-
return s
|
|
597
|
+
return o(s);
|
|
598
598
|
}
|
|
599
|
-
function
|
|
600
|
-
const n = !!e,
|
|
599
|
+
function nt(e, t = {}) {
|
|
600
|
+
const n = !!e, u = y(async () => {
|
|
601
601
|
if (!e)
|
|
602
602
|
throw new Error("Workbook ID is required");
|
|
603
603
|
return console.log("Fetching workbook details..."), await r.workbook.getWorkbookDetails({ workbookId: e });
|
|
604
|
-
}),
|
|
604
|
+
}), s = d({
|
|
605
605
|
queryKey: ["workbook", "getWorkbookDetails", e],
|
|
606
|
-
queryFn:
|
|
606
|
+
queryFn: u,
|
|
607
607
|
enabled: n,
|
|
608
608
|
options: t
|
|
609
609
|
});
|
|
610
|
-
return s
|
|
610
|
+
return o(s);
|
|
611
611
|
}
|
|
612
|
-
function
|
|
613
|
-
return
|
|
612
|
+
function rt(e = {}) {
|
|
613
|
+
return a({
|
|
614
614
|
mutationFn: async (t) => (console.log("Saving workbook..."), await r.workbook.saveWorkbook(t)),
|
|
615
615
|
...e
|
|
616
616
|
});
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
return
|
|
618
|
+
function ut(e = {}) {
|
|
619
|
+
return a({
|
|
620
620
|
mutationFn: async (t) => (console.log("Publishing workbook..."), await r.workbook.publishWorkbook(t)),
|
|
621
621
|
...e
|
|
622
622
|
});
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
624
|
+
function at(e = {}) {
|
|
625
|
+
return a({
|
|
626
626
|
mutationFn: async (t) => (console.log("Deleting workbook..."), await r.workbook.deleteWorkbook(t)),
|
|
627
627
|
...e
|
|
628
628
|
});
|
|
629
629
|
}
|
|
630
|
-
function
|
|
631
|
-
return
|
|
630
|
+
function st(e = {}) {
|
|
631
|
+
return a({
|
|
632
632
|
mutationFn: async (t) => (console.log("Running recon workflow..."), await r.recon.runRecon(t)),
|
|
633
633
|
...e
|
|
634
634
|
});
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
const
|
|
636
|
+
function ot(e, t, n = {}) {
|
|
637
|
+
const u = !!e && !!t, s = y(async () => {
|
|
638
638
|
if (!e || !t)
|
|
639
639
|
throw new Error("Form instance ID and revision are required");
|
|
640
640
|
return console.log("Fetching form schema..."), await r.form.getFormSchema({ formInstanceId: e, formRevision: t });
|
|
641
641
|
});
|
|
642
|
-
return
|
|
642
|
+
return o(
|
|
643
643
|
d({
|
|
644
644
|
queryKey: ["form", "getFormSchema", e, t],
|
|
645
|
-
queryFn:
|
|
646
|
-
enabled:
|
|
645
|
+
queryFn: s,
|
|
646
|
+
enabled: u,
|
|
647
647
|
options: n
|
|
648
648
|
})
|
|
649
649
|
);
|
|
650
650
|
}
|
|
651
|
-
function
|
|
652
|
-
const n = !!e,
|
|
651
|
+
function it(e, t = {}) {
|
|
652
|
+
const n = !!e, u = y(async () => {
|
|
653
653
|
if (!e)
|
|
654
654
|
throw new Error("Form ID is required");
|
|
655
655
|
return console.log("Fetching form data..."), await r.form.getFormData({ formId: e });
|
|
656
|
-
}),
|
|
656
|
+
}), s = d({
|
|
657
657
|
queryKey: ["form", "getFormData", e],
|
|
658
|
-
queryFn:
|
|
658
|
+
queryFn: u,
|
|
659
659
|
enabled: n,
|
|
660
660
|
options: t
|
|
661
661
|
});
|
|
662
|
-
return s
|
|
662
|
+
return o(s);
|
|
663
663
|
}
|
|
664
|
-
function
|
|
665
|
-
return
|
|
664
|
+
function ct(e, t = {}) {
|
|
665
|
+
return o({
|
|
666
666
|
queryKey: ["form", e],
|
|
667
667
|
queryFn: async () => {
|
|
668
668
|
if (!e)
|
|
@@ -673,64 +673,64 @@ function ot(e, t = {}) {
|
|
|
673
673
|
...t
|
|
674
674
|
});
|
|
675
675
|
}
|
|
676
|
-
function
|
|
677
|
-
return
|
|
676
|
+
function lt(e = {}) {
|
|
677
|
+
return a({
|
|
678
678
|
mutationFn: async (t) => await r.form.createOrUpdateForm(t),
|
|
679
679
|
...e
|
|
680
680
|
});
|
|
681
681
|
}
|
|
682
|
-
function
|
|
683
|
-
return
|
|
682
|
+
function yt(e = {}) {
|
|
683
|
+
return a({
|
|
684
684
|
mutationFn: async (t) => await r.audit.getAuditLogs(t),
|
|
685
685
|
...e
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
function
|
|
689
|
-
return
|
|
688
|
+
function dt(e = {}) {
|
|
689
|
+
return a({
|
|
690
690
|
mutationFn: async (t) => await r.audit.createAuditLog(t),
|
|
691
691
|
...e
|
|
692
692
|
});
|
|
693
693
|
}
|
|
694
|
-
function
|
|
695
|
-
return
|
|
694
|
+
function pt(e = {}) {
|
|
695
|
+
return o({
|
|
696
696
|
queryKey: ["templatedPipelines"],
|
|
697
697
|
queryFn: async () => await r.templatedPipeline.getAllTemplatedPipelines(),
|
|
698
698
|
...e
|
|
699
699
|
});
|
|
700
700
|
}
|
|
701
|
-
function
|
|
702
|
-
return
|
|
701
|
+
function ft(e = {}) {
|
|
702
|
+
return o({
|
|
703
703
|
queryKey: ["reconWorkflows"],
|
|
704
704
|
queryFn: async () => await r.recon.getAllReconWorkflows(),
|
|
705
705
|
...e
|
|
706
706
|
});
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
return
|
|
708
|
+
function W(e = {}) {
|
|
709
|
+
return a({
|
|
710
710
|
mutationFn: async (t) => await r.reconV2.createReconV2(t),
|
|
711
711
|
...e
|
|
712
712
|
});
|
|
713
713
|
}
|
|
714
714
|
function z(e = {}) {
|
|
715
|
-
return
|
|
715
|
+
return a({
|
|
716
716
|
mutationFn: async (t) => await r.reconV2.updateReconV2(t),
|
|
717
717
|
...e
|
|
718
718
|
});
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
return
|
|
720
|
+
function gt(e = {}) {
|
|
721
|
+
return a({
|
|
722
722
|
mutationFn: async (t) => await r.reconV2.deleteReconV2(t),
|
|
723
723
|
...e
|
|
724
724
|
});
|
|
725
725
|
}
|
|
726
726
|
function N(e = {}) {
|
|
727
|
-
return
|
|
727
|
+
return a({
|
|
728
728
|
mutationFn: async (t) => await r.reconV2.runReconV2(t),
|
|
729
729
|
...e
|
|
730
730
|
});
|
|
731
731
|
}
|
|
732
732
|
function _(e = {}) {
|
|
733
|
-
return
|
|
733
|
+
return o({
|
|
734
734
|
queryKey: ["reconV2Workflows"],
|
|
735
735
|
queryFn: async () => await r.reconV2.getAllReconV2Workflows(),
|
|
736
736
|
...e
|
|
@@ -738,22 +738,22 @@ function _(e = {}) {
|
|
|
738
738
|
}
|
|
739
739
|
function j(e, t = {}) {
|
|
740
740
|
const n = e?.trim();
|
|
741
|
-
return
|
|
741
|
+
return o({
|
|
742
742
|
queryKey: ["reconV2", "runs", n],
|
|
743
743
|
queryFn: async () => await r.reconV2.getReconV2Runs({ workflowId: n }),
|
|
744
744
|
enabled: !!n,
|
|
745
745
|
...t
|
|
746
746
|
});
|
|
747
747
|
}
|
|
748
|
-
function
|
|
749
|
-
return
|
|
748
|
+
function mt(e = {}) {
|
|
749
|
+
return o({
|
|
750
750
|
queryKey: ["reconV2", "templates"],
|
|
751
751
|
queryFn: async () => await r.reconV2.getReconV2Templates(),
|
|
752
752
|
...e
|
|
753
753
|
});
|
|
754
754
|
}
|
|
755
755
|
function J(e, t = {}) {
|
|
756
|
-
return
|
|
756
|
+
return o({
|
|
757
757
|
queryKey: ["reconV2", "runResult", e],
|
|
758
758
|
queryFn: async () => await r.reconV2.getReconV2RunResult({ runId: e }),
|
|
759
759
|
enabled: !!e,
|
|
@@ -761,7 +761,7 @@ function J(e, t = {}) {
|
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
763
|
function $(e, t = {}) {
|
|
764
|
-
return
|
|
764
|
+
return o({
|
|
765
765
|
queryKey: [
|
|
766
766
|
"reconV2",
|
|
767
767
|
"smartResult",
|
|
@@ -778,14 +778,14 @@ function $(e, t = {}) {
|
|
|
778
778
|
...t
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
|
-
function
|
|
782
|
-
return
|
|
781
|
+
function bt(e = {}) {
|
|
782
|
+
return a({
|
|
783
783
|
mutationFn: async (t) => await r.reconV2.startReconV2Profile(t),
|
|
784
784
|
...e
|
|
785
785
|
});
|
|
786
786
|
}
|
|
787
|
-
function
|
|
788
|
-
return
|
|
787
|
+
function Ft(e, t = "left", n = {}) {
|
|
788
|
+
return o({
|
|
789
789
|
queryKey: ["reconV2", "profile", e, t],
|
|
790
790
|
queryFn: async () => await r.reconV2.getReconV2ProfileResult({
|
|
791
791
|
workflowId: e,
|
|
@@ -795,14 +795,14 @@ function ft(e, t = "left", n = {}) {
|
|
|
795
795
|
...n
|
|
796
796
|
});
|
|
797
797
|
}
|
|
798
|
-
function
|
|
799
|
-
return
|
|
798
|
+
function wt(e = {}) {
|
|
799
|
+
return a({
|
|
800
800
|
mutationFn: async (t) => await r.reconV2.startReconV2Clean(t),
|
|
801
801
|
...e
|
|
802
802
|
});
|
|
803
803
|
}
|
|
804
|
-
function
|
|
805
|
-
return
|
|
804
|
+
function qt(e, t = "left", n = {}) {
|
|
805
|
+
return o({
|
|
806
806
|
queryKey: ["reconV2", "clean", e, t],
|
|
807
807
|
queryFn: async () => await r.reconV2.getReconV2CleanResult({
|
|
808
808
|
workflowId: e,
|
|
@@ -812,8 +812,8 @@ function bt(e, t = "left", n = {}) {
|
|
|
812
812
|
...n
|
|
813
813
|
});
|
|
814
814
|
}
|
|
815
|
-
function
|
|
816
|
-
return
|
|
815
|
+
function ht(e, t, n, u = {}) {
|
|
816
|
+
return o({
|
|
817
817
|
queryKey: ["reconV2", "diff", e, n],
|
|
818
818
|
queryFn: async () => await r.reconV2.getReconV2Diff({
|
|
819
819
|
runId: e,
|
|
@@ -821,11 +821,11 @@ function Ft(e, t, n, a = {}) {
|
|
|
821
821
|
prevRunId: n
|
|
822
822
|
}),
|
|
823
823
|
enabled: !!e && !!t && !!n,
|
|
824
|
-
...
|
|
824
|
+
...u
|
|
825
825
|
});
|
|
826
826
|
}
|
|
827
|
-
function
|
|
828
|
-
return
|
|
827
|
+
function Tt(e, t, n = {}) {
|
|
828
|
+
return o({
|
|
829
829
|
queryKey: ["reconV2", "explanation", e],
|
|
830
830
|
queryFn: async () => await r.reconV2.getReconV2Explanation({
|
|
831
831
|
runId: e,
|
|
@@ -837,37 +837,37 @@ function wt(e, t, n = {}) {
|
|
|
837
837
|
}
|
|
838
838
|
const X = ["SUCCEEDED", "FAILED"];
|
|
839
839
|
function Y(e, t = {}) {
|
|
840
|
-
const [n,
|
|
840
|
+
const [n, u] = q(
|
|
841
841
|
void 0
|
|
842
|
-
), [
|
|
843
|
-
return c.current = t.onComplete,
|
|
842
|
+
), [s, i] = q(!1), c = B(t.onComplete);
|
|
843
|
+
return c.current = t.onComplete, x(() => {
|
|
844
844
|
if (!e)
|
|
845
845
|
return;
|
|
846
|
-
const l =
|
|
846
|
+
const l = K().websocketProvider;
|
|
847
847
|
if (!l)
|
|
848
848
|
return;
|
|
849
|
-
|
|
850
|
-
const
|
|
851
|
-
let
|
|
849
|
+
u(void 0), i(!1);
|
|
850
|
+
const f = A.websocketUtils.ReconResultChannel;
|
|
851
|
+
let g = !1;
|
|
852
852
|
const m = () => {
|
|
853
|
-
|
|
853
|
+
g || (g = !0, l.unbind(f, e));
|
|
854
854
|
};
|
|
855
|
-
return l.bind(
|
|
855
|
+
return l.bind(f, e, (w) => {
|
|
856
856
|
let b;
|
|
857
857
|
try {
|
|
858
858
|
b = typeof w == "string" ? JSON.parse(w) : w;
|
|
859
859
|
} catch {
|
|
860
860
|
b = { status: void 0 };
|
|
861
861
|
}
|
|
862
|
-
|
|
862
|
+
u(b);
|
|
863
863
|
const F = b?.status?.toUpperCase();
|
|
864
864
|
F && X.includes(F) && (i(!0), c.current?.(b), m());
|
|
865
865
|
}), m;
|
|
866
|
-
}, [e]), { data: n, isTerminal:
|
|
866
|
+
}, [e]), { data: n, isTerminal: s };
|
|
867
867
|
}
|
|
868
868
|
function Z(e, t = {}) {
|
|
869
869
|
const n = e?.trim();
|
|
870
|
-
return
|
|
870
|
+
return o({
|
|
871
871
|
queryKey: ["reconV2", "workflow", n],
|
|
872
872
|
queryFn: async () => await r.reconV2.getReconV2Workflow({ id: n }),
|
|
873
873
|
enabled: !!n,
|
|
@@ -876,23 +876,23 @@ function Z(e, t = {}) {
|
|
|
876
876
|
}
|
|
877
877
|
function ee(e, t) {
|
|
878
878
|
return t.split(".").reduce(
|
|
879
|
-
(n,
|
|
879
|
+
(n, u) => n && typeof n == "object" ? n[u] : void 0,
|
|
880
880
|
e
|
|
881
881
|
);
|
|
882
882
|
}
|
|
883
|
-
function
|
|
883
|
+
function Dt(e, t = {}) {
|
|
884
884
|
const n = _(t);
|
|
885
885
|
return {
|
|
886
886
|
workflows: h(() => {
|
|
887
|
-
const
|
|
888
|
-
return e?.key ?
|
|
887
|
+
const s = n.data ?? [];
|
|
888
|
+
return e?.key ? s.filter((i) => ee(i, e.key) === e.value) : s;
|
|
889
889
|
}, [n.data, e?.key, e?.value]),
|
|
890
890
|
isLoading: n.isLoading,
|
|
891
891
|
error: n.error,
|
|
892
892
|
refetch: n.refetch
|
|
893
893
|
};
|
|
894
894
|
}
|
|
895
|
-
function
|
|
895
|
+
function Ct(e, t = {}) {
|
|
896
896
|
const n = Z(e, t);
|
|
897
897
|
return {
|
|
898
898
|
workflow: n.data,
|
|
@@ -901,8 +901,8 @@ function ht(e, t = {}) {
|
|
|
901
901
|
refetch: n.refetch
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
|
-
function
|
|
905
|
-
const e =
|
|
904
|
+
function kt() {
|
|
905
|
+
const e = W(), t = z();
|
|
906
906
|
return {
|
|
907
907
|
create: e.mutateAsync,
|
|
908
908
|
update: t.mutateAsync,
|
|
@@ -911,36 +911,36 @@ function Tt() {
|
|
|
911
911
|
data: t.data ?? e.data
|
|
912
912
|
};
|
|
913
913
|
}
|
|
914
|
-
function
|
|
915
|
-
const n = e?.trim(), [
|
|
914
|
+
function St(e, t = {}) {
|
|
915
|
+
const n = e?.trim(), [u, s] = q(void 0), i = N(), c = Y(u, { onComplete: t.onComplete }), l = j(n);
|
|
916
916
|
return {
|
|
917
|
-
startRun: async (
|
|
917
|
+
startRun: async (g = {}) => {
|
|
918
918
|
if (!n)
|
|
919
919
|
throw new Error("workflowId is required to start a run");
|
|
920
|
-
const m = await i.mutateAsync({ workflowId: n, ...
|
|
921
|
-
return
|
|
920
|
+
const m = await i.mutateAsync({ workflowId: n, ...g });
|
|
921
|
+
return s(m?.runId), m?.runId;
|
|
922
922
|
},
|
|
923
|
-
runId:
|
|
923
|
+
runId: u,
|
|
924
924
|
status: c.data,
|
|
925
|
-
isRunning: i.isPending || !!
|
|
925
|
+
isRunning: i.isPending || !!u && !c.isTerminal,
|
|
926
926
|
isTerminal: c.isTerminal,
|
|
927
927
|
runs: l.data,
|
|
928
928
|
refetchRuns: l.refetch
|
|
929
929
|
};
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function Rt({
|
|
932
932
|
runId: e,
|
|
933
933
|
workflowId: t,
|
|
934
934
|
exceptionType: n,
|
|
935
|
-
ruleFilter:
|
|
936
|
-
orderBy:
|
|
935
|
+
ruleFilter: u,
|
|
936
|
+
orderBy: s
|
|
937
937
|
}) {
|
|
938
938
|
const i = J(e), c = $({
|
|
939
939
|
runId: e ?? void 0,
|
|
940
940
|
workflowId: t ?? void 0,
|
|
941
941
|
exceptionType: n,
|
|
942
|
-
ruleFilter:
|
|
943
|
-
orderBy:
|
|
942
|
+
ruleFilter: u,
|
|
943
|
+
orderBy: s
|
|
944
944
|
}), l = c.data?.result;
|
|
945
945
|
return {
|
|
946
946
|
runResult: i.data,
|
|
@@ -951,101 +951,101 @@ function Ct({
|
|
|
951
951
|
refetch: c.refetch
|
|
952
952
|
};
|
|
953
953
|
}
|
|
954
|
-
function
|
|
955
|
-
return
|
|
954
|
+
function Kt(e = {}) {
|
|
955
|
+
return o({
|
|
956
956
|
queryKey: ["users"],
|
|
957
957
|
queryFn: async () => await r.user.getAllUsers(),
|
|
958
958
|
...e
|
|
959
959
|
});
|
|
960
960
|
}
|
|
961
|
-
function
|
|
962
|
-
return
|
|
961
|
+
function xt(e = {}) {
|
|
962
|
+
return o({
|
|
963
963
|
queryKey: ["teams"],
|
|
964
964
|
queryFn: async () => await r.team.getAllTeams(),
|
|
965
965
|
...e
|
|
966
966
|
});
|
|
967
967
|
}
|
|
968
|
-
function
|
|
969
|
-
return
|
|
968
|
+
function Pt(e = {}) {
|
|
969
|
+
return o({
|
|
970
970
|
queryKey: ["httpTriggers"],
|
|
971
971
|
queryFn: async () => await r.workflow.getAllHttpTriggers(),
|
|
972
972
|
...e
|
|
973
973
|
});
|
|
974
974
|
}
|
|
975
|
-
function
|
|
976
|
-
return
|
|
975
|
+
function vt(e = {}) {
|
|
976
|
+
return a({
|
|
977
977
|
mutationFn: async (t) => await r.process.markTaskDone(t),
|
|
978
978
|
...e
|
|
979
979
|
});
|
|
980
980
|
}
|
|
981
|
-
function
|
|
982
|
-
return
|
|
981
|
+
function It(e = {}) {
|
|
982
|
+
return a({
|
|
983
983
|
mutationFn: async (t) => await r.process.reassignTask(t),
|
|
984
984
|
...e
|
|
985
985
|
});
|
|
986
986
|
}
|
|
987
|
-
function
|
|
988
|
-
return
|
|
987
|
+
function Vt(e, t = {}) {
|
|
988
|
+
return o({
|
|
989
989
|
queryKey: ["processTriggers", e],
|
|
990
990
|
queryFn: async () => await r.process.getTriggersBySheet(e),
|
|
991
991
|
enabled: !!e,
|
|
992
992
|
...t
|
|
993
993
|
});
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function Et(e = {}) {
|
|
996
996
|
const t = p();
|
|
997
|
-
return
|
|
997
|
+
return a({
|
|
998
998
|
mutationFn: async (n) => await r.process.registerProcessTrigger(n),
|
|
999
|
-
onSuccess: (n,
|
|
999
|
+
onSuccess: (n, u) => {
|
|
1000
1000
|
t.invalidateQueries({
|
|
1001
|
-
queryKey: ["processTriggers",
|
|
1001
|
+
queryKey: ["processTriggers", u.process_sheet_id]
|
|
1002
1002
|
});
|
|
1003
1003
|
},
|
|
1004
1004
|
...e
|
|
1005
1005
|
});
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function At(e = {}) {
|
|
1008
1008
|
const t = p();
|
|
1009
|
-
return
|
|
1009
|
+
return a({
|
|
1010
1010
|
mutationFn: async ({ id: n }) => await r.process.deleteProcessTrigger(n),
|
|
1011
|
-
onSuccess: (n,
|
|
1011
|
+
onSuccess: (n, u) => {
|
|
1012
1012
|
t.invalidateQueries({
|
|
1013
|
-
queryKey:
|
|
1013
|
+
queryKey: u.sheetId ? ["processTriggers", u.sheetId] : ["processTriggers"]
|
|
1014
1014
|
});
|
|
1015
1015
|
},
|
|
1016
1016
|
...e
|
|
1017
1017
|
});
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1019
|
+
function Bt(e = {}) {
|
|
1020
1020
|
const t = p();
|
|
1021
|
-
return
|
|
1022
|
-
mutationFn: async ({ triggerId: n, scheduleName:
|
|
1023
|
-
onSuccess: (n,
|
|
1021
|
+
return a({
|
|
1022
|
+
mutationFn: async ({ triggerId: n, scheduleName: u }) => await r.process.pauseSchedule(n, u),
|
|
1023
|
+
onSuccess: (n, u) => {
|
|
1024
1024
|
t.invalidateQueries({
|
|
1025
|
-
queryKey:
|
|
1025
|
+
queryKey: u.sheetId ? ["processTriggers", u.sheetId] : ["processTriggers"]
|
|
1026
1026
|
}), t.invalidateQueries({
|
|
1027
|
-
queryKey: ["scheduleStatus",
|
|
1027
|
+
queryKey: ["scheduleStatus", u.triggerId, u.scheduleName]
|
|
1028
1028
|
});
|
|
1029
1029
|
},
|
|
1030
1030
|
...e
|
|
1031
1031
|
});
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function Gt(e = {}) {
|
|
1034
1034
|
const t = p();
|
|
1035
|
-
return
|
|
1036
|
-
mutationFn: async ({ triggerId: n, scheduleName:
|
|
1037
|
-
onSuccess: (n,
|
|
1035
|
+
return a({
|
|
1036
|
+
mutationFn: async ({ triggerId: n, scheduleName: u }) => await r.process.resumeSchedule(n, u),
|
|
1037
|
+
onSuccess: (n, u) => {
|
|
1038
1038
|
t.invalidateQueries({
|
|
1039
|
-
queryKey:
|
|
1039
|
+
queryKey: u.sheetId ? ["processTriggers", u.sheetId] : ["processTriggers"]
|
|
1040
1040
|
}), t.invalidateQueries({
|
|
1041
|
-
queryKey: ["scheduleStatus",
|
|
1041
|
+
queryKey: ["scheduleStatus", u.triggerId, u.scheduleName]
|
|
1042
1042
|
});
|
|
1043
1043
|
},
|
|
1044
1044
|
...e
|
|
1045
1045
|
});
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1048
|
-
return
|
|
1047
|
+
function Mt(e, t, n = {}) {
|
|
1048
|
+
return o({
|
|
1049
1049
|
queryKey: ["scheduleStatus", e, t],
|
|
1050
1050
|
queryFn: async () => await r.process.getScheduleStatus(
|
|
1051
1051
|
e,
|
|
@@ -1055,128 +1055,128 @@ function At(e, t, n = {}) {
|
|
|
1055
1055
|
...n
|
|
1056
1056
|
});
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function Ot(e = {}) {
|
|
1059
1059
|
const t = p();
|
|
1060
|
-
return
|
|
1061
|
-
mutationFn: async ({ triggerId: n, scheduleName:
|
|
1062
|
-
onSuccess: (n,
|
|
1060
|
+
return a({
|
|
1061
|
+
mutationFn: async ({ triggerId: n, scheduleName: u }) => await r.process.executeNow(n, u),
|
|
1062
|
+
onSuccess: (n, u) => {
|
|
1063
1063
|
t.invalidateQueries({
|
|
1064
|
-
queryKey:
|
|
1064
|
+
queryKey: u.sheetId ? ["processTriggers", u.sheetId] : ["processTriggers"]
|
|
1065
1065
|
});
|
|
1066
1066
|
},
|
|
1067
1067
|
...e
|
|
1068
1068
|
});
|
|
1069
1069
|
}
|
|
1070
|
-
function
|
|
1070
|
+
function Lt(e = {}) {
|
|
1071
1071
|
const t = p();
|
|
1072
|
-
return
|
|
1072
|
+
return a({
|
|
1073
1073
|
mutationFn: async (n) => await r.processTree.createOrUpdateProcessTreeTrigger(
|
|
1074
1074
|
n
|
|
1075
1075
|
),
|
|
1076
|
-
onSuccess: (n,
|
|
1076
|
+
onSuccess: (n, u) => {
|
|
1077
1077
|
t.invalidateQueries({
|
|
1078
|
-
queryKey: ["processTreeTriggers",
|
|
1078
|
+
queryKey: ["processTreeTriggers", u.sheetId]
|
|
1079
1079
|
});
|
|
1080
1080
|
},
|
|
1081
1081
|
...e
|
|
1082
1082
|
});
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function Ht(e = {}) {
|
|
1085
1085
|
const t = p();
|
|
1086
|
-
return
|
|
1086
|
+
return a({
|
|
1087
1087
|
mutationFn: async (n) => await r.processTree.executeProcessTreeTrigger(n),
|
|
1088
|
-
onSuccess: (n,
|
|
1088
|
+
onSuccess: (n, u) => {
|
|
1089
1089
|
t.invalidateQueries({
|
|
1090
|
-
queryKey: ["processTreeRuns",
|
|
1090
|
+
queryKey: ["processTreeRuns", u.sheetId]
|
|
1091
1091
|
});
|
|
1092
1092
|
},
|
|
1093
1093
|
...e
|
|
1094
1094
|
});
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1096
|
+
function Ut(e = {}) {
|
|
1097
1097
|
const t = p();
|
|
1098
|
-
return
|
|
1098
|
+
return a({
|
|
1099
1099
|
mutationFn: async ({ payload: n }) => await r.processTree.terminatePipelines(n),
|
|
1100
|
-
onSuccess: (n,
|
|
1101
|
-
|
|
1102
|
-
queryKey: ["processTreeRuns",
|
|
1103
|
-
}),
|
|
1104
|
-
queryKey: ["processTreeRun",
|
|
1100
|
+
onSuccess: (n, u) => {
|
|
1101
|
+
u.sheetId && t.invalidateQueries({
|
|
1102
|
+
queryKey: ["processTreeRuns", u.sheetId]
|
|
1103
|
+
}), u.instanceId && t.invalidateQueries({
|
|
1104
|
+
queryKey: ["processTreeRun", u.instanceId]
|
|
1105
1105
|
});
|
|
1106
1106
|
},
|
|
1107
1107
|
...e
|
|
1108
1108
|
});
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function Qt(e = {}) {
|
|
1111
1111
|
const t = p();
|
|
1112
|
-
return
|
|
1112
|
+
return a({
|
|
1113
1113
|
mutationFn: async (n) => await r.processTree.logProcessTreeRun(n),
|
|
1114
|
-
onSuccess: (n,
|
|
1114
|
+
onSuccess: (n, u) => {
|
|
1115
1115
|
t.invalidateQueries({
|
|
1116
|
-
queryKey: ["processTreeRuns",
|
|
1116
|
+
queryKey: ["processTreeRuns", u.sheetId]
|
|
1117
1117
|
}), t.invalidateQueries({
|
|
1118
|
-
queryKey: ["processTreeRun",
|
|
1118
|
+
queryKey: ["processTreeRun", u.instanceId]
|
|
1119
1119
|
});
|
|
1120
1120
|
},
|
|
1121
1121
|
...e
|
|
1122
1122
|
});
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function Wt(e = {}) {
|
|
1125
1125
|
const t = p();
|
|
1126
|
-
return
|
|
1126
|
+
return a({
|
|
1127
1127
|
mutationFn: async ({
|
|
1128
1128
|
instanceId: n,
|
|
1129
|
-
context:
|
|
1129
|
+
context: u
|
|
1130
1130
|
}) => await r.processTree.updateProcessTreeRunContext(
|
|
1131
1131
|
n,
|
|
1132
|
-
|
|
1132
|
+
u
|
|
1133
1133
|
),
|
|
1134
|
-
onSuccess: (n,
|
|
1134
|
+
onSuccess: (n, u) => {
|
|
1135
1135
|
t.invalidateQueries({
|
|
1136
|
-
queryKey: ["processTreeRun",
|
|
1136
|
+
queryKey: ["processTreeRun", u.instanceId]
|
|
1137
1137
|
});
|
|
1138
1138
|
},
|
|
1139
1139
|
...e
|
|
1140
1140
|
});
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function zt(e = {}) {
|
|
1143
1143
|
const t = p();
|
|
1144
|
-
return
|
|
1144
|
+
return a({
|
|
1145
1145
|
mutationFn: async ({ id: n }) => await r.processTree.deleteProcessTreeTrigger(n),
|
|
1146
|
-
onSuccess: (n,
|
|
1146
|
+
onSuccess: (n, u) => {
|
|
1147
1147
|
t.invalidateQueries({
|
|
1148
|
-
queryKey:
|
|
1148
|
+
queryKey: u.sheetId ? ["processTreeTriggers", u.sheetId] : ["processTreeTriggers"]
|
|
1149
1149
|
});
|
|
1150
1150
|
},
|
|
1151
1151
|
...e
|
|
1152
1152
|
});
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1155
|
-
return
|
|
1154
|
+
function Nt(e, t = {}) {
|
|
1155
|
+
return o({
|
|
1156
1156
|
queryKey: ["processTreeTrigger", e],
|
|
1157
1157
|
queryFn: async () => await r.processTree.getProcessTreeTrigger(e),
|
|
1158
1158
|
enabled: !!e,
|
|
1159
1159
|
...t
|
|
1160
1160
|
});
|
|
1161
1161
|
}
|
|
1162
|
-
function
|
|
1163
|
-
return
|
|
1162
|
+
function _t(e, t = {}) {
|
|
1163
|
+
return o({
|
|
1164
1164
|
queryKey: ["processTreeTriggers", e],
|
|
1165
1165
|
queryFn: async () => await r.processTree.getProcessTreeTriggersBySheetId(e),
|
|
1166
1166
|
enabled: !!e,
|
|
1167
1167
|
...t
|
|
1168
1168
|
});
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1171
|
-
return
|
|
1170
|
+
function jt(e, t = {}) {
|
|
1171
|
+
return o({
|
|
1172
1172
|
queryKey: ["processTreeRuns", e],
|
|
1173
1173
|
queryFn: async () => await r.processTree.getProcessTreeRunsBySheetId(e),
|
|
1174
1174
|
enabled: !!e,
|
|
1175
1175
|
...t
|
|
1176
1176
|
});
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1179
|
-
return
|
|
1178
|
+
function Jt(e, t, n = {}) {
|
|
1179
|
+
return o({
|
|
1180
1180
|
queryKey: [
|
|
1181
1181
|
"processTreeRuns",
|
|
1182
1182
|
e,
|
|
@@ -1193,8 +1193,8 @@ function Nt(e, t, n = {}) {
|
|
|
1193
1193
|
...n
|
|
1194
1194
|
});
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1197
|
-
return
|
|
1196
|
+
function $t(e, t = {}) {
|
|
1197
|
+
return o({
|
|
1198
1198
|
queryKey: ["processTreeRun", e],
|
|
1199
1199
|
queryFn: async () => await r.processTree.getProcessTreeRunByInstanceId(
|
|
1200
1200
|
e
|
|
@@ -1203,16 +1203,16 @@ function _t(e, t = {}) {
|
|
|
1203
1203
|
...t
|
|
1204
1204
|
});
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1207
|
-
return
|
|
1206
|
+
function Xt(e = {}) {
|
|
1207
|
+
return o({
|
|
1208
1208
|
queryKey: ["customAuthzModel"],
|
|
1209
1209
|
queryFn: async () => await r.customAuthz.getCustomAuthzModel(),
|
|
1210
1210
|
...e
|
|
1211
1211
|
});
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function Yt(e = {}) {
|
|
1214
1214
|
const t = p();
|
|
1215
|
-
return
|
|
1215
|
+
return a({
|
|
1216
1216
|
mutationFn: async (n) => await r.customAuthz.registerCustomAuthzModel(n),
|
|
1217
1217
|
onSuccess: () => {
|
|
1218
1218
|
t.invalidateQueries({ queryKey: ["customAuthzModel"] });
|
|
@@ -1220,53 +1220,53 @@ function Jt(e = {}) {
|
|
|
1220
1220
|
...e
|
|
1221
1221
|
});
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1224
|
-
return
|
|
1223
|
+
function Zt(e = {}) {
|
|
1224
|
+
return a({
|
|
1225
1225
|
mutationFn: async (t) => await r.customAuthz.updateCustomObjectPermissions(t),
|
|
1226
1226
|
...e
|
|
1227
1227
|
});
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return
|
|
1229
|
+
function en(e = {}) {
|
|
1230
|
+
return a({
|
|
1231
1231
|
mutationFn: async (t) => await r.customAuthz.bulkUpdateCustomObjectPermissions(
|
|
1232
1232
|
t
|
|
1233
1233
|
),
|
|
1234
1234
|
...e
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return
|
|
1237
|
+
function tn(e = {}) {
|
|
1238
|
+
return a({
|
|
1239
1239
|
mutationFn: async (t) => await r.customAuthz.checkCustomPermissions(t),
|
|
1240
1240
|
...e
|
|
1241
1241
|
});
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return
|
|
1243
|
+
function nn(e = {}) {
|
|
1244
|
+
return a({
|
|
1245
1245
|
mutationFn: async (t) => await r.customAuthz.bulkCheckCustomPermissions(t),
|
|
1246
1246
|
...e
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1250
|
-
return
|
|
1249
|
+
function rn(e = {}) {
|
|
1250
|
+
return o({
|
|
1251
1251
|
queryKey: ["customTypeMetadata"],
|
|
1252
1252
|
queryFn: async () => await r.customAuthz.listCustomTypeMetadata(),
|
|
1253
1253
|
...e
|
|
1254
1254
|
});
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1257
|
-
const n = e?.trim(), { enabled:
|
|
1258
|
-
return
|
|
1256
|
+
function un(e, t = {}) {
|
|
1257
|
+
const n = e?.trim(), { enabled: u, ...s } = t;
|
|
1258
|
+
return o({
|
|
1259
1259
|
queryKey: ["customTypeMetadata", n],
|
|
1260
1260
|
queryFn: async () => await r.customAuthz.getCustomTypeMetadata(e),
|
|
1261
|
-
...
|
|
1261
|
+
...s,
|
|
1262
1262
|
// Combine the caller's setting with the gate: callers may disable the query
|
|
1263
1263
|
// but must not enable it with an empty type (would 400).
|
|
1264
|
-
enabled: (
|
|
1264
|
+
enabled: (u ?? !0) && !!n
|
|
1265
1265
|
});
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function an(e = {}) {
|
|
1268
1268
|
const t = p();
|
|
1269
|
-
return
|
|
1269
|
+
return a({
|
|
1270
1270
|
mutationFn: async (n) => await r.customAuthz.registerCustomTypeMetadata(n),
|
|
1271
1271
|
onSuccess: () => {
|
|
1272
1272
|
t.invalidateQueries({ queryKey: ["customTypeMetadata"] });
|
|
@@ -1274,9 +1274,9 @@ function nn(e = {}) {
|
|
|
1274
1274
|
...e
|
|
1275
1275
|
});
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function sn(e = {}) {
|
|
1278
1278
|
const t = p();
|
|
1279
|
-
return
|
|
1279
|
+
return a({
|
|
1280
1280
|
mutationFn: async (n) => await r.customAuthz.deleteCustomTypeMetadata(n),
|
|
1281
1281
|
onSuccess: () => {
|
|
1282
1282
|
t.invalidateQueries({ queryKey: ["customTypeMetadata"] });
|
|
@@ -1284,88 +1284,88 @@ function rn(e = {}) {
|
|
|
1284
1284
|
...e
|
|
1285
1285
|
});
|
|
1286
1286
|
}
|
|
1287
|
-
function
|
|
1288
|
-
const n = e?.type?.trim(),
|
|
1289
|
-
return
|
|
1290
|
-
queryKey: ["customObjects", n,
|
|
1287
|
+
function on(e, t = {}) {
|
|
1288
|
+
const n = e?.type?.trim(), u = e?.relation?.trim(), { enabled: s, ...i } = t;
|
|
1289
|
+
return o({
|
|
1290
|
+
queryKey: ["customObjects", n, u],
|
|
1291
1291
|
queryFn: async () => await r.customAuthz.listCustomObjects(e),
|
|
1292
1292
|
...i,
|
|
1293
1293
|
// Combine the caller's setting with the gate: callers may disable the query
|
|
1294
1294
|
// but must not enable it with an empty type/relation (would 400).
|
|
1295
|
-
enabled: (
|
|
1295
|
+
enabled: (s ?? !0) && !!n && !!u
|
|
1296
1296
|
});
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1299
|
-
const n = e?.trim(), { enabled:
|
|
1300
|
-
return
|
|
1298
|
+
function cn(e, t = {}) {
|
|
1299
|
+
const n = e?.trim(), { enabled: u, ...s } = t;
|
|
1300
|
+
return o({
|
|
1301
1301
|
queryKey: ["customObjectsOfType", n],
|
|
1302
1302
|
queryFn: async () => await r.customAuthz.listCustomObjectsOfType(e),
|
|
1303
|
-
...
|
|
1303
|
+
...s,
|
|
1304
1304
|
// Combine the caller's setting with the gate: callers may disable the query
|
|
1305
1305
|
// but must not enable it with an empty type (would 400).
|
|
1306
|
-
enabled: (
|
|
1306
|
+
enabled: (u ?? !0) && !!n
|
|
1307
1307
|
});
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1310
|
-
return
|
|
1309
|
+
function ln(e = {}, t = {}) {
|
|
1310
|
+
return o({
|
|
1311
1311
|
queryKey: ["inboxItems", "all", e.page, e.perPage],
|
|
1312
1312
|
queryFn: async () => await r.inboxItems.getAllInboxItems(e),
|
|
1313
1313
|
...t
|
|
1314
1314
|
});
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1317
|
-
return
|
|
1316
|
+
function yn(e = {}) {
|
|
1317
|
+
return a({
|
|
1318
1318
|
mutationFn: async (t) => await r.inboxItems.markItemAsRead(t),
|
|
1319
1319
|
...e
|
|
1320
1320
|
});
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1323
|
-
return
|
|
1322
|
+
function dn(e = {}) {
|
|
1323
|
+
return a({
|
|
1324
1324
|
mutationFn: async (t) => await r.inboxItems.markItemAsUnread(t),
|
|
1325
1325
|
...e
|
|
1326
1326
|
});
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1329
|
-
return
|
|
1328
|
+
function pn(e = {}) {
|
|
1329
|
+
return a({
|
|
1330
1330
|
mutationFn: async (t) => await r.inboxItems.createInboxItemPerUser(t),
|
|
1331
1331
|
...e
|
|
1332
1332
|
});
|
|
1333
1333
|
}
|
|
1334
|
-
function
|
|
1335
|
-
return
|
|
1334
|
+
function fn(e = {}) {
|
|
1335
|
+
return o({
|
|
1336
1336
|
queryKey: ["inboxV2", "types"],
|
|
1337
1337
|
queryFn: async () => await r.inboxV2.listTypes(),
|
|
1338
1338
|
...e
|
|
1339
1339
|
});
|
|
1340
1340
|
}
|
|
1341
|
-
function
|
|
1342
|
-
return
|
|
1341
|
+
function gn(e, t = {}) {
|
|
1342
|
+
return o({
|
|
1343
1343
|
queryKey: ["inboxV2", "type", e],
|
|
1344
1344
|
queryFn: async () => await r.inboxV2.getType(e),
|
|
1345
1345
|
enabled: !!e,
|
|
1346
1346
|
...t
|
|
1347
1347
|
});
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1350
|
-
return
|
|
1349
|
+
function mn(e = {}) {
|
|
1350
|
+
return a({
|
|
1351
1351
|
mutationFn: async (t) => await r.inboxV2.createType(t),
|
|
1352
1352
|
...e
|
|
1353
1353
|
});
|
|
1354
1354
|
}
|
|
1355
|
-
function
|
|
1356
|
-
return
|
|
1355
|
+
function bn(e = {}) {
|
|
1356
|
+
return a({
|
|
1357
1357
|
mutationFn: async ({ id: t, data: n }) => await r.inboxV2.updateType(t, n),
|
|
1358
1358
|
...e
|
|
1359
1359
|
});
|
|
1360
1360
|
}
|
|
1361
|
-
function
|
|
1362
|
-
return
|
|
1361
|
+
function Fn(e = {}) {
|
|
1362
|
+
return a({
|
|
1363
1363
|
mutationFn: async (t) => await r.inboxV2.deleteType(t),
|
|
1364
1364
|
...e
|
|
1365
1365
|
});
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1368
|
-
return
|
|
1367
|
+
function wn(e = {}, t = {}) {
|
|
1368
|
+
return o({
|
|
1369
1369
|
queryKey: [
|
|
1370
1370
|
"inboxV2",
|
|
1371
1371
|
"items",
|
|
@@ -1379,101 +1379,101 @@ function mn(e = {}, t = {}) {
|
|
|
1379
1379
|
...t
|
|
1380
1380
|
});
|
|
1381
1381
|
}
|
|
1382
|
-
function
|
|
1383
|
-
return
|
|
1382
|
+
function qn(e, t = {}) {
|
|
1383
|
+
return o({
|
|
1384
1384
|
queryKey: ["inboxV2", "item", e],
|
|
1385
1385
|
queryFn: async () => await r.inboxV2.getItem(e),
|
|
1386
1386
|
enabled: !!e,
|
|
1387
1387
|
...t
|
|
1388
1388
|
});
|
|
1389
1389
|
}
|
|
1390
|
-
function
|
|
1391
|
-
return
|
|
1390
|
+
function hn(e = {}) {
|
|
1391
|
+
return a({
|
|
1392
1392
|
mutationFn: async (t) => await r.inboxV2.createItem(t),
|
|
1393
1393
|
...e
|
|
1394
1394
|
});
|
|
1395
1395
|
}
|
|
1396
|
-
function
|
|
1397
|
-
return
|
|
1396
|
+
function Tn(e = {}) {
|
|
1397
|
+
return a({
|
|
1398
1398
|
mutationFn: async ({ id: t, data: n }) => await r.inboxV2.updateItem(t, n),
|
|
1399
1399
|
...e
|
|
1400
1400
|
});
|
|
1401
1401
|
}
|
|
1402
|
-
function
|
|
1403
|
-
return
|
|
1402
|
+
function Dn(e = {}) {
|
|
1403
|
+
return a({
|
|
1404
1404
|
mutationFn: async (t) => await r.inboxV2.markRead(t),
|
|
1405
1405
|
...e
|
|
1406
1406
|
});
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1409
|
-
return
|
|
1408
|
+
function Cn(e = {}) {
|
|
1409
|
+
return a({
|
|
1410
1410
|
mutationFn: async (t) => await r.inboxV2.markUnread(t),
|
|
1411
1411
|
...e
|
|
1412
1412
|
});
|
|
1413
1413
|
}
|
|
1414
|
-
function
|
|
1415
|
-
return
|
|
1414
|
+
function kn(e = {}) {
|
|
1415
|
+
return a({
|
|
1416
1416
|
mutationFn: async ({ id: t, data: n }) => await r.inboxV2.snoozeItem(t, n),
|
|
1417
1417
|
...e
|
|
1418
1418
|
});
|
|
1419
1419
|
}
|
|
1420
|
-
function
|
|
1421
|
-
return
|
|
1420
|
+
function Sn(e = {}) {
|
|
1421
|
+
return a({
|
|
1422
1422
|
mutationFn: async (t) => await r.inboxV2.dismissItem(t),
|
|
1423
1423
|
...e
|
|
1424
1424
|
});
|
|
1425
1425
|
}
|
|
1426
|
-
function
|
|
1427
|
-
return
|
|
1426
|
+
function Rn(e = {}) {
|
|
1427
|
+
return a({
|
|
1428
1428
|
mutationFn: async (t) => await r.inboxV2.claimItem(t),
|
|
1429
1429
|
...e
|
|
1430
1430
|
});
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1433
|
-
return
|
|
1432
|
+
function Kn(e = {}) {
|
|
1433
|
+
return a({
|
|
1434
1434
|
mutationFn: async (t) => await r.inboxV2.completeItem(t),
|
|
1435
1435
|
...e
|
|
1436
1436
|
});
|
|
1437
1437
|
}
|
|
1438
|
-
function
|
|
1439
|
-
return
|
|
1438
|
+
function xn(e = {}) {
|
|
1439
|
+
return a({
|
|
1440
1440
|
mutationFn: async (t) => await r.inboxV2.releaseItem(t),
|
|
1441
1441
|
...e
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1445
|
-
return
|
|
1444
|
+
function Pn(e = {}) {
|
|
1445
|
+
return a({
|
|
1446
1446
|
mutationFn: async (t) => await r.inboxV2.cancelItem(t),
|
|
1447
1447
|
...e
|
|
1448
1448
|
});
|
|
1449
1449
|
}
|
|
1450
|
-
function
|
|
1451
|
-
return
|
|
1450
|
+
function vn(e = {}) {
|
|
1451
|
+
return a({
|
|
1452
1452
|
mutationFn: async ({ id: t, data: n }) => await r.inboxV2.reassignItem(t, n),
|
|
1453
1453
|
...e
|
|
1454
1454
|
});
|
|
1455
1455
|
}
|
|
1456
|
-
function
|
|
1457
|
-
return
|
|
1456
|
+
function In(e = {}) {
|
|
1457
|
+
return a({
|
|
1458
1458
|
mutationFn: async (t) => await r.inboxV2.completeByKey(t),
|
|
1459
1459
|
...e
|
|
1460
1460
|
});
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1463
|
-
return
|
|
1462
|
+
function Vn(e = {}) {
|
|
1463
|
+
return a({
|
|
1464
1464
|
mutationFn: async (t) => await r.inboxV2.cancelByKey(t),
|
|
1465
1465
|
...e
|
|
1466
1466
|
});
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1469
|
-
return
|
|
1468
|
+
function En(e, t = {}) {
|
|
1469
|
+
return o({
|
|
1470
1470
|
queryKey: ["emailConversations", e?.page, e?.pageSize, e?.tag, e?.orderByCreatedDate],
|
|
1471
1471
|
queryFn: async () => await r.emailEngine.getAllConversations(e),
|
|
1472
1472
|
...t
|
|
1473
1473
|
});
|
|
1474
1474
|
}
|
|
1475
|
-
function
|
|
1476
|
-
return
|
|
1475
|
+
function An(e, t = {}) {
|
|
1476
|
+
return o({
|
|
1477
1477
|
queryKey: ["emailConversation", e],
|
|
1478
1478
|
queryFn: async () => await r.emailEngine.getConversation({
|
|
1479
1479
|
conversationId: e
|
|
@@ -1482,9 +1482,9 @@ function vn(e, t = {}) {
|
|
|
1482
1482
|
...t
|
|
1483
1483
|
});
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1485
|
+
function Bn(e = {}) {
|
|
1486
1486
|
const t = p();
|
|
1487
|
-
return
|
|
1487
|
+
return a({
|
|
1488
1488
|
mutationFn: async (n) => await r.emailEngine.createConversation(n),
|
|
1489
1489
|
onSuccess: () => {
|
|
1490
1490
|
t.invalidateQueries({ queryKey: ["emailConversations"] });
|
|
@@ -1492,20 +1492,20 @@ function Vn(e = {}) {
|
|
|
1492
1492
|
...e
|
|
1493
1493
|
});
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function Gn(e = {}) {
|
|
1496
1496
|
const t = p();
|
|
1497
|
-
return
|
|
1497
|
+
return a({
|
|
1498
1498
|
mutationFn: async (n) => await r.emailEngine.replyToConversation(n),
|
|
1499
|
-
onSuccess: (n,
|
|
1499
|
+
onSuccess: (n, u) => {
|
|
1500
1500
|
t.invalidateQueries({
|
|
1501
|
-
queryKey: ["emailConversation",
|
|
1501
|
+
queryKey: ["emailConversation", u.conversationId]
|
|
1502
1502
|
});
|
|
1503
1503
|
},
|
|
1504
1504
|
...e
|
|
1505
1505
|
});
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1508
|
-
return
|
|
1507
|
+
function Mn(e, t = {}) {
|
|
1508
|
+
return o({
|
|
1509
1509
|
queryKey: [
|
|
1510
1510
|
"emailMessagesBySender",
|
|
1511
1511
|
e.senderId,
|
|
@@ -1519,149 +1519,149 @@ function An(e, t = {}) {
|
|
|
1519
1519
|
...t
|
|
1520
1520
|
});
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1523
|
-
return
|
|
1522
|
+
function On(e = {}) {
|
|
1523
|
+
return a({
|
|
1524
1524
|
mutationFn: async (t) => await r.emailEngine.searchMessages(t),
|
|
1525
1525
|
...e
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function Ln(e = {}) {
|
|
1529
1529
|
const t = y(async () => await r.tcn.getAuthUrl()), n = d({
|
|
1530
1530
|
queryKey: ["tcn", "authUrl"],
|
|
1531
1531
|
queryFn: t,
|
|
1532
1532
|
enabled: !0,
|
|
1533
1533
|
options: e
|
|
1534
1534
|
});
|
|
1535
|
-
return
|
|
1535
|
+
return o(n);
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1538
|
-
return
|
|
1537
|
+
function Hn(e = {}) {
|
|
1538
|
+
return a({
|
|
1539
1539
|
mutationFn: async ({ code: t }) => await r.tcn.exchangeCode(t),
|
|
1540
1540
|
...e
|
|
1541
1541
|
});
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1544
|
-
return
|
|
1543
|
+
function Un(e = {}) {
|
|
1544
|
+
return a({
|
|
1545
1545
|
mutationFn: async ({ refresh_token: t }) => await r.tcn.refreshToken(t),
|
|
1546
1546
|
...e
|
|
1547
1547
|
});
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1550
|
-
return
|
|
1549
|
+
function Qn(e = {}) {
|
|
1550
|
+
return a({
|
|
1551
1551
|
mutationFn: async ({ token: t }) => await r.tcn.getCurrentAgent(t),
|
|
1552
1552
|
...e
|
|
1553
1553
|
});
|
|
1554
1554
|
}
|
|
1555
|
-
function
|
|
1556
|
-
return
|
|
1555
|
+
function Wn(e = {}) {
|
|
1556
|
+
return a({
|
|
1557
1557
|
mutationFn: async ({ token: t, huntGroupSid: n }) => await r.tcn.getAgentSkills(t, n),
|
|
1558
1558
|
...e
|
|
1559
1559
|
});
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1562
|
-
return
|
|
1563
|
-
mutationFn: async ({ token: t, huntGroupSid: n, skills:
|
|
1561
|
+
function zn(e = {}) {
|
|
1562
|
+
return a({
|
|
1563
|
+
mutationFn: async ({ token: t, huntGroupSid: n, skills: u }) => await r.tcn.createSession(t, n, u),
|
|
1564
1564
|
...e
|
|
1565
1565
|
});
|
|
1566
1566
|
}
|
|
1567
|
-
function
|
|
1568
|
-
return
|
|
1567
|
+
function Nn(e = {}) {
|
|
1568
|
+
return a({
|
|
1569
1569
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.keepAlive(t, n),
|
|
1570
1570
|
...e
|
|
1571
1571
|
});
|
|
1572
1572
|
}
|
|
1573
|
-
function
|
|
1574
|
-
return
|
|
1573
|
+
function _n(e = {}) {
|
|
1574
|
+
return a({
|
|
1575
1575
|
mutationFn: async ({ token: t }) => await r.tcn.agentGetStatus(t),
|
|
1576
1576
|
...e
|
|
1577
1577
|
});
|
|
1578
1578
|
}
|
|
1579
|
-
function
|
|
1580
|
-
return
|
|
1579
|
+
function jn(e = {}) {
|
|
1580
|
+
return a({
|
|
1581
1581
|
mutationFn: async ({ token: t, huntGroupSid: n }) => await r.tcn.getHuntGroupAgentSettings(t, n),
|
|
1582
1582
|
...e
|
|
1583
1583
|
});
|
|
1584
1584
|
}
|
|
1585
|
-
function
|
|
1586
|
-
return
|
|
1585
|
+
function Jn(e = {}) {
|
|
1586
|
+
return a({
|
|
1587
1587
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.dialManualPrepare(t, n),
|
|
1588
1588
|
...e
|
|
1589
1589
|
});
|
|
1590
1590
|
}
|
|
1591
|
-
function
|
|
1592
|
-
return
|
|
1591
|
+
function $n(e = {}) {
|
|
1592
|
+
return a({
|
|
1593
1593
|
mutationFn: async ({ token: t, call: n }) => await r.tcn.processManualDial(t, n),
|
|
1594
1594
|
...e
|
|
1595
1595
|
});
|
|
1596
1596
|
}
|
|
1597
|
-
function
|
|
1598
|
-
return
|
|
1599
|
-
mutationFn: async ({ token: t, agentSessionSid: n, huntGroupSid:
|
|
1597
|
+
function Xn(e = {}) {
|
|
1598
|
+
return a({
|
|
1599
|
+
mutationFn: async ({ token: t, agentSessionSid: n, huntGroupSid: u, simpleCallData: s }) => await r.tcn.manualDialStart(
|
|
1600
1600
|
t,
|
|
1601
1601
|
n,
|
|
1602
|
-
|
|
1603
|
-
|
|
1602
|
+
u,
|
|
1603
|
+
s
|
|
1604
1604
|
),
|
|
1605
1605
|
...e
|
|
1606
1606
|
});
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1609
|
-
return
|
|
1610
|
-
mutationFn: async ({ token: t, sessionSid: n, reason:
|
|
1608
|
+
function Yn(e = {}) {
|
|
1609
|
+
return a({
|
|
1610
|
+
mutationFn: async ({ token: t, sessionSid: n, reason: u }) => await r.tcn.agentDisconnect(t, n, u),
|
|
1611
1611
|
...e
|
|
1612
1612
|
});
|
|
1613
1613
|
}
|
|
1614
|
-
function
|
|
1615
|
-
return
|
|
1614
|
+
function Zn(e = {}) {
|
|
1615
|
+
return a({
|
|
1616
1616
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.agentPause(t, n),
|
|
1617
1617
|
...e
|
|
1618
1618
|
});
|
|
1619
1619
|
}
|
|
1620
|
-
function
|
|
1621
|
-
return
|
|
1620
|
+
function er(e = {}) {
|
|
1621
|
+
return a({
|
|
1622
1622
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.agentSetReady(t, n),
|
|
1623
1623
|
...e
|
|
1624
1624
|
});
|
|
1625
1625
|
}
|
|
1626
|
-
function
|
|
1627
|
-
return
|
|
1626
|
+
function tr(e = {}) {
|
|
1627
|
+
return a({
|
|
1628
1628
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.agentGetConnectedParty(t, n),
|
|
1629
1629
|
...e
|
|
1630
1630
|
});
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1633
|
-
return
|
|
1632
|
+
function nr(e = {}) {
|
|
1633
|
+
return a({
|
|
1634
1634
|
mutationFn: async ({ token: t, callSid: n }) => await r.tcn.getCallData(t, n),
|
|
1635
1635
|
...e
|
|
1636
1636
|
});
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1639
|
-
return
|
|
1640
|
-
mutationFn: async ({ token: t, sessionSid: n, holdType:
|
|
1638
|
+
function rr(e = {}) {
|
|
1639
|
+
return a({
|
|
1640
|
+
mutationFn: async ({ token: t, sessionSid: n, holdType: u }) => await r.tcn.agentPutCallOnHold(t, n, u),
|
|
1641
1641
|
...e
|
|
1642
1642
|
});
|
|
1643
1643
|
}
|
|
1644
|
-
function
|
|
1645
|
-
return
|
|
1646
|
-
mutationFn: async ({ token: t, sessionSid: n, holdType:
|
|
1644
|
+
function ur(e = {}) {
|
|
1645
|
+
return a({
|
|
1646
|
+
mutationFn: async ({ token: t, sessionSid: n, holdType: u }) => await r.tcn.agentGetCallFromHold(t, n, u),
|
|
1647
1647
|
...e
|
|
1648
1648
|
});
|
|
1649
1649
|
}
|
|
1650
|
-
function
|
|
1651
|
-
return
|
|
1650
|
+
function ar(e = {}) {
|
|
1651
|
+
return a({
|
|
1652
1652
|
mutationFn: async (t) => await r.tcn.ftpManualDialReport(t),
|
|
1653
1653
|
...e
|
|
1654
1654
|
});
|
|
1655
1655
|
}
|
|
1656
|
-
function
|
|
1657
|
-
return
|
|
1656
|
+
function sr(e = {}) {
|
|
1657
|
+
return a({
|
|
1658
1658
|
mutationFn: async (t) => await r.templates.renderTemplate(t),
|
|
1659
1659
|
...e
|
|
1660
1660
|
});
|
|
1661
1661
|
}
|
|
1662
|
-
function
|
|
1662
|
+
function or(e, t = {}) {
|
|
1663
1663
|
const n = e?.trim();
|
|
1664
|
-
return
|
|
1664
|
+
return o({
|
|
1665
1665
|
queryKey: ["databox", "folder", n],
|
|
1666
1666
|
queryFn: async () => {
|
|
1667
1667
|
if (!n)
|
|
@@ -1672,9 +1672,9 @@ function ar(e, t = {}) {
|
|
|
1672
1672
|
...t
|
|
1673
1673
|
});
|
|
1674
1674
|
}
|
|
1675
|
-
function
|
|
1675
|
+
function ir(e, t = {}) {
|
|
1676
1676
|
const n = e?.trim();
|
|
1677
|
-
return
|
|
1677
|
+
return o({
|
|
1678
1678
|
queryKey: ["databox", "folder", n, "files"],
|
|
1679
1679
|
queryFn: async () => {
|
|
1680
1680
|
if (!n)
|
|
@@ -1685,9 +1685,9 @@ function ur(e, t = {}) {
|
|
|
1685
1685
|
...t
|
|
1686
1686
|
});
|
|
1687
1687
|
}
|
|
1688
|
-
function
|
|
1688
|
+
function cr(e, t = {}) {
|
|
1689
1689
|
const n = e?.trim();
|
|
1690
|
-
return
|
|
1690
|
+
return o({
|
|
1691
1691
|
queryKey: ["databox", "folder", n, "datasets"],
|
|
1692
1692
|
queryFn: async () => {
|
|
1693
1693
|
if (!n)
|
|
@@ -1698,9 +1698,9 @@ function or(e, t = {}) {
|
|
|
1698
1698
|
...t
|
|
1699
1699
|
});
|
|
1700
1700
|
}
|
|
1701
|
-
function
|
|
1701
|
+
function lr(e, t = {}) {
|
|
1702
1702
|
const n = e?.trim();
|
|
1703
|
-
return
|
|
1703
|
+
return o({
|
|
1704
1704
|
queryKey: ["databox", "folder", n, "duplicates"],
|
|
1705
1705
|
queryFn: async () => {
|
|
1706
1706
|
if (!n)
|
|
@@ -1713,9 +1713,9 @@ function sr(e, t = {}) {
|
|
|
1713
1713
|
...t
|
|
1714
1714
|
});
|
|
1715
1715
|
}
|
|
1716
|
-
function
|
|
1716
|
+
function yr(e, t = {}) {
|
|
1717
1717
|
const n = e?.trim();
|
|
1718
|
-
return
|
|
1718
|
+
return o({
|
|
1719
1719
|
queryKey: ["dataset", n, "exceptions"],
|
|
1720
1720
|
queryFn: async () => {
|
|
1721
1721
|
if (!n)
|
|
@@ -1726,25 +1726,25 @@ function ir(e, t = {}) {
|
|
|
1726
1726
|
...t
|
|
1727
1727
|
});
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1730
|
-
const
|
|
1731
|
-
return
|
|
1732
|
-
queryKey: ["dataset",
|
|
1729
|
+
function dr(e, t, n = {}) {
|
|
1730
|
+
const u = e?.trim();
|
|
1731
|
+
return o({
|
|
1732
|
+
queryKey: ["dataset", u, "duplicates", t ?? null],
|
|
1733
1733
|
queryFn: async () => {
|
|
1734
|
-
if (!
|
|
1734
|
+
if (!u)
|
|
1735
1735
|
throw new Error("Dataset ID is required");
|
|
1736
1736
|
return await r.dataset.getDatasetDuplicates({
|
|
1737
|
-
datasetId:
|
|
1737
|
+
datasetId: u,
|
|
1738
1738
|
group: t
|
|
1739
1739
|
});
|
|
1740
1740
|
},
|
|
1741
|
-
enabled: !!
|
|
1741
|
+
enabled: !!u,
|
|
1742
1742
|
...n
|
|
1743
1743
|
});
|
|
1744
1744
|
}
|
|
1745
|
-
function
|
|
1745
|
+
function pr(e, t = {}) {
|
|
1746
1746
|
const n = e?.trim();
|
|
1747
|
-
return
|
|
1747
|
+
return o({
|
|
1748
1748
|
queryKey: ["databox", "folder", n, "schema"],
|
|
1749
1749
|
queryFn: async () => {
|
|
1750
1750
|
if (!n)
|
|
@@ -1755,9 +1755,9 @@ function lr(e, t = {}) {
|
|
|
1755
1755
|
...t
|
|
1756
1756
|
});
|
|
1757
1757
|
}
|
|
1758
|
-
function
|
|
1758
|
+
function fr(e, t = {}) {
|
|
1759
1759
|
const n = e?.trim();
|
|
1760
|
-
return
|
|
1760
|
+
return o({
|
|
1761
1761
|
queryKey: ["databox", "folder", n, "schema", "history"],
|
|
1762
1762
|
queryFn: async () => {
|
|
1763
1763
|
if (!n)
|
|
@@ -1768,9 +1768,9 @@ function yr(e, t = {}) {
|
|
|
1768
1768
|
...t
|
|
1769
1769
|
});
|
|
1770
1770
|
}
|
|
1771
|
-
function
|
|
1771
|
+
function gr(e, t = {}) {
|
|
1772
1772
|
const n = e?.trim();
|
|
1773
|
-
return
|
|
1773
|
+
return o({
|
|
1774
1774
|
queryKey: ["databox", "folder", n, "trash"],
|
|
1775
1775
|
queryFn: async () => {
|
|
1776
1776
|
if (!n)
|
|
@@ -1781,9 +1781,9 @@ function dr(e, t = {}) {
|
|
|
1781
1781
|
...t
|
|
1782
1782
|
});
|
|
1783
1783
|
}
|
|
1784
|
-
function
|
|
1784
|
+
function mr(e, t = {}) {
|
|
1785
1785
|
const n = e?.trim();
|
|
1786
|
-
return
|
|
1786
|
+
return o({
|
|
1787
1787
|
queryKey: ["databox", "file", n],
|
|
1788
1788
|
queryFn: async () => {
|
|
1789
1789
|
if (!n)
|
|
@@ -1794,9 +1794,9 @@ function pr(e, t = {}) {
|
|
|
1794
1794
|
...t
|
|
1795
1795
|
});
|
|
1796
1796
|
}
|
|
1797
|
-
function
|
|
1797
|
+
function br(e, t = {}) {
|
|
1798
1798
|
const n = e?.trim();
|
|
1799
|
-
return
|
|
1799
|
+
return o({
|
|
1800
1800
|
queryKey: ["databox", "file", n, "status"],
|
|
1801
1801
|
queryFn: async () => {
|
|
1802
1802
|
if (!n)
|
|
@@ -1807,9 +1807,9 @@ function gr(e, t = {}) {
|
|
|
1807
1807
|
...t
|
|
1808
1808
|
});
|
|
1809
1809
|
}
|
|
1810
|
-
function
|
|
1810
|
+
function Fr(e, t = {}) {
|
|
1811
1811
|
const n = e?.trim();
|
|
1812
|
-
return
|
|
1812
|
+
return o({
|
|
1813
1813
|
queryKey: ["databox", "file", n, "runs"],
|
|
1814
1814
|
queryFn: async () => {
|
|
1815
1815
|
if (!n)
|
|
@@ -1820,9 +1820,9 @@ function fr(e, t = {}) {
|
|
|
1820
1820
|
...t
|
|
1821
1821
|
});
|
|
1822
1822
|
}
|
|
1823
|
-
function
|
|
1823
|
+
function wr(e, t = {}) {
|
|
1824
1824
|
const n = e?.trim();
|
|
1825
|
-
return
|
|
1825
|
+
return o({
|
|
1826
1826
|
queryKey: ["databox", "file", n, "download-url"],
|
|
1827
1827
|
queryFn: async () => {
|
|
1828
1828
|
if (!n)
|
|
@@ -1833,155 +1833,155 @@ function mr(e, t = {}) {
|
|
|
1833
1833
|
...t
|
|
1834
1834
|
});
|
|
1835
1835
|
}
|
|
1836
|
-
function
|
|
1837
|
-
return
|
|
1836
|
+
function qr(e = {}) {
|
|
1837
|
+
return a({
|
|
1838
1838
|
mutationFn: async (t) => await r.databox.dropFileToDatabox(t),
|
|
1839
1839
|
...e
|
|
1840
1840
|
});
|
|
1841
1841
|
}
|
|
1842
|
-
function
|
|
1843
|
-
return
|
|
1842
|
+
function hr(e = {}) {
|
|
1843
|
+
return a({
|
|
1844
1844
|
mutationFn: async (t) => await r.databox.runDataboxFolder(t),
|
|
1845
1845
|
...e
|
|
1846
1846
|
});
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1849
|
-
return
|
|
1848
|
+
function Tr(e = {}) {
|
|
1849
|
+
return a({
|
|
1850
1850
|
mutationFn: async (t) => await r.databox.updateDataboxFolderSchema(t),
|
|
1851
1851
|
...e
|
|
1852
1852
|
});
|
|
1853
1853
|
}
|
|
1854
|
-
function
|
|
1855
|
-
return
|
|
1854
|
+
function Dr(e = {}) {
|
|
1855
|
+
return a({
|
|
1856
1856
|
mutationFn: async (t) => await r.databox.trashDataboxFiles(t),
|
|
1857
1857
|
...e
|
|
1858
1858
|
});
|
|
1859
1859
|
}
|
|
1860
|
-
function
|
|
1861
|
-
return
|
|
1860
|
+
function Cr(e = {}) {
|
|
1861
|
+
return a({
|
|
1862
1862
|
mutationFn: async (t) => await r.databox.restoreDataboxFile(t),
|
|
1863
1863
|
...e
|
|
1864
1864
|
});
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1867
|
-
return
|
|
1866
|
+
function kr(e = {}) {
|
|
1867
|
+
return a({
|
|
1868
1868
|
mutationFn: async (t) => await r.databox.permanentDeleteDataboxFiles(t),
|
|
1869
1869
|
...e
|
|
1870
1870
|
});
|
|
1871
1871
|
}
|
|
1872
|
-
function
|
|
1873
|
-
const n = y(async () => await r.periodManagement.listFiscalCalendars(e)),
|
|
1872
|
+
function Sr(e, t = {}) {
|
|
1873
|
+
const n = y(async () => await r.periodManagement.listFiscalCalendars(e)), u = d({
|
|
1874
1874
|
queryKey: ["periodManagement", "fiscalCalendars", e ?? "all"],
|
|
1875
1875
|
queryFn: n,
|
|
1876
1876
|
options: t
|
|
1877
1877
|
});
|
|
1878
|
-
return
|
|
1878
|
+
return o(u);
|
|
1879
1879
|
}
|
|
1880
|
-
function
|
|
1881
|
-
const n = !!e,
|
|
1880
|
+
function Rr(e, t = {}) {
|
|
1881
|
+
const n = !!e, u = y(async () => {
|
|
1882
1882
|
if (!e)
|
|
1883
1883
|
throw new Error("Fiscal calendar id is required");
|
|
1884
1884
|
return await r.periodManagement.getFiscalCalendar(e);
|
|
1885
|
-
}),
|
|
1885
|
+
}), s = d({
|
|
1886
1886
|
queryKey: ["periodManagement", "fiscalCalendar", e],
|
|
1887
|
-
queryFn:
|
|
1887
|
+
queryFn: u,
|
|
1888
1888
|
enabled: n,
|
|
1889
1889
|
options: t
|
|
1890
1890
|
});
|
|
1891
|
-
return s
|
|
1891
|
+
return o(s);
|
|
1892
1892
|
}
|
|
1893
|
-
function
|
|
1894
|
-
return
|
|
1893
|
+
function Kr(e = {}) {
|
|
1894
|
+
return a({
|
|
1895
1895
|
mutationFn: async (t) => await r.periodManagement.createFiscalCalendar(t),
|
|
1896
1896
|
...e
|
|
1897
1897
|
});
|
|
1898
1898
|
}
|
|
1899
|
-
function
|
|
1900
|
-
return
|
|
1899
|
+
function xr(e = {}) {
|
|
1900
|
+
return a({
|
|
1901
1901
|
mutationFn: async ({ id: t, params: n }) => await r.periodManagement.updateFiscalCalendar(t, n),
|
|
1902
1902
|
...e
|
|
1903
1903
|
});
|
|
1904
1904
|
}
|
|
1905
|
-
function
|
|
1906
|
-
return
|
|
1905
|
+
function Pr(e = {}) {
|
|
1906
|
+
return a({
|
|
1907
1907
|
mutationFn: async (t) => await r.periodManagement.deleteFiscalCalendar(t),
|
|
1908
1908
|
...e
|
|
1909
1909
|
});
|
|
1910
1910
|
}
|
|
1911
|
-
function
|
|
1912
|
-
const n = y(async () => await r.periodManagement.listHolidayCalendars(e)),
|
|
1911
|
+
function vr(e, t = {}) {
|
|
1912
|
+
const n = y(async () => await r.periodManagement.listHolidayCalendars(e)), u = d({
|
|
1913
1913
|
queryKey: ["periodManagement", "holidayCalendars", e ?? "all"],
|
|
1914
1914
|
queryFn: n,
|
|
1915
1915
|
options: t
|
|
1916
1916
|
});
|
|
1917
|
-
return
|
|
1917
|
+
return o(u);
|
|
1918
1918
|
}
|
|
1919
|
-
function
|
|
1920
|
-
const n = !!e,
|
|
1919
|
+
function Ir(e, t = {}) {
|
|
1920
|
+
const n = !!e, u = y(async () => {
|
|
1921
1921
|
if (!e)
|
|
1922
1922
|
throw new Error("Holiday calendar id is required");
|
|
1923
1923
|
return await r.periodManagement.getHolidayCalendar(e);
|
|
1924
|
-
}),
|
|
1924
|
+
}), s = d({
|
|
1925
1925
|
queryKey: ["periodManagement", "holidayCalendar", e],
|
|
1926
|
-
queryFn:
|
|
1926
|
+
queryFn: u,
|
|
1927
1927
|
enabled: n,
|
|
1928
1928
|
options: t
|
|
1929
1929
|
});
|
|
1930
|
-
return s
|
|
1930
|
+
return o(s);
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1933
|
-
return
|
|
1932
|
+
function Vr(e = {}) {
|
|
1933
|
+
return a({
|
|
1934
1934
|
mutationFn: async (t) => await r.periodManagement.createHolidayCalendar(t),
|
|
1935
1935
|
...e
|
|
1936
1936
|
});
|
|
1937
1937
|
}
|
|
1938
|
-
function
|
|
1939
|
-
return
|
|
1938
|
+
function Er(e = {}) {
|
|
1939
|
+
return a({
|
|
1940
1940
|
mutationFn: async ({ id: t, params: n }) => await r.periodManagement.updateHolidayCalendar(t, n),
|
|
1941
1941
|
...e
|
|
1942
1942
|
});
|
|
1943
1943
|
}
|
|
1944
|
-
function
|
|
1945
|
-
return
|
|
1944
|
+
function Ar(e = {}) {
|
|
1945
|
+
return a({
|
|
1946
1946
|
mutationFn: async (t) => await r.periodManagement.deleteHolidayCalendar(t),
|
|
1947
1947
|
...e
|
|
1948
1948
|
});
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1951
|
-
const n = !!e,
|
|
1950
|
+
function Br(e, t = {}) {
|
|
1951
|
+
const n = !!e, u = y(async () => {
|
|
1952
1952
|
if (!e)
|
|
1953
1953
|
throw new Error("Holiday calendar id is required");
|
|
1954
1954
|
return await r.periodManagement.listHolidays(e);
|
|
1955
|
-
}),
|
|
1955
|
+
}), s = d({
|
|
1956
1956
|
queryKey: ["periodManagement", "holidayCalendar", e, "holidays"],
|
|
1957
|
-
queryFn:
|
|
1957
|
+
queryFn: u,
|
|
1958
1958
|
enabled: n,
|
|
1959
1959
|
options: t
|
|
1960
1960
|
});
|
|
1961
|
-
return s
|
|
1961
|
+
return o(s);
|
|
1962
1962
|
}
|
|
1963
|
-
function
|
|
1964
|
-
return
|
|
1963
|
+
function Gr(e = {}) {
|
|
1964
|
+
return a({
|
|
1965
1965
|
mutationFn: async ({ id: t, items: n }) => await r.periodManagement.importHolidays(t, n),
|
|
1966
1966
|
...e
|
|
1967
1967
|
});
|
|
1968
1968
|
}
|
|
1969
1969
|
function te(e, t) {
|
|
1970
1970
|
return t.split(".").reduce(
|
|
1971
|
-
(n,
|
|
1971
|
+
(n, u) => n && typeof n == "object" ? n[u] : void 0,
|
|
1972
1972
|
e
|
|
1973
1973
|
);
|
|
1974
1974
|
}
|
|
1975
|
-
function
|
|
1976
|
-
const n =
|
|
1975
|
+
function Mr(e, t = {}) {
|
|
1976
|
+
const n = o({
|
|
1977
1977
|
...t,
|
|
1978
1978
|
queryKey: ["pipeline", "list"],
|
|
1979
1979
|
queryFn: async () => r.pipeline.getPipelineList()
|
|
1980
1980
|
});
|
|
1981
1981
|
return {
|
|
1982
1982
|
pipelines: h(() => {
|
|
1983
|
-
const
|
|
1984
|
-
return e?.key ?
|
|
1983
|
+
const s = n.data ?? [];
|
|
1984
|
+
return e?.key ? s.filter((i) => te(i, e.key) === e.value) : s;
|
|
1985
1985
|
}, [n.data, e?.key, e?.value]),
|
|
1986
1986
|
isLoading: n.isLoading,
|
|
1987
1987
|
error: n.error,
|
|
@@ -1989,72 +1989,72 @@ function Ar(e, t = {}) {
|
|
|
1989
1989
|
};
|
|
1990
1990
|
}
|
|
1991
1991
|
function ne(e, t = {}) {
|
|
1992
|
-
const n = e?.trim(),
|
|
1992
|
+
const n = e?.trim(), u = o({
|
|
1993
1993
|
...t,
|
|
1994
1994
|
queryKey: ["pipeline", "runs", n],
|
|
1995
1995
|
queryFn: async () => r.pipeline.getPipelineRunStatus(n),
|
|
1996
1996
|
enabled: !!n && (t.enabled ?? !0)
|
|
1997
1997
|
});
|
|
1998
1998
|
return {
|
|
1999
|
-
runs:
|
|
2000
|
-
isLoading:
|
|
2001
|
-
error:
|
|
2002
|
-
refetch:
|
|
1999
|
+
runs: u.data ?? [],
|
|
2000
|
+
isLoading: u.isLoading,
|
|
2001
|
+
error: u.error,
|
|
2002
|
+
refetch: u.refetch
|
|
2003
2003
|
};
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2006
|
-
const { runs: n, isLoading:
|
|
2005
|
+
function Or(e, t = {}) {
|
|
2006
|
+
const { runs: n, isLoading: u, error: s, refetch: i } = ne(e, t);
|
|
2007
2007
|
return { run: h(() => {
|
|
2008
|
-
const l = n.filter((
|
|
2008
|
+
const l = n.filter((f) => f.status === "SUCCEEDED");
|
|
2009
2009
|
if (l.length)
|
|
2010
2010
|
return l.reduce(
|
|
2011
|
-
(
|
|
2011
|
+
(f, g) => (g.startedAt ?? "") > (f.startedAt ?? "") ? g : f
|
|
2012
2012
|
);
|
|
2013
|
-
}, [n]), isLoading:
|
|
2013
|
+
}, [n]), isLoading: u, error: s, refetch: i };
|
|
2014
2014
|
}
|
|
2015
|
-
function
|
|
2016
|
-
const
|
|
2017
|
-
queryKey: ["pipeline", "definition",
|
|
2018
|
-
queryFn: async () => r.pipeline.getPipelineDefinition(
|
|
2015
|
+
function Lr(e, t, n = {}) {
|
|
2016
|
+
const u = e?.trim(), s = t?.trim(), i = (n.enabled ?? !0) && !!u && !!s, c = o({
|
|
2017
|
+
queryKey: ["pipeline", "definition", u],
|
|
2018
|
+
queryFn: async () => r.pipeline.getPipelineDefinition(u),
|
|
2019
2019
|
enabled: i
|
|
2020
2020
|
}), l = h(
|
|
2021
2021
|
() => c.data?.nodes ?? [],
|
|
2022
2022
|
[c.data]
|
|
2023
|
-
),
|
|
2023
|
+
), f = h(
|
|
2024
2024
|
() => c.data?.edges ?? [],
|
|
2025
2025
|
[c.data]
|
|
2026
|
-
),
|
|
2027
|
-
queryKey: ["pipeline", "runs",
|
|
2028
|
-
queryFn: async () => r.pipeline.getPipelineRunStatus(
|
|
2026
|
+
), g = (D) => l.find((k) => k.id === D)?.data, m = o({
|
|
2027
|
+
queryKey: ["pipeline", "runs", u],
|
|
2028
|
+
queryFn: async () => r.pipeline.getPipelineRunStatus(u),
|
|
2029
2029
|
enabled: i
|
|
2030
2030
|
}), w = h(
|
|
2031
|
-
() => (m.data ?? []).find((D) => D.id ===
|
|
2032
|
-
[m.data,
|
|
2033
|
-
), [b, F] = q(!1), T = w?.datasetId, C =
|
|
2034
|
-
queryKey: ["pipeline", "output",
|
|
2031
|
+
() => (m.data ?? []).find((D) => D.id === s),
|
|
2032
|
+
[m.data, s]
|
|
2033
|
+
), [b, F] = q(!1), T = w?.datasetId, C = o({
|
|
2034
|
+
queryKey: ["pipeline", "output", s, T],
|
|
2035
2035
|
queryFn: async () => {
|
|
2036
|
-
const D = r.pipeline.buildDatasetDefinition(T), [
|
|
2036
|
+
const D = r.pipeline.buildDatasetDefinition(T), [k, S] = await Promise.all([
|
|
2037
2037
|
r.definition.runDefinition({ inputs: {}, definition: D, variable: T }),
|
|
2038
2038
|
r.definition.getDescription({ inputs: {}, definition: D, variable: T })
|
|
2039
|
-
]), E = Array.isArray(
|
|
2039
|
+
]), E = Array.isArray(S) ? S : S?.data ?? [];
|
|
2040
2040
|
return {
|
|
2041
|
-
rows:
|
|
2041
|
+
rows: k ?? [],
|
|
2042
2042
|
columns: E
|
|
2043
2043
|
};
|
|
2044
2044
|
},
|
|
2045
2045
|
enabled: i && b && !!T
|
|
2046
|
-
}),
|
|
2046
|
+
}), v = c.isLoading || m.isLoading, I = c.error ?? m.error, V = () => {
|
|
2047
2047
|
c.refetch(), m.refetch(), b && T && C.refetch();
|
|
2048
2048
|
};
|
|
2049
2049
|
return {
|
|
2050
2050
|
run: w,
|
|
2051
2051
|
nodes: l,
|
|
2052
|
-
edges:
|
|
2052
|
+
edges: f,
|
|
2053
2053
|
isCurrentDefinition: !0,
|
|
2054
2054
|
// run carries no snapshot; graph reflects the current definition
|
|
2055
|
-
isLoading:
|
|
2056
|
-
error:
|
|
2057
|
-
getNodeProperties:
|
|
2055
|
+
isLoading: v,
|
|
2056
|
+
error: I,
|
|
2057
|
+
getNodeProperties: g,
|
|
2058
2058
|
output: C.data,
|
|
2059
2059
|
isOutputLoading: C.isLoading && b,
|
|
2060
2060
|
outputError: C.error,
|
|
@@ -2062,26 +2062,26 @@ function Gr(e, t, n = {}) {
|
|
|
2062
2062
|
refetch: V
|
|
2063
2063
|
};
|
|
2064
2064
|
}
|
|
2065
|
-
function
|
|
2065
|
+
function Hr(e, t = {}) {
|
|
2066
2066
|
const n = e?.trim();
|
|
2067
|
-
return
|
|
2067
|
+
return o({
|
|
2068
2068
|
...t,
|
|
2069
2069
|
queryKey: ["pipeline", "overview", n],
|
|
2070
2070
|
queryFn: async () => r.pipeline.getPipelineOverview(n),
|
|
2071
2071
|
enabled: !!n
|
|
2072
2072
|
});
|
|
2073
2073
|
}
|
|
2074
|
-
function
|
|
2075
|
-
const t = e?.trim(), [n,
|
|
2074
|
+
function Ur(e) {
|
|
2075
|
+
const t = e?.trim(), [n, u] = q(
|
|
2076
2076
|
void 0
|
|
2077
|
-
),
|
|
2077
|
+
), s = a({
|
|
2078
2078
|
mutationFn: async () => r.pipeline.startOutputSample(t),
|
|
2079
|
-
onSuccess: (
|
|
2079
|
+
onSuccess: (f) => u(f)
|
|
2080
2080
|
});
|
|
2081
|
-
|
|
2082
|
-
|
|
2081
|
+
x(() => {
|
|
2082
|
+
u(void 0), t && s.mutate();
|
|
2083
2083
|
}, [t]);
|
|
2084
|
-
const i =
|
|
2084
|
+
const i = o({
|
|
2085
2085
|
queryKey: ["pipeline", "outputSample", t, n?.runId],
|
|
2086
2086
|
queryFn: async () => r.pipeline.getOutputSampleResult({
|
|
2087
2087
|
pipelineId: t,
|
|
@@ -2090,47 +2090,47 @@ function Or(e) {
|
|
|
2090
2090
|
sheetId: n.sheetId
|
|
2091
2091
|
}),
|
|
2092
2092
|
enabled: !!t && !!n?.runId,
|
|
2093
|
-
refetchInterval: (
|
|
2094
|
-
}), c =
|
|
2095
|
-
|
|
2093
|
+
refetchInterval: (f) => f.state.data?.status === "running" ? 1500 : !1
|
|
2094
|
+
}), c = s.isError ? "failed" : i.data?.status ?? (s.isPending || n ? "running" : "idle"), l = G(() => {
|
|
2095
|
+
u(void 0), t && s.mutate();
|
|
2096
2096
|
}, [t]);
|
|
2097
2097
|
return {
|
|
2098
2098
|
status: c,
|
|
2099
2099
|
rows: i.data?.rows,
|
|
2100
2100
|
columns: i.data?.columns,
|
|
2101
2101
|
totalCount: i.data?.totalCount,
|
|
2102
|
-
error: i.data?.error ??
|
|
2102
|
+
error: i.data?.error ?? s.error?.message,
|
|
2103
2103
|
refetch: l
|
|
2104
2104
|
};
|
|
2105
2105
|
}
|
|
2106
|
-
function
|
|
2107
|
-
return
|
|
2106
|
+
function Qr(e, t = {}) {
|
|
2107
|
+
return o({
|
|
2108
2108
|
...t,
|
|
2109
2109
|
queryKey: ["pipeline", "definition", e],
|
|
2110
2110
|
queryFn: async () => r.pipeline.getPipelineDefinition(e)
|
|
2111
2111
|
});
|
|
2112
2112
|
}
|
|
2113
|
-
function
|
|
2114
|
-
return
|
|
2113
|
+
function Wr(e, t = {}) {
|
|
2114
|
+
return o({
|
|
2115
2115
|
...t,
|
|
2116
2116
|
queryKey: ["pipeline", "runStatus", e],
|
|
2117
2117
|
queryFn: async () => r.pipeline.getPipelineRunStatus(e)
|
|
2118
2118
|
});
|
|
2119
2119
|
}
|
|
2120
|
-
function
|
|
2121
|
-
return
|
|
2120
|
+
function zr(e = {}) {
|
|
2121
|
+
return a({
|
|
2122
2122
|
mutationFn: async (t) => r.pipeline.savePipeline(t, { approve: !0 }),
|
|
2123
2123
|
...e
|
|
2124
2124
|
});
|
|
2125
2125
|
}
|
|
2126
|
-
function
|
|
2127
|
-
return
|
|
2126
|
+
function Nr(e = {}) {
|
|
2127
|
+
return a({
|
|
2128
2128
|
mutationFn: async (t) => r.pipeline.runPipeline(t, { approve: !0 }),
|
|
2129
2129
|
...e
|
|
2130
2130
|
});
|
|
2131
2131
|
}
|
|
2132
|
-
function
|
|
2133
|
-
const t =
|
|
2132
|
+
function _r(e = {}) {
|
|
2133
|
+
const t = o({
|
|
2134
2134
|
...e,
|
|
2135
2135
|
queryKey: ["workingPaper", "list"],
|
|
2136
2136
|
queryFn: async () => r.workingPaper.getWorkingPapers()
|
|
@@ -2142,61 +2142,61 @@ function Qr(e = {}) {
|
|
|
2142
2142
|
refetch: t.refetch
|
|
2143
2143
|
};
|
|
2144
2144
|
}
|
|
2145
|
-
function
|
|
2146
|
-
const n = e?.trim(),
|
|
2145
|
+
function jr(e, t = {}) {
|
|
2146
|
+
const n = e?.trim(), u = p(), s = o({
|
|
2147
2147
|
...t,
|
|
2148
2148
|
queryKey: ["workingPaper", "detail", n],
|
|
2149
2149
|
queryFn: async () => r.workingPaper.getWorkingPaper(n),
|
|
2150
2150
|
enabled: !!n && (t.enabled ?? !0)
|
|
2151
|
-
}), i =
|
|
2151
|
+
}), i = a({
|
|
2152
2152
|
mutationFn: async (l) => r.workingPaper.updateWorkingPaper(n, l),
|
|
2153
2153
|
onSuccess: () => {
|
|
2154
|
-
|
|
2154
|
+
u.invalidateQueries({ queryKey: ["workingPaper", "detail", n] }), u.invalidateQueries({ queryKey: ["workingPaper", "list"] });
|
|
2155
2155
|
}
|
|
2156
|
-
}), c =
|
|
2156
|
+
}), c = a({
|
|
2157
2157
|
mutationFn: async () => r.workingPaper.deleteWorkingPaper(n),
|
|
2158
2158
|
onSuccess: () => {
|
|
2159
|
-
|
|
2159
|
+
u.invalidateQueries({ queryKey: ["workingPaper", "list"] });
|
|
2160
2160
|
}
|
|
2161
2161
|
});
|
|
2162
2162
|
return {
|
|
2163
|
-
paper:
|
|
2164
|
-
sheets:
|
|
2165
|
-
isLoading:
|
|
2166
|
-
error:
|
|
2167
|
-
refetch:
|
|
2163
|
+
paper: s.data,
|
|
2164
|
+
sheets: s.data?.sheets ?? [],
|
|
2165
|
+
isLoading: s.isLoading,
|
|
2166
|
+
error: s.error,
|
|
2167
|
+
refetch: s.refetch,
|
|
2168
2168
|
save: (l) => i.mutateAsync(l),
|
|
2169
2169
|
isSaving: i.isPending,
|
|
2170
2170
|
remove: () => c.mutateAsync(),
|
|
2171
2171
|
isDeleting: c.isPending
|
|
2172
2172
|
};
|
|
2173
2173
|
}
|
|
2174
|
-
function
|
|
2174
|
+
function Jr() {
|
|
2175
2175
|
const e = p();
|
|
2176
|
-
return
|
|
2176
|
+
return a({
|
|
2177
2177
|
mutationFn: async (t) => r.workingPaper.createWorkingPaper(t),
|
|
2178
2178
|
onSuccess: () => e.invalidateQueries({ queryKey: ["workingPaper", "list"] })
|
|
2179
2179
|
});
|
|
2180
2180
|
}
|
|
2181
|
-
function
|
|
2182
|
-
const
|
|
2181
|
+
function $r(e, t = {}, n = {}) {
|
|
2182
|
+
const u = e?.inputTableId?.trim(), s = e?.viewId, i = e?.limit, c = o({
|
|
2183
2183
|
...t,
|
|
2184
|
-
queryKey: ["workingPaper", "inputTableSheet", "views",
|
|
2185
|
-
queryFn: async () => r.statement.getViewsBySheetId(
|
|
2186
|
-
enabled: !!
|
|
2187
|
-
}), l =
|
|
2184
|
+
queryKey: ["workingPaper", "inputTableSheet", "views", u],
|
|
2185
|
+
queryFn: async () => r.statement.getViewsBySheetId(u),
|
|
2186
|
+
enabled: !!u && (t.enabled ?? !0)
|
|
2187
|
+
}), l = o({
|
|
2188
2188
|
...n,
|
|
2189
|
-
queryKey: ["workingPaper", "inputTableSheet", "rows",
|
|
2190
|
-
queryFn: async () => r.inputTable.getRows(
|
|
2191
|
-
...
|
|
2189
|
+
queryKey: ["workingPaper", "inputTableSheet", "rows", u, s, i],
|
|
2190
|
+
queryFn: async () => r.inputTable.getRows(u, {
|
|
2191
|
+
...s ? { view_id: s } : {},
|
|
2192
2192
|
...i ? { limit: i } : {}
|
|
2193
2193
|
}),
|
|
2194
|
-
enabled: !!
|
|
2195
|
-
}),
|
|
2194
|
+
enabled: !!u && (n.enabled ?? !0)
|
|
2195
|
+
}), f = c.data ?? [], g = l.data;
|
|
2196
2196
|
return {
|
|
2197
|
-
views:
|
|
2198
|
-
rows:
|
|
2199
|
-
totalCount:
|
|
2197
|
+
views: f,
|
|
2198
|
+
rows: g?.data ?? [],
|
|
2199
|
+
totalCount: g?.total_count ?? 0,
|
|
2200
2200
|
isLoading: c.isLoading || l.isLoading,
|
|
2201
2201
|
error: c.error ?? l.error,
|
|
2202
2202
|
refetch: () => {
|
|
@@ -2204,15 +2204,15 @@ function _r(e, t = {}, n = {}) {
|
|
|
2204
2204
|
}
|
|
2205
2205
|
};
|
|
2206
2206
|
}
|
|
2207
|
-
function
|
|
2207
|
+
function Xr(e) {
|
|
2208
2208
|
const [t, n] = q(
|
|
2209
2209
|
() => e?.definition ?? (e?.datasetId ? r.workingPaper.createFxDatasetDefinition(e.datasetId, e.columns ?? []) : void 0)
|
|
2210
|
-
),
|
|
2210
|
+
), u = a({
|
|
2211
2211
|
mutationFn: async () => {
|
|
2212
2212
|
if (!t) throw { message: "No fx definition to run", status: 400 };
|
|
2213
|
-
const
|
|
2214
|
-
r.definition.runDefinition({ inputs: {}, definition: t, variable:
|
|
2215
|
-
r.definition.getDescription({ inputs: {}, definition: t, variable:
|
|
2213
|
+
const s = r.workingPaper.FX_RESULT_VARIABLE, [i, c] = await Promise.all([
|
|
2214
|
+
r.definition.runDefinition({ inputs: {}, definition: t, variable: s }),
|
|
2215
|
+
r.definition.getDescription({ inputs: {}, definition: t, variable: s })
|
|
2216
2216
|
]), l = Array.isArray(c) ? c : c?.data ?? [];
|
|
2217
2217
|
return { rows: i ?? [], columns: l };
|
|
2218
2218
|
}
|
|
@@ -2220,20 +2220,20 @@ function jr(e) {
|
|
|
2220
2220
|
return {
|
|
2221
2221
|
definition: t,
|
|
2222
2222
|
setDefinition: n,
|
|
2223
|
-
reset: (
|
|
2224
|
-
addFilter: (
|
|
2225
|
-
addSort: (
|
|
2226
|
-
addMetric: (
|
|
2227
|
-
addPivot: (
|
|
2228
|
-
addColumn: (
|
|
2229
|
-
run: () =>
|
|
2230
|
-
result:
|
|
2231
|
-
isRunning:
|
|
2232
|
-
runError:
|
|
2223
|
+
reset: (s, i) => n(r.workingPaper.createFxDatasetDefinition(s, i ?? [])),
|
|
2224
|
+
addFilter: (s, i) => n((c) => r.workingPaper.addRuleFilter(c, s, i)),
|
|
2225
|
+
addSort: (s, i, c) => n((l) => r.workingPaper.addSort(l, s, i, c)),
|
|
2226
|
+
addMetric: (s, i, c) => n((l) => r.workingPaper.addMetric(l, s, i, c)),
|
|
2227
|
+
addPivot: (s, i) => n((c) => r.workingPaper.addPivot(c, s, i)),
|
|
2228
|
+
addColumn: (s, i, c) => n((l) => r.workingPaper.addColumn(l, s, i, c)),
|
|
2229
|
+
run: () => u.mutateAsync(),
|
|
2230
|
+
result: u.data,
|
|
2231
|
+
isRunning: u.isPending,
|
|
2232
|
+
runError: u.error
|
|
2233
2233
|
};
|
|
2234
2234
|
}
|
|
2235
2235
|
function re(e = {}) {
|
|
2236
|
-
const t =
|
|
2236
|
+
const t = o({
|
|
2237
2237
|
...e,
|
|
2238
2238
|
queryKey: ["solutions", "list"],
|
|
2239
2239
|
queryFn: async () => r.solutions.getSolutionList()
|
|
@@ -2245,599 +2245,606 @@ function re(e = {}) {
|
|
|
2245
2245
|
refetch: t.refetch
|
|
2246
2246
|
};
|
|
2247
2247
|
}
|
|
2248
|
-
function
|
|
2249
|
-
const
|
|
2250
|
-
return
|
|
2248
|
+
function ue(e, t, n = {}) {
|
|
2249
|
+
const u = e?.trim();
|
|
2250
|
+
return o({
|
|
2251
2251
|
...n,
|
|
2252
|
-
queryKey: ["versioning", "branches",
|
|
2253
|
-
queryFn: async () => r.versioning.getBranches({ solutionId:
|
|
2254
|
-
enabled: !!
|
|
2252
|
+
queryKey: ["versioning", "branches", u, t],
|
|
2253
|
+
queryFn: async () => r.versioning.getBranches({ solutionId: u, branchType: t }),
|
|
2254
|
+
enabled: !!u
|
|
2255
2255
|
});
|
|
2256
2256
|
}
|
|
2257
|
-
function
|
|
2258
|
-
const { solutions: e, isLoading: t } = re(), [n,
|
|
2257
|
+
function Yr() {
|
|
2258
|
+
const { solutions: e, isLoading: t } = re(), [n, u] = q(void 0), [s, i] = q(
|
|
2259
2259
|
void 0
|
|
2260
|
-
), c =
|
|
2261
|
-
|
|
2262
|
-
},
|
|
2260
|
+
), c = ue(n), l = c.data ?? [], f = (m) => {
|
|
2261
|
+
u(m), i(void 0);
|
|
2262
|
+
}, g = h(
|
|
2263
2263
|
() => e.find((m) => m.id === n),
|
|
2264
2264
|
[e, n]
|
|
2265
2265
|
);
|
|
2266
2266
|
return {
|
|
2267
2267
|
solutions: e,
|
|
2268
|
-
selectedSolution:
|
|
2268
|
+
selectedSolution: g,
|
|
2269
2269
|
selectedSolutionId: n,
|
|
2270
|
-
selectSolution:
|
|
2270
|
+
selectSolution: f,
|
|
2271
2271
|
branches: l,
|
|
2272
|
-
selectedBranch:
|
|
2272
|
+
selectedBranch: s,
|
|
2273
2273
|
selectBranch: i,
|
|
2274
2274
|
isLoadingSolutions: t,
|
|
2275
2275
|
isLoadingBranches: c.isLoading
|
|
2276
2276
|
};
|
|
2277
2277
|
}
|
|
2278
|
-
function
|
|
2279
|
-
const
|
|
2280
|
-
return
|
|
2281
|
-
...
|
|
2282
|
-
queryKey: ["versioning", "commits",
|
|
2278
|
+
function Zr(e, t, n, u = {}) {
|
|
2279
|
+
const s = e?.trim(), i = t?.trim();
|
|
2280
|
+
return o({
|
|
2281
|
+
...u,
|
|
2282
|
+
queryKey: ["versioning", "commits", s, i, n],
|
|
2283
2283
|
queryFn: async () => r.versioning.listCommits({
|
|
2284
|
-
solutionId:
|
|
2284
|
+
solutionId: s,
|
|
2285
2285
|
branch: i,
|
|
2286
2286
|
branchType: n
|
|
2287
2287
|
}),
|
|
2288
|
-
enabled: !!
|
|
2288
|
+
enabled: !!s && !!i
|
|
2289
2289
|
});
|
|
2290
2290
|
}
|
|
2291
|
-
function
|
|
2291
|
+
function eu(e, t = {}) {
|
|
2292
2292
|
const n = e?.trim();
|
|
2293
|
-
return
|
|
2293
|
+
return o({
|
|
2294
2294
|
...t,
|
|
2295
2295
|
queryKey: ["versioning", "tags", n],
|
|
2296
2296
|
queryFn: async () => r.versioning.listTags({ solutionId: n }),
|
|
2297
2297
|
enabled: !!n
|
|
2298
2298
|
});
|
|
2299
2299
|
}
|
|
2300
|
-
function
|
|
2301
|
-
return
|
|
2300
|
+
function tu(e = {}) {
|
|
2301
|
+
return a({
|
|
2302
2302
|
mutationFn: async (t) => r.versioning.commitChanges(t, { approve: !0 }),
|
|
2303
2303
|
...e
|
|
2304
2304
|
});
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2307
|
-
return
|
|
2306
|
+
function nu(e = {}) {
|
|
2307
|
+
return a({
|
|
2308
2308
|
mutationFn: async (t) => r.versioning.mergeBranches(t, { approve: !0 }),
|
|
2309
2309
|
...e
|
|
2310
2310
|
});
|
|
2311
2311
|
}
|
|
2312
|
-
function
|
|
2313
|
-
return
|
|
2312
|
+
function ru(e = {}) {
|
|
2313
|
+
return a({
|
|
2314
2314
|
mutationFn: async (t) => r.versioning.pushBranch(t, { approve: !0 }),
|
|
2315
2315
|
...e
|
|
2316
2316
|
});
|
|
2317
2317
|
}
|
|
2318
|
-
function
|
|
2319
|
-
return
|
|
2318
|
+
function uu(e = {}) {
|
|
2319
|
+
return a({
|
|
2320
2320
|
mutationFn: async (t) => r.versioning.createBranch(t, { approve: !0 }),
|
|
2321
2321
|
...e
|
|
2322
2322
|
});
|
|
2323
2323
|
}
|
|
2324
|
-
function
|
|
2325
|
-
return
|
|
2324
|
+
function au(e = {}) {
|
|
2325
|
+
return a({
|
|
2326
2326
|
mutationFn: async (t) => r.externalApps.create(t, { approve: !0 }),
|
|
2327
2327
|
...e
|
|
2328
2328
|
});
|
|
2329
2329
|
}
|
|
2330
|
-
function
|
|
2331
|
-
return
|
|
2330
|
+
function su(e, t = {}) {
|
|
2331
|
+
return a({
|
|
2332
2332
|
mutationFn: async (n) => r.externalApps.setEnv(e, n, { approve: !0 }),
|
|
2333
2333
|
...t
|
|
2334
2334
|
});
|
|
2335
2335
|
}
|
|
2336
|
-
function
|
|
2337
|
-
return
|
|
2336
|
+
function ou(e, t = {}) {
|
|
2337
|
+
return a({
|
|
2338
2338
|
mutationFn: async (n) => r.externalApps.setSchemaMap(e, n, { approve: !0 }),
|
|
2339
2339
|
...t
|
|
2340
2340
|
});
|
|
2341
2341
|
}
|
|
2342
|
-
function
|
|
2343
|
-
return
|
|
2342
|
+
function iu(e, t = {}) {
|
|
2343
|
+
return a({
|
|
2344
2344
|
mutationFn: async (n) => r.externalApps.setAccessControl(e, n, { approve: !0 }),
|
|
2345
2345
|
...t
|
|
2346
2346
|
});
|
|
2347
2347
|
}
|
|
2348
|
-
function
|
|
2349
|
-
return
|
|
2348
|
+
function cu(e = {}) {
|
|
2349
|
+
return a({
|
|
2350
2350
|
mutationFn: async (t) => r.externalApps.validateUrl(t),
|
|
2351
2351
|
...e
|
|
2352
2352
|
});
|
|
2353
2353
|
}
|
|
2354
|
-
function
|
|
2355
|
-
return
|
|
2354
|
+
function lu(e = {}) {
|
|
2355
|
+
return a({
|
|
2356
2356
|
mutationFn: async (t) => r.solutions.create(t, { approve: !0 }),
|
|
2357
2357
|
...e
|
|
2358
2358
|
});
|
|
2359
2359
|
}
|
|
2360
|
-
function
|
|
2361
|
-
return
|
|
2360
|
+
function yu(e = {}) {
|
|
2361
|
+
return o({
|
|
2362
2362
|
...e,
|
|
2363
2363
|
queryKey: ["solutions", "packagableComponents"],
|
|
2364
2364
|
queryFn: async () => r.solutions.packagableComponents()
|
|
2365
2365
|
});
|
|
2366
2366
|
}
|
|
2367
|
-
function
|
|
2368
|
-
return
|
|
2367
|
+
function du(e, t = {}) {
|
|
2368
|
+
return a({
|
|
2369
2369
|
mutationFn: async (n) => r.solutions.addObjects(e, n, { approve: !0 }),
|
|
2370
2370
|
...t
|
|
2371
2371
|
});
|
|
2372
2372
|
}
|
|
2373
|
-
function
|
|
2374
|
-
return
|
|
2373
|
+
function pu(e, t = {}) {
|
|
2374
|
+
return a({
|
|
2375
2375
|
mutationFn: async (n = {}) => r.solutions.validate(e, n),
|
|
2376
2376
|
...t
|
|
2377
2377
|
});
|
|
2378
2378
|
}
|
|
2379
|
-
function
|
|
2380
|
-
return
|
|
2379
|
+
function fu(e, t = {}) {
|
|
2380
|
+
return a({
|
|
2381
2381
|
mutationFn: async (n) => r.solutions.publish(e, n, { approve: !0 }),
|
|
2382
2382
|
...t
|
|
2383
2383
|
});
|
|
2384
2384
|
}
|
|
2385
|
-
function
|
|
2385
|
+
function gu(e, t = {}) {
|
|
2386
2386
|
const n = e?.trim();
|
|
2387
|
-
return
|
|
2387
|
+
return o({
|
|
2388
2388
|
...t,
|
|
2389
2389
|
queryKey: ["solutions", "publishJob", n],
|
|
2390
2390
|
queryFn: async () => r.solutions.publishJob(n),
|
|
2391
2391
|
enabled: !!n
|
|
2392
2392
|
});
|
|
2393
2393
|
}
|
|
2394
|
-
function
|
|
2395
|
-
return
|
|
2394
|
+
function mu(e = {}) {
|
|
2395
|
+
return a({
|
|
2396
2396
|
mutationFn: async (t) => r.workbooks.create(t, { approve: !0 }),
|
|
2397
2397
|
...e
|
|
2398
2398
|
});
|
|
2399
2399
|
}
|
|
2400
|
-
function
|
|
2401
|
-
return
|
|
2400
|
+
function bu(e = {}) {
|
|
2401
|
+
return a({
|
|
2402
2402
|
mutationFn: async (t) => r.connections.createSftpConnection(t, { approve: !0 }),
|
|
2403
2403
|
...e
|
|
2404
2404
|
});
|
|
2405
2405
|
}
|
|
2406
|
-
function
|
|
2407
|
-
return
|
|
2406
|
+
function Fu(e = {}) {
|
|
2407
|
+
return a({
|
|
2408
2408
|
mutationFn: async (t) => r.connections.createEmailConnection(t, { approve: !0 }),
|
|
2409
2409
|
...e
|
|
2410
2410
|
});
|
|
2411
2411
|
}
|
|
2412
|
-
function
|
|
2413
|
-
return
|
|
2412
|
+
function wu(e = {}) {
|
|
2413
|
+
return a({
|
|
2414
2414
|
mutationFn: async (t) => r.connections.createBlobConnection(t, { approve: !0 }),
|
|
2415
2415
|
...e
|
|
2416
2416
|
});
|
|
2417
2417
|
}
|
|
2418
|
-
function
|
|
2419
|
-
return
|
|
2418
|
+
function qu(e, t, n = {}) {
|
|
2419
|
+
return o({
|
|
2420
2420
|
...n,
|
|
2421
2421
|
queryKey: ["connections", "test", e, t],
|
|
2422
2422
|
queryFn: async () => r.connections.testConnection(e, t)
|
|
2423
2423
|
});
|
|
2424
2424
|
}
|
|
2425
|
-
function
|
|
2426
|
-
return
|
|
2425
|
+
function hu(e, t = {}) {
|
|
2426
|
+
return o({
|
|
2427
2427
|
...t,
|
|
2428
2428
|
queryKey: ["connections", "list", e],
|
|
2429
2429
|
queryFn: async () => r.connections.listConnections(e)
|
|
2430
2430
|
});
|
|
2431
2431
|
}
|
|
2432
|
-
function
|
|
2433
|
-
return
|
|
2432
|
+
function Tu(e = {}) {
|
|
2433
|
+
return a({
|
|
2434
2434
|
mutationFn: async (t) => r.ingestion.createDatabox(t, { approve: !0 }),
|
|
2435
2435
|
...e
|
|
2436
2436
|
});
|
|
2437
2437
|
}
|
|
2438
|
-
function
|
|
2439
|
-
return
|
|
2438
|
+
function Du(e = {}) {
|
|
2439
|
+
return a({
|
|
2440
2440
|
mutationFn: async (t) => r.ingestion.createFileboxFolder(t, { approve: !0 }),
|
|
2441
2441
|
...e
|
|
2442
2442
|
});
|
|
2443
2443
|
}
|
|
2444
|
-
function
|
|
2445
|
-
return
|
|
2444
|
+
function Cu(e = {}) {
|
|
2445
|
+
return o({
|
|
2446
2446
|
...e,
|
|
2447
2447
|
queryKey: ["ingestion", "databoxes"],
|
|
2448
2448
|
queryFn: async () => r.ingestion.listDataboxes()
|
|
2449
2449
|
});
|
|
2450
2450
|
}
|
|
2451
|
-
function
|
|
2452
|
-
return
|
|
2451
|
+
function ku(e = {}) {
|
|
2452
|
+
return o({
|
|
2453
2453
|
...e,
|
|
2454
2454
|
queryKey: ["ingestion", "fileboxFolders"],
|
|
2455
2455
|
queryFn: async () => r.ingestion.listFileboxFolders()
|
|
2456
2456
|
});
|
|
2457
2457
|
}
|
|
2458
|
-
function
|
|
2459
|
-
return
|
|
2458
|
+
function Su(e = {}, t = {}) {
|
|
2459
|
+
return o({
|
|
2460
2460
|
...t,
|
|
2461
2461
|
queryKey: ["inputTablesV2", "list", e.name],
|
|
2462
2462
|
queryFn: async () => r.inputTableV2.listInputTables(e)
|
|
2463
2463
|
});
|
|
2464
2464
|
}
|
|
2465
|
-
function
|
|
2466
|
-
return
|
|
2465
|
+
function Ru(e, t = {}) {
|
|
2466
|
+
return o({
|
|
2467
2467
|
...t,
|
|
2468
2468
|
queryKey: ["inputTablesV2", "get", e],
|
|
2469
2469
|
queryFn: async () => r.inputTableV2.getInputTable(e)
|
|
2470
2470
|
});
|
|
2471
2471
|
}
|
|
2472
|
-
function
|
|
2473
|
-
return
|
|
2472
|
+
function Ku(e, t = {}) {
|
|
2473
|
+
return a({
|
|
2474
2474
|
mutationFn: async (n) => r.inputTableV2.insertInputTableRows(e.solutionId, e.tableName, n, {
|
|
2475
2475
|
approve: !0
|
|
2476
2476
|
}),
|
|
2477
2477
|
...t
|
|
2478
2478
|
});
|
|
2479
2479
|
}
|
|
2480
|
-
function
|
|
2481
|
-
return
|
|
2480
|
+
function xu(e, t = {}) {
|
|
2481
|
+
return a({
|
|
2482
2482
|
mutationFn: async (n) => r.inputTableV2.updateInputTableRows(e.solutionId, e.tableName, n, {
|
|
2483
2483
|
approve: !0
|
|
2484
2484
|
}),
|
|
2485
2485
|
...t
|
|
2486
2486
|
});
|
|
2487
2487
|
}
|
|
2488
|
-
function
|
|
2489
|
-
return
|
|
2488
|
+
function Pu(e, t = {}) {
|
|
2489
|
+
return a({
|
|
2490
2490
|
mutationFn: async (n) => r.inputTableV2.deleteInputTableRows(e.solutionId, e.tableName, n, {
|
|
2491
2491
|
approve: !0
|
|
2492
2492
|
}),
|
|
2493
2493
|
...t
|
|
2494
2494
|
});
|
|
2495
2495
|
}
|
|
2496
|
-
function
|
|
2497
|
-
return
|
|
2496
|
+
function vu(e = {}) {
|
|
2497
|
+
return a({
|
|
2498
2498
|
mutationFn: async (t) => r.inputTableV2.createInputTable(t, { approve: !0 }),
|
|
2499
2499
|
...e
|
|
2500
2500
|
});
|
|
2501
2501
|
}
|
|
2502
|
-
function
|
|
2503
|
-
return
|
|
2502
|
+
function Iu(e, t = {}) {
|
|
2503
|
+
return a({
|
|
2504
2504
|
mutationFn: async () => r.inputTableV2.deleteInputTable(e.solutionId, e.tableName, { approve: !0 }),
|
|
2505
2505
|
...t
|
|
2506
2506
|
});
|
|
2507
2507
|
}
|
|
2508
|
-
function
|
|
2509
|
-
return
|
|
2508
|
+
function Vu(e, t = {}) {
|
|
2509
|
+
return o({
|
|
2510
2510
|
...t,
|
|
2511
2511
|
queryKey: ["inputTablesV2", "schema", e.solutionId, e.tableName],
|
|
2512
2512
|
queryFn: async () => r.inputTableV2.getInputTableSchema(e.solutionId, e.tableName)
|
|
2513
2513
|
});
|
|
2514
2514
|
}
|
|
2515
|
-
function
|
|
2516
|
-
const { solutionId: n, tableName:
|
|
2517
|
-
return
|
|
2515
|
+
function Eu(e, t = {}) {
|
|
2516
|
+
const { solutionId: n, tableName: u, filter: s, limit: i } = e;
|
|
2517
|
+
return o({
|
|
2518
2518
|
...t,
|
|
2519
|
-
queryKey: ["inputTablesV2", "rows", n,
|
|
2520
|
-
queryFn: async () => r.inputTableV2.readInputTableRows(n,
|
|
2519
|
+
queryKey: ["inputTablesV2", "rows", n, u, s, i],
|
|
2520
|
+
queryFn: async () => r.inputTableV2.readInputTableRows(n, u, { filter: s, limit: i })
|
|
2521
2521
|
});
|
|
2522
2522
|
}
|
|
2523
|
-
function
|
|
2524
|
-
return
|
|
2523
|
+
function Au(e = {}, t = {}) {
|
|
2524
|
+
return o({
|
|
2525
2525
|
...t,
|
|
2526
2526
|
queryKey: ["workflowsV2", "list", e.name],
|
|
2527
2527
|
queryFn: async () => r.workflowV2.listWorkflows(e)
|
|
2528
2528
|
});
|
|
2529
2529
|
}
|
|
2530
|
-
function
|
|
2531
|
-
return
|
|
2530
|
+
function Bu(e, t = {}) {
|
|
2531
|
+
return o({
|
|
2532
2532
|
...t,
|
|
2533
2533
|
queryKey: ["workflowsV2", "get", e],
|
|
2534
2534
|
queryFn: async () => r.workflowV2.getWorkflow(e)
|
|
2535
2535
|
});
|
|
2536
2536
|
}
|
|
2537
|
-
function
|
|
2538
|
-
return
|
|
2537
|
+
function Gu(e = {}) {
|
|
2538
|
+
return a({
|
|
2539
2539
|
mutationFn: async (t) => r.workflowV2.saveWorkflow(t, { approve: !0 }),
|
|
2540
2540
|
...e
|
|
2541
2541
|
});
|
|
2542
2542
|
}
|
|
2543
|
-
function
|
|
2544
|
-
return
|
|
2543
|
+
function Mu(e = {}) {
|
|
2544
|
+
return a({
|
|
2545
2545
|
mutationFn: async (t) => r.processHub.registerTrigger(t, { approve: !0 }),
|
|
2546
2546
|
...e
|
|
2547
2547
|
});
|
|
2548
2548
|
}
|
|
2549
|
-
function
|
|
2550
|
-
return
|
|
2549
|
+
function Ou(e = {}) {
|
|
2550
|
+
return a({
|
|
2551
2551
|
mutationFn: async ({ triggerId: t }) => r.processHub.deleteTrigger(t, { approve: !0 }),
|
|
2552
2552
|
...e
|
|
2553
2553
|
});
|
|
2554
2554
|
}
|
|
2555
|
-
function
|
|
2556
|
-
return
|
|
2555
|
+
function Lu(e = {}) {
|
|
2556
|
+
return a({
|
|
2557
2557
|
mutationFn: async ({ triggerId: t, ...n }) => r.processHub.executeTriggerNow(t, n, { approve: !0 }),
|
|
2558
2558
|
...e
|
|
2559
2559
|
});
|
|
2560
2560
|
}
|
|
2561
|
-
function
|
|
2562
|
-
return
|
|
2561
|
+
function Hu(e = {}) {
|
|
2562
|
+
return a({
|
|
2563
2563
|
mutationFn: async ({ triggerId: t }) => r.processHub.pauseTrigger(t, { approve: !0 }),
|
|
2564
2564
|
...e
|
|
2565
2565
|
});
|
|
2566
2566
|
}
|
|
2567
|
-
function
|
|
2568
|
-
return
|
|
2567
|
+
function Uu(e = {}) {
|
|
2568
|
+
return a({
|
|
2569
2569
|
mutationFn: async ({ triggerId: t }) => r.processHub.resumeTrigger(t, { approve: !0 }),
|
|
2570
2570
|
...e
|
|
2571
2571
|
});
|
|
2572
2572
|
}
|
|
2573
|
-
function
|
|
2574
|
-
return
|
|
2573
|
+
function Qu(e = {}) {
|
|
2574
|
+
return a({
|
|
2575
2575
|
mutationFn: async ({ triggerId: t }) => r.processHub.skipTrigger(t, { approve: !0 }),
|
|
2576
2576
|
...e
|
|
2577
2577
|
});
|
|
2578
2578
|
}
|
|
2579
|
-
function
|
|
2580
|
-
return
|
|
2579
|
+
function Wu(e, t = {}) {
|
|
2580
|
+
return o({
|
|
2581
2581
|
...t,
|
|
2582
2582
|
queryKey: ["processHub", "triggerScheduleStatus", e],
|
|
2583
2583
|
queryFn: async () => r.processHub.triggerScheduleStatus(e)
|
|
2584
2584
|
});
|
|
2585
2585
|
}
|
|
2586
|
-
function
|
|
2587
|
-
return
|
|
2586
|
+
function zu(e, t = {}) {
|
|
2587
|
+
return o({
|
|
2588
2588
|
...t,
|
|
2589
2589
|
queryKey: ["processHub", "upcomingSchedules", e],
|
|
2590
2590
|
queryFn: async () => r.processHub.upcomingSchedules(e)
|
|
2591
2591
|
});
|
|
2592
2592
|
}
|
|
2593
|
-
function
|
|
2594
|
-
return
|
|
2593
|
+
function Nu(e, t = {}) {
|
|
2594
|
+
return o({
|
|
2595
2595
|
...t,
|
|
2596
2596
|
queryKey: ["processHub", "triggersBySheet", e],
|
|
2597
2597
|
queryFn: async () => r.processHub.triggersBySheet(e)
|
|
2598
2598
|
});
|
|
2599
2599
|
}
|
|
2600
|
-
function
|
|
2601
|
-
return
|
|
2600
|
+
function _u(e, t = {}) {
|
|
2601
|
+
return o({
|
|
2602
2602
|
...t,
|
|
2603
2603
|
queryKey: ["processHub", "sheetRuns", e],
|
|
2604
2604
|
queryFn: async () => r.processHub.sheetRuns(e)
|
|
2605
2605
|
});
|
|
2606
2606
|
}
|
|
2607
|
-
function
|
|
2608
|
-
return
|
|
2607
|
+
function ju(e, t = {}) {
|
|
2608
|
+
return o({
|
|
2609
2609
|
...t,
|
|
2610
2610
|
queryKey: ["processHub", "sheetRunStatus", e],
|
|
2611
2611
|
queryFn: async () => r.processHub.sheetRunStatus(e)
|
|
2612
2612
|
});
|
|
2613
2613
|
}
|
|
2614
|
-
function
|
|
2615
|
-
return
|
|
2614
|
+
function Ju(e, t = {}) {
|
|
2615
|
+
return o({
|
|
2616
2616
|
...t,
|
|
2617
2617
|
queryKey: ["datasetsHub", "schema", e],
|
|
2618
2618
|
queryFn: async () => r.datasetsHub.getDatasetSchema(e)
|
|
2619
2619
|
});
|
|
2620
2620
|
}
|
|
2621
|
-
function
|
|
2622
|
-
return
|
|
2621
|
+
function $u(e, t = {}) {
|
|
2622
|
+
return o({
|
|
2623
2623
|
...t,
|
|
2624
2624
|
queryKey: ["datasetsHub", "search", e],
|
|
2625
2625
|
queryFn: async () => r.datasetsHub.searchDatasets(e),
|
|
2626
2626
|
enabled: (t.enabled ?? !0) && !!e
|
|
2627
2627
|
});
|
|
2628
2628
|
}
|
|
2629
|
-
function
|
|
2630
|
-
return
|
|
2629
|
+
function Xu(e, t, n = {}) {
|
|
2630
|
+
return o({
|
|
2631
2631
|
...n,
|
|
2632
2632
|
queryKey: ["datasetsHub", "stats", e, t],
|
|
2633
2633
|
queryFn: async () => r.datasetsHub.getDatasetStats(e, t)
|
|
2634
2634
|
});
|
|
2635
2635
|
}
|
|
2636
|
-
function
|
|
2637
|
-
return
|
|
2636
|
+
function Yu(e = {}, t = {}) {
|
|
2637
|
+
return o({
|
|
2638
2638
|
...t,
|
|
2639
2639
|
queryKey: ["virtualDatasets", "list", e.name],
|
|
2640
2640
|
queryFn: async () => r.virtualDatasets.listVirtualDatasets(e)
|
|
2641
2641
|
});
|
|
2642
2642
|
}
|
|
2643
|
-
function
|
|
2644
|
-
return
|
|
2643
|
+
function Zu(e, t = {}) {
|
|
2644
|
+
return o({
|
|
2645
2645
|
...t,
|
|
2646
2646
|
queryKey: ["virtualDatasets", "get", e],
|
|
2647
2647
|
queryFn: async () => r.virtualDatasets.getVirtualDataset(e)
|
|
2648
2648
|
});
|
|
2649
2649
|
}
|
|
2650
|
-
function
|
|
2651
|
-
return
|
|
2650
|
+
function ea(e = {}) {
|
|
2651
|
+
return a({
|
|
2652
2652
|
mutationFn: async (t) => r.virtualDatasets.createVirtualDataset(t, { approve: !0 }),
|
|
2653
2653
|
...e
|
|
2654
2654
|
});
|
|
2655
2655
|
}
|
|
2656
|
-
function
|
|
2656
|
+
function ta(e = {}) {
|
|
2657
2657
|
const t = p();
|
|
2658
|
-
return
|
|
2658
|
+
return a({
|
|
2659
2659
|
mutationFn: async (n) => r.virtualDatasets.deleteVirtualDataset(n, {
|
|
2660
2660
|
approve: !0
|
|
2661
2661
|
}),
|
|
2662
2662
|
...e,
|
|
2663
|
-
onSuccess: (n,
|
|
2664
|
-
t.invalidateQueries({ queryKey: ["virtualDatasets"] }), e.onSuccess?.(n,
|
|
2663
|
+
onSuccess: (n, u, s) => {
|
|
2664
|
+
t.invalidateQueries({ queryKey: ["virtualDatasets"] }), e.onSuccess?.(n, u, s);
|
|
2665
2665
|
}
|
|
2666
2666
|
});
|
|
2667
2667
|
}
|
|
2668
|
-
function
|
|
2668
|
+
function na(e = {}) {
|
|
2669
2669
|
const t = p();
|
|
2670
|
-
return
|
|
2670
|
+
return a({
|
|
2671
2671
|
mutationFn: async (n) => r.virtualDatasets.ensureVirtualDatasets(n, {
|
|
2672
2672
|
approve: !0
|
|
2673
2673
|
}),
|
|
2674
2674
|
...e,
|
|
2675
|
-
onSuccess: (n,
|
|
2676
|
-
t.invalidateQueries({ queryKey: ["virtualDatasets"] }), e.onSuccess?.(n,
|
|
2675
|
+
onSuccess: (n, u, s) => {
|
|
2676
|
+
t.invalidateQueries({ queryKey: ["virtualDatasets"] }), e.onSuccess?.(n, u, s);
|
|
2677
2677
|
}
|
|
2678
2678
|
});
|
|
2679
2679
|
}
|
|
2680
|
-
function
|
|
2681
|
-
return
|
|
2680
|
+
function ra(e = {}, t = {}) {
|
|
2681
|
+
return o({
|
|
2682
2682
|
...t,
|
|
2683
2683
|
queryKey: ["workbooksHub", "list", e.name, e.type],
|
|
2684
2684
|
queryFn: async () => r.workbooks.listWorkbooks(e)
|
|
2685
2685
|
});
|
|
2686
2686
|
}
|
|
2687
|
-
function
|
|
2688
|
-
return
|
|
2687
|
+
function ua(e, t = {}) {
|
|
2688
|
+
return o({
|
|
2689
2689
|
...t,
|
|
2690
2690
|
queryKey: ["workbooksHub", "get", e],
|
|
2691
2691
|
queryFn: async () => r.workbooks.getWorkbook(e)
|
|
2692
2692
|
});
|
|
2693
2693
|
}
|
|
2694
|
-
function
|
|
2695
|
-
return
|
|
2694
|
+
function aa(e = {}, t = {}) {
|
|
2695
|
+
return o({
|
|
2696
2696
|
...t,
|
|
2697
2697
|
queryKey: ["exportConfigs", "list", e.name],
|
|
2698
2698
|
queryFn: async () => r.exportConfig.listExportConfigs(e)
|
|
2699
2699
|
});
|
|
2700
2700
|
}
|
|
2701
|
-
function
|
|
2702
|
-
return
|
|
2701
|
+
function sa(e, t = {}) {
|
|
2702
|
+
return o({
|
|
2703
2703
|
...t,
|
|
2704
2704
|
queryKey: ["exportConfigs", "get", e],
|
|
2705
2705
|
queryFn: async () => r.exportConfig.getExportConfig(e)
|
|
2706
2706
|
});
|
|
2707
2707
|
}
|
|
2708
|
-
function
|
|
2709
|
-
return
|
|
2708
|
+
function oa(e = {}) {
|
|
2709
|
+
return a({
|
|
2710
2710
|
mutationFn: async (t) => r.exportConfig.createExportConfig(t, { approve: !0 }),
|
|
2711
2711
|
...e
|
|
2712
2712
|
});
|
|
2713
2713
|
}
|
|
2714
|
-
function
|
|
2715
|
-
return
|
|
2714
|
+
function ia(e, t = {}) {
|
|
2715
|
+
return a({
|
|
2716
2716
|
mutationFn: async (n) => r.exportConfig.updateExportConfig(e, n, { approve: !0 }),
|
|
2717
2717
|
...t
|
|
2718
2718
|
});
|
|
2719
2719
|
}
|
|
2720
|
-
function
|
|
2721
|
-
return
|
|
2720
|
+
function ca(e, t = {}) {
|
|
2721
|
+
return a({
|
|
2722
2722
|
mutationFn: async (n = {}) => r.exportConfig.runExportConfig(e, n, { approve: !0 }),
|
|
2723
2723
|
...t
|
|
2724
2724
|
});
|
|
2725
2725
|
}
|
|
2726
|
-
function
|
|
2727
|
-
return
|
|
2726
|
+
function la(e, t = {}) {
|
|
2727
|
+
return o({
|
|
2728
|
+
...t,
|
|
2729
|
+
queryKey: ["exportResults", "list", e],
|
|
2730
|
+
queryFn: async () => r.exportConfig.listExportResults(e)
|
|
2731
|
+
});
|
|
2732
|
+
}
|
|
2733
|
+
function ya(e = {}, t = {}) {
|
|
2734
|
+
return o({
|
|
2728
2735
|
...t,
|
|
2729
2736
|
queryKey: ["dashboards", "list", e.name],
|
|
2730
2737
|
queryFn: async () => r.dashboards.listDashboards(e)
|
|
2731
2738
|
});
|
|
2732
2739
|
}
|
|
2733
|
-
function
|
|
2734
|
-
return
|
|
2740
|
+
function da(e, t = {}) {
|
|
2741
|
+
return o({
|
|
2735
2742
|
...t,
|
|
2736
2743
|
queryKey: ["dashboards", "get", e],
|
|
2737
2744
|
queryFn: async () => r.dashboards.getDashboard(e)
|
|
2738
2745
|
});
|
|
2739
2746
|
}
|
|
2740
|
-
function
|
|
2741
|
-
return
|
|
2747
|
+
function pa(e = {}) {
|
|
2748
|
+
return a({
|
|
2742
2749
|
mutationFn: async (t) => r.dashboards.createDashboard(t, { approve: !0 }),
|
|
2743
2750
|
...e
|
|
2744
2751
|
});
|
|
2745
2752
|
}
|
|
2746
|
-
function
|
|
2747
|
-
return
|
|
2753
|
+
function fa(e, t = {}) {
|
|
2754
|
+
return a({
|
|
2748
2755
|
mutationFn: async (n) => r.dashboards.addDashboardWidget(e, n, { approve: !0 }),
|
|
2749
2756
|
...t
|
|
2750
2757
|
});
|
|
2751
2758
|
}
|
|
2752
|
-
function
|
|
2753
|
-
return
|
|
2754
|
-
mutationFn: async (
|
|
2759
|
+
function ga(e, t, n = {}) {
|
|
2760
|
+
return a({
|
|
2761
|
+
mutationFn: async (u) => r.dashboards.updateDashboardWidget(e, t, u, { approve: !0 }),
|
|
2755
2762
|
...n
|
|
2756
2763
|
});
|
|
2757
2764
|
}
|
|
2758
|
-
function
|
|
2759
|
-
return
|
|
2765
|
+
function ma(e, t, n = {}) {
|
|
2766
|
+
return a({
|
|
2760
2767
|
mutationFn: async () => r.dashboards.removeDashboardWidget(e, t, { approve: !0 }),
|
|
2761
2768
|
...n
|
|
2762
2769
|
});
|
|
2763
2770
|
}
|
|
2764
|
-
function
|
|
2765
|
-
return
|
|
2771
|
+
function ba(e = {}, t = {}) {
|
|
2772
|
+
return o({
|
|
2766
2773
|
...t,
|
|
2767
2774
|
queryKey: ["httpTriggersHub", "list", e.name],
|
|
2768
2775
|
queryFn: async () => r.httpTriggersHub.listHttpTriggers(e)
|
|
2769
2776
|
});
|
|
2770
2777
|
}
|
|
2771
|
-
function
|
|
2772
|
-
return
|
|
2778
|
+
function Fa(e, t = {}) {
|
|
2779
|
+
return o({
|
|
2773
2780
|
...t,
|
|
2774
2781
|
queryKey: ["httpTriggersHub", "get", e],
|
|
2775
2782
|
queryFn: async () => r.httpTriggersHub.getHttpTrigger(e)
|
|
2776
2783
|
});
|
|
2777
2784
|
}
|
|
2778
|
-
function
|
|
2779
|
-
return
|
|
2785
|
+
function wa(e = {}) {
|
|
2786
|
+
return o({
|
|
2780
2787
|
...e,
|
|
2781
2788
|
queryKey: ["policies", "list"],
|
|
2782
2789
|
queryFn: async () => r.policies.listPolicies()
|
|
2783
2790
|
});
|
|
2784
2791
|
}
|
|
2785
|
-
function
|
|
2786
|
-
return
|
|
2792
|
+
function qa(e, t = {}) {
|
|
2793
|
+
return o({
|
|
2787
2794
|
...t,
|
|
2788
2795
|
enabled: (t.enabled ?? !0) && !!e,
|
|
2789
2796
|
queryKey: ["policies", "get", e],
|
|
2790
2797
|
queryFn: async () => r.policies.getPolicy(e)
|
|
2791
2798
|
});
|
|
2792
2799
|
}
|
|
2793
|
-
function
|
|
2800
|
+
function ha(e = {}) {
|
|
2794
2801
|
const t = p();
|
|
2795
|
-
return
|
|
2796
|
-
mutationFn: async ({ formData: n, existing:
|
|
2802
|
+
return a({
|
|
2803
|
+
mutationFn: async ({ formData: n, existing: u }) => r.policies.savePolicy(n, u),
|
|
2797
2804
|
...e,
|
|
2798
|
-
onSuccess: (n,
|
|
2799
|
-
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n,
|
|
2805
|
+
onSuccess: (n, u, s) => {
|
|
2806
|
+
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u, s);
|
|
2800
2807
|
}
|
|
2801
2808
|
});
|
|
2802
2809
|
}
|
|
2803
|
-
function
|
|
2810
|
+
function Ta(e = {}) {
|
|
2804
2811
|
const t = p();
|
|
2805
|
-
return
|
|
2812
|
+
return a({
|
|
2806
2813
|
mutationFn: async (n) => r.policies.publishPolicy(n),
|
|
2807
2814
|
...e,
|
|
2808
|
-
onSuccess: (n,
|
|
2809
|
-
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n,
|
|
2815
|
+
onSuccess: (n, u, s) => {
|
|
2816
|
+
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u, s);
|
|
2810
2817
|
}
|
|
2811
2818
|
});
|
|
2812
2819
|
}
|
|
2813
|
-
function
|
|
2820
|
+
function Da(e = {}) {
|
|
2814
2821
|
const t = p();
|
|
2815
|
-
return
|
|
2822
|
+
return a({
|
|
2816
2823
|
mutationFn: async (n) => r.policies.deletePolicy(n),
|
|
2817
2824
|
...e,
|
|
2818
|
-
onSuccess: (n,
|
|
2819
|
-
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n,
|
|
2825
|
+
onSuccess: (n, u, s) => {
|
|
2826
|
+
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u, s);
|
|
2820
2827
|
}
|
|
2821
2828
|
});
|
|
2822
2829
|
}
|
|
2823
|
-
function
|
|
2830
|
+
function Ca(e = {}) {
|
|
2824
2831
|
const t = p();
|
|
2825
|
-
return
|
|
2832
|
+
return a({
|
|
2826
2833
|
mutationFn: async (n) => r.policies.duplicatePolicy(n),
|
|
2827
2834
|
...e,
|
|
2828
|
-
onSuccess: (n,
|
|
2829
|
-
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n,
|
|
2835
|
+
onSuccess: (n, u, s) => {
|
|
2836
|
+
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u, s);
|
|
2830
2837
|
}
|
|
2831
2838
|
});
|
|
2832
2839
|
}
|
|
2833
|
-
function
|
|
2834
|
-
return
|
|
2840
|
+
function ka(e = {}) {
|
|
2841
|
+
return a({
|
|
2835
2842
|
mutationFn: async ({ policyId: t, request: n }) => r.policies.evaluatePolicy(t, n),
|
|
2836
2843
|
...e
|
|
2837
2844
|
});
|
|
2838
2845
|
}
|
|
2839
|
-
function
|
|
2840
|
-
return
|
|
2846
|
+
function Sa(e = {}) {
|
|
2847
|
+
return o({
|
|
2841
2848
|
staleTime: 3600 * 1e3,
|
|
2842
2849
|
// 1h — catalog rarely changes
|
|
2843
2850
|
...e,
|
|
@@ -2845,311 +2852,420 @@ function Tu(e = {}) {
|
|
|
2845
2852
|
queryFn: async () => r.fx.getFxHelp()
|
|
2846
2853
|
});
|
|
2847
2854
|
}
|
|
2848
|
-
function
|
|
2849
|
-
return
|
|
2855
|
+
function Ra(e = {}) {
|
|
2856
|
+
return o({
|
|
2857
|
+
...e,
|
|
2858
|
+
queryKey: ["checklists", "list"],
|
|
2859
|
+
queryFn: async () => r.checklists.getChecklists()
|
|
2860
|
+
});
|
|
2861
|
+
}
|
|
2862
|
+
function Ka(e, t = {}) {
|
|
2863
|
+
return o({
|
|
2864
|
+
...t,
|
|
2865
|
+
enabled: (t.enabled ?? !0) && !!e,
|
|
2866
|
+
queryKey: ["checklists", "get", e],
|
|
2867
|
+
queryFn: async () => r.checklists.getChecklistById(e)
|
|
2868
|
+
});
|
|
2869
|
+
}
|
|
2870
|
+
function ae(e, t = {}) {
|
|
2871
|
+
return o({
|
|
2872
|
+
...t,
|
|
2873
|
+
enabled: (t.enabled ?? !0) && !!e,
|
|
2874
|
+
queryKey: ["checklists", "releases", e],
|
|
2875
|
+
queryFn: async () => r.checklists.getReleasedChecklists(e)
|
|
2876
|
+
});
|
|
2877
|
+
}
|
|
2878
|
+
function se(e, t, n = {}) {
|
|
2879
|
+
return o({
|
|
2880
|
+
...n,
|
|
2881
|
+
enabled: (n.enabled ?? !0) && !!e && !!t,
|
|
2882
|
+
queryKey: ["checklists", "release", e, t],
|
|
2883
|
+
queryFn: async () => r.checklists.getReleasedChecklistByRunId(e, t)
|
|
2884
|
+
});
|
|
2885
|
+
}
|
|
2886
|
+
const xa = ae, Pa = se;
|
|
2887
|
+
function va(e = {}) {
|
|
2888
|
+
const t = p();
|
|
2889
|
+
return a({
|
|
2890
|
+
...e,
|
|
2891
|
+
mutationFn: async ({ workbook: n, existing: u }) => r.checklists.saveChecklist(n, u),
|
|
2892
|
+
onSuccess: (...n) => {
|
|
2893
|
+
t.invalidateQueries({ queryKey: ["checklists"] }), e.onSuccess?.(...n);
|
|
2894
|
+
}
|
|
2895
|
+
});
|
|
2896
|
+
}
|
|
2897
|
+
function Ia(e = {}) {
|
|
2898
|
+
const t = p();
|
|
2899
|
+
return a({
|
|
2900
|
+
...e,
|
|
2901
|
+
mutationFn: async (n) => r.checklists.createChecklist(n),
|
|
2902
|
+
onSuccess: (...n) => {
|
|
2903
|
+
t.invalidateQueries({ queryKey: ["checklists"] }), e.onSuccess?.(...n);
|
|
2904
|
+
}
|
|
2905
|
+
});
|
|
2906
|
+
}
|
|
2907
|
+
function Va(e = {}) {
|
|
2908
|
+
const t = p();
|
|
2909
|
+
return a({
|
|
2910
|
+
...e,
|
|
2911
|
+
mutationFn: async ({ id: n, workbook: u }) => r.checklists.updateChecklist(n, u),
|
|
2912
|
+
onSuccess: (...n) => {
|
|
2913
|
+
t.invalidateQueries({ queryKey: ["checklists"] }), e.onSuccess?.(...n);
|
|
2914
|
+
}
|
|
2915
|
+
});
|
|
2916
|
+
}
|
|
2917
|
+
function Ea(e = {}) {
|
|
2918
|
+
const t = p();
|
|
2919
|
+
return a({
|
|
2920
|
+
...e,
|
|
2921
|
+
mutationFn: async (n) => r.checklists.deleteChecklistById(n),
|
|
2922
|
+
onSuccess: (...n) => {
|
|
2923
|
+
t.invalidateQueries({ queryKey: ["checklists"] }), e.onSuccess?.(...n);
|
|
2924
|
+
}
|
|
2925
|
+
});
|
|
2926
|
+
}
|
|
2927
|
+
function Aa(e = {}) {
|
|
2928
|
+
const t = p();
|
|
2929
|
+
return a({
|
|
2930
|
+
...e,
|
|
2931
|
+
mutationFn: async ({ id: n, comment: u }) => r.checklists.publishChecklist(n, u ?? ""),
|
|
2932
|
+
onSuccess: (...n) => {
|
|
2933
|
+
t.invalidateQueries({ queryKey: ["checklists"] }), e.onSuccess?.(...n);
|
|
2934
|
+
}
|
|
2935
|
+
});
|
|
2936
|
+
}
|
|
2937
|
+
function oe(e = {}) {
|
|
2938
|
+
const t = p();
|
|
2939
|
+
return a({
|
|
2940
|
+
...e,
|
|
2941
|
+
mutationFn: async ({ id: n, request: u }) => r.checklists.releaseChecklist(n, u ?? {}),
|
|
2942
|
+
onSuccess: (n, u, ...s) => {
|
|
2943
|
+
t.invalidateQueries({
|
|
2944
|
+
queryKey: ["checklists", "releases", u.id]
|
|
2945
|
+
}), e.onSuccess?.(n, u, ...s);
|
|
2946
|
+
}
|
|
2947
|
+
});
|
|
2948
|
+
}
|
|
2949
|
+
const Ba = oe;
|
|
2950
|
+
function Ga(e, t = {}) {
|
|
2951
|
+
return a({
|
|
2850
2952
|
mutationFn: async (n) => r.solutions.setSolutionSeedData(e, n, { approve: !0 }),
|
|
2851
2953
|
...t
|
|
2852
2954
|
});
|
|
2853
2955
|
}
|
|
2854
2956
|
export {
|
|
2855
|
-
|
|
2957
|
+
Ha as ReactQueryDevtools,
|
|
2856
2958
|
H as WorkflowStatus,
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2959
|
+
ce as reactQuery,
|
|
2960
|
+
fa as useAddDashboardWidget,
|
|
2961
|
+
du as useAddSolutionObjects,
|
|
2962
|
+
nn as useBulkCheckCustomPermissions,
|
|
2963
|
+
en as useBulkUpdateCustomObjectPermissions,
|
|
2964
|
+
Pn as useCancelInboxItem,
|
|
2965
|
+
Vn as useCancelInboxItemsByKey,
|
|
2966
|
+
tn as useCheckCustomPermissions,
|
|
2967
|
+
he as useCheckSubscriptionStatus,
|
|
2968
|
+
Ka as useChecklist,
|
|
2969
|
+
Pa as useChecklistRun,
|
|
2970
|
+
xa as useChecklistRuns,
|
|
2971
|
+
Ra as useChecklists,
|
|
2972
|
+
Rn as useClaimInboxItem,
|
|
2973
|
+
tu as useCommitChanges,
|
|
2974
|
+
Kn as useCompleteInboxItem,
|
|
2975
|
+
In as useCompleteInboxItemsByKey,
|
|
2976
|
+
dt as useCreateAuditLog,
|
|
2977
|
+
wu as useCreateBlobConnection,
|
|
2978
|
+
uu as useCreateBranch,
|
|
2979
|
+
Ia as useCreateChecklist,
|
|
2980
|
+
Bn as useCreateConversation,
|
|
2981
|
+
pa as useCreateDashboard,
|
|
2982
|
+
Tu as useCreateDatabox,
|
|
2983
|
+
Fu as useCreateEmailConnection,
|
|
2984
|
+
oa as useCreateExportConfig,
|
|
2985
|
+
au as useCreateExternalApp,
|
|
2986
|
+
Du as useCreateFileboxFolder,
|
|
2987
|
+
Kr as useCreateFiscalCalendar,
|
|
2988
|
+
Vr as useCreateHolidayCalendar,
|
|
2989
|
+
hn as useCreateInboxItem,
|
|
2990
|
+
pn as useCreateInboxItemPerUser,
|
|
2991
|
+
mn as useCreateInboxType,
|
|
2992
|
+
vu as useCreateInputTable,
|
|
2993
|
+
lt as useCreateOrUpdateForm,
|
|
2994
|
+
Lt as useCreateOrUpdateProcessTreeTrigger,
|
|
2995
|
+
W as useCreateReconV2,
|
|
2996
|
+
bu as useCreateSftpConnection,
|
|
2997
|
+
lu as useCreateSolution,
|
|
2998
|
+
Te as useCreateStatementRun,
|
|
2999
|
+
fe as useCreateThread,
|
|
3000
|
+
ea as useCreateVirtualDataset,
|
|
3001
|
+
mu as useCreateWorkbook,
|
|
3002
|
+
Jr as useCreateWorkingPaper,
|
|
3003
|
+
Xt as useCustomAuthzModel,
|
|
3004
|
+
on as useCustomObjects,
|
|
3005
|
+
cn as useCustomObjectsOfType,
|
|
3006
|
+
un as useCustomTypeMetadata,
|
|
3007
|
+
rn as useCustomTypeMetadataList,
|
|
3008
|
+
De as useDataset,
|
|
3009
|
+
pe as useDatasetSample,
|
|
3010
|
+
Ju as useDatasetSchema,
|
|
3011
|
+
Xu as useDatasetStats,
|
|
3012
|
+
Ea as useDeleteChecklist,
|
|
3013
|
+
Fe as useDeleteComment,
|
|
3014
|
+
sn as useDeleteCustomTypeMetadata,
|
|
3015
|
+
Pr as useDeleteFiscalCalendar,
|
|
3016
|
+
Ar as useDeleteHolidayCalendar,
|
|
3017
|
+
Fn as useDeleteInboxType,
|
|
3018
|
+
Iu as useDeleteInputTable,
|
|
3019
|
+
Pu as useDeleteInputTableRows,
|
|
3020
|
+
Da as useDeletePolicy,
|
|
3021
|
+
zt as useDeleteProcessTreeTrigger,
|
|
3022
|
+
At as useDeleteProcessTrigger,
|
|
3023
|
+
gt as useDeleteReconV2,
|
|
3024
|
+
ze as useDeleteRow,
|
|
3025
|
+
Ou as useDeleteTrigger,
|
|
3026
|
+
ta as useDeleteVirtualDataset,
|
|
3027
|
+
at as useDeleteWorkbook,
|
|
3028
|
+
Sn as useDismissInboxItem,
|
|
3029
|
+
Ye as useDocumentPermissions,
|
|
3030
|
+
qr as useDropFileToDatabox,
|
|
3031
|
+
Ca as useDuplicatePolicy,
|
|
3032
|
+
na as useEnsureVirtualDatasets,
|
|
3033
|
+
ka as useEvaluatePolicy,
|
|
3034
|
+
Ot as useExecuteNow,
|
|
3035
|
+
Ht as useExecuteProcessTreeTrigger,
|
|
3036
|
+
Lu as useExecuteTriggerNow,
|
|
3037
|
+
et as useFileDownload,
|
|
3038
|
+
Ze as useFileUpload,
|
|
3039
|
+
Mn as useFilterMessagesBySenderId,
|
|
3040
|
+
Xr as useFxDefinitionSheet,
|
|
3041
|
+
Sa as useFxHelp,
|
|
3042
|
+
En as useGetAllConversations,
|
|
3043
|
+
Pt as useGetAllHttpTriggers,
|
|
3044
|
+
ln as useGetAllInboxItems,
|
|
3045
|
+
ft as useGetAllRecon,
|
|
2938
3046
|
_ as useGetAllReconV2,
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
3047
|
+
xt as useGetAllTeams,
|
|
3048
|
+
pt as useGetAllTemplatedPipelines,
|
|
3049
|
+
Kt as useGetAllUsers,
|
|
3050
|
+
yt as useGetAuditLogs,
|
|
3051
|
+
ge as useGetCommentsByThreadId,
|
|
3052
|
+
An as useGetConversation,
|
|
3053
|
+
da as useGetDashboard,
|
|
3054
|
+
mr as useGetDataboxFile,
|
|
3055
|
+
wr as useGetDataboxFileDownloadUrl,
|
|
3056
|
+
Fr as useGetDataboxFileRuns,
|
|
3057
|
+
br as useGetDataboxFileStatus,
|
|
3058
|
+
or as useGetDataboxFolder,
|
|
3059
|
+
cr as useGetDataboxFolderDatasets,
|
|
3060
|
+
lr as useGetDataboxFolderDuplicates,
|
|
3061
|
+
ir as useGetDataboxFolderFiles,
|
|
3062
|
+
pr as useGetDataboxFolderSchema,
|
|
3063
|
+
fr as useGetDataboxSchemaHistory,
|
|
3064
|
+
gr as useGetDataboxTrashFiles,
|
|
3065
|
+
dr as useGetDatasetDuplicates,
|
|
3066
|
+
yr as useGetDatasetExceptions,
|
|
3067
|
+
Ce as useGetDatasets,
|
|
3068
|
+
sa as useGetExportConfig,
|
|
3069
|
+
Re as useGetFileByFolderIdAndName,
|
|
3070
|
+
Ke as useGetFileById,
|
|
3071
|
+
Se as useGetFileUrlByFileId,
|
|
3072
|
+
Rr as useGetFiscalCalendar,
|
|
3073
|
+
ct as useGetFormById,
|
|
3074
|
+
it as useGetFormData,
|
|
3075
|
+
ot as useGetFormSchema,
|
|
3076
|
+
Ir as useGetHolidayCalendar,
|
|
3077
|
+
Fa as useGetHttpTrigger,
|
|
3078
|
+
qn as useGetInboxItem,
|
|
3079
|
+
gn as useGetInboxType,
|
|
3080
|
+
Ru as useGetInputTable,
|
|
3081
|
+
He as useGetInputTables,
|
|
3082
|
+
Qr as useGetPipeline,
|
|
3083
|
+
Wr as useGetPipelineRunStatus,
|
|
3084
|
+
$t as useGetProcessTreeRunByInstanceId,
|
|
3085
|
+
jt as useGetProcessTreeRunsBySheetId,
|
|
3086
|
+
Jt as useGetProcessTreeRunsBySheetIdPaginated,
|
|
3087
|
+
Nt as useGetProcessTreeTrigger,
|
|
3088
|
+
_t as useGetProcessTreeTriggersBySheetId,
|
|
3089
|
+
xe as useGetPublishedWorkbookById,
|
|
3090
|
+
qt as useGetReconV2CleanResult,
|
|
3091
|
+
ht as useGetReconV2Diff,
|
|
3092
|
+
Tt as useGetReconV2Explanation,
|
|
3093
|
+
Ft as useGetReconV2ProfileResult,
|
|
2986
3094
|
J as useGetReconV2RunResult,
|
|
2987
3095
|
j as useGetReconV2Runs,
|
|
2988
3096
|
$ as useGetReconV2SmartResult,
|
|
2989
3097
|
Z as useGetReconV2Workflow,
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3098
|
+
Pe as useGetRunResultById,
|
|
3099
|
+
ve as useGetRunsByViewId,
|
|
3100
|
+
Mt as useGetScheduleStatus,
|
|
3101
|
+
Ie as useGetStatementData,
|
|
3102
|
+
Ve as useGetTableById,
|
|
3103
|
+
tt as useGetTaskDetails,
|
|
3104
|
+
Vt as useGetTriggersBySheet,
|
|
3105
|
+
Ee as useGetViewById,
|
|
3106
|
+
Ae as useGetViewsBySheetId,
|
|
3107
|
+
Zu as useGetVirtualDataset,
|
|
3108
|
+
ke as useGetVirtualDatasets,
|
|
3109
|
+
ua as useGetWorkbook,
|
|
3110
|
+
nt as useGetWorkbookDetails,
|
|
3111
|
+
Be as useGetWorkbooksByType,
|
|
3112
|
+
Bu as useGetWorkflow,
|
|
3113
|
+
Ge as useGetWorkflowInstanceStatusById,
|
|
3114
|
+
Me as useGetWorksheets,
|
|
3115
|
+
Oe as useGetWorksheetsByType,
|
|
3116
|
+
Gr as useImportHolidays,
|
|
3117
|
+
Le as useInputTable,
|
|
3118
|
+
Vu as useInputTableSchema,
|
|
3119
|
+
Ku as useInsertInputTableRows,
|
|
3120
|
+
Qe as useInsertRow,
|
|
3121
|
+
Or as useLastSuccessfulPipelineRun,
|
|
3122
|
+
ue as useListBranches,
|
|
3123
|
+
Zr as useListCommits,
|
|
3124
|
+
hu as useListConnections,
|
|
3125
|
+
ya as useListDashboards,
|
|
3126
|
+
Cu as useListDataboxes,
|
|
3127
|
+
aa as useListExportConfigs,
|
|
3128
|
+
la as useListExportResults,
|
|
3129
|
+
ku as useListFileboxFolders,
|
|
3130
|
+
Sr as useListFiscalCalendars,
|
|
3131
|
+
vr as useListHolidayCalendars,
|
|
3132
|
+
Br as useListHolidays,
|
|
3133
|
+
ba as useListHttpTriggers,
|
|
3134
|
+
fn as useListInboxTypes,
|
|
3135
|
+
Su as useListInputTables,
|
|
3136
|
+
wn as useListMyInboxItems,
|
|
3137
|
+
eu as useListTags,
|
|
3138
|
+
Yu as useListVirtualDatasets,
|
|
3139
|
+
ra as useListWorkbooks,
|
|
3140
|
+
Au as useListWorkflows,
|
|
3141
|
+
Qt as useLogProcessTreeRun,
|
|
3142
|
+
Dn as useMarkInboxItemsRead,
|
|
3143
|
+
Cn as useMarkInboxItemsUnread,
|
|
3144
|
+
yn as useMarkItemAsRead,
|
|
3145
|
+
dn as useMarkItemAsUnread,
|
|
3146
|
+
vt as useMarkTaskDone,
|
|
3147
|
+
nu as useMergeBranches,
|
|
3148
|
+
de as useMetric,
|
|
3149
|
+
yu as usePackagableComponents,
|
|
3150
|
+
Bt as usePauseSchedule,
|
|
3151
|
+
Hu as usePauseTrigger,
|
|
3152
|
+
kr as usePermanentDeleteDataboxFiles,
|
|
3153
|
+
Mr as usePipelineList,
|
|
3154
|
+
Ur as usePipelineOutputSample,
|
|
3155
|
+
Hr as usePipelineOverview,
|
|
3156
|
+
Lr as usePipelineRunDetail,
|
|
3048
3157
|
ne as usePipelineRuns,
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3158
|
+
wa as usePolicies,
|
|
3159
|
+
qa as usePolicy,
|
|
3160
|
+
me as usePostComment,
|
|
3161
|
+
Aa as usePublishChecklist,
|
|
3162
|
+
gu as usePublishJob,
|
|
3163
|
+
Ta as usePublishPolicy,
|
|
3164
|
+
fu as usePublishSolution,
|
|
3165
|
+
ut as usePublishWorkbook,
|
|
3166
|
+
ru as usePushBranch,
|
|
3167
|
+
Eu as useReadInputTableRows,
|
|
3168
|
+
vn as useReassignInboxItem,
|
|
3169
|
+
It as useReassignTask,
|
|
3170
|
+
Ct as useReconV2Detail,
|
|
3171
|
+
kt as useReconV2Editor,
|
|
3172
|
+
Dt as useReconV2List,
|
|
3173
|
+
Rt as useReconV2Results,
|
|
3174
|
+
St as useReconV2RunController,
|
|
3065
3175
|
Y as useReconV2RunStatus,
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3176
|
+
mt as useReconV2Templates,
|
|
3177
|
+
Yt as useRegisterCustomAuthzModel,
|
|
3178
|
+
an as useRegisterCustomTypeMetadata,
|
|
3179
|
+
Et as useRegisterProcessTrigger,
|
|
3180
|
+
Mu as useRegisterTrigger,
|
|
3181
|
+
oe as useReleaseChecklist,
|
|
3182
|
+
xn as useReleaseInboxItem,
|
|
3183
|
+
se as useReleasedChecklist,
|
|
3184
|
+
ae as useReleasedChecklists,
|
|
3185
|
+
ma as useRemoveDashboardWidget,
|
|
3186
|
+
sr as useRenderTemplate,
|
|
3187
|
+
Gn as useReplyToConversation,
|
|
3188
|
+
Cr as useRestoreDataboxFile,
|
|
3189
|
+
Gt as useResumeSchedule,
|
|
3190
|
+
Uu as useResumeTrigger,
|
|
3191
|
+
Ue as useRows,
|
|
3192
|
+
Ba as useRunChecklist,
|
|
3193
|
+
hr as useRunDataboxFolder,
|
|
3194
|
+
Ne as useRunDefinition,
|
|
3195
|
+
ca as useRunExportConfig,
|
|
3196
|
+
Nr as useRunPipeline,
|
|
3197
|
+
_e as useRunPublishedDefinition,
|
|
3198
|
+
st as useRunRecon,
|
|
3085
3199
|
N as useRunReconV2,
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3200
|
+
je as useRunSampleDefinition,
|
|
3201
|
+
va as useSaveChecklist,
|
|
3202
|
+
zr as useSavePipeline,
|
|
3203
|
+
ha as useSavePolicy,
|
|
3204
|
+
rt as useSaveWorkbook,
|
|
3205
|
+
Gu as useSaveWorkflow,
|
|
3206
|
+
$u as useSearchDatasets,
|
|
3207
|
+
On as useSearchMessages,
|
|
3208
|
+
iu as useSetExternalAppAccessControl,
|
|
3209
|
+
su as useSetExternalAppEnv,
|
|
3210
|
+
ou as useSetExternalAppSchemaMap,
|
|
3211
|
+
Ga as useSetSolutionSeedData,
|
|
3212
|
+
ju as useSheetRunStatus,
|
|
3213
|
+
_u as useSheetRuns,
|
|
3214
|
+
Qu as useSkipTrigger,
|
|
3215
|
+
kn as useSnoozeInboxItem,
|
|
3101
3216
|
re as useSolutionList,
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3217
|
+
Yr as useSolutionPicker,
|
|
3218
|
+
wt as useStartReconV2Clean,
|
|
3219
|
+
bt as useStartReconV2Profile,
|
|
3220
|
+
we as useSubscribeUser,
|
|
3221
|
+
Yn as useTcnAgentDisconnect,
|
|
3222
|
+
ur as useTcnAgentGetCallFromHold,
|
|
3223
|
+
_n as useTcnAgentGetStatus,
|
|
3224
|
+
Zn as useTcnAgentPause,
|
|
3225
|
+
rr as useTcnAgentPutCallOnHold,
|
|
3226
|
+
er as useTcnAgentSetReady,
|
|
3227
|
+
Wn as useTcnAgentSkills,
|
|
3228
|
+
Ln as useTcnAuthUrl,
|
|
3229
|
+
nr as useTcnCallData,
|
|
3230
|
+
tr as useTcnConnectedParty,
|
|
3231
|
+
zn as useTcnCreateSession,
|
|
3232
|
+
Qn as useTcnCurrentAgent,
|
|
3233
|
+
Jn as useTcnDialManualPrepare,
|
|
3234
|
+
Hn as useTcnExchangeCode,
|
|
3235
|
+
ar as useTcnFtpManualDialReport,
|
|
3236
|
+
jn as useTcnHuntGroupSettings,
|
|
3237
|
+
Nn as useTcnKeepAlive,
|
|
3238
|
+
Xn as useTcnManualDialStart,
|
|
3239
|
+
$n as useTcnProcessManualDial,
|
|
3240
|
+
Un as useTcnRefreshToken,
|
|
3241
|
+
Ut as useTerminateProcessTreePipelines,
|
|
3242
|
+
qu as useTestConnection,
|
|
3243
|
+
Dr as useTrashDataboxFiles,
|
|
3244
|
+
Je as useTriggerHttpWorkflow,
|
|
3245
|
+
Wu as useTriggerScheduleStatus,
|
|
3246
|
+
$e as useTriggerWorkflow,
|
|
3247
|
+
Nu as useTriggersBySheet,
|
|
3248
|
+
qe as useUnsubscribeUser,
|
|
3249
|
+
zu as useUpcomingSchedules,
|
|
3250
|
+
Va as useUpdateChecklist,
|
|
3251
|
+
be as useUpdateComment,
|
|
3252
|
+
Zt as useUpdateCustomObjectPermissions,
|
|
3253
|
+
ga as useUpdateDashboardWidget,
|
|
3254
|
+
Tr as useUpdateDataboxFolderSchema,
|
|
3255
|
+
ia as useUpdateExportConfig,
|
|
3256
|
+
xr as useUpdateFiscalCalendar,
|
|
3257
|
+
Er as useUpdateHolidayCalendar,
|
|
3258
|
+
Tn as useUpdateInboxItem,
|
|
3259
|
+
bn as useUpdateInboxType,
|
|
3260
|
+
xu as useUpdateInputTableRows,
|
|
3261
|
+
Wt as useUpdateProcessTreeRunContext,
|
|
3146
3262
|
z as useUpdateReconV2,
|
|
3147
|
-
|
|
3263
|
+
We as useUpdateRow,
|
|
3148
3264
|
U as useUser,
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3265
|
+
Xe as useUserDetails,
|
|
3266
|
+
cu as useValidateExternalAppUrl,
|
|
3267
|
+
pu as useValidateSolution,
|
|
3268
|
+
jr as useWorkingPaper,
|
|
3269
|
+
$r as useWorkingPaperInputTableSheet,
|
|
3270
|
+
_r as useWorkingPaperList
|
|
3155
3271
|
};
|