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