@bluecopa/react 0.1.125 → 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 +28 -0
- package/dist/hooks/useConnectors.d.ts.map +1 -0
- 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/useGetReconV2SmartResult.d.ts.map +1 -1
- package/dist/hooks/useProcessTriggersHub.d.ts +31 -14
- package/dist/hooks/useProcessTriggersHub.d.ts.map +1 -1
- package/dist/hooks/useRunConnector.d.ts +23 -0
- package/dist/hooks/useRunConnector.d.ts.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1256 -1088
- 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
|
|
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 me(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 be(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 Fe(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 qe(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 Se(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 Re(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 Re(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 Ke(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 Ve(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
|
-
queryFn:
|
|
422
|
-
enabled:
|
|
421
|
+
queryFn: g,
|
|
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 Qe(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
|
-
return console.log("Fetching input table rows..."), await r.inputTable.getRows(e,
|
|
452
|
-
}), b =
|
|
451
|
+
return console.log("Fetching input table rows..."), await r.inputTable.getRows(e, g);
|
|
452
|
+
}), b = p({
|
|
453
453
|
queryKey: ["inputTableRows", e, t],
|
|
454
|
-
queryFn:
|
|
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 We(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 ze(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 Ne(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,70 +695,89 @@ function lt(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
|
-
|
|
731
|
-
|
|
730
|
+
const j = (e) => ["connectors", e ?? "ALL"];
|
|
731
|
+
function ht(e, t = {}) {
|
|
732
|
+
return o({
|
|
733
|
+
queryKey: j(e),
|
|
734
|
+
queryFn: async () => await r.connectors.listConnectors({ type: e }),
|
|
735
|
+
...t
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
function Tt(e = {}) {
|
|
739
|
+
const t = y();
|
|
740
|
+
return s({
|
|
741
|
+
...e,
|
|
742
|
+
// Declared AFTER the spread so a caller-supplied onSuccess can't silently
|
|
743
|
+
// drop the invalidation; theirs is chained instead of replaced. mutationFn
|
|
744
|
+
// is likewise hook-owned — UseRunConnectorOptions omits it from the type.
|
|
745
|
+
mutationFn: async (n) => await r.connectors.runConnector(n),
|
|
746
|
+
onSuccess: (n, u, a) => (t.invalidateQueries({ queryKey: ["connectors"] }), e?.onSuccess?.(n, u, a))
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
function J(e = {}) {
|
|
750
|
+
return s({
|
|
732
751
|
mutationFn: async (t) => await r.reconV2.createReconV2(t),
|
|
733
752
|
...e
|
|
734
753
|
});
|
|
735
754
|
}
|
|
736
|
-
function
|
|
737
|
-
return
|
|
755
|
+
function $(e = {}) {
|
|
756
|
+
return s({
|
|
738
757
|
mutationFn: async (t) => await r.reconV2.updateReconV2(t),
|
|
739
758
|
...e
|
|
740
759
|
});
|
|
741
760
|
}
|
|
742
|
-
function
|
|
743
|
-
return
|
|
761
|
+
function Ct(e = {}) {
|
|
762
|
+
return s({
|
|
744
763
|
mutationFn: async (t) => await r.reconV2.deleteReconV2(t),
|
|
745
764
|
...e
|
|
746
765
|
});
|
|
747
766
|
}
|
|
748
|
-
function
|
|
749
|
-
return
|
|
767
|
+
function X(e = {}) {
|
|
768
|
+
return s({
|
|
750
769
|
mutationFn: async (t) => await r.reconV2.runReconV2(t),
|
|
751
770
|
...e
|
|
752
771
|
});
|
|
753
772
|
}
|
|
754
|
-
function
|
|
773
|
+
function Y(e = {}) {
|
|
755
774
|
return o({
|
|
756
775
|
queryKey: ["reconV2Workflows"],
|
|
757
776
|
queryFn: async () => await r.reconV2.getAllReconV2Workflows(),
|
|
758
777
|
...e
|
|
759
778
|
});
|
|
760
779
|
}
|
|
761
|
-
function
|
|
780
|
+
function Z(e, t = {}) {
|
|
762
781
|
const n = e?.trim();
|
|
763
782
|
return o({
|
|
764
783
|
queryKey: ["reconV2", "runs", n],
|
|
@@ -767,14 +786,14 @@ function j(e, t = {}) {
|
|
|
767
786
|
...t
|
|
768
787
|
});
|
|
769
788
|
}
|
|
770
|
-
function
|
|
789
|
+
function Dt(e = {}) {
|
|
771
790
|
return o({
|
|
772
791
|
queryKey: ["reconV2", "templates"],
|
|
773
792
|
queryFn: async () => await r.reconV2.getReconV2Templates(),
|
|
774
793
|
...e
|
|
775
794
|
});
|
|
776
795
|
}
|
|
777
|
-
function
|
|
796
|
+
function ee(e, t = {}) {
|
|
778
797
|
return o({
|
|
779
798
|
queryKey: ["reconV2", "runResult", e],
|
|
780
799
|
queryFn: async () => await r.reconV2.getReconV2RunResult({ runId: e }),
|
|
@@ -782,7 +801,7 @@ function J(e, t = {}) {
|
|
|
782
801
|
...t
|
|
783
802
|
});
|
|
784
803
|
}
|
|
785
|
-
function
|
|
804
|
+
function te(e, t = {}) {
|
|
786
805
|
return o({
|
|
787
806
|
queryKey: [
|
|
788
807
|
"reconV2",
|
|
@@ -791,7 +810,11 @@ function $(e, t = {}) {
|
|
|
791
810
|
e.workflowId,
|
|
792
811
|
e.exceptionType,
|
|
793
812
|
e.ruleFilter,
|
|
794
|
-
e.orderBy
|
|
813
|
+
e.orderBy,
|
|
814
|
+
/* Pagination is part of the cache identity — without these a page
|
|
815
|
+
change reuses the previous page's cached entry. */
|
|
816
|
+
e.limit,
|
|
817
|
+
e.offset
|
|
795
818
|
],
|
|
796
819
|
queryFn: async () => await r.reconV2.getReconV2SmartResult(
|
|
797
820
|
e
|
|
@@ -800,13 +823,13 @@ function $(e, t = {}) {
|
|
|
800
823
|
...t
|
|
801
824
|
});
|
|
802
825
|
}
|
|
803
|
-
function
|
|
804
|
-
return
|
|
826
|
+
function St(e = {}) {
|
|
827
|
+
return s({
|
|
805
828
|
mutationFn: async (t) => await r.reconV2.startReconV2Profile(t),
|
|
806
829
|
...e
|
|
807
830
|
});
|
|
808
831
|
}
|
|
809
|
-
function
|
|
832
|
+
function kt(e, t = "left", n = {}) {
|
|
810
833
|
return o({
|
|
811
834
|
queryKey: ["reconV2", "profile", e, t],
|
|
812
835
|
queryFn: async () => await r.reconV2.getReconV2ProfileResult({
|
|
@@ -817,13 +840,13 @@ function wt(e, t = "left", n = {}) {
|
|
|
817
840
|
...n
|
|
818
841
|
});
|
|
819
842
|
}
|
|
820
|
-
function
|
|
821
|
-
return
|
|
843
|
+
function Rt(e = {}) {
|
|
844
|
+
return s({
|
|
822
845
|
mutationFn: async (t) => await r.reconV2.startReconV2Clean(t),
|
|
823
846
|
...e
|
|
824
847
|
});
|
|
825
848
|
}
|
|
826
|
-
function
|
|
849
|
+
function Kt(e, t = "left", n = {}) {
|
|
827
850
|
return o({
|
|
828
851
|
queryKey: ["reconV2", "clean", e, t],
|
|
829
852
|
queryFn: async () => await r.reconV2.getReconV2CleanResult({
|
|
@@ -834,7 +857,7 @@ function ht(e, t = "left", n = {}) {
|
|
|
834
857
|
...n
|
|
835
858
|
});
|
|
836
859
|
}
|
|
837
|
-
function
|
|
860
|
+
function xt(e, t, n, u = {}) {
|
|
838
861
|
return o({
|
|
839
862
|
queryKey: ["reconV2", "diff", e, n],
|
|
840
863
|
queryFn: async () => await r.reconV2.getReconV2Diff({
|
|
@@ -846,7 +869,7 @@ function Tt(e, t, n, u = {}) {
|
|
|
846
869
|
...u
|
|
847
870
|
});
|
|
848
871
|
}
|
|
849
|
-
function
|
|
872
|
+
function Pt(e, t, n = {}) {
|
|
850
873
|
return o({
|
|
851
874
|
queryKey: ["reconV2", "explanation", e],
|
|
852
875
|
queryFn: async () => await r.reconV2.getReconV2Explanation({
|
|
@@ -857,37 +880,37 @@ function Dt(e, t, n = {}) {
|
|
|
857
880
|
...n
|
|
858
881
|
});
|
|
859
882
|
}
|
|
860
|
-
const
|
|
861
|
-
function
|
|
862
|
-
const [n, u] =
|
|
883
|
+
const ne = ["SUCCEEDED", "FAILED"];
|
|
884
|
+
function re(e, t = {}) {
|
|
885
|
+
const [n, u] = w(
|
|
863
886
|
void 0
|
|
864
|
-
), [
|
|
865
|
-
return c.current = t.onComplete,
|
|
887
|
+
), [a, i] = w(!1), c = L(t.onComplete);
|
|
888
|
+
return c.current = t.onComplete, v(() => {
|
|
866
889
|
if (!e)
|
|
867
890
|
return;
|
|
868
|
-
const l =
|
|
891
|
+
const l = P().websocketProvider;
|
|
869
892
|
if (!l)
|
|
870
893
|
return;
|
|
871
894
|
u(void 0), i(!1);
|
|
872
|
-
const
|
|
873
|
-
let
|
|
895
|
+
const f = O.websocketUtils.ReconResultChannel;
|
|
896
|
+
let g = !1;
|
|
874
897
|
const m = () => {
|
|
875
|
-
|
|
898
|
+
g || (g = !0, l.unbind(f, e));
|
|
876
899
|
};
|
|
877
|
-
return l.bind(
|
|
900
|
+
return l.bind(f, e, (q) => {
|
|
878
901
|
let b;
|
|
879
902
|
try {
|
|
880
|
-
b = typeof
|
|
903
|
+
b = typeof q == "string" ? JSON.parse(q) : q;
|
|
881
904
|
} catch {
|
|
882
905
|
b = { status: void 0 };
|
|
883
906
|
}
|
|
884
907
|
u(b);
|
|
885
908
|
const F = b?.status?.toUpperCase();
|
|
886
|
-
F &&
|
|
909
|
+
F && ne.includes(F) && (i(!0), c.current?.(b), m());
|
|
887
910
|
}), m;
|
|
888
|
-
}, [e]), { data: n, isTerminal:
|
|
911
|
+
}, [e]), { data: n, isTerminal: a };
|
|
889
912
|
}
|
|
890
|
-
function
|
|
913
|
+
function ue(e, t = {}) {
|
|
891
914
|
const n = e?.trim();
|
|
892
915
|
return o({
|
|
893
916
|
queryKey: ["reconV2", "workflow", n],
|
|
@@ -896,26 +919,26 @@ function Z(e, t = {}) {
|
|
|
896
919
|
...t
|
|
897
920
|
});
|
|
898
921
|
}
|
|
899
|
-
function
|
|
922
|
+
function ae(e, t) {
|
|
900
923
|
return t.split(".").reduce(
|
|
901
924
|
(n, u) => n && typeof n == "object" ? n[u] : void 0,
|
|
902
925
|
e
|
|
903
926
|
);
|
|
904
927
|
}
|
|
905
|
-
function
|
|
906
|
-
const n =
|
|
928
|
+
function vt(e, t = {}) {
|
|
929
|
+
const n = Y(t);
|
|
907
930
|
return {
|
|
908
931
|
workflows: h(() => {
|
|
909
|
-
const
|
|
910
|
-
return e?.key ?
|
|
932
|
+
const a = n.data ?? [];
|
|
933
|
+
return e?.key ? a.filter((i) => ae(i, e.key) === e.value) : a;
|
|
911
934
|
}, [n.data, e?.key, e?.value]),
|
|
912
935
|
isLoading: n.isLoading,
|
|
913
936
|
error: n.error,
|
|
914
937
|
refetch: n.refetch
|
|
915
938
|
};
|
|
916
939
|
}
|
|
917
|
-
function
|
|
918
|
-
const n =
|
|
940
|
+
function It(e, t = {}) {
|
|
941
|
+
const n = ue(e, t);
|
|
919
942
|
return {
|
|
920
943
|
workflow: n.data,
|
|
921
944
|
isLoading: n.isLoading,
|
|
@@ -923,8 +946,8 @@ function kt(e, t = {}) {
|
|
|
923
946
|
refetch: n.refetch
|
|
924
947
|
};
|
|
925
948
|
}
|
|
926
|
-
function
|
|
927
|
-
const e =
|
|
949
|
+
function Vt() {
|
|
950
|
+
const e = J(), t = $();
|
|
928
951
|
return {
|
|
929
952
|
create: e.mutateAsync,
|
|
930
953
|
update: t.mutateAsync,
|
|
@@ -933,14 +956,14 @@ function St() {
|
|
|
933
956
|
data: t.data ?? e.data
|
|
934
957
|
};
|
|
935
958
|
}
|
|
936
|
-
function
|
|
937
|
-
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);
|
|
938
961
|
return {
|
|
939
|
-
startRun: async (
|
|
962
|
+
startRun: async (g = {}) => {
|
|
940
963
|
if (!n)
|
|
941
964
|
throw new Error("workflowId is required to start a run");
|
|
942
|
-
const m = await i.mutateAsync({ workflowId: n, ...
|
|
943
|
-
return
|
|
965
|
+
const m = await i.mutateAsync({ workflowId: n, ...g });
|
|
966
|
+
return a(m?.runId), m?.runId;
|
|
944
967
|
},
|
|
945
968
|
runId: u,
|
|
946
969
|
status: c.data,
|
|
@@ -950,19 +973,19 @@ function Rt(e, t = {}) {
|
|
|
950
973
|
refetchRuns: l.refetch
|
|
951
974
|
};
|
|
952
975
|
}
|
|
953
|
-
function
|
|
976
|
+
function Bt({
|
|
954
977
|
runId: e,
|
|
955
978
|
workflowId: t,
|
|
956
979
|
exceptionType: n,
|
|
957
980
|
ruleFilter: u,
|
|
958
|
-
orderBy:
|
|
981
|
+
orderBy: a
|
|
959
982
|
}) {
|
|
960
|
-
const i =
|
|
983
|
+
const i = ee(e), c = te({
|
|
961
984
|
runId: e ?? void 0,
|
|
962
985
|
workflowId: t ?? void 0,
|
|
963
986
|
exceptionType: n,
|
|
964
987
|
ruleFilter: u,
|
|
965
|
-
orderBy:
|
|
988
|
+
orderBy: a
|
|
966
989
|
}), l = c.data?.result;
|
|
967
990
|
return {
|
|
968
991
|
runResult: i.data,
|
|
@@ -973,40 +996,40 @@ function Kt({
|
|
|
973
996
|
refetch: c.refetch
|
|
974
997
|
};
|
|
975
998
|
}
|
|
976
|
-
function
|
|
999
|
+
function At(e = {}) {
|
|
977
1000
|
return o({
|
|
978
1001
|
queryKey: ["users"],
|
|
979
1002
|
queryFn: async () => await r.user.getAllUsers(),
|
|
980
1003
|
...e
|
|
981
1004
|
});
|
|
982
1005
|
}
|
|
983
|
-
function
|
|
1006
|
+
function Gt(e = {}) {
|
|
984
1007
|
return o({
|
|
985
1008
|
queryKey: ["teams"],
|
|
986
1009
|
queryFn: async () => await r.team.getAllTeams(),
|
|
987
1010
|
...e
|
|
988
1011
|
});
|
|
989
1012
|
}
|
|
990
|
-
function
|
|
1013
|
+
function Mt(e = {}) {
|
|
991
1014
|
return o({
|
|
992
1015
|
queryKey: ["httpTriggers"],
|
|
993
1016
|
queryFn: async () => await r.workflow.getAllHttpTriggers(),
|
|
994
1017
|
...e
|
|
995
1018
|
});
|
|
996
1019
|
}
|
|
997
|
-
function
|
|
998
|
-
return
|
|
1020
|
+
function Ot(e = {}) {
|
|
1021
|
+
return s({
|
|
999
1022
|
mutationFn: async (t) => await r.process.markTaskDone(t),
|
|
1000
1023
|
...e
|
|
1001
1024
|
});
|
|
1002
1025
|
}
|
|
1003
|
-
function
|
|
1004
|
-
return
|
|
1026
|
+
function Lt(e = {}) {
|
|
1027
|
+
return s({
|
|
1005
1028
|
mutationFn: async (t) => await r.process.reassignTask(t),
|
|
1006
1029
|
...e
|
|
1007
1030
|
});
|
|
1008
1031
|
}
|
|
1009
|
-
function
|
|
1032
|
+
function Ht(e, t = {}) {
|
|
1010
1033
|
return o({
|
|
1011
1034
|
queryKey: ["processTriggers", e],
|
|
1012
1035
|
queryFn: async () => await r.process.getTriggersBySheet(e),
|
|
@@ -1014,9 +1037,9 @@ function Et(e, t = {}) {
|
|
|
1014
1037
|
...t
|
|
1015
1038
|
});
|
|
1016
1039
|
}
|
|
1017
|
-
function
|
|
1018
|
-
const t =
|
|
1019
|
-
return
|
|
1040
|
+
function Ut(e = {}) {
|
|
1041
|
+
const t = y();
|
|
1042
|
+
return s({
|
|
1020
1043
|
mutationFn: async (n) => await r.process.registerProcessTrigger(n),
|
|
1021
1044
|
onSuccess: (n, u) => {
|
|
1022
1045
|
t.invalidateQueries({
|
|
@@ -1026,9 +1049,9 @@ function Bt(e = {}) {
|
|
|
1026
1049
|
...e
|
|
1027
1050
|
});
|
|
1028
1051
|
}
|
|
1029
|
-
function
|
|
1030
|
-
const t =
|
|
1031
|
-
return
|
|
1052
|
+
function Qt(e = {}) {
|
|
1053
|
+
const t = y();
|
|
1054
|
+
return s({
|
|
1032
1055
|
mutationFn: async ({ id: n }) => await r.process.deleteProcessTrigger(n),
|
|
1033
1056
|
onSuccess: (n, u) => {
|
|
1034
1057
|
t.invalidateQueries({
|
|
@@ -1038,9 +1061,9 @@ function At(e = {}) {
|
|
|
1038
1061
|
...e
|
|
1039
1062
|
});
|
|
1040
1063
|
}
|
|
1041
|
-
function
|
|
1042
|
-
const t =
|
|
1043
|
-
return
|
|
1064
|
+
function Wt(e = {}) {
|
|
1065
|
+
const t = y();
|
|
1066
|
+
return s({
|
|
1044
1067
|
mutationFn: async ({ triggerId: n, scheduleName: u }) => await r.process.pauseSchedule(n, u),
|
|
1045
1068
|
onSuccess: (n, u) => {
|
|
1046
1069
|
t.invalidateQueries({
|
|
@@ -1052,9 +1075,9 @@ function Gt(e = {}) {
|
|
|
1052
1075
|
...e
|
|
1053
1076
|
});
|
|
1054
1077
|
}
|
|
1055
|
-
function
|
|
1056
|
-
const t =
|
|
1057
|
-
return
|
|
1078
|
+
function _t(e = {}) {
|
|
1079
|
+
const t = y();
|
|
1080
|
+
return s({
|
|
1058
1081
|
mutationFn: async ({ triggerId: n, scheduleName: u }) => await r.process.resumeSchedule(n, u),
|
|
1059
1082
|
onSuccess: (n, u) => {
|
|
1060
1083
|
t.invalidateQueries({
|
|
@@ -1066,7 +1089,7 @@ function Mt(e = {}) {
|
|
|
1066
1089
|
...e
|
|
1067
1090
|
});
|
|
1068
1091
|
}
|
|
1069
|
-
function
|
|
1092
|
+
function zt(e, t, n = {}) {
|
|
1070
1093
|
return o({
|
|
1071
1094
|
queryKey: ["scheduleStatus", e, t],
|
|
1072
1095
|
queryFn: async () => await r.process.getScheduleStatus(
|
|
@@ -1077,9 +1100,9 @@ function Ot(e, t, n = {}) {
|
|
|
1077
1100
|
...n
|
|
1078
1101
|
});
|
|
1079
1102
|
}
|
|
1080
|
-
function
|
|
1081
|
-
const t =
|
|
1082
|
-
return
|
|
1103
|
+
function Nt(e = {}) {
|
|
1104
|
+
const t = y();
|
|
1105
|
+
return s({
|
|
1083
1106
|
mutationFn: async ({ triggerId: n, scheduleName: u }) => await r.process.executeNow(n, u),
|
|
1084
1107
|
onSuccess: (n, u) => {
|
|
1085
1108
|
t.invalidateQueries({
|
|
@@ -1089,9 +1112,9 @@ function Lt(e = {}) {
|
|
|
1089
1112
|
...e
|
|
1090
1113
|
});
|
|
1091
1114
|
}
|
|
1092
|
-
function
|
|
1093
|
-
const t =
|
|
1094
|
-
return
|
|
1115
|
+
function jt(e = {}) {
|
|
1116
|
+
const t = y();
|
|
1117
|
+
return s({
|
|
1095
1118
|
mutationFn: async (n) => await r.processTree.createOrUpdateProcessTreeTrigger(
|
|
1096
1119
|
n
|
|
1097
1120
|
),
|
|
@@ -1103,9 +1126,9 @@ function Ut(e = {}) {
|
|
|
1103
1126
|
...e
|
|
1104
1127
|
});
|
|
1105
1128
|
}
|
|
1106
|
-
function
|
|
1107
|
-
const t =
|
|
1108
|
-
return
|
|
1129
|
+
function Jt(e = {}) {
|
|
1130
|
+
const t = y();
|
|
1131
|
+
return s({
|
|
1109
1132
|
mutationFn: async (n) => await r.processTree.executeProcessTreeTrigger(n),
|
|
1110
1133
|
onSuccess: (n, u) => {
|
|
1111
1134
|
t.invalidateQueries({
|
|
@@ -1115,9 +1138,9 @@ function Ht(e = {}) {
|
|
|
1115
1138
|
...e
|
|
1116
1139
|
});
|
|
1117
1140
|
}
|
|
1118
|
-
function
|
|
1119
|
-
const t =
|
|
1120
|
-
return
|
|
1141
|
+
function $t(e = {}) {
|
|
1142
|
+
const t = y();
|
|
1143
|
+
return s({
|
|
1121
1144
|
mutationFn: async ({ payload: n }) => await r.processTree.terminatePipelines(n),
|
|
1122
1145
|
onSuccess: (n, u) => {
|
|
1123
1146
|
u.sheetId && t.invalidateQueries({
|
|
@@ -1129,9 +1152,9 @@ function Qt(e = {}) {
|
|
|
1129
1152
|
...e
|
|
1130
1153
|
});
|
|
1131
1154
|
}
|
|
1132
|
-
function
|
|
1133
|
-
const t =
|
|
1134
|
-
return
|
|
1155
|
+
function Xt(e = {}) {
|
|
1156
|
+
const t = y();
|
|
1157
|
+
return s({
|
|
1135
1158
|
mutationFn: async (n) => await r.processTree.logProcessTreeRun(n),
|
|
1136
1159
|
onSuccess: (n, u) => {
|
|
1137
1160
|
t.invalidateQueries({
|
|
@@ -1143,9 +1166,9 @@ function Wt(e = {}) {
|
|
|
1143
1166
|
...e
|
|
1144
1167
|
});
|
|
1145
1168
|
}
|
|
1146
|
-
function
|
|
1147
|
-
const t =
|
|
1148
|
-
return
|
|
1169
|
+
function Yt(e = {}) {
|
|
1170
|
+
const t = y();
|
|
1171
|
+
return s({
|
|
1149
1172
|
mutationFn: async ({
|
|
1150
1173
|
instanceId: n,
|
|
1151
1174
|
context: u
|
|
@@ -1161,9 +1184,9 @@ function zt(e = {}) {
|
|
|
1161
1184
|
...e
|
|
1162
1185
|
});
|
|
1163
1186
|
}
|
|
1164
|
-
function
|
|
1165
|
-
const t =
|
|
1166
|
-
return
|
|
1187
|
+
function Zt(e = {}) {
|
|
1188
|
+
const t = y();
|
|
1189
|
+
return s({
|
|
1167
1190
|
mutationFn: async ({ id: n }) => await r.processTree.deleteProcessTreeTrigger(n),
|
|
1168
1191
|
onSuccess: (n, u) => {
|
|
1169
1192
|
t.invalidateQueries({
|
|
@@ -1173,7 +1196,7 @@ function Nt(e = {}) {
|
|
|
1173
1196
|
...e
|
|
1174
1197
|
});
|
|
1175
1198
|
}
|
|
1176
|
-
function
|
|
1199
|
+
function en(e, t = {}) {
|
|
1177
1200
|
return o({
|
|
1178
1201
|
queryKey: ["processTreeTrigger", e],
|
|
1179
1202
|
queryFn: async () => await r.processTree.getProcessTreeTrigger(e),
|
|
@@ -1181,7 +1204,7 @@ function _t(e, t = {}) {
|
|
|
1181
1204
|
...t
|
|
1182
1205
|
});
|
|
1183
1206
|
}
|
|
1184
|
-
function
|
|
1207
|
+
function tn(e, t = {}) {
|
|
1185
1208
|
return o({
|
|
1186
1209
|
queryKey: ["processTreeTriggers", e],
|
|
1187
1210
|
queryFn: async () => await r.processTree.getProcessTreeTriggersBySheetId(e),
|
|
@@ -1189,7 +1212,7 @@ function jt(e, t = {}) {
|
|
|
1189
1212
|
...t
|
|
1190
1213
|
});
|
|
1191
1214
|
}
|
|
1192
|
-
function
|
|
1215
|
+
function nn(e, t = {}) {
|
|
1193
1216
|
return o({
|
|
1194
1217
|
queryKey: ["processTreeRuns", e],
|
|
1195
1218
|
queryFn: async () => await r.processTree.getProcessTreeRunsBySheetId(e),
|
|
@@ -1197,7 +1220,7 @@ function Jt(e, t = {}) {
|
|
|
1197
1220
|
...t
|
|
1198
1221
|
});
|
|
1199
1222
|
}
|
|
1200
|
-
function
|
|
1223
|
+
function rn(e, t, n = {}) {
|
|
1201
1224
|
return o({
|
|
1202
1225
|
queryKey: [
|
|
1203
1226
|
"processTreeRuns",
|
|
@@ -1215,7 +1238,7 @@ function $t(e, t, n = {}) {
|
|
|
1215
1238
|
...n
|
|
1216
1239
|
});
|
|
1217
1240
|
}
|
|
1218
|
-
function
|
|
1241
|
+
function un(e, t = {}) {
|
|
1219
1242
|
return o({
|
|
1220
1243
|
queryKey: ["processTreeRun", e],
|
|
1221
1244
|
queryFn: async () => await r.processTree.getProcessTreeRunByInstanceId(
|
|
@@ -1225,16 +1248,16 @@ function Xt(e, t = {}) {
|
|
|
1225
1248
|
...t
|
|
1226
1249
|
});
|
|
1227
1250
|
}
|
|
1228
|
-
function
|
|
1251
|
+
function an(e = {}) {
|
|
1229
1252
|
return o({
|
|
1230
1253
|
queryKey: ["customAuthzModel"],
|
|
1231
1254
|
queryFn: async () => await r.customAuthz.getCustomAuthzModel(),
|
|
1232
1255
|
...e
|
|
1233
1256
|
});
|
|
1234
1257
|
}
|
|
1235
|
-
function
|
|
1236
|
-
const t =
|
|
1237
|
-
return
|
|
1258
|
+
function sn(e = {}) {
|
|
1259
|
+
const t = y();
|
|
1260
|
+
return s({
|
|
1238
1261
|
mutationFn: async (n) => await r.customAuthz.registerCustomAuthzModel(n),
|
|
1239
1262
|
onSuccess: () => {
|
|
1240
1263
|
t.invalidateQueries({ queryKey: ["customAuthzModel"] });
|
|
@@ -1242,53 +1265,53 @@ function Zt(e = {}) {
|
|
|
1242
1265
|
...e
|
|
1243
1266
|
});
|
|
1244
1267
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1268
|
+
function on(e = {}) {
|
|
1269
|
+
return s({
|
|
1247
1270
|
mutationFn: async (t) => await r.customAuthz.updateCustomObjectPermissions(t),
|
|
1248
1271
|
...e
|
|
1249
1272
|
});
|
|
1250
1273
|
}
|
|
1251
|
-
function
|
|
1252
|
-
return
|
|
1274
|
+
function cn(e = {}) {
|
|
1275
|
+
return s({
|
|
1253
1276
|
mutationFn: async (t) => await r.customAuthz.bulkUpdateCustomObjectPermissions(
|
|
1254
1277
|
t
|
|
1255
1278
|
),
|
|
1256
1279
|
...e
|
|
1257
1280
|
});
|
|
1258
1281
|
}
|
|
1259
|
-
function
|
|
1260
|
-
return
|
|
1282
|
+
function ln(e = {}) {
|
|
1283
|
+
return s({
|
|
1261
1284
|
mutationFn: async (t) => await r.customAuthz.checkCustomPermissions(t),
|
|
1262
1285
|
...e
|
|
1263
1286
|
});
|
|
1264
1287
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return
|
|
1288
|
+
function yn(e = {}) {
|
|
1289
|
+
return s({
|
|
1267
1290
|
mutationFn: async (t) => await r.customAuthz.bulkCheckCustomPermissions(t),
|
|
1268
1291
|
...e
|
|
1269
1292
|
});
|
|
1270
1293
|
}
|
|
1271
|
-
function
|
|
1294
|
+
function dn(e = {}) {
|
|
1272
1295
|
return o({
|
|
1273
1296
|
queryKey: ["customTypeMetadata"],
|
|
1274
1297
|
queryFn: async () => await r.customAuthz.listCustomTypeMetadata(),
|
|
1275
1298
|
...e
|
|
1276
1299
|
});
|
|
1277
1300
|
}
|
|
1278
|
-
function
|
|
1279
|
-
const n = e?.trim(), { enabled: u, ...
|
|
1301
|
+
function pn(e, t = {}) {
|
|
1302
|
+
const n = e?.trim(), { enabled: u, ...a } = t;
|
|
1280
1303
|
return o({
|
|
1281
1304
|
queryKey: ["customTypeMetadata", n],
|
|
1282
1305
|
queryFn: async () => await r.customAuthz.getCustomTypeMetadata(e),
|
|
1283
|
-
...
|
|
1306
|
+
...a,
|
|
1284
1307
|
// Combine the caller's setting with the gate: callers may disable the query
|
|
1285
1308
|
// but must not enable it with an empty type (would 400).
|
|
1286
1309
|
enabled: (u ?? !0) && !!n
|
|
1287
1310
|
});
|
|
1288
1311
|
}
|
|
1289
|
-
function
|
|
1290
|
-
const t =
|
|
1291
|
-
return
|
|
1312
|
+
function fn(e = {}) {
|
|
1313
|
+
const t = y();
|
|
1314
|
+
return s({
|
|
1292
1315
|
mutationFn: async (n) => await r.customAuthz.registerCustomTypeMetadata(n),
|
|
1293
1316
|
onSuccess: () => {
|
|
1294
1317
|
t.invalidateQueries({ queryKey: ["customTypeMetadata"] });
|
|
@@ -1296,9 +1319,9 @@ function sn(e = {}) {
|
|
|
1296
1319
|
...e
|
|
1297
1320
|
});
|
|
1298
1321
|
}
|
|
1299
|
-
function
|
|
1300
|
-
const t =
|
|
1301
|
-
return
|
|
1322
|
+
function gn(e = {}) {
|
|
1323
|
+
const t = y();
|
|
1324
|
+
return s({
|
|
1302
1325
|
mutationFn: async (n) => await r.customAuthz.deleteCustomTypeMetadata(n),
|
|
1303
1326
|
onSuccess: () => {
|
|
1304
1327
|
t.invalidateQueries({ queryKey: ["customTypeMetadata"] });
|
|
@@ -1306,61 +1329,61 @@ function on(e = {}) {
|
|
|
1306
1329
|
...e
|
|
1307
1330
|
});
|
|
1308
1331
|
}
|
|
1309
|
-
function
|
|
1310
|
-
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;
|
|
1311
1334
|
return o({
|
|
1312
1335
|
queryKey: ["customObjects", n, u],
|
|
1313
1336
|
queryFn: async () => await r.customAuthz.listCustomObjects(e),
|
|
1314
1337
|
...i,
|
|
1315
1338
|
// Combine the caller's setting with the gate: callers may disable the query
|
|
1316
1339
|
// but must not enable it with an empty type/relation (would 400).
|
|
1317
|
-
enabled: (
|
|
1340
|
+
enabled: (a ?? !0) && !!n && !!u
|
|
1318
1341
|
});
|
|
1319
1342
|
}
|
|
1320
|
-
function
|
|
1321
|
-
const n = e?.trim(), { enabled: u, ...
|
|
1343
|
+
function bn(e, t = {}) {
|
|
1344
|
+
const n = e?.trim(), { enabled: u, ...a } = t;
|
|
1322
1345
|
return o({
|
|
1323
1346
|
queryKey: ["customObjectsOfType", n],
|
|
1324
1347
|
queryFn: async () => await r.customAuthz.listCustomObjectsOfType(e),
|
|
1325
|
-
...
|
|
1348
|
+
...a,
|
|
1326
1349
|
// Combine the caller's setting with the gate: callers may disable the query
|
|
1327
1350
|
// but must not enable it with an empty type (would 400).
|
|
1328
1351
|
enabled: (u ?? !0) && !!n
|
|
1329
1352
|
});
|
|
1330
1353
|
}
|
|
1331
|
-
function
|
|
1354
|
+
function Fn(e = {}, t = {}) {
|
|
1332
1355
|
return o({
|
|
1333
1356
|
queryKey: ["inboxItems", "all", e.page, e.perPage],
|
|
1334
1357
|
queryFn: async () => await r.inboxItems.getAllInboxItems(e),
|
|
1335
1358
|
...t
|
|
1336
1359
|
});
|
|
1337
1360
|
}
|
|
1338
|
-
function
|
|
1339
|
-
return
|
|
1361
|
+
function qn(e = {}) {
|
|
1362
|
+
return s({
|
|
1340
1363
|
mutationFn: async (t) => await r.inboxItems.markItemAsRead(t),
|
|
1341
1364
|
...e
|
|
1342
1365
|
});
|
|
1343
1366
|
}
|
|
1344
|
-
function
|
|
1345
|
-
return
|
|
1367
|
+
function wn(e = {}) {
|
|
1368
|
+
return s({
|
|
1346
1369
|
mutationFn: async (t) => await r.inboxItems.markItemAsUnread(t),
|
|
1347
1370
|
...e
|
|
1348
1371
|
});
|
|
1349
1372
|
}
|
|
1350
|
-
function
|
|
1351
|
-
return
|
|
1373
|
+
function hn(e = {}) {
|
|
1374
|
+
return s({
|
|
1352
1375
|
mutationFn: async (t) => await r.inboxItems.createInboxItemPerUser(t),
|
|
1353
1376
|
...e
|
|
1354
1377
|
});
|
|
1355
1378
|
}
|
|
1356
|
-
function
|
|
1379
|
+
function Tn(e = {}) {
|
|
1357
1380
|
return o({
|
|
1358
1381
|
queryKey: ["inboxV2", "types"],
|
|
1359
1382
|
queryFn: async () => await r.inboxV2.listTypes(),
|
|
1360
1383
|
...e
|
|
1361
1384
|
});
|
|
1362
1385
|
}
|
|
1363
|
-
function
|
|
1386
|
+
function Cn(e, t = {}) {
|
|
1364
1387
|
return o({
|
|
1365
1388
|
queryKey: ["inboxV2", "type", e],
|
|
1366
1389
|
queryFn: async () => await r.inboxV2.getType(e),
|
|
@@ -1368,25 +1391,25 @@ function mn(e, t = {}) {
|
|
|
1368
1391
|
...t
|
|
1369
1392
|
});
|
|
1370
1393
|
}
|
|
1371
|
-
function
|
|
1372
|
-
return
|
|
1394
|
+
function Dn(e = {}) {
|
|
1395
|
+
return s({
|
|
1373
1396
|
mutationFn: async (t) => await r.inboxV2.createType(t),
|
|
1374
1397
|
...e
|
|
1375
1398
|
});
|
|
1376
1399
|
}
|
|
1377
|
-
function
|
|
1378
|
-
return
|
|
1400
|
+
function Sn(e = {}) {
|
|
1401
|
+
return s({
|
|
1379
1402
|
mutationFn: async ({ id: t, data: n }) => await r.inboxV2.updateType(t, n),
|
|
1380
1403
|
...e
|
|
1381
1404
|
});
|
|
1382
1405
|
}
|
|
1383
|
-
function
|
|
1384
|
-
return
|
|
1406
|
+
function kn(e = {}) {
|
|
1407
|
+
return s({
|
|
1385
1408
|
mutationFn: async (t) => await r.inboxV2.deleteType(t),
|
|
1386
1409
|
...e
|
|
1387
1410
|
});
|
|
1388
1411
|
}
|
|
1389
|
-
function
|
|
1412
|
+
function Rn(e = {}, t = {}) {
|
|
1390
1413
|
return o({
|
|
1391
1414
|
queryKey: [
|
|
1392
1415
|
"inboxV2",
|
|
@@ -1401,7 +1424,7 @@ function qn(e = {}, t = {}) {
|
|
|
1401
1424
|
...t
|
|
1402
1425
|
});
|
|
1403
1426
|
}
|
|
1404
|
-
function
|
|
1427
|
+
function Kn(e, t = {}) {
|
|
1405
1428
|
return o({
|
|
1406
1429
|
queryKey: ["inboxV2", "item", e],
|
|
1407
1430
|
queryFn: async () => await r.inboxV2.getItem(e),
|
|
@@ -1409,92 +1432,92 @@ function hn(e, t = {}) {
|
|
|
1409
1432
|
...t
|
|
1410
1433
|
});
|
|
1411
1434
|
}
|
|
1412
|
-
function
|
|
1413
|
-
return
|
|
1435
|
+
function xn(e = {}) {
|
|
1436
|
+
return s({
|
|
1414
1437
|
mutationFn: async (t) => await r.inboxV2.createItem(t),
|
|
1415
1438
|
...e
|
|
1416
1439
|
});
|
|
1417
1440
|
}
|
|
1418
|
-
function
|
|
1419
|
-
return
|
|
1441
|
+
function Pn(e = {}) {
|
|
1442
|
+
return s({
|
|
1420
1443
|
mutationFn: async ({ id: t, data: n }) => await r.inboxV2.updateItem(t, n),
|
|
1421
1444
|
...e
|
|
1422
1445
|
});
|
|
1423
1446
|
}
|
|
1424
|
-
function
|
|
1425
|
-
return
|
|
1447
|
+
function vn(e = {}) {
|
|
1448
|
+
return s({
|
|
1426
1449
|
mutationFn: async (t) => await r.inboxV2.markRead(t),
|
|
1427
1450
|
...e
|
|
1428
1451
|
});
|
|
1429
1452
|
}
|
|
1430
|
-
function
|
|
1431
|
-
return
|
|
1453
|
+
function In(e = {}) {
|
|
1454
|
+
return s({
|
|
1432
1455
|
mutationFn: async (t) => await r.inboxV2.markUnread(t),
|
|
1433
1456
|
...e
|
|
1434
1457
|
});
|
|
1435
1458
|
}
|
|
1436
|
-
function
|
|
1437
|
-
return
|
|
1459
|
+
function Vn(e = {}) {
|
|
1460
|
+
return s({
|
|
1438
1461
|
mutationFn: async ({ id: t, data: n }) => await r.inboxV2.snoozeItem(t, n),
|
|
1439
1462
|
...e
|
|
1440
1463
|
});
|
|
1441
1464
|
}
|
|
1442
|
-
function
|
|
1443
|
-
return
|
|
1465
|
+
function En(e = {}) {
|
|
1466
|
+
return s({
|
|
1444
1467
|
mutationFn: async (t) => await r.inboxV2.dismissItem(t),
|
|
1445
1468
|
...e
|
|
1446
1469
|
});
|
|
1447
1470
|
}
|
|
1448
|
-
function
|
|
1449
|
-
return
|
|
1471
|
+
function Bn(e = {}) {
|
|
1472
|
+
return s({
|
|
1450
1473
|
mutationFn: async (t) => await r.inboxV2.claimItem(t),
|
|
1451
1474
|
...e
|
|
1452
1475
|
});
|
|
1453
1476
|
}
|
|
1454
|
-
function
|
|
1455
|
-
return
|
|
1477
|
+
function An(e = {}) {
|
|
1478
|
+
return s({
|
|
1456
1479
|
mutationFn: async (t) => await r.inboxV2.completeItem(t),
|
|
1457
1480
|
...e
|
|
1458
1481
|
});
|
|
1459
1482
|
}
|
|
1460
|
-
function
|
|
1461
|
-
return
|
|
1483
|
+
function Gn(e = {}) {
|
|
1484
|
+
return s({
|
|
1462
1485
|
mutationFn: async (t) => await r.inboxV2.releaseItem(t),
|
|
1463
1486
|
...e
|
|
1464
1487
|
});
|
|
1465
1488
|
}
|
|
1466
|
-
function
|
|
1467
|
-
return
|
|
1489
|
+
function Mn(e = {}) {
|
|
1490
|
+
return s({
|
|
1468
1491
|
mutationFn: async (t) => await r.inboxV2.cancelItem(t),
|
|
1469
1492
|
...e
|
|
1470
1493
|
});
|
|
1471
1494
|
}
|
|
1472
|
-
function
|
|
1473
|
-
return
|
|
1495
|
+
function On(e = {}) {
|
|
1496
|
+
return s({
|
|
1474
1497
|
mutationFn: async ({ id: t, data: n }) => await r.inboxV2.reassignItem(t, n),
|
|
1475
1498
|
...e
|
|
1476
1499
|
});
|
|
1477
1500
|
}
|
|
1478
|
-
function
|
|
1479
|
-
return
|
|
1501
|
+
function Ln(e = {}) {
|
|
1502
|
+
return s({
|
|
1480
1503
|
mutationFn: async (t) => await r.inboxV2.completeByKey(t),
|
|
1481
1504
|
...e
|
|
1482
1505
|
});
|
|
1483
1506
|
}
|
|
1484
|
-
function
|
|
1485
|
-
return
|
|
1507
|
+
function Hn(e = {}) {
|
|
1508
|
+
return s({
|
|
1486
1509
|
mutationFn: async (t) => await r.inboxV2.cancelByKey(t),
|
|
1487
1510
|
...e
|
|
1488
1511
|
});
|
|
1489
1512
|
}
|
|
1490
|
-
function
|
|
1513
|
+
function Un(e, t = {}) {
|
|
1491
1514
|
return o({
|
|
1492
1515
|
queryKey: ["emailConversations", e?.page, e?.pageSize, e?.tag, e?.orderByCreatedDate],
|
|
1493
1516
|
queryFn: async () => await r.emailEngine.getAllConversations(e),
|
|
1494
1517
|
...t
|
|
1495
1518
|
});
|
|
1496
1519
|
}
|
|
1497
|
-
function
|
|
1520
|
+
function Qn(e, t = {}) {
|
|
1498
1521
|
return o({
|
|
1499
1522
|
queryKey: ["emailConversation", e],
|
|
1500
1523
|
queryFn: async () => await r.emailEngine.getConversation({
|
|
@@ -1504,9 +1527,9 @@ function An(e, t = {}) {
|
|
|
1504
1527
|
...t
|
|
1505
1528
|
});
|
|
1506
1529
|
}
|
|
1507
|
-
function
|
|
1508
|
-
const t =
|
|
1509
|
-
return
|
|
1530
|
+
function Wn(e = {}) {
|
|
1531
|
+
const t = y();
|
|
1532
|
+
return s({
|
|
1510
1533
|
mutationFn: async (n) => await r.emailEngine.createConversation(n),
|
|
1511
1534
|
onSuccess: () => {
|
|
1512
1535
|
t.invalidateQueries({ queryKey: ["emailConversations"] });
|
|
@@ -1514,9 +1537,9 @@ function Gn(e = {}) {
|
|
|
1514
1537
|
...e
|
|
1515
1538
|
});
|
|
1516
1539
|
}
|
|
1517
|
-
function
|
|
1518
|
-
const t =
|
|
1519
|
-
return
|
|
1540
|
+
function _n(e = {}) {
|
|
1541
|
+
const t = y();
|
|
1542
|
+
return s({
|
|
1520
1543
|
mutationFn: async (n) => await r.emailEngine.replyToConversation(n),
|
|
1521
1544
|
onSuccess: (n, u) => {
|
|
1522
1545
|
t.invalidateQueries({
|
|
@@ -1526,7 +1549,7 @@ function Mn(e = {}) {
|
|
|
1526
1549
|
...e
|
|
1527
1550
|
});
|
|
1528
1551
|
}
|
|
1529
|
-
function
|
|
1552
|
+
function zn(e, t = {}) {
|
|
1530
1553
|
return o({
|
|
1531
1554
|
queryKey: [
|
|
1532
1555
|
"emailMessagesBySender",
|
|
@@ -1541,14 +1564,14 @@ function On(e, t = {}) {
|
|
|
1541
1564
|
...t
|
|
1542
1565
|
});
|
|
1543
1566
|
}
|
|
1544
|
-
function
|
|
1545
|
-
return
|
|
1567
|
+
function Nn(e = {}) {
|
|
1568
|
+
return s({
|
|
1546
1569
|
mutationFn: async (t) => await r.emailEngine.searchMessages(t),
|
|
1547
1570
|
...e
|
|
1548
1571
|
});
|
|
1549
1572
|
}
|
|
1550
|
-
function
|
|
1551
|
-
const t =
|
|
1573
|
+
function jn(e = {}) {
|
|
1574
|
+
const t = d(async () => await r.tcn.getAuthUrl()), n = p({
|
|
1552
1575
|
queryKey: ["tcn", "authUrl"],
|
|
1553
1576
|
queryFn: t,
|
|
1554
1577
|
enabled: !0,
|
|
@@ -1556,132 +1579,132 @@ function Un(e = {}) {
|
|
|
1556
1579
|
});
|
|
1557
1580
|
return o(n);
|
|
1558
1581
|
}
|
|
1559
|
-
function
|
|
1560
|
-
return
|
|
1582
|
+
function Jn(e = {}) {
|
|
1583
|
+
return s({
|
|
1561
1584
|
mutationFn: async ({ code: t }) => await r.tcn.exchangeCode(t),
|
|
1562
1585
|
...e
|
|
1563
1586
|
});
|
|
1564
1587
|
}
|
|
1565
|
-
function
|
|
1566
|
-
return
|
|
1588
|
+
function $n(e = {}) {
|
|
1589
|
+
return s({
|
|
1567
1590
|
mutationFn: async ({ refresh_token: t }) => await r.tcn.refreshToken(t),
|
|
1568
1591
|
...e
|
|
1569
1592
|
});
|
|
1570
1593
|
}
|
|
1571
|
-
function
|
|
1572
|
-
return
|
|
1594
|
+
function Xn(e = {}) {
|
|
1595
|
+
return s({
|
|
1573
1596
|
mutationFn: async ({ token: t }) => await r.tcn.getCurrentAgent(t),
|
|
1574
1597
|
...e
|
|
1575
1598
|
});
|
|
1576
1599
|
}
|
|
1577
|
-
function
|
|
1578
|
-
return
|
|
1600
|
+
function Yn(e = {}) {
|
|
1601
|
+
return s({
|
|
1579
1602
|
mutationFn: async ({ token: t, huntGroupSid: n }) => await r.tcn.getAgentSkills(t, n),
|
|
1580
1603
|
...e
|
|
1581
1604
|
});
|
|
1582
1605
|
}
|
|
1583
|
-
function
|
|
1584
|
-
return
|
|
1606
|
+
function Zn(e = {}) {
|
|
1607
|
+
return s({
|
|
1585
1608
|
mutationFn: async ({ token: t, huntGroupSid: n, skills: u }) => await r.tcn.createSession(t, n, u),
|
|
1586
1609
|
...e
|
|
1587
1610
|
});
|
|
1588
1611
|
}
|
|
1589
|
-
function
|
|
1590
|
-
return
|
|
1612
|
+
function er(e = {}) {
|
|
1613
|
+
return s({
|
|
1591
1614
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.keepAlive(t, n),
|
|
1592
1615
|
...e
|
|
1593
1616
|
});
|
|
1594
1617
|
}
|
|
1595
|
-
function
|
|
1596
|
-
return
|
|
1618
|
+
function tr(e = {}) {
|
|
1619
|
+
return s({
|
|
1597
1620
|
mutationFn: async ({ token: t }) => await r.tcn.agentGetStatus(t),
|
|
1598
1621
|
...e
|
|
1599
1622
|
});
|
|
1600
1623
|
}
|
|
1601
|
-
function
|
|
1602
|
-
return
|
|
1624
|
+
function nr(e = {}) {
|
|
1625
|
+
return s({
|
|
1603
1626
|
mutationFn: async ({ token: t, huntGroupSid: n }) => await r.tcn.getHuntGroupAgentSettings(t, n),
|
|
1604
1627
|
...e
|
|
1605
1628
|
});
|
|
1606
1629
|
}
|
|
1607
|
-
function
|
|
1608
|
-
return
|
|
1630
|
+
function rr(e = {}) {
|
|
1631
|
+
return s({
|
|
1609
1632
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.dialManualPrepare(t, n),
|
|
1610
1633
|
...e
|
|
1611
1634
|
});
|
|
1612
1635
|
}
|
|
1613
|
-
function
|
|
1614
|
-
return
|
|
1636
|
+
function ur(e = {}) {
|
|
1637
|
+
return s({
|
|
1615
1638
|
mutationFn: async ({ token: t, call: n }) => await r.tcn.processManualDial(t, n),
|
|
1616
1639
|
...e
|
|
1617
1640
|
});
|
|
1618
1641
|
}
|
|
1619
|
-
function
|
|
1620
|
-
return
|
|
1621
|
-
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(
|
|
1622
1645
|
t,
|
|
1623
1646
|
n,
|
|
1624
1647
|
u,
|
|
1625
|
-
|
|
1648
|
+
a
|
|
1626
1649
|
),
|
|
1627
1650
|
...e
|
|
1628
1651
|
});
|
|
1629
1652
|
}
|
|
1630
|
-
function
|
|
1631
|
-
return
|
|
1653
|
+
function sr(e = {}) {
|
|
1654
|
+
return s({
|
|
1632
1655
|
mutationFn: async ({ token: t, sessionSid: n, reason: u }) => await r.tcn.agentDisconnect(t, n, u),
|
|
1633
1656
|
...e
|
|
1634
1657
|
});
|
|
1635
1658
|
}
|
|
1636
|
-
function
|
|
1637
|
-
return
|
|
1659
|
+
function or(e = {}) {
|
|
1660
|
+
return s({
|
|
1638
1661
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.agentPause(t, n),
|
|
1639
1662
|
...e
|
|
1640
1663
|
});
|
|
1641
1664
|
}
|
|
1642
|
-
function
|
|
1643
|
-
return
|
|
1665
|
+
function ir(e = {}) {
|
|
1666
|
+
return s({
|
|
1644
1667
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.agentSetReady(t, n),
|
|
1645
1668
|
...e
|
|
1646
1669
|
});
|
|
1647
1670
|
}
|
|
1648
|
-
function
|
|
1649
|
-
return
|
|
1671
|
+
function cr(e = {}) {
|
|
1672
|
+
return s({
|
|
1650
1673
|
mutationFn: async ({ token: t, sessionSid: n }) => await r.tcn.agentGetConnectedParty(t, n),
|
|
1651
1674
|
...e
|
|
1652
1675
|
});
|
|
1653
1676
|
}
|
|
1654
|
-
function
|
|
1655
|
-
return
|
|
1677
|
+
function lr(e = {}) {
|
|
1678
|
+
return s({
|
|
1656
1679
|
mutationFn: async ({ token: t, callSid: n }) => await r.tcn.getCallData(t, n),
|
|
1657
1680
|
...e
|
|
1658
1681
|
});
|
|
1659
1682
|
}
|
|
1660
|
-
function
|
|
1661
|
-
return
|
|
1683
|
+
function yr(e = {}) {
|
|
1684
|
+
return s({
|
|
1662
1685
|
mutationFn: async ({ token: t, sessionSid: n, holdType: u }) => await r.tcn.agentPutCallOnHold(t, n, u),
|
|
1663
1686
|
...e
|
|
1664
1687
|
});
|
|
1665
1688
|
}
|
|
1666
|
-
function
|
|
1667
|
-
return
|
|
1689
|
+
function dr(e = {}) {
|
|
1690
|
+
return s({
|
|
1668
1691
|
mutationFn: async ({ token: t, sessionSid: n, holdType: u }) => await r.tcn.agentGetCallFromHold(t, n, u),
|
|
1669
1692
|
...e
|
|
1670
1693
|
});
|
|
1671
1694
|
}
|
|
1672
|
-
function
|
|
1673
|
-
return
|
|
1695
|
+
function pr(e = {}) {
|
|
1696
|
+
return s({
|
|
1674
1697
|
mutationFn: async (t) => await r.tcn.ftpManualDialReport(t),
|
|
1675
1698
|
...e
|
|
1676
1699
|
});
|
|
1677
1700
|
}
|
|
1678
|
-
function
|
|
1679
|
-
return
|
|
1701
|
+
function fr(e = {}) {
|
|
1702
|
+
return s({
|
|
1680
1703
|
mutationFn: async (t) => await r.templates.renderTemplate(t),
|
|
1681
1704
|
...e
|
|
1682
1705
|
});
|
|
1683
1706
|
}
|
|
1684
|
-
function
|
|
1707
|
+
function gr(e, t = {}) {
|
|
1685
1708
|
const n = e?.trim();
|
|
1686
1709
|
return o({
|
|
1687
1710
|
queryKey: ["databox", "folder", n],
|
|
@@ -1694,7 +1717,7 @@ function ir(e, t = {}) {
|
|
|
1694
1717
|
...t
|
|
1695
1718
|
});
|
|
1696
1719
|
}
|
|
1697
|
-
function
|
|
1720
|
+
function mr(e, t = {}) {
|
|
1698
1721
|
const n = e?.trim();
|
|
1699
1722
|
return o({
|
|
1700
1723
|
queryKey: ["databox", "folder", n, "files"],
|
|
@@ -1707,7 +1730,18 @@ function cr(e, t = {}) {
|
|
|
1707
1730
|
...t
|
|
1708
1731
|
});
|
|
1709
1732
|
}
|
|
1710
|
-
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 = {}) {
|
|
1711
1745
|
const n = e?.trim();
|
|
1712
1746
|
return o({
|
|
1713
1747
|
queryKey: ["databox", "folder", n, "datasets"],
|
|
@@ -1720,7 +1754,7 @@ function lr(e, t = {}) {
|
|
|
1720
1754
|
...t
|
|
1721
1755
|
});
|
|
1722
1756
|
}
|
|
1723
|
-
function
|
|
1757
|
+
function qr(e, t = {}) {
|
|
1724
1758
|
const n = e?.trim();
|
|
1725
1759
|
return o({
|
|
1726
1760
|
queryKey: ["databox", "folder", n, "duplicates"],
|
|
@@ -1735,7 +1769,7 @@ function yr(e, t = {}) {
|
|
|
1735
1769
|
...t
|
|
1736
1770
|
});
|
|
1737
1771
|
}
|
|
1738
|
-
function
|
|
1772
|
+
function wr(e, t = {}) {
|
|
1739
1773
|
const n = e?.trim();
|
|
1740
1774
|
return o({
|
|
1741
1775
|
queryKey: ["dataset", n, "exceptions"],
|
|
@@ -1748,7 +1782,7 @@ function dr(e, t = {}) {
|
|
|
1748
1782
|
...t
|
|
1749
1783
|
});
|
|
1750
1784
|
}
|
|
1751
|
-
function
|
|
1785
|
+
function hr(e, t, n = {}) {
|
|
1752
1786
|
const u = e?.trim();
|
|
1753
1787
|
return o({
|
|
1754
1788
|
queryKey: ["dataset", u, "duplicates", t ?? null],
|
|
@@ -1764,7 +1798,7 @@ function pr(e, t, n = {}) {
|
|
|
1764
1798
|
...n
|
|
1765
1799
|
});
|
|
1766
1800
|
}
|
|
1767
|
-
function
|
|
1801
|
+
function Tr(e, t = {}) {
|
|
1768
1802
|
const n = e?.trim();
|
|
1769
1803
|
return o({
|
|
1770
1804
|
queryKey: ["databox", "folder", n, "schema"],
|
|
@@ -1777,7 +1811,7 @@ function gr(e, t = {}) {
|
|
|
1777
1811
|
...t
|
|
1778
1812
|
});
|
|
1779
1813
|
}
|
|
1780
|
-
function
|
|
1814
|
+
function Cr(e, t = {}) {
|
|
1781
1815
|
const n = e?.trim();
|
|
1782
1816
|
return o({
|
|
1783
1817
|
queryKey: ["databox", "folder", n, "schema", "history"],
|
|
@@ -1790,7 +1824,7 @@ function fr(e, t = {}) {
|
|
|
1790
1824
|
...t
|
|
1791
1825
|
});
|
|
1792
1826
|
}
|
|
1793
|
-
function
|
|
1827
|
+
function Dr(e, t = {}) {
|
|
1794
1828
|
const n = e?.trim();
|
|
1795
1829
|
return o({
|
|
1796
1830
|
queryKey: ["databox", "folder", n, "trash"],
|
|
@@ -1803,7 +1837,7 @@ function mr(e, t = {}) {
|
|
|
1803
1837
|
...t
|
|
1804
1838
|
});
|
|
1805
1839
|
}
|
|
1806
|
-
function
|
|
1840
|
+
function Sr(e, t = {}) {
|
|
1807
1841
|
const n = e?.trim();
|
|
1808
1842
|
return o({
|
|
1809
1843
|
queryKey: ["databox", "file", n],
|
|
@@ -1816,7 +1850,7 @@ function br(e, t = {}) {
|
|
|
1816
1850
|
...t
|
|
1817
1851
|
});
|
|
1818
1852
|
}
|
|
1819
|
-
function
|
|
1853
|
+
function kr(e, t = {}) {
|
|
1820
1854
|
const n = e?.trim();
|
|
1821
1855
|
return o({
|
|
1822
1856
|
queryKey: ["databox", "file", n, "status"],
|
|
@@ -1829,7 +1863,7 @@ function Fr(e, t = {}) {
|
|
|
1829
1863
|
...t
|
|
1830
1864
|
});
|
|
1831
1865
|
}
|
|
1832
|
-
function
|
|
1866
|
+
function Rr(e, t = {}) {
|
|
1833
1867
|
const n = e?.trim();
|
|
1834
1868
|
return o({
|
|
1835
1869
|
queryKey: ["databox", "file", n, "runs"],
|
|
@@ -1842,7 +1876,7 @@ function wr(e, t = {}) {
|
|
|
1842
1876
|
...t
|
|
1843
1877
|
});
|
|
1844
1878
|
}
|
|
1845
|
-
function
|
|
1879
|
+
function Kr(e, t = {}) {
|
|
1846
1880
|
const n = e?.trim();
|
|
1847
1881
|
return o({
|
|
1848
1882
|
queryKey: ["databox", "file", n, "download-url"],
|
|
@@ -1855,146 +1889,146 @@ function qr(e, t = {}) {
|
|
|
1855
1889
|
...t
|
|
1856
1890
|
});
|
|
1857
1891
|
}
|
|
1858
|
-
function
|
|
1859
|
-
return
|
|
1892
|
+
function xr(e = {}) {
|
|
1893
|
+
return s({
|
|
1860
1894
|
mutationFn: async (t) => await r.databox.dropFileToDatabox(t),
|
|
1861
1895
|
...e
|
|
1862
1896
|
});
|
|
1863
1897
|
}
|
|
1864
|
-
function
|
|
1865
|
-
return
|
|
1898
|
+
function Pr(e = {}) {
|
|
1899
|
+
return s({
|
|
1866
1900
|
mutationFn: async (t) => await r.databox.runDataboxFolder(t),
|
|
1867
1901
|
...e
|
|
1868
1902
|
});
|
|
1869
1903
|
}
|
|
1870
|
-
function
|
|
1871
|
-
return
|
|
1904
|
+
function vr(e = {}) {
|
|
1905
|
+
return s({
|
|
1872
1906
|
mutationFn: async (t) => await r.databox.updateDataboxFolderSchema(t),
|
|
1873
1907
|
...e
|
|
1874
1908
|
});
|
|
1875
1909
|
}
|
|
1876
|
-
function
|
|
1877
|
-
return
|
|
1910
|
+
function Ir(e = {}) {
|
|
1911
|
+
return s({
|
|
1878
1912
|
mutationFn: async (t) => await r.databox.trashDataboxFiles(t),
|
|
1879
1913
|
...e
|
|
1880
1914
|
});
|
|
1881
1915
|
}
|
|
1882
|
-
function
|
|
1883
|
-
return
|
|
1916
|
+
function Vr(e = {}) {
|
|
1917
|
+
return s({
|
|
1884
1918
|
mutationFn: async (t) => await r.databox.restoreDataboxFile(t),
|
|
1885
1919
|
...e
|
|
1886
1920
|
});
|
|
1887
1921
|
}
|
|
1888
|
-
function
|
|
1889
|
-
return
|
|
1922
|
+
function Er(e = {}) {
|
|
1923
|
+
return s({
|
|
1890
1924
|
mutationFn: async (t) => await r.databox.permanentDeleteDataboxFiles(t),
|
|
1891
1925
|
...e
|
|
1892
1926
|
});
|
|
1893
1927
|
}
|
|
1894
|
-
function
|
|
1895
|
-
const n =
|
|
1928
|
+
function Br(e, t = {}) {
|
|
1929
|
+
const n = d(async () => await r.periodManagement.listFiscalCalendars(e)), u = p({
|
|
1896
1930
|
queryKey: ["periodManagement", "fiscalCalendars", e ?? "all"],
|
|
1897
1931
|
queryFn: n,
|
|
1898
1932
|
options: t
|
|
1899
1933
|
});
|
|
1900
1934
|
return o(u);
|
|
1901
1935
|
}
|
|
1902
|
-
function
|
|
1903
|
-
const n = !!e, u =
|
|
1936
|
+
function Ar(e, t = {}) {
|
|
1937
|
+
const n = !!e, u = d(async () => {
|
|
1904
1938
|
if (!e)
|
|
1905
1939
|
throw new Error("Fiscal calendar id is required");
|
|
1906
1940
|
return await r.periodManagement.getFiscalCalendar(e);
|
|
1907
|
-
}),
|
|
1941
|
+
}), a = p({
|
|
1908
1942
|
queryKey: ["periodManagement", "fiscalCalendar", e],
|
|
1909
1943
|
queryFn: u,
|
|
1910
1944
|
enabled: n,
|
|
1911
1945
|
options: t
|
|
1912
1946
|
});
|
|
1913
|
-
return o(
|
|
1947
|
+
return o(a);
|
|
1914
1948
|
}
|
|
1915
|
-
function
|
|
1916
|
-
return
|
|
1949
|
+
function Gr(e = {}) {
|
|
1950
|
+
return s({
|
|
1917
1951
|
mutationFn: async (t) => await r.periodManagement.createFiscalCalendar(t),
|
|
1918
1952
|
...e
|
|
1919
1953
|
});
|
|
1920
1954
|
}
|
|
1921
|
-
function
|
|
1922
|
-
return
|
|
1955
|
+
function Mr(e = {}) {
|
|
1956
|
+
return s({
|
|
1923
1957
|
mutationFn: async ({ id: t, params: n }) => await r.periodManagement.updateFiscalCalendar(t, n),
|
|
1924
1958
|
...e
|
|
1925
1959
|
});
|
|
1926
1960
|
}
|
|
1927
|
-
function
|
|
1928
|
-
return
|
|
1961
|
+
function Or(e = {}) {
|
|
1962
|
+
return s({
|
|
1929
1963
|
mutationFn: async (t) => await r.periodManagement.deleteFiscalCalendar(t),
|
|
1930
1964
|
...e
|
|
1931
1965
|
});
|
|
1932
1966
|
}
|
|
1933
|
-
function
|
|
1934
|
-
const n =
|
|
1967
|
+
function Lr(e, t = {}) {
|
|
1968
|
+
const n = d(async () => await r.periodManagement.listHolidayCalendars(e)), u = p({
|
|
1935
1969
|
queryKey: ["periodManagement", "holidayCalendars", e ?? "all"],
|
|
1936
1970
|
queryFn: n,
|
|
1937
1971
|
options: t
|
|
1938
1972
|
});
|
|
1939
1973
|
return o(u);
|
|
1940
1974
|
}
|
|
1941
|
-
function
|
|
1942
|
-
const n = !!e, u =
|
|
1975
|
+
function Hr(e, t = {}) {
|
|
1976
|
+
const n = !!e, u = d(async () => {
|
|
1943
1977
|
if (!e)
|
|
1944
1978
|
throw new Error("Holiday calendar id is required");
|
|
1945
1979
|
return await r.periodManagement.getHolidayCalendar(e);
|
|
1946
|
-
}),
|
|
1980
|
+
}), a = p({
|
|
1947
1981
|
queryKey: ["periodManagement", "holidayCalendar", e],
|
|
1948
1982
|
queryFn: u,
|
|
1949
1983
|
enabled: n,
|
|
1950
1984
|
options: t
|
|
1951
1985
|
});
|
|
1952
|
-
return o(
|
|
1986
|
+
return o(a);
|
|
1953
1987
|
}
|
|
1954
|
-
function
|
|
1955
|
-
return
|
|
1988
|
+
function Ur(e = {}) {
|
|
1989
|
+
return s({
|
|
1956
1990
|
mutationFn: async (t) => await r.periodManagement.createHolidayCalendar(t),
|
|
1957
1991
|
...e
|
|
1958
1992
|
});
|
|
1959
1993
|
}
|
|
1960
|
-
function
|
|
1961
|
-
return
|
|
1994
|
+
function Qr(e = {}) {
|
|
1995
|
+
return s({
|
|
1962
1996
|
mutationFn: async ({ id: t, params: n }) => await r.periodManagement.updateHolidayCalendar(t, n),
|
|
1963
1997
|
...e
|
|
1964
1998
|
});
|
|
1965
1999
|
}
|
|
1966
|
-
function
|
|
1967
|
-
return
|
|
2000
|
+
function Wr(e = {}) {
|
|
2001
|
+
return s({
|
|
1968
2002
|
mutationFn: async (t) => await r.periodManagement.deleteHolidayCalendar(t),
|
|
1969
2003
|
...e
|
|
1970
2004
|
});
|
|
1971
2005
|
}
|
|
1972
|
-
function
|
|
1973
|
-
const n = !!e, u =
|
|
2006
|
+
function _r(e, t = {}) {
|
|
2007
|
+
const n = !!e, u = d(async () => {
|
|
1974
2008
|
if (!e)
|
|
1975
2009
|
throw new Error("Holiday calendar id is required");
|
|
1976
2010
|
return await r.periodManagement.listHolidays(e);
|
|
1977
|
-
}),
|
|
2011
|
+
}), a = p({
|
|
1978
2012
|
queryKey: ["periodManagement", "holidayCalendar", e, "holidays"],
|
|
1979
2013
|
queryFn: u,
|
|
1980
2014
|
enabled: n,
|
|
1981
2015
|
options: t
|
|
1982
2016
|
});
|
|
1983
|
-
return o(
|
|
2017
|
+
return o(a);
|
|
1984
2018
|
}
|
|
1985
|
-
function
|
|
1986
|
-
return
|
|
2019
|
+
function zr(e = {}) {
|
|
2020
|
+
return s({
|
|
1987
2021
|
mutationFn: async ({ id: t, items: n }) => await r.periodManagement.importHolidays(t, n),
|
|
1988
2022
|
...e
|
|
1989
2023
|
});
|
|
1990
2024
|
}
|
|
1991
|
-
function
|
|
2025
|
+
function se(e, t) {
|
|
1992
2026
|
return t.split(".").reduce(
|
|
1993
2027
|
(n, u) => n && typeof n == "object" ? n[u] : void 0,
|
|
1994
2028
|
e
|
|
1995
2029
|
);
|
|
1996
2030
|
}
|
|
1997
|
-
function
|
|
2031
|
+
function Nr(e, t = {}) {
|
|
1998
2032
|
const n = o({
|
|
1999
2033
|
...t,
|
|
2000
2034
|
queryKey: ["pipeline", "list"],
|
|
@@ -2002,15 +2036,15 @@ function Or(e, t = {}) {
|
|
|
2002
2036
|
});
|
|
2003
2037
|
return {
|
|
2004
2038
|
pipelines: h(() => {
|
|
2005
|
-
const
|
|
2006
|
-
return e?.key ?
|
|
2039
|
+
const a = n.data ?? [];
|
|
2040
|
+
return e?.key ? a.filter((i) => se(i, e.key) === e.value) : a;
|
|
2007
2041
|
}, [n.data, e?.key, e?.value]),
|
|
2008
2042
|
isLoading: n.isLoading,
|
|
2009
2043
|
error: n.error,
|
|
2010
2044
|
refetch: n.refetch
|
|
2011
2045
|
};
|
|
2012
2046
|
}
|
|
2013
|
-
function
|
|
2047
|
+
function oe(e, t = {}) {
|
|
2014
2048
|
const n = e?.trim(), u = o({
|
|
2015
2049
|
...t,
|
|
2016
2050
|
queryKey: ["pipeline", "runs", n],
|
|
@@ -2024,67 +2058,67 @@ function ne(e, t = {}) {
|
|
|
2024
2058
|
refetch: u.refetch
|
|
2025
2059
|
};
|
|
2026
2060
|
}
|
|
2027
|
-
function
|
|
2028
|
-
const { runs: n, isLoading: u, error:
|
|
2061
|
+
function jr(e, t = {}) {
|
|
2062
|
+
const { runs: n, isLoading: u, error: a, refetch: i } = oe(e, t);
|
|
2029
2063
|
return { run: h(() => {
|
|
2030
|
-
const l = n.filter((
|
|
2064
|
+
const l = n.filter((f) => f.status === "SUCCEEDED");
|
|
2031
2065
|
if (l.length)
|
|
2032
2066
|
return l.reduce(
|
|
2033
|
-
(
|
|
2067
|
+
(f, g) => (g.startedAt ?? "") > (f.startedAt ?? "") ? g : f
|
|
2034
2068
|
);
|
|
2035
|
-
}, [n]), isLoading: u, error:
|
|
2069
|
+
}, [n]), isLoading: u, error: a, refetch: i };
|
|
2036
2070
|
}
|
|
2037
|
-
function
|
|
2038
|
-
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({
|
|
2039
2073
|
queryKey: ["pipeline", "definition", u],
|
|
2040
2074
|
queryFn: async () => r.pipeline.getPipelineDefinition(u),
|
|
2041
2075
|
enabled: i
|
|
2042
2076
|
}), l = h(
|
|
2043
2077
|
() => c.data?.nodes ?? [],
|
|
2044
2078
|
[c.data]
|
|
2045
|
-
),
|
|
2079
|
+
), f = h(
|
|
2046
2080
|
() => c.data?.edges ?? [],
|
|
2047
2081
|
[c.data]
|
|
2048
|
-
),
|
|
2082
|
+
), g = (C) => l.find((S) => S.id === C)?.data, m = o({
|
|
2049
2083
|
queryKey: ["pipeline", "runs", u],
|
|
2050
2084
|
queryFn: async () => r.pipeline.getPipelineRunStatus(u),
|
|
2051
2085
|
enabled: i
|
|
2052
|
-
}),
|
|
2053
|
-
() => (m.data ?? []).find((
|
|
2054
|
-
[m.data,
|
|
2055
|
-
), [b, F] =
|
|
2056
|
-
queryKey: ["pipeline", "output",
|
|
2086
|
+
}), q = h(
|
|
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],
|
|
2057
2091
|
queryFn: async () => {
|
|
2058
|
-
const
|
|
2059
|
-
r.definition.runDefinition({ inputs: {}, definition:
|
|
2060
|
-
r.definition.getDescription({ inputs: {}, definition:
|
|
2061
|
-
]),
|
|
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 ?? [];
|
|
2062
2096
|
return {
|
|
2063
|
-
rows:
|
|
2064
|
-
columns:
|
|
2097
|
+
rows: S ?? [],
|
|
2098
|
+
columns: M
|
|
2065
2099
|
};
|
|
2066
2100
|
},
|
|
2067
2101
|
enabled: i && b && !!T
|
|
2068
|
-
}),
|
|
2069
|
-
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();
|
|
2070
2104
|
};
|
|
2071
2105
|
return {
|
|
2072
|
-
run:
|
|
2106
|
+
run: q,
|
|
2073
2107
|
nodes: l,
|
|
2074
|
-
edges:
|
|
2108
|
+
edges: f,
|
|
2075
2109
|
isCurrentDefinition: !0,
|
|
2076
2110
|
// run carries no snapshot; graph reflects the current definition
|
|
2077
|
-
isLoading:
|
|
2078
|
-
error:
|
|
2079
|
-
getNodeProperties:
|
|
2080
|
-
output:
|
|
2081
|
-
isOutputLoading:
|
|
2082
|
-
outputError:
|
|
2111
|
+
isLoading: B,
|
|
2112
|
+
error: A,
|
|
2113
|
+
getNodeProperties: g,
|
|
2114
|
+
output: D.data,
|
|
2115
|
+
isOutputLoading: D.isLoading && b,
|
|
2116
|
+
outputError: D.error,
|
|
2083
2117
|
loadOutput: () => F(!0),
|
|
2084
|
-
refetch:
|
|
2118
|
+
refetch: G
|
|
2085
2119
|
};
|
|
2086
2120
|
}
|
|
2087
|
-
function
|
|
2121
|
+
function $r(e, t = {}) {
|
|
2088
2122
|
const n = e?.trim();
|
|
2089
2123
|
return o({
|
|
2090
2124
|
...t,
|
|
@@ -2093,15 +2127,15 @@ function Hr(e, t = {}) {
|
|
|
2093
2127
|
enabled: !!n
|
|
2094
2128
|
});
|
|
2095
2129
|
}
|
|
2096
|
-
function
|
|
2097
|
-
const t = e?.trim(), [n, u] =
|
|
2130
|
+
function Xr(e) {
|
|
2131
|
+
const t = e?.trim(), [n, u] = w(
|
|
2098
2132
|
void 0
|
|
2099
|
-
),
|
|
2133
|
+
), a = s({
|
|
2100
2134
|
mutationFn: async () => r.pipeline.startOutputSample(t),
|
|
2101
|
-
onSuccess: (
|
|
2135
|
+
onSuccess: (f) => u(f)
|
|
2102
2136
|
});
|
|
2103
|
-
|
|
2104
|
-
u(void 0), t &&
|
|
2137
|
+
v(() => {
|
|
2138
|
+
u(void 0), t && a.mutate();
|
|
2105
2139
|
}, [t]);
|
|
2106
2140
|
const i = o({
|
|
2107
2141
|
queryKey: ["pipeline", "outputSample", t, n?.runId],
|
|
@@ -2112,46 +2146,58 @@ function Qr(e) {
|
|
|
2112
2146
|
sheetId: n.sheetId
|
|
2113
2147
|
}),
|
|
2114
2148
|
enabled: !!t && !!n?.runId,
|
|
2115
|
-
refetchInterval: (
|
|
2116
|
-
}), c =
|
|
2117
|
-
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();
|
|
2118
2152
|
}, [t]);
|
|
2119
2153
|
return {
|
|
2120
2154
|
status: c,
|
|
2121
2155
|
rows: i.data?.rows,
|
|
2122
2156
|
columns: i.data?.columns,
|
|
2123
2157
|
totalCount: i.data?.totalCount,
|
|
2124
|
-
error: i.data?.error ??
|
|
2158
|
+
error: i.data?.error ?? a.error?.message,
|
|
2125
2159
|
refetch: l
|
|
2126
2160
|
};
|
|
2127
2161
|
}
|
|
2128
|
-
function
|
|
2162
|
+
function Yr(e, t = {}) {
|
|
2129
2163
|
return o({
|
|
2130
2164
|
...t,
|
|
2131
2165
|
queryKey: ["pipeline", "definition", e],
|
|
2132
2166
|
queryFn: async () => r.pipeline.getPipelineDefinition(e)
|
|
2133
2167
|
});
|
|
2134
2168
|
}
|
|
2135
|
-
function
|
|
2169
|
+
function Zr(e, t = {}) {
|
|
2136
2170
|
return o({
|
|
2137
2171
|
...t,
|
|
2138
2172
|
queryKey: ["pipeline", "runStatus", e],
|
|
2139
2173
|
queryFn: async () => r.pipeline.getPipelineRunStatus(e)
|
|
2140
2174
|
});
|
|
2141
2175
|
}
|
|
2142
|
-
function
|
|
2143
|
-
return
|
|
2176
|
+
function eu(e = {}) {
|
|
2177
|
+
return s({
|
|
2144
2178
|
mutationFn: async (t) => r.pipeline.savePipeline(t, { approve: !0 }),
|
|
2145
2179
|
...e
|
|
2146
2180
|
});
|
|
2147
2181
|
}
|
|
2148
|
-
function
|
|
2149
|
-
return
|
|
2182
|
+
function tu(e = {}) {
|
|
2183
|
+
return s({
|
|
2150
2184
|
mutationFn: async (t) => r.pipeline.runPipeline(t, { approve: !0 }),
|
|
2151
2185
|
...e
|
|
2152
2186
|
});
|
|
2153
2187
|
}
|
|
2154
|
-
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 = {}) {
|
|
2155
2201
|
const t = o({
|
|
2156
2202
|
...e,
|
|
2157
2203
|
queryKey: ["workingPaper", "list"],
|
|
@@ -2164,61 +2210,61 @@ function jr(e = {}) {
|
|
|
2164
2210
|
refetch: t.refetch
|
|
2165
2211
|
};
|
|
2166
2212
|
}
|
|
2167
|
-
function
|
|
2168
|
-
const n = e?.trim(), u =
|
|
2213
|
+
function au(e, t = {}) {
|
|
2214
|
+
const n = e?.trim(), u = y(), a = o({
|
|
2169
2215
|
...t,
|
|
2170
2216
|
queryKey: ["workingPaper", "detail", n],
|
|
2171
2217
|
queryFn: async () => r.workingPaper.getWorkingPaper(n),
|
|
2172
2218
|
enabled: !!n && (t.enabled ?? !0)
|
|
2173
|
-
}), i =
|
|
2219
|
+
}), i = s({
|
|
2174
2220
|
mutationFn: async (l) => r.workingPaper.updateWorkingPaper(n, l),
|
|
2175
2221
|
onSuccess: () => {
|
|
2176
2222
|
u.invalidateQueries({ queryKey: ["workingPaper", "detail", n] }), u.invalidateQueries({ queryKey: ["workingPaper", "list"] });
|
|
2177
2223
|
}
|
|
2178
|
-
}), c =
|
|
2224
|
+
}), c = s({
|
|
2179
2225
|
mutationFn: async () => r.workingPaper.deleteWorkingPaper(n),
|
|
2180
2226
|
onSuccess: () => {
|
|
2181
2227
|
u.invalidateQueries({ queryKey: ["workingPaper", "list"] });
|
|
2182
2228
|
}
|
|
2183
2229
|
});
|
|
2184
2230
|
return {
|
|
2185
|
-
paper:
|
|
2186
|
-
sheets:
|
|
2187
|
-
isLoading:
|
|
2188
|
-
error:
|
|
2189
|
-
refetch:
|
|
2231
|
+
paper: a.data,
|
|
2232
|
+
sheets: a.data?.sheets ?? [],
|
|
2233
|
+
isLoading: a.isLoading,
|
|
2234
|
+
error: a.error,
|
|
2235
|
+
refetch: a.refetch,
|
|
2190
2236
|
save: (l) => i.mutateAsync(l),
|
|
2191
2237
|
isSaving: i.isPending,
|
|
2192
2238
|
remove: () => c.mutateAsync(),
|
|
2193
2239
|
isDeleting: c.isPending
|
|
2194
2240
|
};
|
|
2195
2241
|
}
|
|
2196
|
-
function
|
|
2197
|
-
const e =
|
|
2198
|
-
return
|
|
2242
|
+
function su() {
|
|
2243
|
+
const e = y();
|
|
2244
|
+
return s({
|
|
2199
2245
|
mutationFn: async (t) => r.workingPaper.createWorkingPaper(t),
|
|
2200
2246
|
onSuccess: () => e.invalidateQueries({ queryKey: ["workingPaper", "list"] })
|
|
2201
2247
|
});
|
|
2202
2248
|
}
|
|
2203
|
-
function
|
|
2204
|
-
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({
|
|
2205
2251
|
...t,
|
|
2206
2252
|
queryKey: ["workingPaper", "inputTableSheet", "views", u],
|
|
2207
2253
|
queryFn: async () => r.statement.getViewsBySheetId(u),
|
|
2208
2254
|
enabled: !!u && (t.enabled ?? !0)
|
|
2209
2255
|
}), l = o({
|
|
2210
2256
|
...n,
|
|
2211
|
-
queryKey: ["workingPaper", "inputTableSheet", "rows", u,
|
|
2257
|
+
queryKey: ["workingPaper", "inputTableSheet", "rows", u, a, i],
|
|
2212
2258
|
queryFn: async () => r.inputTable.getRows(u, {
|
|
2213
|
-
...
|
|
2259
|
+
...a ? { view_id: a } : {},
|
|
2214
2260
|
...i ? { limit: i } : {}
|
|
2215
2261
|
}),
|
|
2216
2262
|
enabled: !!u && (n.enabled ?? !0)
|
|
2217
|
-
}),
|
|
2263
|
+
}), f = c.data ?? [], g = l.data;
|
|
2218
2264
|
return {
|
|
2219
|
-
views:
|
|
2220
|
-
rows:
|
|
2221
|
-
totalCount:
|
|
2265
|
+
views: f,
|
|
2266
|
+
rows: g?.data ?? [],
|
|
2267
|
+
totalCount: g?.total_count ?? 0,
|
|
2222
2268
|
isLoading: c.isLoading || l.isLoading,
|
|
2223
2269
|
error: c.error ?? l.error,
|
|
2224
2270
|
refetch: () => {
|
|
@@ -2226,15 +2272,15 @@ function Xr(e, t = {}, n = {}) {
|
|
|
2226
2272
|
}
|
|
2227
2273
|
};
|
|
2228
2274
|
}
|
|
2229
|
-
function
|
|
2230
|
-
const [t, n] =
|
|
2275
|
+
function iu(e) {
|
|
2276
|
+
const [t, n] = w(
|
|
2231
2277
|
() => e?.definition ?? (e?.datasetId ? r.workingPaper.createFxDatasetDefinition(e.datasetId, e.columns ?? []) : void 0)
|
|
2232
|
-
), u =
|
|
2278
|
+
), u = s({
|
|
2233
2279
|
mutationFn: async () => {
|
|
2234
2280
|
if (!t) throw { message: "No fx definition to run", status: 400 };
|
|
2235
|
-
const
|
|
2236
|
-
r.definition.runDefinition({ inputs: {}, definition: t, variable:
|
|
2237
|
-
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 })
|
|
2238
2284
|
]), l = Array.isArray(c) ? c : c?.data ?? [];
|
|
2239
2285
|
return { rows: i ?? [], columns: l };
|
|
2240
2286
|
}
|
|
@@ -2242,19 +2288,19 @@ function Yr(e) {
|
|
|
2242
2288
|
return {
|
|
2243
2289
|
definition: t,
|
|
2244
2290
|
setDefinition: n,
|
|
2245
|
-
reset: (
|
|
2246
|
-
addFilter: (
|
|
2247
|
-
addSort: (
|
|
2248
|
-
addMetric: (
|
|
2249
|
-
addPivot: (
|
|
2250
|
-
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)),
|
|
2251
2297
|
run: () => u.mutateAsync(),
|
|
2252
2298
|
result: u.data,
|
|
2253
2299
|
isRunning: u.isPending,
|
|
2254
2300
|
runError: u.error
|
|
2255
2301
|
};
|
|
2256
2302
|
}
|
|
2257
|
-
function
|
|
2303
|
+
function ie(e = {}) {
|
|
2258
2304
|
const t = o({
|
|
2259
2305
|
...e,
|
|
2260
2306
|
queryKey: ["solutions", "list"],
|
|
@@ -2267,7 +2313,7 @@ function re(e = {}) {
|
|
|
2267
2313
|
refetch: t.refetch
|
|
2268
2314
|
};
|
|
2269
2315
|
}
|
|
2270
|
-
function
|
|
2316
|
+
function ce(e, t, n = {}) {
|
|
2271
2317
|
const u = e?.trim();
|
|
2272
2318
|
return o({
|
|
2273
2319
|
...n,
|
|
@@ -2276,41 +2322,41 @@ function ue(e, t, n = {}) {
|
|
|
2276
2322
|
enabled: !!u
|
|
2277
2323
|
});
|
|
2278
2324
|
}
|
|
2279
|
-
function
|
|
2280
|
-
const { solutions: e, isLoading: t } =
|
|
2325
|
+
function cu() {
|
|
2326
|
+
const { solutions: e, isLoading: t } = ie(), [n, u] = w(void 0), [a, i] = w(
|
|
2281
2327
|
void 0
|
|
2282
|
-
), c =
|
|
2328
|
+
), c = ce(n), l = c.data ?? [], f = (m) => {
|
|
2283
2329
|
u(m), i(void 0);
|
|
2284
|
-
},
|
|
2330
|
+
}, g = h(
|
|
2285
2331
|
() => e.find((m) => m.id === n),
|
|
2286
2332
|
[e, n]
|
|
2287
2333
|
);
|
|
2288
2334
|
return {
|
|
2289
2335
|
solutions: e,
|
|
2290
|
-
selectedSolution:
|
|
2336
|
+
selectedSolution: g,
|
|
2291
2337
|
selectedSolutionId: n,
|
|
2292
|
-
selectSolution:
|
|
2338
|
+
selectSolution: f,
|
|
2293
2339
|
branches: l,
|
|
2294
|
-
selectedBranch:
|
|
2340
|
+
selectedBranch: a,
|
|
2295
2341
|
selectBranch: i,
|
|
2296
2342
|
isLoadingSolutions: t,
|
|
2297
2343
|
isLoadingBranches: c.isLoading
|
|
2298
2344
|
};
|
|
2299
2345
|
}
|
|
2300
|
-
function
|
|
2301
|
-
const
|
|
2346
|
+
function lu(e, t, n, u = {}) {
|
|
2347
|
+
const a = e?.trim(), i = t?.trim();
|
|
2302
2348
|
return o({
|
|
2303
2349
|
...u,
|
|
2304
|
-
queryKey: ["versioning", "commits",
|
|
2350
|
+
queryKey: ["versioning", "commits", a, i, n],
|
|
2305
2351
|
queryFn: async () => r.versioning.listCommits({
|
|
2306
|
-
solutionId:
|
|
2352
|
+
solutionId: a,
|
|
2307
2353
|
branch: i,
|
|
2308
2354
|
branchType: n
|
|
2309
2355
|
}),
|
|
2310
|
-
enabled: !!
|
|
2356
|
+
enabled: !!a && !!i
|
|
2311
2357
|
});
|
|
2312
2358
|
}
|
|
2313
|
-
function
|
|
2359
|
+
function yu(e, t = {}) {
|
|
2314
2360
|
const n = e?.trim();
|
|
2315
2361
|
return o({
|
|
2316
2362
|
...t,
|
|
@@ -2319,92 +2365,92 @@ function tu(e, t = {}) {
|
|
|
2319
2365
|
enabled: !!n
|
|
2320
2366
|
});
|
|
2321
2367
|
}
|
|
2322
|
-
function
|
|
2323
|
-
return
|
|
2368
|
+
function du(e = {}) {
|
|
2369
|
+
return s({
|
|
2324
2370
|
mutationFn: async (t) => r.versioning.commitChanges(t, { approve: !0 }),
|
|
2325
2371
|
...e
|
|
2326
2372
|
});
|
|
2327
2373
|
}
|
|
2328
|
-
function
|
|
2329
|
-
return
|
|
2374
|
+
function pu(e = {}) {
|
|
2375
|
+
return s({
|
|
2330
2376
|
mutationFn: async (t) => r.versioning.mergeBranches(t, { approve: !0 }),
|
|
2331
2377
|
...e
|
|
2332
2378
|
});
|
|
2333
2379
|
}
|
|
2334
|
-
function
|
|
2335
|
-
return
|
|
2380
|
+
function fu(e = {}) {
|
|
2381
|
+
return s({
|
|
2336
2382
|
mutationFn: async (t) => r.versioning.pushBranch(t, { approve: !0 }),
|
|
2337
2383
|
...e
|
|
2338
2384
|
});
|
|
2339
2385
|
}
|
|
2340
|
-
function
|
|
2341
|
-
return
|
|
2386
|
+
function gu(e = {}) {
|
|
2387
|
+
return s({
|
|
2342
2388
|
mutationFn: async (t) => r.versioning.createBranch(t, { approve: !0 }),
|
|
2343
2389
|
...e
|
|
2344
2390
|
});
|
|
2345
2391
|
}
|
|
2346
|
-
function
|
|
2347
|
-
return
|
|
2392
|
+
function mu(e = {}) {
|
|
2393
|
+
return s({
|
|
2348
2394
|
mutationFn: async (t) => r.externalApps.create(t, { approve: !0 }),
|
|
2349
2395
|
...e
|
|
2350
2396
|
});
|
|
2351
2397
|
}
|
|
2352
|
-
function
|
|
2353
|
-
return
|
|
2398
|
+
function bu(e, t = {}) {
|
|
2399
|
+
return s({
|
|
2354
2400
|
mutationFn: async (n) => r.externalApps.setEnv(e, n, { approve: !0 }),
|
|
2355
2401
|
...t
|
|
2356
2402
|
});
|
|
2357
2403
|
}
|
|
2358
|
-
function
|
|
2359
|
-
return
|
|
2404
|
+
function Fu(e, t = {}) {
|
|
2405
|
+
return s({
|
|
2360
2406
|
mutationFn: async (n) => r.externalApps.setSchemaMap(e, n, { approve: !0 }),
|
|
2361
2407
|
...t
|
|
2362
2408
|
});
|
|
2363
2409
|
}
|
|
2364
|
-
function
|
|
2365
|
-
return
|
|
2410
|
+
function qu(e, t = {}) {
|
|
2411
|
+
return s({
|
|
2366
2412
|
mutationFn: async (n) => r.externalApps.setAccessControl(e, n, { approve: !0 }),
|
|
2367
2413
|
...t
|
|
2368
2414
|
});
|
|
2369
2415
|
}
|
|
2370
|
-
function
|
|
2371
|
-
return
|
|
2416
|
+
function wu(e = {}) {
|
|
2417
|
+
return s({
|
|
2372
2418
|
mutationFn: async (t) => r.externalApps.validateUrl(t),
|
|
2373
2419
|
...e
|
|
2374
2420
|
});
|
|
2375
2421
|
}
|
|
2376
|
-
function
|
|
2377
|
-
return
|
|
2422
|
+
function hu(e = {}) {
|
|
2423
|
+
return s({
|
|
2378
2424
|
mutationFn: async (t) => r.solutions.create(t, { approve: !0 }),
|
|
2379
2425
|
...e
|
|
2380
2426
|
});
|
|
2381
2427
|
}
|
|
2382
|
-
function
|
|
2428
|
+
function Tu(e = {}) {
|
|
2383
2429
|
return o({
|
|
2384
2430
|
...e,
|
|
2385
2431
|
queryKey: ["solutions", "packagableComponents"],
|
|
2386
2432
|
queryFn: async () => r.solutions.packagableComponents()
|
|
2387
2433
|
});
|
|
2388
2434
|
}
|
|
2389
|
-
function
|
|
2390
|
-
return
|
|
2435
|
+
function Cu(e, t = {}) {
|
|
2436
|
+
return s({
|
|
2391
2437
|
mutationFn: async (n) => r.solutions.addObjects(e, n, { approve: !0 }),
|
|
2392
2438
|
...t
|
|
2393
2439
|
});
|
|
2394
2440
|
}
|
|
2395
|
-
function
|
|
2396
|
-
return
|
|
2441
|
+
function Du(e, t = {}) {
|
|
2442
|
+
return s({
|
|
2397
2443
|
mutationFn: async (n = {}) => r.solutions.validate(e, n),
|
|
2398
2444
|
...t
|
|
2399
2445
|
});
|
|
2400
2446
|
}
|
|
2401
|
-
function
|
|
2402
|
-
return
|
|
2447
|
+
function Su(e, t = {}) {
|
|
2448
|
+
return s({
|
|
2403
2449
|
mutationFn: async (n) => r.solutions.publish(e, n, { approve: !0 }),
|
|
2404
2450
|
...t
|
|
2405
2451
|
});
|
|
2406
2452
|
}
|
|
2407
|
-
function
|
|
2453
|
+
function ku(e, t = {}) {
|
|
2408
2454
|
const n = e?.trim();
|
|
2409
2455
|
return o({
|
|
2410
2456
|
...t,
|
|
@@ -2413,234 +2459,257 @@ function mu(e, t = {}) {
|
|
|
2413
2459
|
enabled: !!n
|
|
2414
2460
|
});
|
|
2415
2461
|
}
|
|
2416
|
-
function
|
|
2417
|
-
return
|
|
2462
|
+
function Ru(e = {}) {
|
|
2463
|
+
return s({
|
|
2418
2464
|
mutationFn: async (t) => r.workbooks.create(t, { approve: !0 }),
|
|
2419
2465
|
...e
|
|
2420
2466
|
});
|
|
2421
2467
|
}
|
|
2422
|
-
function
|
|
2423
|
-
return
|
|
2468
|
+
function Ku(e = {}) {
|
|
2469
|
+
return s({
|
|
2424
2470
|
mutationFn: async (t) => r.connections.createSftpConnection(t, { approve: !0 }),
|
|
2425
2471
|
...e
|
|
2426
2472
|
});
|
|
2427
2473
|
}
|
|
2428
|
-
function
|
|
2429
|
-
return
|
|
2474
|
+
function xu(e = {}) {
|
|
2475
|
+
return s({
|
|
2430
2476
|
mutationFn: async (t) => r.connections.createEmailConnection(t, { approve: !0 }),
|
|
2431
2477
|
...e
|
|
2432
2478
|
});
|
|
2433
2479
|
}
|
|
2434
|
-
function
|
|
2435
|
-
return
|
|
2480
|
+
function Pu(e = {}) {
|
|
2481
|
+
return s({
|
|
2436
2482
|
mutationFn: async (t) => r.connections.createBlobConnection(t, { approve: !0 }),
|
|
2437
2483
|
...e
|
|
2438
2484
|
});
|
|
2439
2485
|
}
|
|
2440
|
-
function
|
|
2486
|
+
function vu(e, t, n = {}) {
|
|
2441
2487
|
return o({
|
|
2442
2488
|
...n,
|
|
2443
2489
|
queryKey: ["connections", "test", e, t],
|
|
2444
2490
|
queryFn: async () => r.connections.testConnection(e, t)
|
|
2445
2491
|
});
|
|
2446
2492
|
}
|
|
2447
|
-
function
|
|
2493
|
+
function Iu(e, t = {}) {
|
|
2448
2494
|
return o({
|
|
2449
2495
|
...t,
|
|
2450
2496
|
queryKey: ["connections", "list", e],
|
|
2451
2497
|
queryFn: async () => r.connections.listConnections(e)
|
|
2452
2498
|
});
|
|
2453
2499
|
}
|
|
2454
|
-
function
|
|
2455
|
-
return
|
|
2500
|
+
function Vu(e = {}) {
|
|
2501
|
+
return s({
|
|
2456
2502
|
mutationFn: async (t) => r.ingestion.createDatabox(t, { approve: !0 }),
|
|
2457
2503
|
...e
|
|
2458
2504
|
});
|
|
2459
2505
|
}
|
|
2460
|
-
function
|
|
2461
|
-
return
|
|
2506
|
+
function Eu(e = {}) {
|
|
2507
|
+
return s({
|
|
2462
2508
|
mutationFn: async (t) => r.ingestion.createFileboxFolder(t, { approve: !0 }),
|
|
2463
2509
|
...e
|
|
2464
2510
|
});
|
|
2465
2511
|
}
|
|
2466
|
-
function
|
|
2512
|
+
function Bu(e = {}) {
|
|
2467
2513
|
return o({
|
|
2468
2514
|
...e,
|
|
2469
2515
|
queryKey: ["ingestion", "databoxes"],
|
|
2470
2516
|
queryFn: async () => r.ingestion.listDataboxes()
|
|
2471
2517
|
});
|
|
2472
2518
|
}
|
|
2473
|
-
function
|
|
2519
|
+
function Au(e = {}) {
|
|
2474
2520
|
return o({
|
|
2475
2521
|
...e,
|
|
2476
2522
|
queryKey: ["ingestion", "fileboxFolders"],
|
|
2477
2523
|
queryFn: async () => r.ingestion.listFileboxFolders()
|
|
2478
2524
|
});
|
|
2479
2525
|
}
|
|
2480
|
-
function
|
|
2526
|
+
function Gu(e = {}, t = {}) {
|
|
2481
2527
|
return o({
|
|
2482
2528
|
...t,
|
|
2483
2529
|
queryKey: ["inputTablesV2", "list", e.name],
|
|
2484
2530
|
queryFn: async () => r.inputTableV2.listInputTables(e)
|
|
2485
2531
|
});
|
|
2486
2532
|
}
|
|
2487
|
-
function
|
|
2533
|
+
function Mu(e, t = {}) {
|
|
2488
2534
|
return o({
|
|
2489
2535
|
...t,
|
|
2490
2536
|
queryKey: ["inputTablesV2", "get", e],
|
|
2491
2537
|
queryFn: async () => r.inputTableV2.getInputTable(e)
|
|
2492
2538
|
});
|
|
2493
2539
|
}
|
|
2494
|
-
function
|
|
2495
|
-
return
|
|
2540
|
+
function Ou(e, t = {}) {
|
|
2541
|
+
return s({
|
|
2496
2542
|
mutationFn: async (n) => r.inputTableV2.insertInputTableRows(e.solutionId, e.tableName, n, {
|
|
2497
2543
|
approve: !0
|
|
2498
2544
|
}),
|
|
2499
2545
|
...t
|
|
2500
2546
|
});
|
|
2501
2547
|
}
|
|
2502
|
-
function
|
|
2503
|
-
return
|
|
2548
|
+
function Lu(e, t = {}) {
|
|
2549
|
+
return s({
|
|
2504
2550
|
mutationFn: async (n) => r.inputTableV2.updateInputTableRows(e.solutionId, e.tableName, n, {
|
|
2505
2551
|
approve: !0
|
|
2506
2552
|
}),
|
|
2507
2553
|
...t
|
|
2508
2554
|
});
|
|
2509
2555
|
}
|
|
2510
|
-
function
|
|
2511
|
-
return
|
|
2556
|
+
function Hu(e, t = {}) {
|
|
2557
|
+
return s({
|
|
2512
2558
|
mutationFn: async (n) => r.inputTableV2.deleteInputTableRows(e.solutionId, e.tableName, n, {
|
|
2513
2559
|
approve: !0
|
|
2514
2560
|
}),
|
|
2515
2561
|
...t
|
|
2516
2562
|
});
|
|
2517
2563
|
}
|
|
2518
|
-
function
|
|
2519
|
-
return
|
|
2564
|
+
function Uu(e = {}) {
|
|
2565
|
+
return s({
|
|
2520
2566
|
mutationFn: async (t) => r.inputTableV2.createInputTable(t, { approve: !0 }),
|
|
2521
2567
|
...e
|
|
2522
2568
|
});
|
|
2523
2569
|
}
|
|
2524
|
-
function
|
|
2525
|
-
return
|
|
2570
|
+
function Qu(e, t = {}) {
|
|
2571
|
+
return s({
|
|
2526
2572
|
mutationFn: async () => r.inputTableV2.deleteInputTable(e.solutionId, e.tableName, { approve: !0 }),
|
|
2527
2573
|
...t
|
|
2528
2574
|
});
|
|
2529
2575
|
}
|
|
2530
|
-
function
|
|
2576
|
+
function Wu(e, t = {}) {
|
|
2531
2577
|
return o({
|
|
2532
2578
|
...t,
|
|
2533
2579
|
queryKey: ["inputTablesV2", "schema", e.solutionId, e.tableName],
|
|
2534
2580
|
queryFn: async () => r.inputTableV2.getInputTableSchema(e.solutionId, e.tableName)
|
|
2535
2581
|
});
|
|
2536
2582
|
}
|
|
2537
|
-
function
|
|
2538
|
-
const { solutionId: n, tableName: u, filter:
|
|
2583
|
+
function _u(e, t = {}) {
|
|
2584
|
+
const { solutionId: n, tableName: u, filter: a, limit: i } = e;
|
|
2539
2585
|
return o({
|
|
2540
2586
|
...t,
|
|
2541
|
-
queryKey: ["inputTablesV2", "rows", n, u,
|
|
2542
|
-
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 })
|
|
2543
2589
|
});
|
|
2544
2590
|
}
|
|
2545
|
-
function
|
|
2591
|
+
function zu(e = {}, t = {}) {
|
|
2546
2592
|
return o({
|
|
2547
2593
|
...t,
|
|
2548
2594
|
queryKey: ["workflowsV2", "list", e.name],
|
|
2549
2595
|
queryFn: async () => r.workflowV2.listWorkflows(e)
|
|
2550
2596
|
});
|
|
2551
2597
|
}
|
|
2552
|
-
function
|
|
2598
|
+
function Nu(e, t = {}) {
|
|
2553
2599
|
return o({
|
|
2554
2600
|
...t,
|
|
2555
2601
|
queryKey: ["workflowsV2", "get", e],
|
|
2556
2602
|
queryFn: async () => r.workflowV2.getWorkflow(e)
|
|
2557
2603
|
});
|
|
2558
2604
|
}
|
|
2559
|
-
function
|
|
2560
|
-
return
|
|
2605
|
+
function ju(e = {}) {
|
|
2606
|
+
return s({
|
|
2561
2607
|
mutationFn: async (t) => r.workflowV2.saveWorkflow(t, { approve: !0 }),
|
|
2562
2608
|
...e
|
|
2563
2609
|
});
|
|
2564
2610
|
}
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
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) }),
|
|
2568
2627
|
...e
|
|
2569
2628
|
});
|
|
2570
2629
|
}
|
|
2571
|
-
function
|
|
2572
|
-
|
|
2573
|
-
|
|
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"] }),
|
|
2574
2637
|
...e
|
|
2575
2638
|
});
|
|
2576
2639
|
}
|
|
2577
|
-
function
|
|
2578
|
-
return
|
|
2579
|
-
mutationFn: async ({
|
|
2640
|
+
function Xu(e = {}) {
|
|
2641
|
+
return s({
|
|
2642
|
+
mutationFn: async ({ sheetId: t, ...n }) => r.processHub.executeProcessNow(t, n, { approve: !0 }),
|
|
2580
2643
|
...e
|
|
2581
2644
|
});
|
|
2582
2645
|
}
|
|
2583
|
-
function
|
|
2584
|
-
|
|
2585
|
-
|
|
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),
|
|
2586
2651
|
...e
|
|
2587
2652
|
});
|
|
2588
2653
|
}
|
|
2589
|
-
function
|
|
2590
|
-
|
|
2591
|
-
|
|
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),
|
|
2592
2659
|
...e
|
|
2593
2660
|
});
|
|
2594
2661
|
}
|
|
2595
|
-
function
|
|
2596
|
-
|
|
2597
|
-
|
|
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),
|
|
2598
2667
|
...e
|
|
2599
2668
|
});
|
|
2600
2669
|
}
|
|
2601
|
-
function
|
|
2670
|
+
function ta(e, t, n = {}) {
|
|
2602
2671
|
return o({
|
|
2603
|
-
...
|
|
2604
|
-
queryKey: ["processHub", "triggerScheduleStatus", e],
|
|
2605
|
-
queryFn: async () => r.processHub.triggerScheduleStatus(e)
|
|
2672
|
+
...n,
|
|
2673
|
+
queryKey: ["processHub", "triggerScheduleStatus", e, t],
|
|
2674
|
+
queryFn: async () => r.processHub.triggerScheduleStatus(e, t)
|
|
2606
2675
|
});
|
|
2607
2676
|
}
|
|
2608
|
-
function
|
|
2677
|
+
function na(e, t, n = 0, u = 50, a = {}) {
|
|
2609
2678
|
return o({
|
|
2610
|
-
...
|
|
2611
|
-
queryKey: ["processHub", "upcomingSchedules", e],
|
|
2612
|
-
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)
|
|
2613
2682
|
});
|
|
2614
2683
|
}
|
|
2615
|
-
function
|
|
2684
|
+
function ra(e, t = {}) {
|
|
2616
2685
|
return o({
|
|
2617
2686
|
...t,
|
|
2618
2687
|
queryKey: ["processHub", "triggersBySheet", e],
|
|
2619
2688
|
queryFn: async () => r.processHub.triggersBySheet(e)
|
|
2620
2689
|
});
|
|
2621
2690
|
}
|
|
2622
|
-
function
|
|
2691
|
+
function ua(e, t = {}) {
|
|
2623
2692
|
return o({
|
|
2624
2693
|
...t,
|
|
2625
2694
|
queryKey: ["processHub", "sheetRuns", e],
|
|
2626
2695
|
queryFn: async () => r.processHub.sheetRuns(e)
|
|
2627
2696
|
});
|
|
2628
2697
|
}
|
|
2629
|
-
function
|
|
2698
|
+
function aa(e, t = {}) {
|
|
2630
2699
|
return o({
|
|
2631
2700
|
...t,
|
|
2632
2701
|
queryKey: ["processHub", "sheetRunStatus", e],
|
|
2633
2702
|
queryFn: async () => r.processHub.sheetRunStatus(e)
|
|
2634
2703
|
});
|
|
2635
2704
|
}
|
|
2636
|
-
function
|
|
2705
|
+
function sa(e, t = {}) {
|
|
2637
2706
|
return o({
|
|
2638
2707
|
...t,
|
|
2639
2708
|
queryKey: ["datasetsHub", "schema", e],
|
|
2640
2709
|
queryFn: async () => r.datasetsHub.getDatasetSchema(e)
|
|
2641
2710
|
});
|
|
2642
2711
|
}
|
|
2643
|
-
function
|
|
2712
|
+
function oa(e, t = {}) {
|
|
2644
2713
|
return o({
|
|
2645
2714
|
...t,
|
|
2646
2715
|
queryKey: ["datasetsHub", "search", e],
|
|
@@ -2648,170 +2717,261 @@ function Xu(e, t = {}) {
|
|
|
2648
2717
|
enabled: (t.enabled ?? !0) && !!e
|
|
2649
2718
|
});
|
|
2650
2719
|
}
|
|
2651
|
-
function
|
|
2720
|
+
function ia(e, t, n = {}) {
|
|
2652
2721
|
return o({
|
|
2653
2722
|
...n,
|
|
2654
2723
|
queryKey: ["datasetsHub", "stats", e, t],
|
|
2655
2724
|
queryFn: async () => r.datasetsHub.getDatasetStats(e, t)
|
|
2656
2725
|
});
|
|
2657
2726
|
}
|
|
2658
|
-
function
|
|
2727
|
+
function ca(e = {}, t = {}) {
|
|
2659
2728
|
return o({
|
|
2660
2729
|
...t,
|
|
2661
2730
|
queryKey: ["virtualDatasets", "list", e.name],
|
|
2662
2731
|
queryFn: async () => r.virtualDatasets.listVirtualDatasets(e)
|
|
2663
2732
|
});
|
|
2664
2733
|
}
|
|
2665
|
-
function
|
|
2734
|
+
function la(e, t = {}) {
|
|
2666
2735
|
return o({
|
|
2667
2736
|
...t,
|
|
2668
2737
|
queryKey: ["virtualDatasets", "get", e],
|
|
2669
2738
|
queryFn: async () => r.virtualDatasets.getVirtualDataset(e)
|
|
2670
2739
|
});
|
|
2671
2740
|
}
|
|
2672
|
-
function
|
|
2673
|
-
return
|
|
2741
|
+
function ya(e = {}) {
|
|
2742
|
+
return s({
|
|
2674
2743
|
mutationFn: async (t) => r.virtualDatasets.createVirtualDataset(t, { approve: !0 }),
|
|
2675
2744
|
...e
|
|
2676
2745
|
});
|
|
2677
2746
|
}
|
|
2678
|
-
function
|
|
2679
|
-
const t =
|
|
2680
|
-
return
|
|
2747
|
+
function da(e = {}) {
|
|
2748
|
+
const t = y();
|
|
2749
|
+
return s({
|
|
2681
2750
|
mutationFn: async (n) => r.virtualDatasets.deleteVirtualDataset(n, {
|
|
2682
2751
|
approve: !0
|
|
2683
2752
|
}),
|
|
2684
2753
|
...e,
|
|
2685
|
-
onSuccess: (n, u,
|
|
2686
|
-
t.invalidateQueries({ queryKey: ["virtualDatasets"] }), e.onSuccess?.(n, u,
|
|
2754
|
+
onSuccess: (n, u, a) => {
|
|
2755
|
+
t.invalidateQueries({ queryKey: ["virtualDatasets"] }), e.onSuccess?.(n, u, a);
|
|
2687
2756
|
}
|
|
2688
2757
|
});
|
|
2689
2758
|
}
|
|
2690
|
-
function
|
|
2691
|
-
const t =
|
|
2692
|
-
return
|
|
2759
|
+
function pa(e = {}) {
|
|
2760
|
+
const t = y();
|
|
2761
|
+
return s({
|
|
2693
2762
|
mutationFn: async (n) => r.virtualDatasets.ensureVirtualDatasets(n, {
|
|
2694
2763
|
approve: !0
|
|
2695
2764
|
}),
|
|
2696
2765
|
...e,
|
|
2697
|
-
onSuccess: (n, u,
|
|
2698
|
-
t.invalidateQueries({ queryKey: ["virtualDatasets"] }), e.onSuccess?.(n, u,
|
|
2766
|
+
onSuccess: (n, u, a) => {
|
|
2767
|
+
t.invalidateQueries({ queryKey: ["virtualDatasets"] }), e.onSuccess?.(n, u, a);
|
|
2699
2768
|
}
|
|
2700
2769
|
});
|
|
2701
2770
|
}
|
|
2702
|
-
function
|
|
2771
|
+
function fa(e = {}, t = {}) {
|
|
2703
2772
|
return o({
|
|
2704
2773
|
...t,
|
|
2705
2774
|
queryKey: ["workbooksHub", "list", e.name, e.type],
|
|
2706
2775
|
queryFn: async () => r.workbooks.listWorkbooks(e)
|
|
2707
2776
|
});
|
|
2708
2777
|
}
|
|
2709
|
-
function
|
|
2778
|
+
function ga(e, t = {}) {
|
|
2710
2779
|
return o({
|
|
2711
2780
|
...t,
|
|
2712
2781
|
queryKey: ["workbooksHub", "get", e],
|
|
2713
2782
|
queryFn: async () => r.workbooks.getWorkbook(e)
|
|
2714
2783
|
});
|
|
2715
2784
|
}
|
|
2716
|
-
function
|
|
2785
|
+
function ma(e = {}, t = {}) {
|
|
2717
2786
|
return o({
|
|
2718
2787
|
...t,
|
|
2719
2788
|
queryKey: ["exportConfigs", "list", e.name],
|
|
2720
2789
|
queryFn: async () => r.exportConfig.listExportConfigs(e)
|
|
2721
2790
|
});
|
|
2722
2791
|
}
|
|
2723
|
-
function
|
|
2792
|
+
function ba(e, t = {}) {
|
|
2724
2793
|
return o({
|
|
2725
2794
|
...t,
|
|
2726
2795
|
queryKey: ["exportConfigs", "get", e],
|
|
2727
2796
|
queryFn: async () => r.exportConfig.getExportConfig(e)
|
|
2728
2797
|
});
|
|
2729
2798
|
}
|
|
2730
|
-
function
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
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
|
+
}
|
|
2734
2807
|
});
|
|
2735
2808
|
}
|
|
2736
|
-
function
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
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
|
+
}
|
|
2740
2835
|
});
|
|
2741
2836
|
}
|
|
2742
|
-
function
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
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
|
+
}
|
|
2883
|
+
});
|
|
2884
|
+
}
|
|
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
|
+
}
|
|
2746
2906
|
});
|
|
2747
2907
|
}
|
|
2748
|
-
function
|
|
2908
|
+
function Ca(e, t = {}) {
|
|
2749
2909
|
return o({
|
|
2750
2910
|
...t,
|
|
2751
2911
|
queryKey: ["exportResults", "list", e],
|
|
2752
2912
|
queryFn: async () => r.exportConfig.listExportResults(e)
|
|
2753
2913
|
});
|
|
2754
2914
|
}
|
|
2755
|
-
function
|
|
2915
|
+
function Da(e = {}, t = {}) {
|
|
2756
2916
|
return o({
|
|
2757
2917
|
...t,
|
|
2758
2918
|
queryKey: ["dashboards", "list", e.name],
|
|
2759
2919
|
queryFn: async () => r.dashboards.listDashboards(e)
|
|
2760
2920
|
});
|
|
2761
2921
|
}
|
|
2762
|
-
function
|
|
2922
|
+
function Sa(e, t = {}) {
|
|
2763
2923
|
return o({
|
|
2764
2924
|
...t,
|
|
2765
2925
|
queryKey: ["dashboards", "get", e],
|
|
2766
2926
|
queryFn: async () => r.dashboards.getDashboard(e)
|
|
2767
2927
|
});
|
|
2768
2928
|
}
|
|
2769
|
-
function
|
|
2770
|
-
return
|
|
2929
|
+
function ka(e = {}) {
|
|
2930
|
+
return s({
|
|
2771
2931
|
mutationFn: async (t) => r.dashboards.createDashboard(t, { approve: !0 }),
|
|
2772
2932
|
...e
|
|
2773
2933
|
});
|
|
2774
2934
|
}
|
|
2775
|
-
function
|
|
2776
|
-
return
|
|
2935
|
+
function Ra(e, t = {}) {
|
|
2936
|
+
return s({
|
|
2777
2937
|
mutationFn: async (n) => r.dashboards.addDashboardWidget(e, n, { approve: !0 }),
|
|
2778
2938
|
...t
|
|
2779
2939
|
});
|
|
2780
2940
|
}
|
|
2781
|
-
function
|
|
2782
|
-
return
|
|
2941
|
+
function Ka(e, t, n = {}) {
|
|
2942
|
+
return s({
|
|
2783
2943
|
mutationFn: async (u) => r.dashboards.updateDashboardWidget(e, t, u, { approve: !0 }),
|
|
2784
2944
|
...n
|
|
2785
2945
|
});
|
|
2786
2946
|
}
|
|
2787
|
-
function
|
|
2788
|
-
return
|
|
2947
|
+
function xa(e, t, n = {}) {
|
|
2948
|
+
return s({
|
|
2789
2949
|
mutationFn: async () => r.dashboards.removeDashboardWidget(e, t, { approve: !0 }),
|
|
2790
2950
|
...n
|
|
2791
2951
|
});
|
|
2792
2952
|
}
|
|
2793
|
-
function
|
|
2953
|
+
function Pa(e = {}, t = {}) {
|
|
2794
2954
|
return o({
|
|
2795
2955
|
...t,
|
|
2796
2956
|
queryKey: ["httpTriggersHub", "list", e.name],
|
|
2797
2957
|
queryFn: async () => r.httpTriggersHub.listHttpTriggers(e)
|
|
2798
2958
|
});
|
|
2799
2959
|
}
|
|
2800
|
-
function
|
|
2960
|
+
function va(e, t = {}) {
|
|
2801
2961
|
return o({
|
|
2802
2962
|
...t,
|
|
2803
2963
|
queryKey: ["httpTriggersHub", "get", e],
|
|
2804
2964
|
queryFn: async () => r.httpTriggersHub.getHttpTrigger(e)
|
|
2805
2965
|
});
|
|
2806
2966
|
}
|
|
2807
|
-
function
|
|
2967
|
+
function Ia(e = {}) {
|
|
2808
2968
|
return o({
|
|
2809
2969
|
...e,
|
|
2810
2970
|
queryKey: ["policies", "list"],
|
|
2811
2971
|
queryFn: async () => r.policies.listPolicies()
|
|
2812
2972
|
});
|
|
2813
2973
|
}
|
|
2814
|
-
function
|
|
2974
|
+
function Va(e, t = {}) {
|
|
2815
2975
|
return o({
|
|
2816
2976
|
...t,
|
|
2817
2977
|
enabled: (t.enabled ?? !0) && !!e,
|
|
@@ -2819,53 +2979,53 @@ function ha(e, t = {}) {
|
|
|
2819
2979
|
queryFn: async () => r.policies.getPolicy(e)
|
|
2820
2980
|
});
|
|
2821
2981
|
}
|
|
2822
|
-
function
|
|
2823
|
-
const t =
|
|
2824
|
-
return
|
|
2982
|
+
function Ea(e = {}) {
|
|
2983
|
+
const t = y();
|
|
2984
|
+
return s({
|
|
2825
2985
|
mutationFn: async ({ formData: n, existing: u }) => r.policies.savePolicy(n, u),
|
|
2826
2986
|
...e,
|
|
2827
|
-
onSuccess: (n, u,
|
|
2828
|
-
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u,
|
|
2987
|
+
onSuccess: (n, u, a) => {
|
|
2988
|
+
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u, a);
|
|
2829
2989
|
}
|
|
2830
2990
|
});
|
|
2831
2991
|
}
|
|
2832
|
-
function
|
|
2833
|
-
const t =
|
|
2834
|
-
return
|
|
2992
|
+
function Ba(e = {}) {
|
|
2993
|
+
const t = y();
|
|
2994
|
+
return s({
|
|
2835
2995
|
mutationFn: async (n) => r.policies.publishPolicy(n),
|
|
2836
2996
|
...e,
|
|
2837
|
-
onSuccess: (n, u,
|
|
2838
|
-
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u,
|
|
2997
|
+
onSuccess: (n, u, a) => {
|
|
2998
|
+
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u, a);
|
|
2839
2999
|
}
|
|
2840
3000
|
});
|
|
2841
3001
|
}
|
|
2842
|
-
function
|
|
2843
|
-
const t =
|
|
2844
|
-
return
|
|
3002
|
+
function Aa(e = {}) {
|
|
3003
|
+
const t = y();
|
|
3004
|
+
return s({
|
|
2845
3005
|
mutationFn: async (n) => r.policies.deletePolicy(n),
|
|
2846
3006
|
...e,
|
|
2847
|
-
onSuccess: (n, u,
|
|
2848
|
-
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u,
|
|
3007
|
+
onSuccess: (n, u, a) => {
|
|
3008
|
+
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u, a);
|
|
2849
3009
|
}
|
|
2850
3010
|
});
|
|
2851
3011
|
}
|
|
2852
|
-
function
|
|
2853
|
-
const t =
|
|
2854
|
-
return
|
|
3012
|
+
function Ga(e = {}) {
|
|
3013
|
+
const t = y();
|
|
3014
|
+
return s({
|
|
2855
3015
|
mutationFn: async (n) => r.policies.duplicatePolicy(n),
|
|
2856
3016
|
...e,
|
|
2857
|
-
onSuccess: (n, u,
|
|
2858
|
-
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u,
|
|
3017
|
+
onSuccess: (n, u, a) => {
|
|
3018
|
+
t.invalidateQueries({ queryKey: ["policies"] }), e.onSuccess?.(n, u, a);
|
|
2859
3019
|
}
|
|
2860
3020
|
});
|
|
2861
3021
|
}
|
|
2862
|
-
function
|
|
2863
|
-
return
|
|
3022
|
+
function Ma(e = {}) {
|
|
3023
|
+
return s({
|
|
2864
3024
|
mutationFn: async ({ policyId: t, request: n }) => r.policies.evaluatePolicy(t, n),
|
|
2865
3025
|
...e
|
|
2866
3026
|
});
|
|
2867
3027
|
}
|
|
2868
|
-
function
|
|
3028
|
+
function Oa(e = {}) {
|
|
2869
3029
|
return o({
|
|
2870
3030
|
staleTime: 3600 * 1e3,
|
|
2871
3031
|
// 1h — catalog rarely changes
|
|
@@ -2874,14 +3034,14 @@ function Ra(e = {}) {
|
|
|
2874
3034
|
queryFn: async () => r.fx.getFxHelp()
|
|
2875
3035
|
});
|
|
2876
3036
|
}
|
|
2877
|
-
function
|
|
3037
|
+
function La(e = {}) {
|
|
2878
3038
|
return o({
|
|
2879
3039
|
...e,
|
|
2880
3040
|
queryKey: ["checklists", "list"],
|
|
2881
3041
|
queryFn: async () => r.checklists.getChecklists()
|
|
2882
3042
|
});
|
|
2883
3043
|
}
|
|
2884
|
-
function
|
|
3044
|
+
function Ha(e, t = {}) {
|
|
2885
3045
|
return o({
|
|
2886
3046
|
...t,
|
|
2887
3047
|
enabled: (t.enabled ?? !0) && !!e,
|
|
@@ -2889,7 +3049,7 @@ function xa(e, t = {}) {
|
|
|
2889
3049
|
queryFn: async () => r.checklists.getChecklistById(e)
|
|
2890
3050
|
});
|
|
2891
3051
|
}
|
|
2892
|
-
function
|
|
3052
|
+
function le(e, t = {}) {
|
|
2893
3053
|
return o({
|
|
2894
3054
|
...t,
|
|
2895
3055
|
enabled: (t.enabled ?? !0) && !!e,
|
|
@@ -2897,7 +3057,7 @@ function ae(e, t = {}) {
|
|
|
2897
3057
|
queryFn: async () => r.checklists.getReleasedChecklists(e)
|
|
2898
3058
|
});
|
|
2899
3059
|
}
|
|
2900
|
-
function
|
|
3060
|
+
function ye(e, t, n = {}) {
|
|
2901
3061
|
return o({
|
|
2902
3062
|
...n,
|
|
2903
3063
|
enabled: (n.enabled ?? !0) && !!e && !!t,
|
|
@@ -2905,10 +3065,10 @@ function se(e, t, n = {}) {
|
|
|
2905
3065
|
queryFn: async () => r.checklists.getReleasedChecklistByRunId(e, t)
|
|
2906
3066
|
});
|
|
2907
3067
|
}
|
|
2908
|
-
const
|
|
2909
|
-
function
|
|
2910
|
-
const t =
|
|
2911
|
-
return
|
|
3068
|
+
const Ua = le, Qa = ye;
|
|
3069
|
+
function Wa(e = {}) {
|
|
3070
|
+
const t = y();
|
|
3071
|
+
return s({
|
|
2912
3072
|
...e,
|
|
2913
3073
|
mutationFn: async ({ workbook: n, existing: u }) => r.checklists.saveChecklist(n, u),
|
|
2914
3074
|
onSuccess: (...n) => {
|
|
@@ -2916,9 +3076,9 @@ function Ia(e = {}) {
|
|
|
2916
3076
|
}
|
|
2917
3077
|
});
|
|
2918
3078
|
}
|
|
2919
|
-
function
|
|
2920
|
-
const t =
|
|
2921
|
-
return
|
|
3079
|
+
function _a(e = {}) {
|
|
3080
|
+
const t = y();
|
|
3081
|
+
return s({
|
|
2922
3082
|
...e,
|
|
2923
3083
|
mutationFn: async (n) => r.checklists.createChecklist(n),
|
|
2924
3084
|
onSuccess: (...n) => {
|
|
@@ -2926,9 +3086,9 @@ function Va(e = {}) {
|
|
|
2926
3086
|
}
|
|
2927
3087
|
});
|
|
2928
3088
|
}
|
|
2929
|
-
function
|
|
2930
|
-
const t =
|
|
2931
|
-
return
|
|
3089
|
+
function za(e = {}) {
|
|
3090
|
+
const t = y();
|
|
3091
|
+
return s({
|
|
2932
3092
|
...e,
|
|
2933
3093
|
mutationFn: async ({ id: n, workbook: u }) => r.checklists.updateChecklist(n, u),
|
|
2934
3094
|
onSuccess: (...n) => {
|
|
@@ -2936,9 +3096,9 @@ function Ea(e = {}) {
|
|
|
2936
3096
|
}
|
|
2937
3097
|
});
|
|
2938
3098
|
}
|
|
2939
|
-
function
|
|
2940
|
-
const t =
|
|
2941
|
-
return
|
|
3099
|
+
function Na(e = {}) {
|
|
3100
|
+
const t = y();
|
|
3101
|
+
return s({
|
|
2942
3102
|
...e,
|
|
2943
3103
|
mutationFn: async (n) => r.checklists.deleteChecklistById(n),
|
|
2944
3104
|
onSuccess: (...n) => {
|
|
@@ -2946,9 +3106,9 @@ function Ba(e = {}) {
|
|
|
2946
3106
|
}
|
|
2947
3107
|
});
|
|
2948
3108
|
}
|
|
2949
|
-
function
|
|
2950
|
-
const t =
|
|
2951
|
-
return
|
|
3109
|
+
function ja(e = {}) {
|
|
3110
|
+
const t = y();
|
|
3111
|
+
return s({
|
|
2952
3112
|
...e,
|
|
2953
3113
|
mutationFn: async ({ id: n, comment: u }) => r.checklists.publishChecklist(n, u ?? ""),
|
|
2954
3114
|
onSuccess: (...n) => {
|
|
@@ -2956,339 +3116,347 @@ function Aa(e = {}) {
|
|
|
2956
3116
|
}
|
|
2957
3117
|
});
|
|
2958
3118
|
}
|
|
2959
|
-
function
|
|
2960
|
-
const t =
|
|
2961
|
-
return
|
|
3119
|
+
function de(e = {}) {
|
|
3120
|
+
const t = y();
|
|
3121
|
+
return s({
|
|
2962
3122
|
...e,
|
|
2963
3123
|
mutationFn: async ({ id: n, request: u }) => r.checklists.releaseChecklist(n, u ?? {}),
|
|
2964
|
-
onSuccess: (n, u, ...
|
|
3124
|
+
onSuccess: (n, u, ...a) => {
|
|
2965
3125
|
t.invalidateQueries({
|
|
2966
3126
|
queryKey: ["checklists", "releases", u.id]
|
|
2967
|
-
}), e.onSuccess?.(n, u, ...
|
|
3127
|
+
}), e.onSuccess?.(n, u, ...a);
|
|
2968
3128
|
}
|
|
2969
3129
|
});
|
|
2970
3130
|
}
|
|
2971
|
-
const
|
|
2972
|
-
function
|
|
2973
|
-
return
|
|
3131
|
+
const Ja = de;
|
|
3132
|
+
function $a(e, t = {}) {
|
|
3133
|
+
return s({
|
|
2974
3134
|
mutationFn: async (n) => r.solutions.setSolutionSeedData(e, n, { approve: !0 }),
|
|
2975
3135
|
...t
|
|
2976
3136
|
});
|
|
2977
3137
|
}
|
|
2978
3138
|
export {
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
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
|
-
Bt as
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
je as
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
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
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
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
|
|
3294
3462
|
};
|