@bluecopa/react 0.1.95 → 0.1.96

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