@bluecopa/react 0.1.96 → 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.
- package/dist/hooks/useGetReconV2Runs.d.ts +11 -0
- package/dist/hooks/useGetReconV2Runs.d.ts.map +1 -0
- package/dist/hooks/useGetVirtualDatasets.d.ts +5 -0
- package/dist/hooks/useGetVirtualDatasets.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +220 -201
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2Run } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the run history of a recon v2 workflow using
|
|
5
|
+
* TanStack React Query
|
|
6
|
+
* @param workflowId - The workflow ID
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the workflow's runs (newest first)
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetReconV2Runs(workflowId: string | null | undefined, options?: Omit<UseQueryOptions<ReconV2Run[], Error>, "queryKey" | "queryFn">): UseQueryResult<ReconV2Run[], Error>;
|
|
11
|
+
//# sourceMappingURL=useGetReconV2Runs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetReconV2Runs.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetReconV2Runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,UAAU,EAAE,EAAE,KAAK,CAAC,EACpC,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,UAAU,EAAE,EAAE,KAAK,CAAC,CAUrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetVirtualDatasets.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetVirtualDatasets.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,wBAAgB,qBAAqB,+DAYpC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './hooks/useCreateStatementRun';
|
|
|
6
6
|
export * from './hooks/useCreateThread';
|
|
7
7
|
export * from './hooks/useDataset';
|
|
8
8
|
export * from './hooks/useDatasetSample';
|
|
9
|
+
export * from './hooks/useGetVirtualDatasets';
|
|
9
10
|
export * from './hooks/useDeleteComment';
|
|
10
11
|
export * from './hooks/useGetCommentsByThreadId';
|
|
11
12
|
export * from './hooks/useGetFileUrlByFileId';
|
|
@@ -61,6 +62,7 @@ export * from './hooks/useUpdateReconV2';
|
|
|
61
62
|
export * from './hooks/useDeleteReconV2';
|
|
62
63
|
export * from './hooks/useRunReconV2';
|
|
63
64
|
export * from './hooks/useGetAllReconV2';
|
|
65
|
+
export * from './hooks/useGetReconV2Runs';
|
|
64
66
|
export * from './hooks/useGetReconV2RunResult';
|
|
65
67
|
export * from './hooks/useGetReconV2SmartResult';
|
|
66
68
|
export * from './hooks/useStartReconV2Profile';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AAC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cAAc,mCAAmC,CAAC;AAGlD,cAAc,2BAA2B,CAAC;AAG1C,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC"}
|
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useQuery as s, useMutation as a, useQueryClient as f } from "@tanstack/react-query";
|
|
2
|
-
import * as
|
|
3
|
-
import { copaApi as r, copaGetConfig as
|
|
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
5
|
import { useState as h, useRef as S, useEffect as k } from "react";
|
|
6
|
-
import { ReactQueryDevtools as
|
|
6
|
+
import { ReactQueryDevtools as Ln } from "@tanstack/react-query-devtools";
|
|
7
7
|
const C = {
|
|
8
8
|
enabled: !0,
|
|
9
9
|
staleTime: 1e3 * 60 * 5,
|
|
@@ -46,7 +46,7 @@ function c(e) {
|
|
|
46
46
|
onError: n.onError
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function W(e, n = {}) {
|
|
50
50
|
const t = n.enabled !== !1 && !!e, u = n.solutionBindings ?? null, o = i(async () => {
|
|
51
51
|
if (!e)
|
|
52
52
|
throw new Error("Metric ID is required");
|
|
@@ -184,7 +184,15 @@ function Y() {
|
|
|
184
184
|
});
|
|
185
185
|
return s(n);
|
|
186
186
|
}
|
|
187
|
-
function $(
|
|
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 = {}) {
|
|
188
196
|
const o = !!e && !!n && !!t, l = i(async () => {
|
|
189
197
|
if (!e || !n || !t)
|
|
190
198
|
throw new Error("Key, contentType, and method are required");
|
|
@@ -201,7 +209,7 @@ function $(e, n, t, u = {}) {
|
|
|
201
209
|
});
|
|
202
210
|
return s(y);
|
|
203
211
|
}
|
|
204
|
-
function
|
|
212
|
+
function Z(e, n, t = {}) {
|
|
205
213
|
const u = e?.trim(), o = n?.trim(), l = !!(u && o), y = i(async () => await r.files.getFileByFolderIdAndName({
|
|
206
214
|
folderId: u,
|
|
207
215
|
name: o
|
|
@@ -218,7 +226,7 @@ function X(e, n, t = {}) {
|
|
|
218
226
|
});
|
|
219
227
|
return s(g);
|
|
220
228
|
}
|
|
221
|
-
function
|
|
229
|
+
function ee(e, n, t = {}) {
|
|
222
230
|
const u = !!e && !!n, o = i(async () => {
|
|
223
231
|
if (!e || !n)
|
|
224
232
|
throw new Error("Type and ID are required");
|
|
@@ -231,7 +239,7 @@ function Z(e, n, t = {}) {
|
|
|
231
239
|
});
|
|
232
240
|
return s(l);
|
|
233
241
|
}
|
|
234
|
-
function
|
|
242
|
+
function ne(e, n = {}) {
|
|
235
243
|
const t = !!e, u = i(async () => {
|
|
236
244
|
if (!e)
|
|
237
245
|
throw new Error("Run ID is required");
|
|
@@ -244,7 +252,7 @@ function ee(e, n = {}) {
|
|
|
244
252
|
});
|
|
245
253
|
return s(o);
|
|
246
254
|
}
|
|
247
|
-
function
|
|
255
|
+
function te(e, n = {}) {
|
|
248
256
|
const t = !!e, u = i(async () => {
|
|
249
257
|
if (!e)
|
|
250
258
|
throw new Error("View ID is required");
|
|
@@ -257,7 +265,7 @@ function ne(e, n = {}) {
|
|
|
257
265
|
});
|
|
258
266
|
return s(o);
|
|
259
267
|
}
|
|
260
|
-
function
|
|
268
|
+
function re(e, n, t, u = {}) {
|
|
261
269
|
const o = !!e, l = i(async () => {
|
|
262
270
|
if (!e)
|
|
263
271
|
throw new Error("Statement ID is required");
|
|
@@ -274,7 +282,7 @@ function te(e, n, t, u = {}) {
|
|
|
274
282
|
});
|
|
275
283
|
return s(y);
|
|
276
284
|
}
|
|
277
|
-
function
|
|
285
|
+
function ue(e, n = {}) {
|
|
278
286
|
const t = !!e, u = i(async () => {
|
|
279
287
|
if (!e)
|
|
280
288
|
throw new Error("Table ID is required");
|
|
@@ -287,7 +295,7 @@ function re(e, n = {}) {
|
|
|
287
295
|
});
|
|
288
296
|
return s(o);
|
|
289
297
|
}
|
|
290
|
-
function
|
|
298
|
+
function oe(e, n = {}) {
|
|
291
299
|
const t = !!e, u = i(async () => {
|
|
292
300
|
if (!e)
|
|
293
301
|
throw new Error("View ID is required");
|
|
@@ -300,7 +308,7 @@ function ue(e, n = {}) {
|
|
|
300
308
|
});
|
|
301
309
|
return s(o);
|
|
302
310
|
}
|
|
303
|
-
function
|
|
311
|
+
function ae(e, n = {}) {
|
|
304
312
|
const t = !!e, u = i(async () => {
|
|
305
313
|
if (!e)
|
|
306
314
|
throw new Error("Sheet ID is required");
|
|
@@ -313,7 +321,7 @@ function oe(e, n = {}) {
|
|
|
313
321
|
});
|
|
314
322
|
return s(o);
|
|
315
323
|
}
|
|
316
|
-
function
|
|
324
|
+
function se(e, n = {}) {
|
|
317
325
|
const t = !!e, u = i(async () => {
|
|
318
326
|
if (!e)
|
|
319
327
|
throw new Error("Type is required");
|
|
@@ -327,13 +335,13 @@ function ae(e, n = {}) {
|
|
|
327
335
|
return s(o);
|
|
328
336
|
}
|
|
329
337
|
var V = /* @__PURE__ */ ((e) => (e.Succeeded = "Succeeded", e.Failed = "Failed", e.Running = "Running", e.NotFound = "NotFound", e))(V || {});
|
|
330
|
-
function
|
|
338
|
+
function ie(e = {}) {
|
|
331
339
|
return a({
|
|
332
340
|
mutationFn: async (n) => (console.log("Fetching workflow instance status..."), await r.workflow.getWorkflowInstanceStatusById(n)),
|
|
333
341
|
...e
|
|
334
342
|
});
|
|
335
343
|
}
|
|
336
|
-
function
|
|
344
|
+
function ce(e, n = {}) {
|
|
337
345
|
const t = !!e && e.length > 0, u = i(async () => {
|
|
338
346
|
if (!e || e.length === 0)
|
|
339
347
|
throw new Error("Worksheet IDs are required");
|
|
@@ -346,7 +354,7 @@ function ie(e, n = {}) {
|
|
|
346
354
|
});
|
|
347
355
|
return s(o);
|
|
348
356
|
}
|
|
349
|
-
function
|
|
357
|
+
function le(e, n = {}) {
|
|
350
358
|
const t = !!e, u = i(async () => {
|
|
351
359
|
if (!e)
|
|
352
360
|
throw new Error("Type is required");
|
|
@@ -359,7 +367,7 @@ function ce(e, n = {}) {
|
|
|
359
367
|
});
|
|
360
368
|
return s(o);
|
|
361
369
|
}
|
|
362
|
-
function
|
|
370
|
+
function ye(e, n, t = {}) {
|
|
363
371
|
const {
|
|
364
372
|
limitParams: u = { limit: 2e3, limitFrom: "top" },
|
|
365
373
|
pageParams: o,
|
|
@@ -385,7 +393,7 @@ function le(e, n, t = {}) {
|
|
|
385
393
|
});
|
|
386
394
|
return s(F);
|
|
387
395
|
}
|
|
388
|
-
function
|
|
396
|
+
function ge() {
|
|
389
397
|
const e = i(async () => (console.log("Fetching input table data..."), await r.inputTable.getInputTables())), n = c({
|
|
390
398
|
queryKey: ["inputTableData"],
|
|
391
399
|
queryFn: e,
|
|
@@ -393,7 +401,7 @@ function ye() {
|
|
|
393
401
|
});
|
|
394
402
|
return s(n);
|
|
395
403
|
}
|
|
396
|
-
function
|
|
404
|
+
function fe(e, n = {}) {
|
|
397
405
|
const t = [
|
|
398
406
|
"enabled",
|
|
399
407
|
"staleTime",
|
|
@@ -418,7 +426,7 @@ function ge(e, n = {}) {
|
|
|
418
426
|
});
|
|
419
427
|
return s(q);
|
|
420
428
|
}
|
|
421
|
-
function
|
|
429
|
+
function we(e = {}) {
|
|
422
430
|
const n = f();
|
|
423
431
|
return a({
|
|
424
432
|
mutationFn: async (t) => (console.log("Inserting row into input table..."), await r.inputTable.insertRow(t.tableId, t.rowData)),
|
|
@@ -433,7 +441,7 @@ function fe(e = {}) {
|
|
|
433
441
|
...e
|
|
434
442
|
});
|
|
435
443
|
}
|
|
436
|
-
function
|
|
444
|
+
function de(e = {}) {
|
|
437
445
|
const n = f();
|
|
438
446
|
return a({
|
|
439
447
|
mutationFn: async (t) => (console.log("Updating input table row..."), await r.inputTable.updateRow(
|
|
@@ -452,7 +460,7 @@ function we(e = {}) {
|
|
|
452
460
|
...e
|
|
453
461
|
});
|
|
454
462
|
}
|
|
455
|
-
function
|
|
463
|
+
function me(e = {}) {
|
|
456
464
|
const n = f();
|
|
457
465
|
return a({
|
|
458
466
|
mutationFn: async (t) => (console.log("Deleting input table row(s)..."), await r.inputTable.deleteRow(
|
|
@@ -471,31 +479,31 @@ function de(e = {}) {
|
|
|
471
479
|
...e
|
|
472
480
|
});
|
|
473
481
|
}
|
|
474
|
-
function
|
|
482
|
+
function qe(e = {}) {
|
|
475
483
|
return a({
|
|
476
484
|
mutationFn: async (n) => (console.log("Running definition..."), await r.definition.runDefinition(n)),
|
|
477
485
|
...e
|
|
478
486
|
});
|
|
479
487
|
}
|
|
480
|
-
function
|
|
488
|
+
function Fe(e = {}) {
|
|
481
489
|
return a({
|
|
482
490
|
mutationFn: async (n) => await r.definition.runPublishedDefinition(n),
|
|
483
491
|
...e
|
|
484
492
|
});
|
|
485
493
|
}
|
|
486
|
-
function
|
|
494
|
+
function be(e = {}) {
|
|
487
495
|
return a({
|
|
488
496
|
mutationFn: async (n) => await r.definition.runSampleDefinition(n),
|
|
489
497
|
...e
|
|
490
498
|
});
|
|
491
499
|
}
|
|
492
|
-
function
|
|
500
|
+
function he(e = {}) {
|
|
493
501
|
return a({
|
|
494
502
|
mutationFn: async (n) => (console.log("Triggering HTTP workflow..."), await r.workflow.triggerHttpWorkflowById(n)),
|
|
495
503
|
...e
|
|
496
504
|
});
|
|
497
505
|
}
|
|
498
|
-
function
|
|
506
|
+
function De(e = {}) {
|
|
499
507
|
return a({
|
|
500
508
|
mutationFn: async (n) => (console.log("Triggering workflow..."), await r.workflow.triggerWorkflowById(n)),
|
|
501
509
|
...e
|
|
@@ -510,27 +518,27 @@ function B(e = {}) {
|
|
|
510
518
|
});
|
|
511
519
|
return s(u);
|
|
512
520
|
}
|
|
513
|
-
const pe = B,
|
|
514
|
-
function
|
|
521
|
+
const pe = B, G = ["Owner", "Editor", "Viewer", "ReadOnly"], D = r.permissions?.getPermissions;
|
|
522
|
+
function Te(e, n, t = {}) {
|
|
515
523
|
const u = t.enabled !== !1 && !!e?.trim(), o = i(
|
|
516
524
|
async () => {
|
|
517
525
|
if (!e?.trim())
|
|
518
526
|
return {};
|
|
519
|
-
if (!
|
|
527
|
+
if (!D)
|
|
520
528
|
throw new Error(
|
|
521
529
|
"@bluecopa/core: permissions.getPermissions not available. Rebuild the core package."
|
|
522
530
|
);
|
|
523
|
-
const y =
|
|
531
|
+
const y = p();
|
|
524
532
|
if (!y.userId)
|
|
525
533
|
throw new Error(
|
|
526
534
|
"@bluecopa/core: userId is required. Call copaSetConfig({ userId, ... }) before using useDocumentPermissions."
|
|
527
535
|
);
|
|
528
|
-
return await
|
|
536
|
+
return await D({
|
|
529
537
|
objectId: e.trim(),
|
|
530
538
|
objectType: n,
|
|
531
539
|
user: y.userId,
|
|
532
540
|
userType: "User",
|
|
533
|
-
relations: t.relations ??
|
|
541
|
+
relations: t.relations ?? G
|
|
534
542
|
});
|
|
535
543
|
},
|
|
536
544
|
void 0,
|
|
@@ -543,13 +551,13 @@ function De(e, n, t = {}) {
|
|
|
543
551
|
});
|
|
544
552
|
return s(l);
|
|
545
553
|
}
|
|
546
|
-
function
|
|
554
|
+
function Re(e = {}) {
|
|
547
555
|
return a({
|
|
548
556
|
mutationFn: async (n) => (console.log("Uploading file..."), await r.files.fileUpload(n)),
|
|
549
557
|
...e
|
|
550
558
|
});
|
|
551
559
|
}
|
|
552
|
-
function
|
|
560
|
+
function Se({
|
|
553
561
|
fileId: e,
|
|
554
562
|
contentType: n = "application/json",
|
|
555
563
|
method: t = "GET"
|
|
@@ -566,7 +574,7 @@ function Re({
|
|
|
566
574
|
});
|
|
567
575
|
return s(y);
|
|
568
576
|
}
|
|
569
|
-
function
|
|
577
|
+
function ke(e, n = {}) {
|
|
570
578
|
const t = !!e, u = i(async () => {
|
|
571
579
|
if (!e)
|
|
572
580
|
throw new Error("Task ID is required");
|
|
@@ -579,7 +587,7 @@ function Se(e, n = {}) {
|
|
|
579
587
|
});
|
|
580
588
|
return s(o);
|
|
581
589
|
}
|
|
582
|
-
function
|
|
590
|
+
function Ce(e, n = {}) {
|
|
583
591
|
const t = !!e, u = i(async () => {
|
|
584
592
|
if (!e)
|
|
585
593
|
throw new Error("Workbook ID is required");
|
|
@@ -592,25 +600,25 @@ function ke(e, n = {}) {
|
|
|
592
600
|
});
|
|
593
601
|
return s(o);
|
|
594
602
|
}
|
|
595
|
-
function
|
|
603
|
+
function Ee(e = {}) {
|
|
596
604
|
return a({
|
|
597
605
|
mutationFn: async (n) => (console.log("Saving workbook..."), await r.workbook.saveWorkbook(n)),
|
|
598
606
|
...e
|
|
599
607
|
});
|
|
600
608
|
}
|
|
601
|
-
function
|
|
609
|
+
function Ke(e = {}) {
|
|
602
610
|
return a({
|
|
603
611
|
mutationFn: async (n) => (console.log("Publishing workbook..."), await r.workbook.publishWorkbook(n)),
|
|
604
612
|
...e
|
|
605
613
|
});
|
|
606
614
|
}
|
|
607
|
-
function
|
|
615
|
+
function Ve(e = {}) {
|
|
608
616
|
return a({
|
|
609
617
|
mutationFn: async (n) => (console.log("Running recon workflow..."), await r.recon.runRecon(n)),
|
|
610
618
|
...e
|
|
611
619
|
});
|
|
612
620
|
}
|
|
613
|
-
function
|
|
621
|
+
function Be(e, n, t = {}) {
|
|
614
622
|
const u = !!e && !!n, o = i(async () => {
|
|
615
623
|
if (!e || !n)
|
|
616
624
|
throw new Error("Form instance ID and revision are required");
|
|
@@ -625,7 +633,7 @@ function Ve(e, n, t = {}) {
|
|
|
625
633
|
})
|
|
626
634
|
);
|
|
627
635
|
}
|
|
628
|
-
function
|
|
636
|
+
function Ge(e, n = {}) {
|
|
629
637
|
const t = !!e, u = i(async () => {
|
|
630
638
|
if (!e)
|
|
631
639
|
throw new Error("Form ID is required");
|
|
@@ -650,25 +658,25 @@ function Pe(e, n = {}) {
|
|
|
650
658
|
...n
|
|
651
659
|
});
|
|
652
660
|
}
|
|
653
|
-
function
|
|
661
|
+
function Oe(e = {}) {
|
|
654
662
|
return a({
|
|
655
663
|
mutationFn: async (n) => await r.form.createOrUpdateForm(n),
|
|
656
664
|
...e
|
|
657
665
|
});
|
|
658
666
|
}
|
|
659
|
-
function
|
|
667
|
+
function Ae(e = {}) {
|
|
660
668
|
return a({
|
|
661
669
|
mutationFn: async (n) => await r.audit.getAuditLogs(n),
|
|
662
670
|
...e
|
|
663
671
|
});
|
|
664
672
|
}
|
|
665
|
-
function
|
|
673
|
+
function Ue(e = {}) {
|
|
666
674
|
return a({
|
|
667
675
|
mutationFn: async (n) => await r.audit.createAuditLog(n),
|
|
668
676
|
...e
|
|
669
677
|
});
|
|
670
678
|
}
|
|
671
|
-
function
|
|
679
|
+
function ve(e = {}) {
|
|
672
680
|
return s({
|
|
673
681
|
queryKey: ["templatedPipelines"],
|
|
674
682
|
queryFn: async () => await r.templatedPipeline.getAllTemplatedPipelines(),
|
|
@@ -682,38 +690,47 @@ function We(e = {}) {
|
|
|
682
690
|
...e
|
|
683
691
|
});
|
|
684
692
|
}
|
|
685
|
-
function
|
|
693
|
+
function xe(e = {}) {
|
|
686
694
|
return a({
|
|
687
695
|
mutationFn: async (n) => await r.reconV2.createReconV2(n),
|
|
688
696
|
...e
|
|
689
697
|
});
|
|
690
698
|
}
|
|
691
|
-
function
|
|
699
|
+
function Me(e = {}) {
|
|
692
700
|
return a({
|
|
693
701
|
mutationFn: async (n) => await r.reconV2.updateReconV2(n),
|
|
694
702
|
...e
|
|
695
703
|
});
|
|
696
704
|
}
|
|
697
|
-
function
|
|
705
|
+
function Ie(e = {}) {
|
|
698
706
|
return a({
|
|
699
707
|
mutationFn: async (n) => await r.reconV2.deleteReconV2(n),
|
|
700
708
|
...e
|
|
701
709
|
});
|
|
702
710
|
}
|
|
703
|
-
function
|
|
711
|
+
function Qe(e = {}) {
|
|
704
712
|
return a({
|
|
705
713
|
mutationFn: async (n) => await r.reconV2.runReconV2(n),
|
|
706
714
|
...e
|
|
707
715
|
});
|
|
708
716
|
}
|
|
709
|
-
function
|
|
717
|
+
function _e(e = {}) {
|
|
710
718
|
return s({
|
|
711
719
|
queryKey: ["reconV2Workflows"],
|
|
712
720
|
queryFn: async () => await r.reconV2.getAllReconV2Workflows(),
|
|
713
721
|
...e
|
|
714
722
|
});
|
|
715
723
|
}
|
|
716
|
-
function
|
|
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 = {}) {
|
|
717
734
|
return s({
|
|
718
735
|
queryKey: ["reconV2", "runResult", e],
|
|
719
736
|
queryFn: async () => await r.reconV2.getReconV2RunResult({ runId: e }),
|
|
@@ -721,7 +738,7 @@ function _e(e, n = {}) {
|
|
|
721
738
|
...n
|
|
722
739
|
});
|
|
723
740
|
}
|
|
724
|
-
function
|
|
741
|
+
function Le(e, n = {}) {
|
|
725
742
|
return s({
|
|
726
743
|
queryKey: [
|
|
727
744
|
"reconV2",
|
|
@@ -739,13 +756,13 @@ function Ne(e, n = {}) {
|
|
|
739
756
|
...n
|
|
740
757
|
});
|
|
741
758
|
}
|
|
742
|
-
function
|
|
759
|
+
function ze(e = {}) {
|
|
743
760
|
return a({
|
|
744
761
|
mutationFn: async (n) => await r.reconV2.startReconV2Profile(n),
|
|
745
762
|
...e
|
|
746
763
|
});
|
|
747
764
|
}
|
|
748
|
-
function
|
|
765
|
+
function je(e, n = "left", t = {}) {
|
|
749
766
|
return s({
|
|
750
767
|
queryKey: ["reconV2", "profile", e, n],
|
|
751
768
|
queryFn: async () => await r.reconV2.getReconV2ProfileResult({
|
|
@@ -756,13 +773,13 @@ function Le(e, n = "left", t = {}) {
|
|
|
756
773
|
...t
|
|
757
774
|
});
|
|
758
775
|
}
|
|
759
|
-
function
|
|
776
|
+
function Je(e = {}) {
|
|
760
777
|
return a({
|
|
761
778
|
mutationFn: async (n) => await r.reconV2.startReconV2Clean(n),
|
|
762
779
|
...e
|
|
763
780
|
});
|
|
764
781
|
}
|
|
765
|
-
function
|
|
782
|
+
function Ye(e, n = "left", t = {}) {
|
|
766
783
|
return s({
|
|
767
784
|
queryKey: ["reconV2", "clean", e, n],
|
|
768
785
|
queryFn: async () => await r.reconV2.getReconV2CleanResult({
|
|
@@ -773,7 +790,7 @@ function je(e, n = "left", t = {}) {
|
|
|
773
790
|
...t
|
|
774
791
|
});
|
|
775
792
|
}
|
|
776
|
-
function
|
|
793
|
+
function $e(e, n, t, u = {}) {
|
|
777
794
|
return s({
|
|
778
795
|
queryKey: ["reconV2", "diff", e, t],
|
|
779
796
|
queryFn: async () => await r.reconV2.getReconV2Diff({
|
|
@@ -785,7 +802,7 @@ function Je(e, n, t, u = {}) {
|
|
|
785
802
|
...u
|
|
786
803
|
});
|
|
787
804
|
}
|
|
788
|
-
function
|
|
805
|
+
function Xe(e, n, t = {}) {
|
|
789
806
|
return s({
|
|
790
807
|
queryKey: ["reconV2", "explanation", e],
|
|
791
808
|
queryFn: async () => await r.reconV2.getReconV2Explanation({
|
|
@@ -796,15 +813,15 @@ function Ye(e, n, t = {}) {
|
|
|
796
813
|
...t
|
|
797
814
|
});
|
|
798
815
|
}
|
|
799
|
-
const
|
|
800
|
-
function
|
|
816
|
+
const P = ["SUCCEEDED", "FAILED"];
|
|
817
|
+
function Ze(e, n = {}) {
|
|
801
818
|
const [t, u] = h(
|
|
802
819
|
void 0
|
|
803
820
|
), [o, l] = h(!1), y = S(n.onComplete);
|
|
804
821
|
return y.current = n.onComplete, k(() => {
|
|
805
822
|
if (!e)
|
|
806
823
|
return;
|
|
807
|
-
const g =
|
|
824
|
+
const g = p().websocketProvider;
|
|
808
825
|
if (!g)
|
|
809
826
|
return;
|
|
810
827
|
u(void 0), l(!1);
|
|
@@ -822,37 +839,37 @@ function $e(e, n = {}) {
|
|
|
822
839
|
}
|
|
823
840
|
u(q);
|
|
824
841
|
const d = q?.status?.toUpperCase();
|
|
825
|
-
d &&
|
|
842
|
+
d && P.includes(d) && (l(!0), y.current?.(q), F());
|
|
826
843
|
}), F;
|
|
827
844
|
}, [e]), { data: t, isTerminal: o };
|
|
828
845
|
}
|
|
829
|
-
function
|
|
846
|
+
function en(e = {}) {
|
|
830
847
|
return s({
|
|
831
848
|
queryKey: ["users"],
|
|
832
849
|
queryFn: async () => await r.user.getAllUsers(),
|
|
833
850
|
...e
|
|
834
851
|
});
|
|
835
852
|
}
|
|
836
|
-
function
|
|
853
|
+
function nn(e = {}) {
|
|
837
854
|
return s({
|
|
838
855
|
queryKey: ["httpTriggers"],
|
|
839
856
|
queryFn: async () => await r.workflow.getAllHttpTriggers(),
|
|
840
857
|
...e
|
|
841
858
|
});
|
|
842
859
|
}
|
|
843
|
-
function
|
|
860
|
+
function tn(e = {}) {
|
|
844
861
|
return a({
|
|
845
862
|
mutationFn: async (n) => await r.process.markTaskDone(n),
|
|
846
863
|
...e
|
|
847
864
|
});
|
|
848
865
|
}
|
|
849
|
-
function
|
|
866
|
+
function rn(e = {}) {
|
|
850
867
|
return a({
|
|
851
868
|
mutationFn: async (n) => await r.process.reassignTask(n),
|
|
852
869
|
...e
|
|
853
870
|
});
|
|
854
871
|
}
|
|
855
|
-
function
|
|
872
|
+
function un(e, n = {}) {
|
|
856
873
|
return s({
|
|
857
874
|
queryKey: ["processTriggers", e],
|
|
858
875
|
queryFn: async () => await r.process.getTriggersBySheet(e),
|
|
@@ -860,7 +877,7 @@ function tn(e, n = {}) {
|
|
|
860
877
|
...n
|
|
861
878
|
});
|
|
862
879
|
}
|
|
863
|
-
function
|
|
880
|
+
function on(e = {}) {
|
|
864
881
|
const n = f();
|
|
865
882
|
return a({
|
|
866
883
|
mutationFn: async (t) => await r.process.registerProcessTrigger(t),
|
|
@@ -872,7 +889,7 @@ function rn(e = {}) {
|
|
|
872
889
|
...e
|
|
873
890
|
});
|
|
874
891
|
}
|
|
875
|
-
function
|
|
892
|
+
function an(e = {}) {
|
|
876
893
|
const n = f();
|
|
877
894
|
return a({
|
|
878
895
|
mutationFn: async ({ id: t }) => await r.process.deleteProcessTrigger(t),
|
|
@@ -884,7 +901,7 @@ function un(e = {}) {
|
|
|
884
901
|
...e
|
|
885
902
|
});
|
|
886
903
|
}
|
|
887
|
-
function
|
|
904
|
+
function sn(e = {}) {
|
|
888
905
|
const n = f();
|
|
889
906
|
return a({
|
|
890
907
|
mutationFn: async ({ triggerId: t, scheduleName: u }) => await r.process.pauseSchedule(t, u),
|
|
@@ -898,7 +915,7 @@ function on(e = {}) {
|
|
|
898
915
|
...e
|
|
899
916
|
});
|
|
900
917
|
}
|
|
901
|
-
function
|
|
918
|
+
function cn(e = {}) {
|
|
902
919
|
const n = f();
|
|
903
920
|
return a({
|
|
904
921
|
mutationFn: async ({ triggerId: t, scheduleName: u }) => await r.process.resumeSchedule(t, u),
|
|
@@ -912,7 +929,7 @@ function an(e = {}) {
|
|
|
912
929
|
...e
|
|
913
930
|
});
|
|
914
931
|
}
|
|
915
|
-
function
|
|
932
|
+
function ln(e, n, t = {}) {
|
|
916
933
|
return s({
|
|
917
934
|
queryKey: ["scheduleStatus", e, n],
|
|
918
935
|
queryFn: async () => await r.process.getScheduleStatus(
|
|
@@ -923,7 +940,7 @@ function sn(e, n, t = {}) {
|
|
|
923
940
|
...t
|
|
924
941
|
});
|
|
925
942
|
}
|
|
926
|
-
function
|
|
943
|
+
function yn(e = {}) {
|
|
927
944
|
const n = f();
|
|
928
945
|
return a({
|
|
929
946
|
mutationFn: async ({ triggerId: t, scheduleName: u }) => await r.process.executeNow(t, u),
|
|
@@ -935,39 +952,39 @@ function cn(e = {}) {
|
|
|
935
952
|
...e
|
|
936
953
|
});
|
|
937
954
|
}
|
|
938
|
-
function
|
|
955
|
+
function gn(e = {}, n = {}) {
|
|
939
956
|
return s({
|
|
940
957
|
queryKey: ["inboxItems", "all", e.page, e.perPage],
|
|
941
958
|
queryFn: async () => await r.inboxItems.getAllInboxItems(e),
|
|
942
959
|
...n
|
|
943
960
|
});
|
|
944
961
|
}
|
|
945
|
-
function
|
|
962
|
+
function fn(e = {}) {
|
|
946
963
|
return a({
|
|
947
964
|
mutationFn: async (n) => await r.inboxItems.markItemAsRead(n),
|
|
948
965
|
...e
|
|
949
966
|
});
|
|
950
967
|
}
|
|
951
|
-
function
|
|
968
|
+
function wn(e = {}) {
|
|
952
969
|
return a({
|
|
953
970
|
mutationFn: async (n) => await r.inboxItems.markItemAsUnread(n),
|
|
954
971
|
...e
|
|
955
972
|
});
|
|
956
973
|
}
|
|
957
|
-
function
|
|
974
|
+
function dn(e = {}) {
|
|
958
975
|
return a({
|
|
959
976
|
mutationFn: async (n) => await r.inboxItems.createInboxItemPerUser(n),
|
|
960
977
|
...e
|
|
961
978
|
});
|
|
962
979
|
}
|
|
963
|
-
function
|
|
980
|
+
function mn(e, n = {}) {
|
|
964
981
|
return s({
|
|
965
982
|
queryKey: ["emailConversations", e?.page, e?.pageSize, e?.tag, e?.orderByCreatedDate],
|
|
966
983
|
queryFn: async () => await r.emailEngine.getAllConversations(e),
|
|
967
984
|
...n
|
|
968
985
|
});
|
|
969
986
|
}
|
|
970
|
-
function
|
|
987
|
+
function qn(e, n = {}) {
|
|
971
988
|
return s({
|
|
972
989
|
queryKey: ["emailConversation", e],
|
|
973
990
|
queryFn: async () => await r.emailEngine.getConversation({
|
|
@@ -977,7 +994,7 @@ function dn(e, n = {}) {
|
|
|
977
994
|
...n
|
|
978
995
|
});
|
|
979
996
|
}
|
|
980
|
-
function
|
|
997
|
+
function Fn(e = {}) {
|
|
981
998
|
const n = f();
|
|
982
999
|
return a({
|
|
983
1000
|
mutationFn: async (t) => await r.emailEngine.createConversation(t),
|
|
@@ -987,7 +1004,7 @@ function mn(e = {}) {
|
|
|
987
1004
|
...e
|
|
988
1005
|
});
|
|
989
1006
|
}
|
|
990
|
-
function
|
|
1007
|
+
function bn(e = {}) {
|
|
991
1008
|
const n = f();
|
|
992
1009
|
return a({
|
|
993
1010
|
mutationFn: async (t) => await r.emailEngine.replyToConversation(t),
|
|
@@ -999,7 +1016,7 @@ function qn(e = {}) {
|
|
|
999
1016
|
...e
|
|
1000
1017
|
});
|
|
1001
1018
|
}
|
|
1002
|
-
function
|
|
1019
|
+
function hn(e, n = {}) {
|
|
1003
1020
|
return s({
|
|
1004
1021
|
queryKey: [
|
|
1005
1022
|
"emailMessagesBySender",
|
|
@@ -1014,13 +1031,13 @@ function Fn(e, n = {}) {
|
|
|
1014
1031
|
...n
|
|
1015
1032
|
});
|
|
1016
1033
|
}
|
|
1017
|
-
function
|
|
1034
|
+
function Dn(e = {}) {
|
|
1018
1035
|
return a({
|
|
1019
1036
|
mutationFn: async (n) => await r.emailEngine.searchMessages(n),
|
|
1020
1037
|
...e
|
|
1021
1038
|
});
|
|
1022
1039
|
}
|
|
1023
|
-
function
|
|
1040
|
+
function pn(e = {}) {
|
|
1024
1041
|
const n = i(async () => await r.tcn.getAuthUrl()), t = c({
|
|
1025
1042
|
queryKey: ["tcn", "authUrl"],
|
|
1026
1043
|
queryFn: n,
|
|
@@ -1029,67 +1046,67 @@ function hn(e = {}) {
|
|
|
1029
1046
|
});
|
|
1030
1047
|
return s(t);
|
|
1031
1048
|
}
|
|
1032
|
-
function
|
|
1049
|
+
function Tn(e = {}) {
|
|
1033
1050
|
return a({
|
|
1034
1051
|
mutationFn: async ({ code: n }) => await r.tcn.exchangeCode(n),
|
|
1035
1052
|
...e
|
|
1036
1053
|
});
|
|
1037
1054
|
}
|
|
1038
|
-
function
|
|
1055
|
+
function Rn(e = {}) {
|
|
1039
1056
|
return a({
|
|
1040
1057
|
mutationFn: async ({ refresh_token: n }) => await r.tcn.refreshToken(n),
|
|
1041
1058
|
...e
|
|
1042
1059
|
});
|
|
1043
1060
|
}
|
|
1044
|
-
function
|
|
1061
|
+
function Sn(e = {}) {
|
|
1045
1062
|
return a({
|
|
1046
1063
|
mutationFn: async ({ token: n }) => await r.tcn.getCurrentAgent(n),
|
|
1047
1064
|
...e
|
|
1048
1065
|
});
|
|
1049
1066
|
}
|
|
1050
|
-
function
|
|
1067
|
+
function kn(e = {}) {
|
|
1051
1068
|
return a({
|
|
1052
1069
|
mutationFn: async ({ token: n, huntGroupSid: t }) => await r.tcn.getAgentSkills(n, t),
|
|
1053
1070
|
...e
|
|
1054
1071
|
});
|
|
1055
1072
|
}
|
|
1056
|
-
function
|
|
1073
|
+
function Cn(e = {}) {
|
|
1057
1074
|
return a({
|
|
1058
1075
|
mutationFn: async ({ token: n, huntGroupSid: t, skills: u }) => await r.tcn.createSession(n, t, u),
|
|
1059
1076
|
...e
|
|
1060
1077
|
});
|
|
1061
1078
|
}
|
|
1062
|
-
function
|
|
1079
|
+
function En(e = {}) {
|
|
1063
1080
|
return a({
|
|
1064
1081
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.keepAlive(n, t),
|
|
1065
1082
|
...e
|
|
1066
1083
|
});
|
|
1067
1084
|
}
|
|
1068
|
-
function
|
|
1085
|
+
function Kn(e = {}) {
|
|
1069
1086
|
return a({
|
|
1070
1087
|
mutationFn: async ({ token: n }) => await r.tcn.agentGetStatus(n),
|
|
1071
1088
|
...e
|
|
1072
1089
|
});
|
|
1073
1090
|
}
|
|
1074
|
-
function
|
|
1091
|
+
function Vn(e = {}) {
|
|
1075
1092
|
return a({
|
|
1076
1093
|
mutationFn: async ({ token: n, huntGroupSid: t }) => await r.tcn.getHuntGroupAgentSettings(n, t),
|
|
1077
1094
|
...e
|
|
1078
1095
|
});
|
|
1079
1096
|
}
|
|
1080
|
-
function
|
|
1097
|
+
function Bn(e = {}) {
|
|
1081
1098
|
return a({
|
|
1082
1099
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.dialManualPrepare(n, t),
|
|
1083
1100
|
...e
|
|
1084
1101
|
});
|
|
1085
1102
|
}
|
|
1086
|
-
function
|
|
1103
|
+
function Gn(e = {}) {
|
|
1087
1104
|
return a({
|
|
1088
1105
|
mutationFn: async ({ token: n, call: t }) => await r.tcn.processManualDial(n, t),
|
|
1089
1106
|
...e
|
|
1090
1107
|
});
|
|
1091
1108
|
}
|
|
1092
|
-
function
|
|
1109
|
+
function Pn(e = {}) {
|
|
1093
1110
|
return a({
|
|
1094
1111
|
mutationFn: async ({ token: n, agentSessionSid: t, huntGroupSid: u, simpleCallData: o }) => await r.tcn.manualDialStart(
|
|
1095
1112
|
n,
|
|
@@ -1100,7 +1117,7 @@ function Bn(e = {}) {
|
|
|
1100
1117
|
...e
|
|
1101
1118
|
});
|
|
1102
1119
|
}
|
|
1103
|
-
function
|
|
1120
|
+
function On(e = {}) {
|
|
1104
1121
|
return a({
|
|
1105
1122
|
mutationFn: async ({ token: n, sessionSid: t, reason: u }) => await r.tcn.agentDisconnect(n, t, u),
|
|
1106
1123
|
...e
|
|
@@ -1112,161 +1129,163 @@ function An(e = {}) {
|
|
|
1112
1129
|
...e
|
|
1113
1130
|
});
|
|
1114
1131
|
}
|
|
1115
|
-
function
|
|
1132
|
+
function Un(e = {}) {
|
|
1116
1133
|
return a({
|
|
1117
1134
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentSetReady(n, t),
|
|
1118
1135
|
...e
|
|
1119
1136
|
});
|
|
1120
1137
|
}
|
|
1121
|
-
function
|
|
1138
|
+
function vn(e = {}) {
|
|
1122
1139
|
return a({
|
|
1123
1140
|
mutationFn: async ({ token: n, sessionSid: t }) => await r.tcn.agentGetConnectedParty(n, t),
|
|
1124
1141
|
...e
|
|
1125
1142
|
});
|
|
1126
1143
|
}
|
|
1127
|
-
function
|
|
1144
|
+
function Wn(e = {}) {
|
|
1128
1145
|
return a({
|
|
1129
1146
|
mutationFn: async ({ token: n, callSid: t }) => await r.tcn.getCallData(n, t),
|
|
1130
1147
|
...e
|
|
1131
1148
|
});
|
|
1132
1149
|
}
|
|
1133
|
-
function
|
|
1150
|
+
function xn(e = {}) {
|
|
1134
1151
|
return a({
|
|
1135
1152
|
mutationFn: async ({ token: n, sessionSid: t, holdType: u }) => await r.tcn.agentPutCallOnHold(n, t, u),
|
|
1136
1153
|
...e
|
|
1137
1154
|
});
|
|
1138
1155
|
}
|
|
1139
|
-
function
|
|
1156
|
+
function Mn(e = {}) {
|
|
1140
1157
|
return a({
|
|
1141
1158
|
mutationFn: async ({ token: n, sessionSid: t, holdType: u }) => await r.tcn.agentGetCallFromHold(n, t, u),
|
|
1142
1159
|
...e
|
|
1143
1160
|
});
|
|
1144
1161
|
}
|
|
1145
|
-
function
|
|
1162
|
+
function In(e = {}) {
|
|
1146
1163
|
return a({
|
|
1147
1164
|
mutationFn: async ({ token: n, templateNumber: t, groupSid: u }) => await r.tcn.ftpManualDialReport(n, t, u),
|
|
1148
1165
|
...e
|
|
1149
1166
|
});
|
|
1150
1167
|
}
|
|
1151
|
-
function
|
|
1168
|
+
function Qn(e = {}) {
|
|
1152
1169
|
return a({
|
|
1153
1170
|
mutationFn: async (n) => await r.templates.renderTemplate(n),
|
|
1154
1171
|
...e
|
|
1155
1172
|
});
|
|
1156
1173
|
}
|
|
1157
1174
|
export {
|
|
1158
|
-
|
|
1175
|
+
Ln as ReactQueryDevtools,
|
|
1159
1176
|
V as WorkflowStatus,
|
|
1160
|
-
|
|
1177
|
+
A as reactQuery,
|
|
1161
1178
|
z as useCheckSubscriptionStatus,
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1179
|
+
Ue as useCreateAuditLog,
|
|
1180
|
+
Fn as useCreateConversation,
|
|
1181
|
+
dn as useCreateInboxItemPerUser,
|
|
1182
|
+
Oe as useCreateOrUpdateForm,
|
|
1183
|
+
xe as useCreateReconV2,
|
|
1167
1184
|
j as useCreateStatementRun,
|
|
1168
1185
|
M as useCreateThread,
|
|
1169
1186
|
J as useDataset,
|
|
1170
1187
|
x as useDatasetSample,
|
|
1171
1188
|
N as useDeleteComment,
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
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,
|
|
1183
1200
|
We as useGetAllRecon,
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1201
|
+
_e as useGetAllReconV2,
|
|
1202
|
+
ve as useGetAllTemplatedPipelines,
|
|
1203
|
+
en as useGetAllUsers,
|
|
1204
|
+
Ae as useGetAuditLogs,
|
|
1188
1205
|
I as useGetCommentsByThreadId,
|
|
1189
|
-
|
|
1206
|
+
qn as useGetConversation,
|
|
1190
1207
|
Y as useGetDatasets,
|
|
1191
|
-
|
|
1192
|
-
|
|
1208
|
+
Z as useGetFileByFolderIdAndName,
|
|
1209
|
+
X as useGetFileUrlByFileId,
|
|
1193
1210
|
Pe as useGetFormById,
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
Ne as
|
|
1204
|
-
|
|
1205
|
-
ne as
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
re as
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
oe as
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
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,
|
|
1225
1244
|
Q as usePostComment,
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
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,
|
|
1243
1262
|
H as useSubscribeUser,
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1263
|
+
On as useTcnAgentDisconnect,
|
|
1264
|
+
Mn as useTcnAgentGetCallFromHold,
|
|
1265
|
+
Kn as useTcnAgentGetStatus,
|
|
1247
1266
|
An as useTcnAgentPause,
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
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,
|
|
1266
1285
|
L as useUnsubscribeUser,
|
|
1267
1286
|
_ as useUpdateComment,
|
|
1268
|
-
|
|
1269
|
-
|
|
1287
|
+
Me as useUpdateReconV2,
|
|
1288
|
+
de as useUpdateRow,
|
|
1270
1289
|
B as useUser,
|
|
1271
1290
|
pe as useUserDetails
|
|
1272
1291
|
};
|