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