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