@bluecopa/react 0.1.95 → 0.1.97

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 (36) hide show
  1. package/dist/hooks/useCreateReconV2.d.ts +10 -0
  2. package/dist/hooks/useCreateReconV2.d.ts.map +1 -0
  3. package/dist/hooks/useDeleteReconV2.d.ts +9 -0
  4. package/dist/hooks/useDeleteReconV2.d.ts.map +1 -0
  5. package/dist/hooks/useGetAllReconV2.d.ts +10 -0
  6. package/dist/hooks/useGetAllReconV2.d.ts.map +1 -0
  7. package/dist/hooks/useGetReconV2CleanResult.d.ts +14 -0
  8. package/dist/hooks/useGetReconV2CleanResult.d.ts.map +1 -0
  9. package/dist/hooks/useGetReconV2Diff.d.ts +13 -0
  10. package/dist/hooks/useGetReconV2Diff.d.ts.map +1 -0
  11. package/dist/hooks/useGetReconV2Explanation.d.ts +13 -0
  12. package/dist/hooks/useGetReconV2Explanation.d.ts.map +1 -0
  13. package/dist/hooks/useGetReconV2ProfileResult.d.ts +14 -0
  14. package/dist/hooks/useGetReconV2ProfileResult.d.ts.map +1 -0
  15. package/dist/hooks/useGetReconV2RunResult.d.ts +12 -0
  16. package/dist/hooks/useGetReconV2RunResult.d.ts.map +1 -0
  17. package/dist/hooks/useGetReconV2Runs.d.ts +11 -0
  18. package/dist/hooks/useGetReconV2Runs.d.ts.map +1 -0
  19. package/dist/hooks/useGetReconV2SmartResult.d.ts +11 -0
  20. package/dist/hooks/useGetReconV2SmartResult.d.ts.map +1 -0
  21. package/dist/hooks/useGetVirtualDatasets.d.ts +5 -0
  22. package/dist/hooks/useGetVirtualDatasets.d.ts.map +1 -0
  23. package/dist/hooks/useReconV2RunStatus.d.ts +34 -0
  24. package/dist/hooks/useReconV2RunStatus.d.ts.map +1 -0
  25. package/dist/hooks/useRunReconV2.d.ts +12 -0
  26. package/dist/hooks/useRunReconV2.d.ts.map +1 -0
  27. package/dist/hooks/useStartReconV2Clean.d.ts +10 -0
  28. package/dist/hooks/useStartReconV2Clean.d.ts.map +1 -0
  29. package/dist/hooks/useStartReconV2Profile.d.ts +10 -0
  30. package/dist/hooks/useStartReconV2Profile.d.ts.map +1 -0
  31. package/dist/hooks/useUpdateReconV2.d.ts +10 -0
  32. package/dist/hooks/useUpdateReconV2.d.ts.map +1 -0
  33. package/dist/index.d.ts +16 -0
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.es.js +711 -541
  36. package/package.json +5 -5
package/dist/index.es.js CHANGED
@@ -1,9 +1,10 @@
1
- import { useQuery as s, useMutation as o, useQueryClient as g } from "@tanstack/react-query";
2
- import * as O from "@tanstack/react-query";
3
- import { copaApi as u, copaGetConfig as k } from "@bluecopa/core";
1
+ import { useQuery as s, useMutation as a, useQueryClient as f } from "@tanstack/react-query";
2
+ import * as A from "@tanstack/react-query";
3
+ import { copaApi as r, copaGetConfig as p, copaUtils as R } from "@bluecopa/core";
4
4
  export * from "@bluecopa/core";
5
- import { ReactQueryDevtools as pn } from "@tanstack/react-query-devtools";
6
- const S = {
5
+ import { useState as h, useRef as S, useEffect as k } from "react";
6
+ import { ReactQueryDevtools as Ln } from "@tanstack/react-query-devtools";
7
+ const C = {
7
8
  enabled: !0,
8
9
  staleTime: 1e3 * 60 * 5,
9
10
  // 5 minutes
@@ -12,27 +13,27 @@ const S = {
12
13
  retry: 2,
13
14
  retryDelay: (e) => Math.min(1e3 * 2 ** e, 3e4)
14
15
  };
15
- function p(e = {}) {
16
+ function E(e = {}) {
16
17
  return {
17
- ...S,
18
+ ...C,
18
19
  ...e
19
20
  };
20
21
  }
21
- function E(e = 5e3) {
22
+ function K(e = 5e3) {
22
23
  return new Promise((n) => setTimeout(n, e));
23
24
  }
24
- function h(e, n) {
25
- const t = Object.entries(e).filter(([r, a]) => !a).map(([r]) => r);
25
+ function T(e, n) {
26
+ const t = Object.entries(e).filter(([u, o]) => !o).map(([u]) => u);
26
27
  if (t.length > 0)
27
28
  throw new Error(
28
29
  n || `Missing required parameters: ${t.join(", ")}`
29
30
  );
30
31
  }
31
- function c(e, n, t = 0) {
32
- return async () => (await E(t), await e());
32
+ function i(e, n, t = 0) {
33
+ return async () => (await K(t), await e());
33
34
  }
34
- function l(e) {
35
- const n = p(e.options);
35
+ function c(e) {
36
+ const n = E(e.options);
36
37
  return {
37
38
  queryKey: e.queryKey,
38
39
  queryFn: e.queryFn,
@@ -45,354 +46,362 @@ function l(e) {
45
46
  onError: n.onError
46
47
  };
47
48
  }
48
- function A(e, n = {}) {
49
- const t = n.enabled !== !1 && !!e, r = n.solutionBindings ?? null, a = c(async () => {
49
+ function W(e, n = {}) {
50
+ const t = n.enabled !== !1 && !!e, u = n.solutionBindings ?? null, o = i(async () => {
50
51
  if (!e)
51
52
  throw new Error("Metric ID is required");
52
- return console.log("Fetching metric data..."), await u.metric.getData(e, {
53
+ return console.log("Fetching metric data..."), await r.metric.getData(e, {
53
54
  solutionBindings: n.solutionBindings
54
55
  });
55
- }), i = l({
56
- queryKey: ["metricData", e, r],
57
- queryFn: a,
56
+ }), l = c({
57
+ queryKey: ["metricData", e, u],
58
+ queryFn: o,
58
59
  enabled: t,
59
60
  options: n
60
61
  });
61
- return s(i);
62
+ return s(l);
62
63
  }
63
- function G(e, n = {}) {
64
- const t = !!e, r = c(async () => {
64
+ function x(e, n = {}) {
65
+ const t = !!e, u = i(async () => {
65
66
  if (!e)
66
67
  throw new Error("Dataset ID is required");
67
- return console.log("Fetching dataset data..."), await u.dataset.getSampleData({
68
+ return console.log("Fetching dataset data..."), await r.dataset.getSampleData({
68
69
  datasetId: e,
69
70
  dataFilter: "all_data"
70
71
  });
71
- }), a = l({
72
+ }), o = c({
72
73
  queryKey: ["datasetData", e],
73
- queryFn: r,
74
+ queryFn: u,
74
75
  enabled: t,
75
76
  options: n
76
77
  });
77
- return s(a);
78
+ return s(o);
78
79
  }
79
- function U(e = {}) {
80
- return o({
81
- mutationFn: async (n) => await u.chat.createThread(n),
80
+ function M(e = {}) {
81
+ return a({
82
+ mutationFn: async (n) => await r.chat.createThread(n),
82
83
  onSuccess: e.onSuccess,
83
84
  onError: e.onError,
84
85
  retry: e.retry ?? 2,
85
86
  retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
86
87
  });
87
88
  }
88
- function M(e, n = {}) {
89
- const t = n.enabled !== !1 && !!e, r = c(async () => (h(
89
+ function I(e, n = {}) {
90
+ const t = n.enabled !== !1 && !!e, u = i(async () => (T(
90
91
  { threadId: e },
91
92
  "Thread ID is required to fetch comments"
92
- ), await u.chat.getCommentsByThreadId(e))), a = l({
93
+ ), await r.chat.getCommentsByThreadId(e))), o = c({
93
94
  queryKey: ["chat", "comments", e],
94
- queryFn: r,
95
+ queryFn: u,
95
96
  enabled: t,
96
97
  options: n
97
98
  });
98
- return s(a);
99
+ return s(o);
99
100
  }
100
- function W(e = {}) {
101
- return o({
102
- mutationFn: async (n) => await u.chat.postComment(n),
101
+ function Q(e = {}) {
102
+ return a({
103
+ mutationFn: async (n) => await r.chat.postComment(n),
103
104
  onSuccess: e.onSuccess,
104
105
  onError: e.onError,
105
106
  retry: e.retry ?? 2,
106
107
  retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
107
108
  });
108
109
  }
109
- function v(e = {}) {
110
- return o({
111
- mutationFn: async (n) => await u.chat.updateComment(n),
110
+ function _(e = {}) {
111
+ return a({
112
+ mutationFn: async (n) => await r.chat.updateComment(n),
112
113
  onSuccess: e.onSuccess,
113
114
  onError: e.onError,
114
115
  retry: e.retry ?? 2,
115
116
  retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
116
117
  });
117
118
  }
118
- function x(e = {}) {
119
- return o({
120
- mutationFn: async (n) => await u.chat.deleteComment(n),
119
+ function N(e = {}) {
120
+ return a({
121
+ mutationFn: async (n) => await r.chat.deleteComment(n),
121
122
  onSuccess: e.onSuccess,
122
123
  onError: e.onError,
123
124
  retry: e.retry ?? 2,
124
125
  retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
125
126
  });
126
127
  }
127
- function I(e = {}) {
128
- return o({
129
- mutationFn: async (n) => await u.chat.subscribeUser(n),
128
+ function H(e = {}) {
129
+ return a({
130
+ mutationFn: async (n) => await r.chat.subscribeUser(n),
130
131
  onSuccess: e.onSuccess,
131
132
  onError: e.onError,
132
133
  retry: e.retry ?? 2,
133
134
  retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
134
135
  });
135
136
  }
136
- function Q(e = {}) {
137
- return o({
138
- mutationFn: async (n) => await u.chat.unsubscribeUser(n),
137
+ function L(e = {}) {
138
+ return a({
139
+ mutationFn: async (n) => await r.chat.unsubscribeUser(n),
139
140
  onSuccess: e.onSuccess,
140
141
  onError: e.onError,
141
142
  retry: e.retry ?? 2,
142
143
  retryDelay: e.retryDelay ?? ((n) => Math.min(1e3 * 2 ** n, 3e4))
143
144
  });
144
145
  }
145
- function _(e, n, t = {}) {
146
- const r = t.enabled !== !1 && !!e && !!n, a = c(async () => (h(
146
+ function z(e, n, t = {}) {
147
+ const u = t.enabled !== !1 && !!e && !!n, o = i(async () => (T(
147
148
  { userId: e, threadId: n },
148
149
  "User ID and Thread ID are required to check subscription status"
149
- ), await u.chat.checkSubscriptionStatus(e, n))), i = l({
150
+ ), await r.chat.checkSubscriptionStatus(e, n))), l = c({
150
151
  queryKey: ["chat", "subscription", e, n],
151
- queryFn: a,
152
- enabled: r,
152
+ queryFn: o,
153
+ enabled: u,
153
154
  options: t
154
155
  });
155
- return s(i);
156
+ return s(l);
156
157
  }
157
- function H(e = {}) {
158
- return o({
159
- mutationFn: async (n) => await u.statement.createNewRun(n),
158
+ function j(e = {}) {
159
+ return a({
160
+ mutationFn: async (n) => await r.statement.createNewRun(n),
160
161
  ...e
161
162
  });
162
163
  }
163
- function N(e, n = {}) {
164
- const t = !!e, r = c(async () => {
164
+ function J(e, n = {}) {
165
+ const t = !!e, u = i(async () => {
165
166
  if (!e)
166
167
  throw new Error("Dataset ID is required");
167
- return console.log("Fetching dataset data..."), await u.dataset.getData(e, {
168
+ return console.log("Fetching dataset data..."), await r.dataset.getData(e, {
168
169
  limit: n.limit || 1e3
169
170
  });
170
- }), a = l({
171
+ }), o = c({
171
172
  queryKey: ["datasetData", e],
172
- queryFn: r,
173
+ queryFn: u,
173
174
  enabled: t,
174
175
  options: n
175
176
  });
176
- return s(a);
177
+ return s(o);
177
178
  }
178
- function L() {
179
- const e = c(async () => (console.log("Fetching dataset data..."), await u.dataset.getAllDatasets())), n = l({
179
+ function Y() {
180
+ const e = i(async () => (console.log("Fetching dataset data..."), await r.dataset.getAllDatasets())), n = c({
180
181
  queryKey: ["datasetData"],
181
182
  queryFn: e,
182
183
  enabled: !0
183
184
  });
184
185
  return s(n);
185
186
  }
186
- function V(e, n, t, r = {}) {
187
- const a = !!e && !!n && !!t, i = c(async () => {
187
+ function $() {
188
+ const e = i(async () => await r.dataset.getVirtualDatasets()), n = c({
189
+ queryKey: ["virtualDatasets"],
190
+ queryFn: e,
191
+ enabled: !0
192
+ });
193
+ return s(n);
194
+ }
195
+ function X(e, n, t, u = {}) {
196
+ const o = !!e && !!n && !!t, l = i(async () => {
188
197
  if (!e || !n || !t)
189
198
  throw new Error("Key, contentType, and method are required");
190
- return console.log("Getting signed file URL..."), await u.files.getFileUrlByFileId({
199
+ return console.log("Getting signed file URL..."), await r.files.getFileUrlByFileId({
191
200
  key: e,
192
201
  contentType: n,
193
202
  method: t
194
203
  });
195
- }), y = l({
204
+ }), y = c({
196
205
  queryKey: ["file", "getFileUrlByFileId", e, n, t],
197
- queryFn: i,
198
- enabled: a,
199
- options: r
206
+ queryFn: l,
207
+ enabled: o,
208
+ options: u
200
209
  });
201
210
  return s(y);
202
211
  }
203
- function z(e, n, t = {}) {
204
- const r = e == null ? void 0 : e.trim(), a = n == null ? void 0 : n.trim(), i = !!(r && a), y = c(async () => await u.files.getFileByFolderIdAndName({
205
- folderId: r,
206
- name: a
207
- })), w = l({
212
+ function Z(e, n, t = {}) {
213
+ const u = e?.trim(), o = n?.trim(), l = !!(u && o), y = i(async () => await r.files.getFileByFolderIdAndName({
214
+ folderId: u,
215
+ name: o
216
+ })), g = c({
208
217
  queryKey: [
209
218
  "file",
210
219
  "getFileByFolderIdAndName",
211
- r,
212
- a
220
+ u,
221
+ o
213
222
  ],
214
223
  queryFn: y,
215
- enabled: i,
224
+ enabled: l,
216
225
  options: t
217
226
  });
218
- return s(w);
227
+ return s(g);
219
228
  }
220
- function Y(e, n, t = {}) {
221
- const r = !!e && !!n, a = c(async () => {
229
+ function ee(e, n, t = {}) {
230
+ const u = !!e && !!n, o = i(async () => {
222
231
  if (!e || !n)
223
232
  throw new Error("Type and ID are required");
224
- return console.log("Fetching published workbook by ID..."), await u.workbook.getPublishedWorkbookById({ type: e, id: n });
225
- }), i = l({
233
+ return console.log("Fetching published workbook by ID..."), await r.workbook.getPublishedWorkbookById({ type: e, id: n });
234
+ }), l = c({
226
235
  queryKey: ["workbook", "getPublishedWorkbookById", e, n],
227
- queryFn: a,
228
- enabled: r,
236
+ queryFn: o,
237
+ enabled: u,
229
238
  options: t
230
239
  });
231
- return s(i);
240
+ return s(l);
232
241
  }
233
- function $(e, n = {}) {
234
- const t = !!e, r = c(async () => {
242
+ function ne(e, n = {}) {
243
+ const t = !!e, u = i(async () => {
235
244
  if (!e)
236
245
  throw new Error("Run ID is required");
237
- return await u.statement.getRunResultById(e);
238
- }), a = l({
246
+ return await r.statement.getRunResultById(e);
247
+ }), o = c({
239
248
  queryKey: ["statement", "getRunResultById", e],
240
- queryFn: r,
249
+ queryFn: u,
241
250
  enabled: t,
242
251
  options: n
243
252
  });
244
- return s(a);
253
+ return s(o);
245
254
  }
246
- function J(e, n = {}) {
247
- const t = !!e, r = c(async () => {
255
+ function te(e, n = {}) {
256
+ const t = !!e, u = i(async () => {
248
257
  if (!e)
249
258
  throw new Error("View ID is required");
250
- return await u.statement.getRunsByViewId(e);
251
- }), a = l({
259
+ return await r.statement.getRunsByViewId(e);
260
+ }), o = c({
252
261
  queryKey: ["statement", "getRunsByViewId", e],
253
- queryFn: r,
262
+ queryFn: u,
254
263
  enabled: t,
255
264
  options: n
256
265
  });
257
- return s(a);
266
+ return s(o);
258
267
  }
259
- function X(e, n, t, r = {}) {
260
- const a = !!e, i = c(async () => {
268
+ function re(e, n, t, u = {}) {
269
+ const o = !!e, l = i(async () => {
261
270
  if (!e)
262
271
  throw new Error("Statement ID is required");
263
- return await u.statement.getData({
272
+ return await r.statement.getData({
264
273
  statementId: e,
265
274
  viewId: n || void 0,
266
275
  runId: t || void 0
267
276
  });
268
- }), y = l({
277
+ }), y = c({
269
278
  queryKey: ["statement", "getData", e, n, t],
270
- queryFn: i,
271
- enabled: a,
272
- options: r
279
+ queryFn: l,
280
+ enabled: o,
281
+ options: u
273
282
  });
274
283
  return s(y);
275
284
  }
276
- function Z(e, n = {}) {
277
- const t = !!e, r = c(async () => {
285
+ function ue(e, n = {}) {
286
+ const t = !!e, u = i(async () => {
278
287
  if (!e)
279
288
  throw new Error("Table ID is required");
280
- return console.log("Fetching table by ID..."), await u.inputTable.getTableById(e);
281
- }), a = l({
289
+ return console.log("Fetching table by ID..."), await r.inputTable.getTableById(e);
290
+ }), o = c({
282
291
  queryKey: ["inputTable", "getTableById", e],
283
- queryFn: r,
292
+ queryFn: u,
284
293
  enabled: t,
285
294
  options: n
286
295
  });
287
- return s(a);
296
+ return s(o);
288
297
  }
289
- function j(e, n = {}) {
290
- const t = !!e, r = c(async () => {
298
+ function oe(e, n = {}) {
299
+ const t = !!e, u = i(async () => {
291
300
  if (!e)
292
301
  throw new Error("View ID is required");
293
- return await u.statement.getViewById(e);
294
- }), a = l({
302
+ return await r.statement.getViewById(e);
303
+ }), o = c({
295
304
  queryKey: ["statement", "getViewById", e],
296
- queryFn: r,
305
+ queryFn: u,
297
306
  enabled: t,
298
307
  options: n
299
308
  });
300
- return s(a);
309
+ return s(o);
301
310
  }
302
- function ee(e, n = {}) {
303
- const t = !!e, r = c(async () => {
311
+ function ae(e, n = {}) {
312
+ const t = !!e, u = i(async () => {
304
313
  if (!e)
305
314
  throw new Error("Sheet ID is required");
306
- return await u.statement.getViewsBySheetId(e);
307
- }), a = l({
315
+ return await r.statement.getViewsBySheetId(e);
316
+ }), o = c({
308
317
  queryKey: ["statement", "getViewsBySheetId", e],
309
- queryFn: r,
318
+ queryFn: u,
310
319
  enabled: t,
311
320
  options: n
312
321
  });
313
- return s(a);
322
+ return s(o);
314
323
  }
315
- function ne(e, n = {}) {
316
- const t = !!e, r = c(async () => {
324
+ function se(e, n = {}) {
325
+ const t = !!e, u = i(async () => {
317
326
  if (!e)
318
327
  throw new Error("Type is required");
319
- return console.log("Fetching workbooks by type..."), await u.workbook.getWorkbooksByType(e);
320
- }), a = l({
328
+ return console.log("Fetching workbooks by type..."), await r.workbook.getWorkbooksByType(e);
329
+ }), o = c({
321
330
  queryKey: ["workbook", "getWorkbooksByType", e],
322
- queryFn: r,
331
+ queryFn: u,
323
332
  enabled: t,
324
333
  options: n
325
334
  });
326
- return s(a);
335
+ return s(o);
327
336
  }
328
- var C = /* @__PURE__ */ ((e) => (e.Succeeded = "Succeeded", e.Failed = "Failed", e.Running = "Running", e.NotFound = "NotFound", e))(C || {});
329
- function te(e = {}) {
330
- return o({
331
- mutationFn: async (n) => (console.log("Fetching workflow instance status..."), await u.workflow.getWorkflowInstanceStatusById(n)),
337
+ var V = /* @__PURE__ */ ((e) => (e.Succeeded = "Succeeded", e.Failed = "Failed", e.Running = "Running", e.NotFound = "NotFound", e))(V || {});
338
+ function ie(e = {}) {
339
+ return a({
340
+ mutationFn: async (n) => (console.log("Fetching workflow instance status..."), await r.workflow.getWorkflowInstanceStatusById(n)),
332
341
  ...e
333
342
  });
334
343
  }
335
- function re(e, n = {}) {
336
- const t = !!e && e.length > 0, r = c(async () => {
344
+ function ce(e, n = {}) {
345
+ const t = !!e && e.length > 0, u = i(async () => {
337
346
  if (!e || e.length === 0)
338
347
  throw new Error("Worksheet IDs are required");
339
- return console.log("Fetching worksheets..."), await u.worksheet.getWorksheets(e);
340
- }), a = l({
348
+ return console.log("Fetching worksheets..."), await r.worksheet.getWorksheets(e);
349
+ }), o = c({
341
350
  queryKey: ["worksheet", "getWorksheets", e],
342
- queryFn: r,
351
+ queryFn: u,
343
352
  enabled: t,
344
353
  options: n
345
354
  });
346
- return s(a);
355
+ return s(o);
347
356
  }
348
- function ue(e, n = {}) {
349
- const t = !!e, r = c(async () => {
357
+ function le(e, n = {}) {
358
+ const t = !!e, u = i(async () => {
350
359
  if (!e)
351
360
  throw new Error("Type is required");
352
- return console.log("Fetching worksheets by type..."), await u.worksheet.getWorksheetsByType(e);
353
- }), a = l({
361
+ return console.log("Fetching worksheets by type..."), await r.worksheet.getWorksheetsByType(e);
362
+ }), o = c({
354
363
  queryKey: ["worksheet", "getWorksheetsByType", e],
355
- queryFn: r,
364
+ queryFn: u,
356
365
  enabled: t,
357
366
  options: n
358
367
  });
359
- return s(a);
368
+ return s(o);
360
369
  }
361
- function ae(e, n, t = {}) {
370
+ function ye(e, n, t = {}) {
362
371
  const {
363
- limitParams: r = { limit: 2e3, limitFrom: "top" },
364
- pageParams: a,
365
- sortParams: i,
372
+ limitParams: u = { limit: 2e3, limitFrom: "top" },
373
+ pageParams: o,
374
+ sortParams: l,
366
375
  offsetParam: y,
367
- ...w
368
- } = t, d = w.enabled !== !1 && !!e && !!n, m = c(async () => {
376
+ ...g
377
+ } = t, w = g.enabled !== !1 && !!e && !!n, m = i(async () => {
369
378
  if (!e || !n)
370
379
  throw new Error("Input table ID and view ID are required");
371
- return console.log("Fetching input table data..."), await u.inputTable.getData({
380
+ return console.log("Fetching input table data..."), await r.inputTable.getData({
372
381
  inputTableId: e,
373
382
  inputTableViewId: n,
374
- pageParams: a,
375
- limitParams: r,
376
- sortParams: i,
383
+ pageParams: o,
384
+ limitParams: u,
385
+ sortParams: l,
377
386
  offsetParam: y
378
387
  });
379
- }), q = l({
388
+ }), F = c({
380
389
  queryKey: ["inputTableData", e, n],
381
390
  queryFn: m,
382
- enabled: d,
383
- options: w
391
+ enabled: w,
392
+ options: g
384
393
  });
385
- return s(q);
394
+ return s(F);
386
395
  }
387
- function oe() {
388
- const e = c(async () => (console.log("Fetching input table data..."), await u.inputTable.getInputTables())), n = l({
396
+ function ge() {
397
+ const e = i(async () => (console.log("Fetching input table data..."), await r.inputTable.getInputTables())), n = c({
389
398
  queryKey: ["inputTableData"],
390
399
  queryFn: e,
391
400
  enabled: !0
392
401
  });
393
402
  return s(n);
394
403
  }
395
- function se(e, n = {}) {
404
+ function fe(e, n = {}) {
396
405
  const t = [
397
406
  "enabled",
398
407
  "staleTime",
@@ -401,384 +410,529 @@ function se(e, n = {}) {
401
410
  "retryDelay",
402
411
  "onSuccess",
403
412
  "onError"
404
- ], { limit: r, offset: a, order: i, order_by: y, ...w } = n, d = {}, m = { limit: r, offset: a, order: i, order_by: y };
405
- Object.keys(w).forEach((f) => {
406
- t.includes(f) ? d[f] = w[f] : m[f] = w[f];
413
+ ], { limit: u, offset: o, order: l, order_by: y, ...g } = n, w = {}, m = { limit: u, offset: o, order: l, order_by: y };
414
+ Object.keys(g).forEach((d) => {
415
+ t.includes(d) ? w[d] = g[d] : m[d] = g[d];
407
416
  });
408
- const q = d.enabled !== !1 && !!e, D = c(async () => {
417
+ const F = w.enabled !== !1 && !!e, b = i(async () => {
409
418
  if (!e)
410
419
  throw new Error("Table ID is required");
411
- return console.log("Fetching input table rows..."), await u.inputTable.getRows(e, m);
412
- }), T = l({
420
+ return console.log("Fetching input table rows..."), await r.inputTable.getRows(e, m);
421
+ }), q = c({
413
422
  queryKey: ["inputTableRows", e, n],
414
- queryFn: D,
415
- enabled: q,
416
- options: d
423
+ queryFn: b,
424
+ enabled: F,
425
+ options: w
417
426
  });
418
- return s(T);
427
+ return s(q);
419
428
  }
420
- function ie(e = {}) {
421
- const n = g();
422
- return o({
423
- mutationFn: async (t) => (console.log("Inserting row into input table..."), await u.inputTable.insertRow(t.tableId, t.rowData)),
424
- onSuccess: (t, r, a) => {
425
- var i;
429
+ function we(e = {}) {
430
+ const n = f();
431
+ return a({
432
+ mutationFn: async (t) => (console.log("Inserting row into input table..."), await r.inputTable.insertRow(t.tableId, t.rowData)),
433
+ onSuccess: (t, u, o) => {
426
434
  n.invalidateQueries({
427
- queryKey: ["inputTableRows", r.tableId]
428
- }), (i = e.onSuccess) == null || i.call(e, t);
435
+ queryKey: ["inputTableRows", u.tableId]
436
+ }), e.onSuccess?.(t);
429
437
  },
430
- onError: (t, r, a) => {
431
- var i;
432
- (i = e.onError) == null || i.call(e, t);
438
+ onError: (t, u, o) => {
439
+ e.onError?.(t);
433
440
  },
434
441
  ...e
435
442
  });
436
443
  }
437
- function ce(e = {}) {
438
- const n = g();
439
- return o({
440
- mutationFn: async (t) => (console.log("Updating input table row..."), await u.inputTable.updateRow(
444
+ function de(e = {}) {
445
+ const n = f();
446
+ return a({
447
+ mutationFn: async (t) => (console.log("Updating input table row..."), await r.inputTable.updateRow(
441
448
  t.tableId,
442
449
  t.updateData,
443
450
  t.rowId
444
451
  )),
445
- onSuccess: (t, r, a) => {
446
- var i;
452
+ onSuccess: (t, u, o) => {
447
453
  n.invalidateQueries({
448
- queryKey: ["inputTableRows", r.tableId]
449
- }), (i = e.onSuccess) == null || i.call(e, t);
454
+ queryKey: ["inputTableRows", u.tableId]
455
+ }), e.onSuccess?.(t);
450
456
  },
451
- onError: (t, r, a) => {
452
- var i;
453
- (i = e.onError) == null || i.call(e, t);
457
+ onError: (t, u, o) => {
458
+ e.onError?.(t);
454
459
  },
455
460
  ...e
456
461
  });
457
462
  }
458
- function le(e = {}) {
459
- const n = g();
460
- return o({
461
- mutationFn: async (t) => (console.log("Deleting input table row(s)..."), await u.inputTable.deleteRow(
463
+ function me(e = {}) {
464
+ const n = f();
465
+ return a({
466
+ mutationFn: async (t) => (console.log("Deleting input table row(s)..."), await r.inputTable.deleteRow(
462
467
  t.tableId,
463
468
  t.rowId,
464
469
  t.idField
465
470
  )),
466
- onSuccess: (t, r, a) => {
467
- var i;
471
+ onSuccess: (t, u, o) => {
468
472
  n.invalidateQueries({
469
- queryKey: ["inputTableRows", r.tableId]
470
- }), (i = e.onSuccess) == null || i.call(e, t);
473
+ queryKey: ["inputTableRows", u.tableId]
474
+ }), e.onSuccess?.(t);
471
475
  },
472
- onError: (t, r, a) => {
473
- var i;
474
- (i = e.onError) == null || i.call(e, t);
476
+ onError: (t, u, o) => {
477
+ e.onError?.(t);
475
478
  },
476
479
  ...e
477
480
  });
478
481
  }
479
- function ye(e = {}) {
480
- return o({
481
- mutationFn: async (n) => (console.log("Running definition..."), await u.definition.runDefinition(n)),
482
+ function qe(e = {}) {
483
+ return a({
484
+ mutationFn: async (n) => (console.log("Running definition..."), await r.definition.runDefinition(n)),
482
485
  ...e
483
486
  });
484
487
  }
485
- function ge(e = {}) {
486
- return o({
487
- mutationFn: async (n) => await u.definition.runPublishedDefinition(n),
488
+ function Fe(e = {}) {
489
+ return a({
490
+ mutationFn: async (n) => await r.definition.runPublishedDefinition(n),
488
491
  ...e
489
492
  });
490
493
  }
491
- function we(e = {}) {
492
- return o({
493
- mutationFn: async (n) => await u.definition.runSampleDefinition(n),
494
+ function be(e = {}) {
495
+ return a({
496
+ mutationFn: async (n) => await r.definition.runSampleDefinition(n),
494
497
  ...e
495
498
  });
496
499
  }
497
- function de(e = {}) {
498
- return o({
499
- mutationFn: async (n) => (console.log("Triggering HTTP workflow..."), await u.workflow.triggerHttpWorkflowById(n)),
500
+ function he(e = {}) {
501
+ return a({
502
+ mutationFn: async (n) => (console.log("Triggering HTTP workflow..."), await r.workflow.triggerHttpWorkflowById(n)),
500
503
  ...e
501
504
  });
502
505
  }
503
- function fe(e = {}) {
504
- return o({
505
- mutationFn: async (n) => (console.log("Triggering workflow..."), await u.workflow.triggerWorkflowById(n)),
506
+ function De(e = {}) {
507
+ return a({
508
+ mutationFn: async (n) => (console.log("Triggering workflow..."), await r.workflow.triggerWorkflowById(n)),
506
509
  ...e
507
510
  });
508
511
  }
509
- function K(e = {}) {
510
- const n = e.enabled !== !1, t = c(async () => (console.log("Fetching user details..."), await u.user.getLoggedInUserDetails())), r = l({
512
+ function B(e = {}) {
513
+ const n = e.enabled !== !1, t = i(async () => (console.log("Fetching user details..."), await r.user.getLoggedInUserDetails())), u = c({
511
514
  queryKey: ["user"],
512
515
  queryFn: t,
513
516
  enabled: n,
514
517
  options: e
515
518
  });
516
- return s(r);
519
+ return s(u);
517
520
  }
518
- const me = K, B = ["Owner", "Editor", "Viewer", "ReadOnly"];
519
- var b;
520
- const F = (b = u.permissions) == null ? void 0 : b.getPermissions;
521
- function qe(e, n, t = {}) {
522
- const r = t.enabled !== !1 && !!(e != null && e.trim()), a = c(
521
+ const pe = B, G = ["Owner", "Editor", "Viewer", "ReadOnly"], D = r.permissions?.getPermissions;
522
+ function Te(e, n, t = {}) {
523
+ const u = t.enabled !== !1 && !!e?.trim(), o = i(
523
524
  async () => {
524
- if (!(e != null && e.trim()))
525
+ if (!e?.trim())
525
526
  return {};
526
- if (!F)
527
+ if (!D)
527
528
  throw new Error(
528
529
  "@bluecopa/core: permissions.getPermissions not available. Rebuild the core package."
529
530
  );
530
- const y = k();
531
+ const y = p();
531
532
  if (!y.userId)
532
533
  throw new Error(
533
534
  "@bluecopa/core: userId is required. Call copaSetConfig({ userId, ... }) before using useDocumentPermissions."
534
535
  );
535
- return await F({
536
+ return await D({
536
537
  objectId: e.trim(),
537
538
  objectType: n,
538
539
  user: y.userId,
539
540
  userType: "User",
540
- relations: t.relations ?? B
541
+ relations: t.relations ?? G
541
542
  });
542
543
  },
543
544
  void 0,
544
545
  0
545
- ), i = l({
546
+ ), l = c({
546
547
  queryKey: ["documentPermissions", e ?? "", n, t.relations ?? []],
547
- queryFn: a,
548
- enabled: r,
548
+ queryFn: o,
549
+ enabled: u,
549
550
  options: t
550
551
  });
551
- return s(i);
552
+ return s(l);
552
553
  }
553
- function Fe(e = {}) {
554
- return o({
555
- mutationFn: async (n) => (console.log("Uploading file..."), await u.files.fileUpload(n)),
554
+ function Re(e = {}) {
555
+ return a({
556
+ mutationFn: async (n) => (console.log("Uploading file..."), await r.files.fileUpload(n)),
556
557
  ...e
557
558
  });
558
559
  }
559
- function be({
560
+ function Se({
560
561
  fileId: e,
561
562
  contentType: n = "application/json",
562
563
  method: t = "GET"
563
- }, r = {}) {
564
- const a = !!e, i = c(async () => {
564
+ }, u = {}) {
565
+ const o = !!e, l = i(async () => {
565
566
  if (!e)
566
567
  throw new Error("File ID is required");
567
- return console.log("Downloading file..."), await u.files.fileDownload({ fileId: e, contentType: n, method: t });
568
- }), y = l({
568
+ return console.log("Downloading file..."), await r.files.fileDownload({ fileId: e, contentType: n, method: t });
569
+ }), y = c({
569
570
  queryKey: ["file", "fileDownload", e],
570
- queryFn: i,
571
- enabled: a,
572
- options: r
571
+ queryFn: l,
572
+ enabled: o,
573
+ options: u
573
574
  });
574
575
  return s(y);
575
576
  }
576
- function he(e, n = {}) {
577
- const t = !!e, r = c(async () => {
577
+ function ke(e, n = {}) {
578
+ const t = !!e, u = i(async () => {
578
579
  if (!e)
579
580
  throw new Error("Task ID is required");
580
- return console.log("Fetching task details..."), await u.task.getTaskDetails({ taskId: e });
581
- }), a = l({
581
+ return console.log("Fetching task details..."), await r.task.getTaskDetails({ taskId: e });
582
+ }), o = c({
582
583
  queryKey: ["task", "getTaskDetails", e],
583
- queryFn: r,
584
+ queryFn: u,
584
585
  enabled: t,
585
586
  options: n
586
587
  });
587
- return s(a);
588
+ return s(o);
588
589
  }
589
- function De(e, n = {}) {
590
- const t = !!e, r = c(async () => {
590
+ function Ce(e, n = {}) {
591
+ const t = !!e, u = i(async () => {
591
592
  if (!e)
592
593
  throw new Error("Workbook ID is required");
593
- return console.log("Fetching workbook details..."), await u.workbook.getWorkbookDetails({ workbookId: e });
594
- }), a = l({
594
+ return console.log("Fetching workbook details..."), await r.workbook.getWorkbookDetails({ workbookId: e });
595
+ }), o = c({
595
596
  queryKey: ["workbook", "getWorkbookDetails", e],
596
- queryFn: r,
597
+ queryFn: u,
597
598
  enabled: t,
598
599
  options: n
599
600
  });
600
- return s(a);
601
+ return s(o);
601
602
  }
602
- function Te(e = {}) {
603
- return o({
604
- mutationFn: async (n) => (console.log("Saving workbook..."), await u.workbook.saveWorkbook(n)),
603
+ function Ee(e = {}) {
604
+ return a({
605
+ mutationFn: async (n) => (console.log("Saving workbook..."), await r.workbook.saveWorkbook(n)),
605
606
  ...e
606
607
  });
607
608
  }
608
- function ke(e = {}) {
609
- return o({
610
- mutationFn: async (n) => (console.log("Publishing workbook..."), await u.workbook.publishWorkbook(n)),
609
+ function Ke(e = {}) {
610
+ return a({
611
+ mutationFn: async (n) => (console.log("Publishing workbook..."), await r.workbook.publishWorkbook(n)),
611
612
  ...e
612
613
  });
613
614
  }
614
- function Se(e = {}) {
615
- return o({
616
- mutationFn: async (n) => (console.log("Running recon workflow..."), await u.recon.runRecon(n)),
615
+ function Ve(e = {}) {
616
+ return a({
617
+ mutationFn: async (n) => (console.log("Running recon workflow..."), await r.recon.runRecon(n)),
617
618
  ...e
618
619
  });
619
620
  }
620
- function pe(e, n, t = {}) {
621
- const r = !!e && !!n, a = c(async () => {
621
+ function Be(e, n, t = {}) {
622
+ const u = !!e && !!n, o = i(async () => {
622
623
  if (!e || !n)
623
624
  throw new Error("Form instance ID and revision are required");
624
- return console.log("Fetching form schema..."), await u.form.getFormSchema({ formInstanceId: e, formRevision: n });
625
+ return console.log("Fetching form schema..."), await r.form.getFormSchema({ formInstanceId: e, formRevision: n });
625
626
  });
626
627
  return s(
627
- l({
628
+ c({
628
629
  queryKey: ["form", "getFormSchema", e, n],
629
- queryFn: a,
630
- enabled: r,
630
+ queryFn: o,
631
+ enabled: u,
631
632
  options: t
632
633
  })
633
634
  );
634
635
  }
635
- function Ee(e, n = {}) {
636
- const t = !!e, r = c(async () => {
636
+ function Ge(e, n = {}) {
637
+ const t = !!e, u = i(async () => {
637
638
  if (!e)
638
639
  throw new Error("Form ID is required");
639
- return console.log("Fetching form data..."), await u.form.getFormData({ formId: e });
640
- }), a = l({
640
+ return console.log("Fetching form data..."), await r.form.getFormData({ formId: e });
641
+ }), o = c({
641
642
  queryKey: ["form", "getFormData", e],
642
- queryFn: r,
643
+ queryFn: u,
643
644
  enabled: t,
644
645
  options: n
645
646
  });
646
- return s(a);
647
+ return s(o);
647
648
  }
648
- function Ce(e, n = {}) {
649
+ function Pe(e, n = {}) {
649
650
  return s({
650
651
  queryKey: ["form", e],
651
652
  queryFn: async () => {
652
653
  if (!e)
653
654
  throw new Error("Form ID is required");
654
- return await u.form.getFormById({ formId: e });
655
+ return await r.form.getFormById({ formId: e });
655
656
  },
656
657
  enabled: !!e,
657
658
  ...n
658
659
  });
659
660
  }
660
- function Ke(e = {}) {
661
- return o({
662
- mutationFn: async (n) => await u.form.createOrUpdateForm(n),
661
+ function Oe(e = {}) {
662
+ return a({
663
+ mutationFn: async (n) => await r.form.createOrUpdateForm(n),
663
664
  ...e
664
665
  });
665
666
  }
666
- function Be(e = {}) {
667
- return o({
668
- mutationFn: async (n) => await u.audit.getAuditLogs(n),
667
+ function Ae(e = {}) {
668
+ return a({
669
+ mutationFn: async (n) => await r.audit.getAuditLogs(n),
669
670
  ...e
670
671
  });
671
672
  }
672
- function Re(e = {}) {
673
- return o({
674
- mutationFn: async (n) => await u.audit.createAuditLog(n),
673
+ function Ue(e = {}) {
674
+ return a({
675
+ mutationFn: async (n) => await r.audit.createAuditLog(n),
675
676
  ...e
676
677
  });
677
678
  }
678
- function Oe(e = {}) {
679
+ function ve(e = {}) {
679
680
  return s({
680
681
  queryKey: ["templatedPipelines"],
681
- queryFn: async () => await u.templatedPipeline.getAllTemplatedPipelines(),
682
+ queryFn: async () => await r.templatedPipeline.getAllTemplatedPipelines(),
682
683
  ...e
683
684
  });
684
685
  }
685
- function Pe(e = {}) {
686
+ function We(e = {}) {
686
687
  return s({
687
688
  queryKey: ["reconWorkflows"],
688
- queryFn: async () => await u.recon.getAllReconWorkflows(),
689
+ queryFn: async () => await r.recon.getAllReconWorkflows(),
689
690
  ...e
690
691
  });
691
692
  }
692
- function Ae(e = {}) {
693
+ function xe(e = {}) {
694
+ return a({
695
+ mutationFn: async (n) => await r.reconV2.createReconV2(n),
696
+ ...e
697
+ });
698
+ }
699
+ function Me(e = {}) {
700
+ return a({
701
+ mutationFn: async (n) => await r.reconV2.updateReconV2(n),
702
+ ...e
703
+ });
704
+ }
705
+ function Ie(e = {}) {
706
+ return a({
707
+ mutationFn: async (n) => await r.reconV2.deleteReconV2(n),
708
+ ...e
709
+ });
710
+ }
711
+ function Qe(e = {}) {
712
+ return a({
713
+ mutationFn: async (n) => await r.reconV2.runReconV2(n),
714
+ ...e
715
+ });
716
+ }
717
+ function _e(e = {}) {
718
+ return s({
719
+ queryKey: ["reconV2Workflows"],
720
+ queryFn: async () => await r.reconV2.getAllReconV2Workflows(),
721
+ ...e
722
+ });
723
+ }
724
+ function Ne(e, n = {}) {
725
+ const t = e?.trim();
726
+ return s({
727
+ queryKey: ["reconV2", "runs", t],
728
+ queryFn: async () => await r.reconV2.getReconV2Runs({ workflowId: t }),
729
+ enabled: !!t,
730
+ ...n
731
+ });
732
+ }
733
+ function He(e, n = {}) {
734
+ return s({
735
+ queryKey: ["reconV2", "runResult", e],
736
+ queryFn: async () => await r.reconV2.getReconV2RunResult({ runId: e }),
737
+ enabled: !!e,
738
+ ...n
739
+ });
740
+ }
741
+ function Le(e, n = {}) {
742
+ return s({
743
+ queryKey: [
744
+ "reconV2",
745
+ "smartResult",
746
+ e.runId,
747
+ e.workflowId,
748
+ e.exceptionType,
749
+ e.ruleFilter,
750
+ e.orderBy
751
+ ],
752
+ queryFn: async () => await r.reconV2.getReconV2SmartResult(
753
+ e
754
+ ),
755
+ enabled: !!e.runId && !!e.workflowId,
756
+ ...n
757
+ });
758
+ }
759
+ function ze(e = {}) {
760
+ return a({
761
+ mutationFn: async (n) => await r.reconV2.startReconV2Profile(n),
762
+ ...e
763
+ });
764
+ }
765
+ function je(e, n = "left", t = {}) {
766
+ return s({
767
+ queryKey: ["reconV2", "profile", e, n],
768
+ queryFn: async () => await r.reconV2.getReconV2ProfileResult({
769
+ workflowId: e,
770
+ side: n
771
+ }),
772
+ enabled: !!e,
773
+ ...t
774
+ });
775
+ }
776
+ function Je(e = {}) {
777
+ return a({
778
+ mutationFn: async (n) => await r.reconV2.startReconV2Clean(n),
779
+ ...e
780
+ });
781
+ }
782
+ function Ye(e, n = "left", t = {}) {
783
+ return s({
784
+ queryKey: ["reconV2", "clean", e, n],
785
+ queryFn: async () => await r.reconV2.getReconV2CleanResult({
786
+ workflowId: e,
787
+ side: n
788
+ }),
789
+ enabled: !!e,
790
+ ...t
791
+ });
792
+ }
793
+ function $e(e, n, t, u = {}) {
794
+ return s({
795
+ queryKey: ["reconV2", "diff", e, t],
796
+ queryFn: async () => await r.reconV2.getReconV2Diff({
797
+ runId: e,
798
+ workflowId: n,
799
+ prevRunId: t
800
+ }),
801
+ enabled: !!e && !!n && !!t,
802
+ ...u
803
+ });
804
+ }
805
+ function Xe(e, n, t = {}) {
806
+ return s({
807
+ queryKey: ["reconV2", "explanation", e],
808
+ queryFn: async () => await r.reconV2.getReconV2Explanation({
809
+ runId: e,
810
+ workflowId: n
811
+ }),
812
+ enabled: !!e && !!n,
813
+ ...t
814
+ });
815
+ }
816
+ const P = ["SUCCEEDED", "FAILED"];
817
+ function Ze(e, n = {}) {
818
+ const [t, u] = h(
819
+ void 0
820
+ ), [o, l] = h(!1), y = S(n.onComplete);
821
+ return y.current = n.onComplete, k(() => {
822
+ if (!e)
823
+ return;
824
+ const g = p().websocketProvider;
825
+ if (!g)
826
+ return;
827
+ u(void 0), l(!1);
828
+ const w = R.websocketUtils.ReconResultChannel;
829
+ let m = !1;
830
+ const F = () => {
831
+ m || (m = !0, g.unbind(w, e));
832
+ };
833
+ return g.bind(w, e, (b) => {
834
+ let q;
835
+ try {
836
+ q = typeof b == "string" ? JSON.parse(b) : b;
837
+ } catch {
838
+ q = { status: void 0 };
839
+ }
840
+ u(q);
841
+ const d = q?.status?.toUpperCase();
842
+ d && P.includes(d) && (l(!0), y.current?.(q), F());
843
+ }), F;
844
+ }, [e]), { data: t, isTerminal: o };
845
+ }
846
+ function en(e = {}) {
693
847
  return s({
694
848
  queryKey: ["users"],
695
- queryFn: async () => await u.user.getAllUsers(),
849
+ queryFn: async () => await r.user.getAllUsers(),
696
850
  ...e
697
851
  });
698
852
  }
699
- function Ge(e = {}) {
853
+ function nn(e = {}) {
700
854
  return s({
701
855
  queryKey: ["httpTriggers"],
702
- queryFn: async () => await u.workflow.getAllHttpTriggers(),
856
+ queryFn: async () => await r.workflow.getAllHttpTriggers(),
703
857
  ...e
704
858
  });
705
859
  }
706
- function Ue(e = {}) {
707
- return o({
708
- mutationFn: async (n) => await u.process.markTaskDone(n),
860
+ function tn(e = {}) {
861
+ return a({
862
+ mutationFn: async (n) => await r.process.markTaskDone(n),
709
863
  ...e
710
864
  });
711
865
  }
712
- function Me(e = {}) {
713
- return o({
714
- mutationFn: async (n) => await u.process.reassignTask(n),
866
+ function rn(e = {}) {
867
+ return a({
868
+ mutationFn: async (n) => await r.process.reassignTask(n),
715
869
  ...e
716
870
  });
717
871
  }
718
- function We(e, n = {}) {
872
+ function un(e, n = {}) {
719
873
  return s({
720
874
  queryKey: ["processTriggers", e],
721
- queryFn: async () => await u.process.getTriggersBySheet(e),
875
+ queryFn: async () => await r.process.getTriggersBySheet(e),
722
876
  enabled: !!e,
723
877
  ...n
724
878
  });
725
879
  }
726
- function ve(e = {}) {
727
- const n = g();
728
- return o({
729
- mutationFn: async (t) => await u.process.registerProcessTrigger(t),
730
- onSuccess: (t, r) => {
880
+ function on(e = {}) {
881
+ const n = f();
882
+ return a({
883
+ mutationFn: async (t) => await r.process.registerProcessTrigger(t),
884
+ onSuccess: (t, u) => {
731
885
  n.invalidateQueries({
732
- queryKey: ["processTriggers", r.process_sheet_id]
886
+ queryKey: ["processTriggers", u.process_sheet_id]
733
887
  });
734
888
  },
735
889
  ...e
736
890
  });
737
891
  }
738
- function xe(e = {}) {
739
- const n = g();
740
- return o({
741
- mutationFn: async ({ id: t }) => await u.process.deleteProcessTrigger(t),
742
- onSuccess: (t, r) => {
892
+ function an(e = {}) {
893
+ const n = f();
894
+ return a({
895
+ mutationFn: async ({ id: t }) => await r.process.deleteProcessTrigger(t),
896
+ onSuccess: (t, u) => {
743
897
  n.invalidateQueries({
744
- queryKey: r.sheetId ? ["processTriggers", r.sheetId] : ["processTriggers"]
898
+ queryKey: u.sheetId ? ["processTriggers", u.sheetId] : ["processTriggers"]
745
899
  });
746
900
  },
747
901
  ...e
748
902
  });
749
903
  }
750
- function Ie(e = {}) {
751
- const n = g();
752
- return o({
753
- mutationFn: async ({ triggerId: t, scheduleName: r }) => await u.process.pauseSchedule(t, r),
754
- onSuccess: (t, r) => {
904
+ function sn(e = {}) {
905
+ const n = f();
906
+ return a({
907
+ mutationFn: async ({ triggerId: t, scheduleName: u }) => await r.process.pauseSchedule(t, u),
908
+ onSuccess: (t, u) => {
755
909
  n.invalidateQueries({
756
- queryKey: r.sheetId ? ["processTriggers", r.sheetId] : ["processTriggers"]
910
+ queryKey: u.sheetId ? ["processTriggers", u.sheetId] : ["processTriggers"]
757
911
  }), n.invalidateQueries({
758
- queryKey: ["scheduleStatus", r.triggerId, r.scheduleName]
912
+ queryKey: ["scheduleStatus", u.triggerId, u.scheduleName]
759
913
  });
760
914
  },
761
915
  ...e
762
916
  });
763
917
  }
764
- function Qe(e = {}) {
765
- const n = g();
766
- return o({
767
- mutationFn: async ({ triggerId: t, scheduleName: r }) => await u.process.resumeSchedule(t, r),
768
- onSuccess: (t, r) => {
918
+ function cn(e = {}) {
919
+ const n = f();
920
+ return a({
921
+ mutationFn: async ({ triggerId: t, scheduleName: u }) => await r.process.resumeSchedule(t, u),
922
+ onSuccess: (t, u) => {
769
923
  n.invalidateQueries({
770
- queryKey: r.sheetId ? ["processTriggers", r.sheetId] : ["processTriggers"]
924
+ queryKey: u.sheetId ? ["processTriggers", u.sheetId] : ["processTriggers"]
771
925
  }), n.invalidateQueries({
772
- queryKey: ["scheduleStatus", r.triggerId, r.scheduleName]
926
+ queryKey: ["scheduleStatus", u.triggerId, u.scheduleName]
773
927
  });
774
928
  },
775
929
  ...e
776
930
  });
777
931
  }
778
- function _e(e, n, t = {}) {
932
+ function ln(e, n, t = {}) {
779
933
  return s({
780
934
  queryKey: ["scheduleStatus", e, n],
781
- queryFn: async () => await u.process.getScheduleStatus(
935
+ queryFn: async () => await r.process.getScheduleStatus(
782
936
  e,
783
937
  n
784
938
  ),
@@ -786,83 +940,83 @@ function _e(e, n, t = {}) {
786
940
  ...t
787
941
  });
788
942
  }
789
- function He(e = {}) {
790
- const n = g();
791
- return o({
792
- mutationFn: async ({ triggerId: t, scheduleName: r }) => await u.process.executeNow(t, r),
793
- onSuccess: (t, r) => {
943
+ function yn(e = {}) {
944
+ const n = f();
945
+ return a({
946
+ mutationFn: async ({ triggerId: t, scheduleName: u }) => await r.process.executeNow(t, u),
947
+ onSuccess: (t, u) => {
794
948
  n.invalidateQueries({
795
- queryKey: r.sheetId ? ["processTriggers", r.sheetId] : ["processTriggers"]
949
+ queryKey: u.sheetId ? ["processTriggers", u.sheetId] : ["processTriggers"]
796
950
  });
797
951
  },
798
952
  ...e
799
953
  });
800
954
  }
801
- function Ne(e = {}, n = {}) {
955
+ function gn(e = {}, n = {}) {
802
956
  return s({
803
957
  queryKey: ["inboxItems", "all", e.page, e.perPage],
804
- queryFn: async () => await u.inboxItems.getAllInboxItems(e),
958
+ queryFn: async () => await r.inboxItems.getAllInboxItems(e),
805
959
  ...n
806
960
  });
807
961
  }
808
- function Le(e = {}) {
809
- return o({
810
- mutationFn: async (n) => await u.inboxItems.markItemAsRead(n),
962
+ function fn(e = {}) {
963
+ return a({
964
+ mutationFn: async (n) => await r.inboxItems.markItemAsRead(n),
811
965
  ...e
812
966
  });
813
967
  }
814
- function Ve(e = {}) {
815
- return o({
816
- mutationFn: async (n) => await u.inboxItems.markItemAsUnread(n),
968
+ function wn(e = {}) {
969
+ return a({
970
+ mutationFn: async (n) => await r.inboxItems.markItemAsUnread(n),
817
971
  ...e
818
972
  });
819
973
  }
820
- function ze(e = {}) {
821
- return o({
822
- mutationFn: async (n) => await u.inboxItems.createInboxItemPerUser(n),
974
+ function dn(e = {}) {
975
+ return a({
976
+ mutationFn: async (n) => await r.inboxItems.createInboxItemPerUser(n),
823
977
  ...e
824
978
  });
825
979
  }
826
- function Ye(e, n = {}) {
980
+ function mn(e, n = {}) {
827
981
  return s({
828
- queryKey: ["emailConversations", e == null ? void 0 : e.page, e == null ? void 0 : e.pageSize, e == null ? void 0 : e.tag, e == null ? void 0 : e.orderByCreatedDate],
829
- queryFn: async () => await u.emailEngine.getAllConversations(e),
982
+ queryKey: ["emailConversations", e?.page, e?.pageSize, e?.tag, e?.orderByCreatedDate],
983
+ queryFn: async () => await r.emailEngine.getAllConversations(e),
830
984
  ...n
831
985
  });
832
986
  }
833
- function $e(e, n = {}) {
987
+ function qn(e, n = {}) {
834
988
  return s({
835
989
  queryKey: ["emailConversation", e],
836
- queryFn: async () => await u.emailEngine.getConversation({
990
+ queryFn: async () => await r.emailEngine.getConversation({
837
991
  conversationId: e
838
992
  }),
839
993
  enabled: !!e,
840
994
  ...n
841
995
  });
842
996
  }
843
- function Je(e = {}) {
844
- const n = g();
845
- return o({
846
- mutationFn: async (t) => await u.emailEngine.createConversation(t),
997
+ function Fn(e = {}) {
998
+ const n = f();
999
+ return a({
1000
+ mutationFn: async (t) => await r.emailEngine.createConversation(t),
847
1001
  onSuccess: () => {
848
1002
  n.invalidateQueries({ queryKey: ["emailConversations"] });
849
1003
  },
850
1004
  ...e
851
1005
  });
852
1006
  }
853
- function Xe(e = {}) {
854
- const n = g();
855
- return o({
856
- mutationFn: async (t) => await u.emailEngine.replyToConversation(t),
857
- onSuccess: (t, r) => {
1007
+ function bn(e = {}) {
1008
+ const n = f();
1009
+ return a({
1010
+ mutationFn: async (t) => await r.emailEngine.replyToConversation(t),
1011
+ onSuccess: (t, u) => {
858
1012
  n.invalidateQueries({
859
- queryKey: ["emailConversation", r.conversationId]
1013
+ queryKey: ["emailConversation", u.conversationId]
860
1014
  });
861
1015
  },
862
1016
  ...e
863
1017
  });
864
1018
  }
865
- function Ze(e, n = {}) {
1019
+ function hn(e, n = {}) {
866
1020
  return s({
867
1021
  queryKey: [
868
1022
  "emailMessagesBySender",
@@ -872,19 +1026,19 @@ function Ze(e, n = {}) {
872
1026
  e.pageSize,
873
1027
  e.orderByCreatedDate
874
1028
  ],
875
- queryFn: async () => await u.emailEngine.getMessageBySenderId(e),
1029
+ queryFn: async () => await r.emailEngine.getMessageBySenderId(e),
876
1030
  enabled: !!e.senderId,
877
1031
  ...n
878
1032
  });
879
1033
  }
880
- function je(e = {}) {
881
- return o({
882
- mutationFn: async (n) => await u.emailEngine.searchMessages(n),
1034
+ function Dn(e = {}) {
1035
+ return a({
1036
+ mutationFn: async (n) => await r.emailEngine.searchMessages(n),
883
1037
  ...e
884
1038
  });
885
1039
  }
886
- function en(e = {}) {
887
- const n = c(async () => await u.tcn.getAuthUrl()), t = l({
1040
+ function pn(e = {}) {
1041
+ const n = i(async () => await r.tcn.getAuthUrl()), t = c({
888
1042
  queryKey: ["tcn", "authUrl"],
889
1043
  queryFn: n,
890
1044
  enabled: !0,
@@ -892,230 +1046,246 @@ function en(e = {}) {
892
1046
  });
893
1047
  return s(t);
894
1048
  }
895
- function nn(e = {}) {
896
- return o({
897
- mutationFn: async ({ code: n }) => await u.tcn.exchangeCode(n),
1049
+ function Tn(e = {}) {
1050
+ return a({
1051
+ mutationFn: async ({ code: n }) => await r.tcn.exchangeCode(n),
898
1052
  ...e
899
1053
  });
900
1054
  }
901
- function tn(e = {}) {
902
- return o({
903
- mutationFn: async ({ refresh_token: n }) => await u.tcn.refreshToken(n),
1055
+ function Rn(e = {}) {
1056
+ return a({
1057
+ mutationFn: async ({ refresh_token: n }) => await r.tcn.refreshToken(n),
904
1058
  ...e
905
1059
  });
906
1060
  }
907
- function rn(e = {}) {
908
- return o({
909
- mutationFn: async ({ token: n }) => await u.tcn.getCurrentAgent(n),
1061
+ function Sn(e = {}) {
1062
+ return a({
1063
+ mutationFn: async ({ token: n }) => await r.tcn.getCurrentAgent(n),
910
1064
  ...e
911
1065
  });
912
1066
  }
913
- function un(e = {}) {
914
- return o({
915
- mutationFn: async ({ token: n, huntGroupSid: t }) => await u.tcn.getAgentSkills(n, t),
1067
+ function kn(e = {}) {
1068
+ return a({
1069
+ mutationFn: async ({ token: n, huntGroupSid: t }) => await r.tcn.getAgentSkills(n, t),
916
1070
  ...e
917
1071
  });
918
1072
  }
919
- function an(e = {}) {
920
- return o({
921
- mutationFn: async ({ token: n, huntGroupSid: t, skills: r }) => await u.tcn.createSession(n, t, r),
1073
+ function Cn(e = {}) {
1074
+ return a({
1075
+ mutationFn: async ({ token: n, huntGroupSid: t, skills: u }) => await r.tcn.createSession(n, t, u),
922
1076
  ...e
923
1077
  });
924
1078
  }
925
- function on(e = {}) {
926
- return o({
927
- mutationFn: async ({ token: n, sessionSid: t }) => await u.tcn.keepAlive(n, t),
1079
+ function En(e = {}) {
1080
+ return a({
1081
+ mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.keepAlive(n, t),
928
1082
  ...e
929
1083
  });
930
1084
  }
931
- function sn(e = {}) {
932
- return o({
933
- mutationFn: async ({ token: n }) => await u.tcn.agentGetStatus(n),
1085
+ function Kn(e = {}) {
1086
+ return a({
1087
+ mutationFn: async ({ token: n }) => await r.tcn.agentGetStatus(n),
934
1088
  ...e
935
1089
  });
936
1090
  }
937
- function cn(e = {}) {
938
- return o({
939
- mutationFn: async ({ token: n, huntGroupSid: t }) => await u.tcn.getHuntGroupAgentSettings(n, t),
1091
+ function Vn(e = {}) {
1092
+ return a({
1093
+ mutationFn: async ({ token: n, huntGroupSid: t }) => await r.tcn.getHuntGroupAgentSettings(n, t),
940
1094
  ...e
941
1095
  });
942
1096
  }
943
- function ln(e = {}) {
944
- return o({
945
- mutationFn: async ({ token: n, sessionSid: t }) => await u.tcn.dialManualPrepare(n, t),
1097
+ function Bn(e = {}) {
1098
+ return a({
1099
+ mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.dialManualPrepare(n, t),
946
1100
  ...e
947
1101
  });
948
1102
  }
949
- function yn(e = {}) {
950
- return o({
951
- mutationFn: async ({ token: n, call: t }) => await u.tcn.processManualDial(n, t),
1103
+ function Gn(e = {}) {
1104
+ return a({
1105
+ mutationFn: async ({ token: n, call: t }) => await r.tcn.processManualDial(n, t),
952
1106
  ...e
953
1107
  });
954
1108
  }
955
- function gn(e = {}) {
956
- return o({
957
- mutationFn: async ({ token: n, agentSessionSid: t, huntGroupSid: r, simpleCallData: a }) => await u.tcn.manualDialStart(
1109
+ function Pn(e = {}) {
1110
+ return a({
1111
+ mutationFn: async ({ token: n, agentSessionSid: t, huntGroupSid: u, simpleCallData: o }) => await r.tcn.manualDialStart(
958
1112
  n,
959
1113
  t,
960
- r,
961
- a
1114
+ u,
1115
+ o
962
1116
  ),
963
1117
  ...e
964
1118
  });
965
1119
  }
966
- function wn(e = {}) {
967
- return o({
968
- mutationFn: async ({ token: n, sessionSid: t, reason: r }) => await u.tcn.agentDisconnect(n, t, r),
1120
+ function On(e = {}) {
1121
+ return a({
1122
+ mutationFn: async ({ token: n, sessionSid: t, reason: u }) => await r.tcn.agentDisconnect(n, t, u),
969
1123
  ...e
970
1124
  });
971
1125
  }
972
- function dn(e = {}) {
973
- return o({
974
- mutationFn: async ({ token: n, sessionSid: t }) => await u.tcn.agentPause(n, t),
1126
+ function An(e = {}) {
1127
+ return a({
1128
+ mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentPause(n, t),
975
1129
  ...e
976
1130
  });
977
1131
  }
978
- function fn(e = {}) {
979
- return o({
980
- mutationFn: async ({ token: n, sessionSid: t }) => await u.tcn.agentSetReady(n, t),
1132
+ function Un(e = {}) {
1133
+ return a({
1134
+ mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentSetReady(n, t),
981
1135
  ...e
982
1136
  });
983
1137
  }
984
- function mn(e = {}) {
985
- return o({
986
- mutationFn: async ({ token: n, sessionSid: t }) => await u.tcn.agentGetConnectedParty(n, t),
1138
+ function vn(e = {}) {
1139
+ return a({
1140
+ mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentGetConnectedParty(n, t),
987
1141
  ...e
988
1142
  });
989
1143
  }
990
- function qn(e = {}) {
991
- return o({
992
- mutationFn: async ({ token: n, callSid: t }) => await u.tcn.getCallData(n, t),
1144
+ function Wn(e = {}) {
1145
+ return a({
1146
+ mutationFn: async ({ token: n, callSid: t }) => await r.tcn.getCallData(n, t),
993
1147
  ...e
994
1148
  });
995
1149
  }
996
- function Fn(e = {}) {
997
- return o({
998
- mutationFn: async ({ token: n, sessionSid: t, holdType: r }) => await u.tcn.agentPutCallOnHold(n, t, r),
1150
+ function xn(e = {}) {
1151
+ return a({
1152
+ mutationFn: async ({ token: n, sessionSid: t, holdType: u }) => await r.tcn.agentPutCallOnHold(n, t, u),
999
1153
  ...e
1000
1154
  });
1001
1155
  }
1002
- function bn(e = {}) {
1003
- return o({
1004
- mutationFn: async ({ token: n, sessionSid: t, holdType: r }) => await u.tcn.agentGetCallFromHold(n, t, r),
1156
+ function Mn(e = {}) {
1157
+ return a({
1158
+ mutationFn: async ({ token: n, sessionSid: t, holdType: u }) => await r.tcn.agentGetCallFromHold(n, t, u),
1005
1159
  ...e
1006
1160
  });
1007
1161
  }
1008
- function hn(e = {}) {
1009
- return o({
1010
- mutationFn: async ({ token: n, templateNumber: t, groupSid: r }) => await u.tcn.ftpManualDialReport(n, t, r),
1162
+ function In(e = {}) {
1163
+ return a({
1164
+ mutationFn: async ({ token: n, templateNumber: t, groupSid: u }) => await r.tcn.ftpManualDialReport(n, t, u),
1011
1165
  ...e
1012
1166
  });
1013
1167
  }
1014
- function Dn(e = {}) {
1015
- return o({
1016
- mutationFn: async (n) => await u.templates.renderTemplate(n),
1168
+ function Qn(e = {}) {
1169
+ return a({
1170
+ mutationFn: async (n) => await r.templates.renderTemplate(n),
1017
1171
  ...e
1018
1172
  });
1019
1173
  }
1020
1174
  export {
1021
- pn as ReactQueryDevtools,
1022
- C as WorkflowStatus,
1023
- O as reactQuery,
1024
- _ as useCheckSubscriptionStatus,
1025
- Re as useCreateAuditLog,
1026
- Je as useCreateConversation,
1027
- ze as useCreateInboxItemPerUser,
1028
- Ke as useCreateOrUpdateForm,
1029
- H as useCreateStatementRun,
1030
- U as useCreateThread,
1031
- N as useDataset,
1032
- G as useDatasetSample,
1033
- x as useDeleteComment,
1034
- xe as useDeleteProcessTrigger,
1035
- le as useDeleteRow,
1036
- qe as useDocumentPermissions,
1037
- He as useExecuteNow,
1038
- be as useFileDownload,
1039
- Fe as useFileUpload,
1040
- Ze as useFilterMessagesBySenderId,
1041
- Ye as useGetAllConversations,
1042
- Ge as useGetAllHttpTriggers,
1043
- Ne as useGetAllInboxItems,
1044
- Pe as useGetAllRecon,
1045
- Oe as useGetAllTemplatedPipelines,
1046
- Ae as useGetAllUsers,
1047
- Be as useGetAuditLogs,
1048
- M as useGetCommentsByThreadId,
1049
- $e as useGetConversation,
1050
- L as useGetDatasets,
1051
- z as useGetFileByFolderIdAndName,
1052
- V as useGetFileUrlByFileId,
1053
- Ce as useGetFormById,
1054
- Ee as useGetFormData,
1055
- pe as useGetFormSchema,
1056
- oe as useGetInputTables,
1057
- Y as useGetPublishedWorkbookById,
1058
- $ as useGetRunResultById,
1059
- J as useGetRunsByViewId,
1060
- _e as useGetScheduleStatus,
1061
- X as useGetStatementData,
1062
- Z as useGetTableById,
1063
- he as useGetTaskDetails,
1064
- We as useGetTriggersBySheet,
1065
- j as useGetViewById,
1066
- ee as useGetViewsBySheetId,
1067
- De as useGetWorkbookDetails,
1068
- ne as useGetWorkbooksByType,
1069
- te as useGetWorkflowInstanceStatusById,
1070
- re as useGetWorksheets,
1071
- ue as useGetWorksheetsByType,
1072
- ae as useInputTable,
1073
- ie as useInsertRow,
1074
- Le as useMarkItemAsRead,
1075
- Ve as useMarkItemAsUnread,
1076
- Ue as useMarkTaskDone,
1077
- A as useMetric,
1078
- Ie as usePauseSchedule,
1079
- W as usePostComment,
1080
- ke as usePublishWorkbook,
1081
- Me as useReassignTask,
1082
- ve as useRegisterProcessTrigger,
1083
- Dn as useRenderTemplate,
1084
- Xe as useReplyToConversation,
1085
- Qe as useResumeSchedule,
1086
- se as useRows,
1087
- ye as useRunDefinition,
1088
- ge as useRunPublishedDefinition,
1089
- Se as useRunRecon,
1090
- we as useRunSampleDefinition,
1091
- Te as useSaveWorkbook,
1092
- je as useSearchMessages,
1093
- I as useSubscribeUser,
1094
- wn as useTcnAgentDisconnect,
1095
- bn as useTcnAgentGetCallFromHold,
1096
- sn as useTcnAgentGetStatus,
1097
- dn as useTcnAgentPause,
1098
- Fn as useTcnAgentPutCallOnHold,
1099
- fn as useTcnAgentSetReady,
1100
- un as useTcnAgentSkills,
1101
- en as useTcnAuthUrl,
1102
- qn as useTcnCallData,
1103
- mn as useTcnConnectedParty,
1104
- an as useTcnCreateSession,
1105
- rn as useTcnCurrentAgent,
1106
- ln as useTcnDialManualPrepare,
1107
- nn as useTcnExchangeCode,
1108
- hn as useTcnFtpManualDialReport,
1109
- cn as useTcnHuntGroupSettings,
1110
- on as useTcnKeepAlive,
1111
- gn as useTcnManualDialStart,
1112
- yn as useTcnProcessManualDial,
1113
- tn as useTcnRefreshToken,
1114
- de as useTriggerHttpWorkflow,
1115
- fe as useTriggerWorkflow,
1116
- Q as useUnsubscribeUser,
1117
- v as useUpdateComment,
1118
- ce as useUpdateRow,
1119
- K as useUser,
1120
- me as useUserDetails
1175
+ Ln as ReactQueryDevtools,
1176
+ V as WorkflowStatus,
1177
+ A as reactQuery,
1178
+ z as useCheckSubscriptionStatus,
1179
+ Ue as useCreateAuditLog,
1180
+ Fn as useCreateConversation,
1181
+ dn as useCreateInboxItemPerUser,
1182
+ Oe as useCreateOrUpdateForm,
1183
+ xe as useCreateReconV2,
1184
+ j as useCreateStatementRun,
1185
+ M as useCreateThread,
1186
+ J as useDataset,
1187
+ x as useDatasetSample,
1188
+ N as useDeleteComment,
1189
+ an as useDeleteProcessTrigger,
1190
+ Ie as useDeleteReconV2,
1191
+ me as useDeleteRow,
1192
+ Te as useDocumentPermissions,
1193
+ yn as useExecuteNow,
1194
+ Se as useFileDownload,
1195
+ Re as useFileUpload,
1196
+ hn as useFilterMessagesBySenderId,
1197
+ mn as useGetAllConversations,
1198
+ nn as useGetAllHttpTriggers,
1199
+ gn as useGetAllInboxItems,
1200
+ We as useGetAllRecon,
1201
+ _e as useGetAllReconV2,
1202
+ ve as useGetAllTemplatedPipelines,
1203
+ en as useGetAllUsers,
1204
+ Ae as useGetAuditLogs,
1205
+ I as useGetCommentsByThreadId,
1206
+ qn as useGetConversation,
1207
+ Y as useGetDatasets,
1208
+ Z as useGetFileByFolderIdAndName,
1209
+ X as useGetFileUrlByFileId,
1210
+ Pe as useGetFormById,
1211
+ Ge as useGetFormData,
1212
+ Be as useGetFormSchema,
1213
+ ge as useGetInputTables,
1214
+ ee as useGetPublishedWorkbookById,
1215
+ Ye as useGetReconV2CleanResult,
1216
+ $e as useGetReconV2Diff,
1217
+ Xe as useGetReconV2Explanation,
1218
+ je as useGetReconV2ProfileResult,
1219
+ He as useGetReconV2RunResult,
1220
+ Ne as useGetReconV2Runs,
1221
+ Le as useGetReconV2SmartResult,
1222
+ ne as useGetRunResultById,
1223
+ te as useGetRunsByViewId,
1224
+ ln as useGetScheduleStatus,
1225
+ re as useGetStatementData,
1226
+ ue as useGetTableById,
1227
+ ke as useGetTaskDetails,
1228
+ un as useGetTriggersBySheet,
1229
+ oe as useGetViewById,
1230
+ ae as useGetViewsBySheetId,
1231
+ $ as useGetVirtualDatasets,
1232
+ Ce as useGetWorkbookDetails,
1233
+ se as useGetWorkbooksByType,
1234
+ ie as useGetWorkflowInstanceStatusById,
1235
+ ce as useGetWorksheets,
1236
+ le as useGetWorksheetsByType,
1237
+ ye as useInputTable,
1238
+ we as useInsertRow,
1239
+ fn as useMarkItemAsRead,
1240
+ wn as useMarkItemAsUnread,
1241
+ tn as useMarkTaskDone,
1242
+ W as useMetric,
1243
+ sn as usePauseSchedule,
1244
+ Q as usePostComment,
1245
+ Ke as usePublishWorkbook,
1246
+ rn as useReassignTask,
1247
+ Ze as useReconV2RunStatus,
1248
+ on as useRegisterProcessTrigger,
1249
+ Qn as useRenderTemplate,
1250
+ bn as useReplyToConversation,
1251
+ cn as useResumeSchedule,
1252
+ fe as useRows,
1253
+ qe as useRunDefinition,
1254
+ Fe as useRunPublishedDefinition,
1255
+ Ve as useRunRecon,
1256
+ Qe as useRunReconV2,
1257
+ be as useRunSampleDefinition,
1258
+ Ee as useSaveWorkbook,
1259
+ Dn as useSearchMessages,
1260
+ Je as useStartReconV2Clean,
1261
+ ze as useStartReconV2Profile,
1262
+ H as useSubscribeUser,
1263
+ On as useTcnAgentDisconnect,
1264
+ Mn as useTcnAgentGetCallFromHold,
1265
+ Kn as useTcnAgentGetStatus,
1266
+ An as useTcnAgentPause,
1267
+ xn as useTcnAgentPutCallOnHold,
1268
+ Un as useTcnAgentSetReady,
1269
+ kn as useTcnAgentSkills,
1270
+ pn as useTcnAuthUrl,
1271
+ Wn as useTcnCallData,
1272
+ vn as useTcnConnectedParty,
1273
+ Cn as useTcnCreateSession,
1274
+ Sn as useTcnCurrentAgent,
1275
+ Bn as useTcnDialManualPrepare,
1276
+ Tn as useTcnExchangeCode,
1277
+ In as useTcnFtpManualDialReport,
1278
+ Vn as useTcnHuntGroupSettings,
1279
+ En as useTcnKeepAlive,
1280
+ Pn as useTcnManualDialStart,
1281
+ Gn as useTcnProcessManualDial,
1282
+ Rn as useTcnRefreshToken,
1283
+ he as useTriggerHttpWorkflow,
1284
+ De as useTriggerWorkflow,
1285
+ L as useUnsubscribeUser,
1286
+ _ as useUpdateComment,
1287
+ Me as useUpdateReconV2,
1288
+ de as useUpdateRow,
1289
+ B as useUser,
1290
+ pe as useUserDetails
1121
1291
  };