@voiceflow/dtos-interact 1.65.0 → 1.66.0

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 (37) hide show
  1. package/build/cjs/socket/socket-action-trace.dto.d.ts +2273 -165
  2. package/build/cjs/socket/socket-action-trace.dto.d.ts.map +1 -1
  3. package/build/cjs/socket/socket-message.dto.d.ts +4618 -402
  4. package/build/cjs/socket/socket-message.dto.d.ts.map +1 -1
  5. package/build/cjs/trace/any.dto.d.ts +1432 -60
  6. package/build/cjs/trace/any.dto.d.ts.map +1 -1
  7. package/build/cjs/trace/card.dto.d.ts +548 -0
  8. package/build/cjs/trace/card.dto.d.ts.map +1 -1
  9. package/build/cjs/trace/card.dto.js +2 -0
  10. package/build/cjs/trace/card.dto.js.map +1 -1
  11. package/build/cjs/trace/carousel.dto.d.ts +960 -0
  12. package/build/cjs/trace/carousel.dto.d.ts.map +1 -1
  13. package/build/cjs/trace/carousel.dto.js +2 -0
  14. package/build/cjs/trace/carousel.dto.js.map +1 -1
  15. package/build/cjs/trace/choice.dto.d.ts +320 -0
  16. package/build/cjs/trace/choice.dto.d.ts.map +1 -1
  17. package/build/cjs/trace/choice.dto.js +2 -0
  18. package/build/cjs/trace/choice.dto.js.map +1 -1
  19. package/build/esm/socket/socket-action-trace.dto.d.ts +2273 -165
  20. package/build/esm/socket/socket-action-trace.dto.d.ts.map +1 -1
  21. package/build/esm/socket/socket-message.dto.d.ts +4618 -402
  22. package/build/esm/socket/socket-message.dto.d.ts.map +1 -1
  23. package/build/esm/trace/any.dto.d.ts +1432 -60
  24. package/build/esm/trace/any.dto.d.ts.map +1 -1
  25. package/build/esm/trace/card.dto.d.ts +548 -0
  26. package/build/esm/trace/card.dto.d.ts.map +1 -1
  27. package/build/esm/trace/card.dto.js +2 -0
  28. package/build/esm/trace/card.dto.js.map +1 -1
  29. package/build/esm/trace/carousel.dto.d.ts +960 -0
  30. package/build/esm/trace/carousel.dto.d.ts.map +1 -1
  31. package/build/esm/trace/carousel.dto.js +2 -0
  32. package/build/esm/trace/carousel.dto.js.map +1 -1
  33. package/build/esm/trace/choice.dto.d.ts +320 -0
  34. package/build/esm/trace/choice.dto.d.ts.map +1 -1
  35. package/build/esm/trace/choice.dto.js +2 -0
  36. package/build/esm/trace/choice.dto.js.map +1 -1
  37. package/package.json +2 -2
@@ -1,5 +1,141 @@
1
1
  import { z } from 'zod';
2
2
  export declare const TraceCarouselCardDTO: z.ZodObject<{
3
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4
+ type: z.ZodLiteral<"node">;
5
+ nodeID: z.ZodString;
6
+ nodeType: z.ZodString;
7
+ diagramID: z.ZodString;
8
+ diagramName: z.ZodOptional<z.ZodString>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ type: "node";
11
+ diagramID: string;
12
+ nodeID: string;
13
+ nodeType: string;
14
+ diagramName?: string | undefined;
15
+ }, {
16
+ type: "node";
17
+ diagramID: string;
18
+ nodeID: string;
19
+ nodeType: string;
20
+ diagramName?: string | undefined;
21
+ }>, z.ZodObject<{
22
+ type: z.ZodLiteral<"agent">;
23
+ nodeID: z.ZodString;
24
+ agentID: z.ZodString;
25
+ diagramID: z.ZodString;
26
+ agentName: z.ZodOptional<z.ZodString>;
27
+ diagramName: z.ZodOptional<z.ZodString>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ type: "agent";
30
+ diagramID: string;
31
+ nodeID: string;
32
+ agentID: string;
33
+ diagramName?: string | undefined;
34
+ agentName?: string | undefined;
35
+ }, {
36
+ type: "agent";
37
+ diagramID: string;
38
+ nodeID: string;
39
+ agentID: string;
40
+ diagramName?: string | undefined;
41
+ agentName?: string | undefined;
42
+ }>, z.ZodObject<{
43
+ type: z.ZodLiteral<"prompt">;
44
+ nodeID: z.ZodString;
45
+ promptID: z.ZodString;
46
+ diagramID: z.ZodString;
47
+ diagramName: z.ZodOptional<z.ZodString>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ type: "prompt";
50
+ diagramID: string;
51
+ nodeID: string;
52
+ promptID: string;
53
+ diagramName?: string | undefined;
54
+ }, {
55
+ type: "prompt";
56
+ diagramID: string;
57
+ nodeID: string;
58
+ promptID: string;
59
+ diagramName?: string | undefined;
60
+ }>, z.ZodObject<{
61
+ type: z.ZodLiteral<"api-tool">;
62
+ nodeID: z.ZodString;
63
+ diagramID: z.ZodString;
64
+ apiToolID: z.ZodString;
65
+ apiToolName: z.ZodOptional<z.ZodString>;
66
+ diagramName: z.ZodOptional<z.ZodString>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ type: "api-tool";
69
+ diagramID: string;
70
+ nodeID: string;
71
+ apiToolID: string;
72
+ diagramName?: string | undefined;
73
+ apiToolName?: string | undefined;
74
+ }, {
75
+ type: "api-tool";
76
+ diagramID: string;
77
+ nodeID: string;
78
+ apiToolID: string;
79
+ diagramName?: string | undefined;
80
+ apiToolName?: string | undefined;
81
+ }>, z.ZodObject<{
82
+ type: z.ZodLiteral<"function">;
83
+ nodeID: z.ZodString;
84
+ diagramID: z.ZodString;
85
+ functionID: z.ZodString;
86
+ functionName: z.ZodOptional<z.ZodString>;
87
+ diagramName: z.ZodOptional<z.ZodString>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ type: "function";
90
+ diagramID: string;
91
+ nodeID: string;
92
+ functionID: string;
93
+ diagramName?: string | undefined;
94
+ functionName?: string | undefined;
95
+ }, {
96
+ type: "function";
97
+ diagramID: string;
98
+ nodeID: string;
99
+ functionID: string;
100
+ diagramName?: string | undefined;
101
+ functionName?: string | undefined;
102
+ }>, z.ZodObject<{
103
+ type: z.ZodLiteral<"integration-tool">;
104
+ nodeID: z.ZodString;
105
+ diagramID: z.ZodString;
106
+ diagramName: z.ZodOptional<z.ZodString>;
107
+ integrationToolName: z.ZodString;
108
+ }, "strip", z.ZodTypeAny, {
109
+ type: "integration-tool";
110
+ diagramID: string;
111
+ nodeID: string;
112
+ integrationToolName: string;
113
+ diagramName?: string | undefined;
114
+ }, {
115
+ type: "integration-tool";
116
+ diagramID: string;
117
+ nodeID: string;
118
+ integrationToolName: string;
119
+ diagramName?: string | undefined;
120
+ }>, z.ZodObject<{
121
+ type: z.ZodLiteral<"mcp-integration-tool">;
122
+ nodeID: z.ZodString;
123
+ diagramID: z.ZodString;
124
+ mcpToolName: z.ZodString;
125
+ diagramName: z.ZodOptional<z.ZodString>;
126
+ }, "strip", z.ZodTypeAny, {
127
+ type: "mcp-integration-tool";
128
+ diagramID: string;
129
+ nodeID: string;
130
+ mcpToolName: string;
131
+ diagramName?: string | undefined;
132
+ }, {
133
+ type: "mcp-integration-tool";
134
+ diagramID: string;
135
+ nodeID: string;
136
+ mcpToolName: string;
137
+ diagramName?: string | undefined;
138
+ }>]>>;
3
139
  title: z.ZodString;
4
140
  buttons: z.ZodArray<z.ZodObject<{
5
141
  name: z.ZodString;
@@ -72,6 +208,52 @@ export declare const TraceCarouselCardDTO: z.ZodObject<{
72
208
  slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[] | undefined;
73
209
  };
74
210
  id?: string | undefined;
211
+ ref?: {
212
+ type: "node";
213
+ diagramID: string;
214
+ nodeID: string;
215
+ nodeType: string;
216
+ diagramName?: string | undefined;
217
+ } | {
218
+ type: "agent";
219
+ diagramID: string;
220
+ nodeID: string;
221
+ agentID: string;
222
+ diagramName?: string | undefined;
223
+ agentName?: string | undefined;
224
+ } | {
225
+ type: "api-tool";
226
+ diagramID: string;
227
+ nodeID: string;
228
+ apiToolID: string;
229
+ diagramName?: string | undefined;
230
+ apiToolName?: string | undefined;
231
+ } | {
232
+ type: "integration-tool";
233
+ diagramID: string;
234
+ nodeID: string;
235
+ integrationToolName: string;
236
+ diagramName?: string | undefined;
237
+ } | {
238
+ type: "mcp-integration-tool";
239
+ diagramID: string;
240
+ nodeID: string;
241
+ mcpToolName: string;
242
+ diagramName?: string | undefined;
243
+ } | {
244
+ type: "function";
245
+ diagramID: string;
246
+ nodeID: string;
247
+ functionID: string;
248
+ diagramName?: string | undefined;
249
+ functionName?: string | undefined;
250
+ } | {
251
+ type: "prompt";
252
+ diagramID: string;
253
+ nodeID: string;
254
+ promptID: string;
255
+ diagramName?: string | undefined;
256
+ } | undefined;
75
257
  }, {
76
258
  title: string;
77
259
  buttons: {
@@ -90,6 +272,52 @@ export declare const TraceCarouselCardDTO: z.ZodObject<{
90
272
  slate?: any[] | undefined;
91
273
  };
92
274
  id?: string | undefined;
275
+ ref?: {
276
+ type: "node";
277
+ diagramID: string;
278
+ nodeID: string;
279
+ nodeType: string;
280
+ diagramName?: string | undefined;
281
+ } | {
282
+ type: "agent";
283
+ diagramID: string;
284
+ nodeID: string;
285
+ agentID: string;
286
+ diagramName?: string | undefined;
287
+ agentName?: string | undefined;
288
+ } | {
289
+ type: "api-tool";
290
+ diagramID: string;
291
+ nodeID: string;
292
+ apiToolID: string;
293
+ diagramName?: string | undefined;
294
+ apiToolName?: string | undefined;
295
+ } | {
296
+ type: "integration-tool";
297
+ diagramID: string;
298
+ nodeID: string;
299
+ integrationToolName: string;
300
+ diagramName?: string | undefined;
301
+ } | {
302
+ type: "mcp-integration-tool";
303
+ diagramID: string;
304
+ nodeID: string;
305
+ mcpToolName: string;
306
+ diagramName?: string | undefined;
307
+ } | {
308
+ type: "function";
309
+ diagramID: string;
310
+ nodeID: string;
311
+ functionID: string;
312
+ diagramName?: string | undefined;
313
+ functionName?: string | undefined;
314
+ } | {
315
+ type: "prompt";
316
+ diagramID: string;
317
+ nodeID: string;
318
+ promptID: string;
319
+ diagramName?: string | undefined;
320
+ } | undefined;
93
321
  }>;
94
322
  export type TraceCarouselCard = z.infer<typeof TraceCarouselCardDTO>;
95
323
  export declare const CarouselTraceDTO: z.ZodObject<{
@@ -140,7 +368,279 @@ export declare const CarouselTraceDTO: z.ZodObject<{
140
368
  } & {
141
369
  type: z.ZodLiteral<"carousel">;
142
370
  payload: z.ZodObject<{
371
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
372
+ type: z.ZodLiteral<"node">;
373
+ nodeID: z.ZodString;
374
+ nodeType: z.ZodString;
375
+ diagramID: z.ZodString;
376
+ diagramName: z.ZodOptional<z.ZodString>;
377
+ }, "strip", z.ZodTypeAny, {
378
+ type: "node";
379
+ diagramID: string;
380
+ nodeID: string;
381
+ nodeType: string;
382
+ diagramName?: string | undefined;
383
+ }, {
384
+ type: "node";
385
+ diagramID: string;
386
+ nodeID: string;
387
+ nodeType: string;
388
+ diagramName?: string | undefined;
389
+ }>, z.ZodObject<{
390
+ type: z.ZodLiteral<"agent">;
391
+ nodeID: z.ZodString;
392
+ agentID: z.ZodString;
393
+ diagramID: z.ZodString;
394
+ agentName: z.ZodOptional<z.ZodString>;
395
+ diagramName: z.ZodOptional<z.ZodString>;
396
+ }, "strip", z.ZodTypeAny, {
397
+ type: "agent";
398
+ diagramID: string;
399
+ nodeID: string;
400
+ agentID: string;
401
+ diagramName?: string | undefined;
402
+ agentName?: string | undefined;
403
+ }, {
404
+ type: "agent";
405
+ diagramID: string;
406
+ nodeID: string;
407
+ agentID: string;
408
+ diagramName?: string | undefined;
409
+ agentName?: string | undefined;
410
+ }>, z.ZodObject<{
411
+ type: z.ZodLiteral<"prompt">;
412
+ nodeID: z.ZodString;
413
+ promptID: z.ZodString;
414
+ diagramID: z.ZodString;
415
+ diagramName: z.ZodOptional<z.ZodString>;
416
+ }, "strip", z.ZodTypeAny, {
417
+ type: "prompt";
418
+ diagramID: string;
419
+ nodeID: string;
420
+ promptID: string;
421
+ diagramName?: string | undefined;
422
+ }, {
423
+ type: "prompt";
424
+ diagramID: string;
425
+ nodeID: string;
426
+ promptID: string;
427
+ diagramName?: string | undefined;
428
+ }>, z.ZodObject<{
429
+ type: z.ZodLiteral<"api-tool">;
430
+ nodeID: z.ZodString;
431
+ diagramID: z.ZodString;
432
+ apiToolID: z.ZodString;
433
+ apiToolName: z.ZodOptional<z.ZodString>;
434
+ diagramName: z.ZodOptional<z.ZodString>;
435
+ }, "strip", z.ZodTypeAny, {
436
+ type: "api-tool";
437
+ diagramID: string;
438
+ nodeID: string;
439
+ apiToolID: string;
440
+ diagramName?: string | undefined;
441
+ apiToolName?: string | undefined;
442
+ }, {
443
+ type: "api-tool";
444
+ diagramID: string;
445
+ nodeID: string;
446
+ apiToolID: string;
447
+ diagramName?: string | undefined;
448
+ apiToolName?: string | undefined;
449
+ }>, z.ZodObject<{
450
+ type: z.ZodLiteral<"function">;
451
+ nodeID: z.ZodString;
452
+ diagramID: z.ZodString;
453
+ functionID: z.ZodString;
454
+ functionName: z.ZodOptional<z.ZodString>;
455
+ diagramName: z.ZodOptional<z.ZodString>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ type: "function";
458
+ diagramID: string;
459
+ nodeID: string;
460
+ functionID: string;
461
+ diagramName?: string | undefined;
462
+ functionName?: string | undefined;
463
+ }, {
464
+ type: "function";
465
+ diagramID: string;
466
+ nodeID: string;
467
+ functionID: string;
468
+ diagramName?: string | undefined;
469
+ functionName?: string | undefined;
470
+ }>, z.ZodObject<{
471
+ type: z.ZodLiteral<"integration-tool">;
472
+ nodeID: z.ZodString;
473
+ diagramID: z.ZodString;
474
+ diagramName: z.ZodOptional<z.ZodString>;
475
+ integrationToolName: z.ZodString;
476
+ }, "strip", z.ZodTypeAny, {
477
+ type: "integration-tool";
478
+ diagramID: string;
479
+ nodeID: string;
480
+ integrationToolName: string;
481
+ diagramName?: string | undefined;
482
+ }, {
483
+ type: "integration-tool";
484
+ diagramID: string;
485
+ nodeID: string;
486
+ integrationToolName: string;
487
+ diagramName?: string | undefined;
488
+ }>, z.ZodObject<{
489
+ type: z.ZodLiteral<"mcp-integration-tool">;
490
+ nodeID: z.ZodString;
491
+ diagramID: z.ZodString;
492
+ mcpToolName: z.ZodString;
493
+ diagramName: z.ZodOptional<z.ZodString>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ type: "mcp-integration-tool";
496
+ diagramID: string;
497
+ nodeID: string;
498
+ mcpToolName: string;
499
+ diagramName?: string | undefined;
500
+ }, {
501
+ type: "mcp-integration-tool";
502
+ diagramID: string;
503
+ nodeID: string;
504
+ mcpToolName: string;
505
+ diagramName?: string | undefined;
506
+ }>]>>;
143
507
  cards: z.ZodArray<z.ZodObject<{
508
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
509
+ type: z.ZodLiteral<"node">;
510
+ nodeID: z.ZodString;
511
+ nodeType: z.ZodString;
512
+ diagramID: z.ZodString;
513
+ diagramName: z.ZodOptional<z.ZodString>;
514
+ }, "strip", z.ZodTypeAny, {
515
+ type: "node";
516
+ diagramID: string;
517
+ nodeID: string;
518
+ nodeType: string;
519
+ diagramName?: string | undefined;
520
+ }, {
521
+ type: "node";
522
+ diagramID: string;
523
+ nodeID: string;
524
+ nodeType: string;
525
+ diagramName?: string | undefined;
526
+ }>, z.ZodObject<{
527
+ type: z.ZodLiteral<"agent">;
528
+ nodeID: z.ZodString;
529
+ agentID: z.ZodString;
530
+ diagramID: z.ZodString;
531
+ agentName: z.ZodOptional<z.ZodString>;
532
+ diagramName: z.ZodOptional<z.ZodString>;
533
+ }, "strip", z.ZodTypeAny, {
534
+ type: "agent";
535
+ diagramID: string;
536
+ nodeID: string;
537
+ agentID: string;
538
+ diagramName?: string | undefined;
539
+ agentName?: string | undefined;
540
+ }, {
541
+ type: "agent";
542
+ diagramID: string;
543
+ nodeID: string;
544
+ agentID: string;
545
+ diagramName?: string | undefined;
546
+ agentName?: string | undefined;
547
+ }>, z.ZodObject<{
548
+ type: z.ZodLiteral<"prompt">;
549
+ nodeID: z.ZodString;
550
+ promptID: z.ZodString;
551
+ diagramID: z.ZodString;
552
+ diagramName: z.ZodOptional<z.ZodString>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ type: "prompt";
555
+ diagramID: string;
556
+ nodeID: string;
557
+ promptID: string;
558
+ diagramName?: string | undefined;
559
+ }, {
560
+ type: "prompt";
561
+ diagramID: string;
562
+ nodeID: string;
563
+ promptID: string;
564
+ diagramName?: string | undefined;
565
+ }>, z.ZodObject<{
566
+ type: z.ZodLiteral<"api-tool">;
567
+ nodeID: z.ZodString;
568
+ diagramID: z.ZodString;
569
+ apiToolID: z.ZodString;
570
+ apiToolName: z.ZodOptional<z.ZodString>;
571
+ diagramName: z.ZodOptional<z.ZodString>;
572
+ }, "strip", z.ZodTypeAny, {
573
+ type: "api-tool";
574
+ diagramID: string;
575
+ nodeID: string;
576
+ apiToolID: string;
577
+ diagramName?: string | undefined;
578
+ apiToolName?: string | undefined;
579
+ }, {
580
+ type: "api-tool";
581
+ diagramID: string;
582
+ nodeID: string;
583
+ apiToolID: string;
584
+ diagramName?: string | undefined;
585
+ apiToolName?: string | undefined;
586
+ }>, z.ZodObject<{
587
+ type: z.ZodLiteral<"function">;
588
+ nodeID: z.ZodString;
589
+ diagramID: z.ZodString;
590
+ functionID: z.ZodString;
591
+ functionName: z.ZodOptional<z.ZodString>;
592
+ diagramName: z.ZodOptional<z.ZodString>;
593
+ }, "strip", z.ZodTypeAny, {
594
+ type: "function";
595
+ diagramID: string;
596
+ nodeID: string;
597
+ functionID: string;
598
+ diagramName?: string | undefined;
599
+ functionName?: string | undefined;
600
+ }, {
601
+ type: "function";
602
+ diagramID: string;
603
+ nodeID: string;
604
+ functionID: string;
605
+ diagramName?: string | undefined;
606
+ functionName?: string | undefined;
607
+ }>, z.ZodObject<{
608
+ type: z.ZodLiteral<"integration-tool">;
609
+ nodeID: z.ZodString;
610
+ diagramID: z.ZodString;
611
+ diagramName: z.ZodOptional<z.ZodString>;
612
+ integrationToolName: z.ZodString;
613
+ }, "strip", z.ZodTypeAny, {
614
+ type: "integration-tool";
615
+ diagramID: string;
616
+ nodeID: string;
617
+ integrationToolName: string;
618
+ diagramName?: string | undefined;
619
+ }, {
620
+ type: "integration-tool";
621
+ diagramID: string;
622
+ nodeID: string;
623
+ integrationToolName: string;
624
+ diagramName?: string | undefined;
625
+ }>, z.ZodObject<{
626
+ type: z.ZodLiteral<"mcp-integration-tool">;
627
+ nodeID: z.ZodString;
628
+ diagramID: z.ZodString;
629
+ mcpToolName: z.ZodString;
630
+ diagramName: z.ZodOptional<z.ZodString>;
631
+ }, "strip", z.ZodTypeAny, {
632
+ type: "mcp-integration-tool";
633
+ diagramID: string;
634
+ nodeID: string;
635
+ mcpToolName: string;
636
+ diagramName?: string | undefined;
637
+ }, {
638
+ type: "mcp-integration-tool";
639
+ diagramID: string;
640
+ nodeID: string;
641
+ mcpToolName: string;
642
+ diagramName?: string | undefined;
643
+ }>]>>;
144
644
  title: z.ZodString;
145
645
  buttons: z.ZodArray<z.ZodObject<{
146
646
  name: z.ZodString;
@@ -213,6 +713,52 @@ export declare const CarouselTraceDTO: z.ZodObject<{
213
713
  slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[] | undefined;
214
714
  };
215
715
  id?: string | undefined;
716
+ ref?: {
717
+ type: "node";
718
+ diagramID: string;
719
+ nodeID: string;
720
+ nodeType: string;
721
+ diagramName?: string | undefined;
722
+ } | {
723
+ type: "agent";
724
+ diagramID: string;
725
+ nodeID: string;
726
+ agentID: string;
727
+ diagramName?: string | undefined;
728
+ agentName?: string | undefined;
729
+ } | {
730
+ type: "api-tool";
731
+ diagramID: string;
732
+ nodeID: string;
733
+ apiToolID: string;
734
+ diagramName?: string | undefined;
735
+ apiToolName?: string | undefined;
736
+ } | {
737
+ type: "integration-tool";
738
+ diagramID: string;
739
+ nodeID: string;
740
+ integrationToolName: string;
741
+ diagramName?: string | undefined;
742
+ } | {
743
+ type: "mcp-integration-tool";
744
+ diagramID: string;
745
+ nodeID: string;
746
+ mcpToolName: string;
747
+ diagramName?: string | undefined;
748
+ } | {
749
+ type: "function";
750
+ diagramID: string;
751
+ nodeID: string;
752
+ functionID: string;
753
+ diagramName?: string | undefined;
754
+ functionName?: string | undefined;
755
+ } | {
756
+ type: "prompt";
757
+ diagramID: string;
758
+ nodeID: string;
759
+ promptID: string;
760
+ diagramName?: string | undefined;
761
+ } | undefined;
216
762
  }, {
217
763
  title: string;
218
764
  buttons: {
@@ -231,6 +777,52 @@ export declare const CarouselTraceDTO: z.ZodObject<{
231
777
  slate?: any[] | undefined;
232
778
  };
233
779
  id?: string | undefined;
780
+ ref?: {
781
+ type: "node";
782
+ diagramID: string;
783
+ nodeID: string;
784
+ nodeType: string;
785
+ diagramName?: string | undefined;
786
+ } | {
787
+ type: "agent";
788
+ diagramID: string;
789
+ nodeID: string;
790
+ agentID: string;
791
+ diagramName?: string | undefined;
792
+ agentName?: string | undefined;
793
+ } | {
794
+ type: "api-tool";
795
+ diagramID: string;
796
+ nodeID: string;
797
+ apiToolID: string;
798
+ diagramName?: string | undefined;
799
+ apiToolName?: string | undefined;
800
+ } | {
801
+ type: "integration-tool";
802
+ diagramID: string;
803
+ nodeID: string;
804
+ integrationToolName: string;
805
+ diagramName?: string | undefined;
806
+ } | {
807
+ type: "mcp-integration-tool";
808
+ diagramID: string;
809
+ nodeID: string;
810
+ mcpToolName: string;
811
+ diagramName?: string | undefined;
812
+ } | {
813
+ type: "function";
814
+ diagramID: string;
815
+ nodeID: string;
816
+ functionID: string;
817
+ diagramName?: string | undefined;
818
+ functionName?: string | undefined;
819
+ } | {
820
+ type: "prompt";
821
+ diagramID: string;
822
+ nodeID: string;
823
+ promptID: string;
824
+ diagramName?: string | undefined;
825
+ } | undefined;
234
826
  }>, "many">;
235
827
  layout: z.ZodNativeEnum<{
236
828
  readonly LIST: "List";
@@ -255,8 +847,100 @@ export declare const CarouselTraceDTO: z.ZodObject<{
255
847
  slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[] | undefined;
256
848
  };
257
849
  id?: string | undefined;
850
+ ref?: {
851
+ type: "node";
852
+ diagramID: string;
853
+ nodeID: string;
854
+ nodeType: string;
855
+ diagramName?: string | undefined;
856
+ } | {
857
+ type: "agent";
858
+ diagramID: string;
859
+ nodeID: string;
860
+ agentID: string;
861
+ diagramName?: string | undefined;
862
+ agentName?: string | undefined;
863
+ } | {
864
+ type: "api-tool";
865
+ diagramID: string;
866
+ nodeID: string;
867
+ apiToolID: string;
868
+ diagramName?: string | undefined;
869
+ apiToolName?: string | undefined;
870
+ } | {
871
+ type: "integration-tool";
872
+ diagramID: string;
873
+ nodeID: string;
874
+ integrationToolName: string;
875
+ diagramName?: string | undefined;
876
+ } | {
877
+ type: "mcp-integration-tool";
878
+ diagramID: string;
879
+ nodeID: string;
880
+ mcpToolName: string;
881
+ diagramName?: string | undefined;
882
+ } | {
883
+ type: "function";
884
+ diagramID: string;
885
+ nodeID: string;
886
+ functionID: string;
887
+ diagramName?: string | undefined;
888
+ functionName?: string | undefined;
889
+ } | {
890
+ type: "prompt";
891
+ diagramID: string;
892
+ nodeID: string;
893
+ promptID: string;
894
+ diagramName?: string | undefined;
895
+ } | undefined;
258
896
  }[];
259
897
  layout: "List" | "Carousel";
898
+ ref?: {
899
+ type: "node";
900
+ diagramID: string;
901
+ nodeID: string;
902
+ nodeType: string;
903
+ diagramName?: string | undefined;
904
+ } | {
905
+ type: "agent";
906
+ diagramID: string;
907
+ nodeID: string;
908
+ agentID: string;
909
+ diagramName?: string | undefined;
910
+ agentName?: string | undefined;
911
+ } | {
912
+ type: "api-tool";
913
+ diagramID: string;
914
+ nodeID: string;
915
+ apiToolID: string;
916
+ diagramName?: string | undefined;
917
+ apiToolName?: string | undefined;
918
+ } | {
919
+ type: "integration-tool";
920
+ diagramID: string;
921
+ nodeID: string;
922
+ integrationToolName: string;
923
+ diagramName?: string | undefined;
924
+ } | {
925
+ type: "mcp-integration-tool";
926
+ diagramID: string;
927
+ nodeID: string;
928
+ mcpToolName: string;
929
+ diagramName?: string | undefined;
930
+ } | {
931
+ type: "function";
932
+ diagramID: string;
933
+ nodeID: string;
934
+ functionID: string;
935
+ diagramName?: string | undefined;
936
+ functionName?: string | undefined;
937
+ } | {
938
+ type: "prompt";
939
+ diagramID: string;
940
+ nodeID: string;
941
+ promptID: string;
942
+ diagramName?: string | undefined;
943
+ } | undefined;
260
944
  }, {
261
945
  cards: {
262
946
  title: string;
@@ -276,8 +960,100 @@ export declare const CarouselTraceDTO: z.ZodObject<{
276
960
  slate?: any[] | undefined;
277
961
  };
278
962
  id?: string | undefined;
963
+ ref?: {
964
+ type: "node";
965
+ diagramID: string;
966
+ nodeID: string;
967
+ nodeType: string;
968
+ diagramName?: string | undefined;
969
+ } | {
970
+ type: "agent";
971
+ diagramID: string;
972
+ nodeID: string;
973
+ agentID: string;
974
+ diagramName?: string | undefined;
975
+ agentName?: string | undefined;
976
+ } | {
977
+ type: "api-tool";
978
+ diagramID: string;
979
+ nodeID: string;
980
+ apiToolID: string;
981
+ diagramName?: string | undefined;
982
+ apiToolName?: string | undefined;
983
+ } | {
984
+ type: "integration-tool";
985
+ diagramID: string;
986
+ nodeID: string;
987
+ integrationToolName: string;
988
+ diagramName?: string | undefined;
989
+ } | {
990
+ type: "mcp-integration-tool";
991
+ diagramID: string;
992
+ nodeID: string;
993
+ mcpToolName: string;
994
+ diagramName?: string | undefined;
995
+ } | {
996
+ type: "function";
997
+ diagramID: string;
998
+ nodeID: string;
999
+ functionID: string;
1000
+ diagramName?: string | undefined;
1001
+ functionName?: string | undefined;
1002
+ } | {
1003
+ type: "prompt";
1004
+ diagramID: string;
1005
+ nodeID: string;
1006
+ promptID: string;
1007
+ diagramName?: string | undefined;
1008
+ } | undefined;
279
1009
  }[];
280
1010
  layout: "List" | "Carousel";
1011
+ ref?: {
1012
+ type: "node";
1013
+ diagramID: string;
1014
+ nodeID: string;
1015
+ nodeType: string;
1016
+ diagramName?: string | undefined;
1017
+ } | {
1018
+ type: "agent";
1019
+ diagramID: string;
1020
+ nodeID: string;
1021
+ agentID: string;
1022
+ diagramName?: string | undefined;
1023
+ agentName?: string | undefined;
1024
+ } | {
1025
+ type: "api-tool";
1026
+ diagramID: string;
1027
+ nodeID: string;
1028
+ apiToolID: string;
1029
+ diagramName?: string | undefined;
1030
+ apiToolName?: string | undefined;
1031
+ } | {
1032
+ type: "integration-tool";
1033
+ diagramID: string;
1034
+ nodeID: string;
1035
+ integrationToolName: string;
1036
+ diagramName?: string | undefined;
1037
+ } | {
1038
+ type: "mcp-integration-tool";
1039
+ diagramID: string;
1040
+ nodeID: string;
1041
+ mcpToolName: string;
1042
+ diagramName?: string | undefined;
1043
+ } | {
1044
+ type: "function";
1045
+ diagramID: string;
1046
+ nodeID: string;
1047
+ functionID: string;
1048
+ diagramName?: string | undefined;
1049
+ functionName?: string | undefined;
1050
+ } | {
1051
+ type: "prompt";
1052
+ diagramID: string;
1053
+ nodeID: string;
1054
+ promptID: string;
1055
+ diagramName?: string | undefined;
1056
+ } | undefined;
281
1057
  }>;
282
1058
  }, "strip", z.ZodTypeAny, {
283
1059
  type: "carousel";
@@ -300,8 +1076,100 @@ export declare const CarouselTraceDTO: z.ZodObject<{
300
1076
  slate?: (import("../main.js").SlateText | import("../main.js").SlateTextElement | import("../main.js").SlateTextLinkElement | import("../main.js").SlateTextVariableElement)[] | undefined;
301
1077
  };
302
1078
  id?: string | undefined;
1079
+ ref?: {
1080
+ type: "node";
1081
+ diagramID: string;
1082
+ nodeID: string;
1083
+ nodeType: string;
1084
+ diagramName?: string | undefined;
1085
+ } | {
1086
+ type: "agent";
1087
+ diagramID: string;
1088
+ nodeID: string;
1089
+ agentID: string;
1090
+ diagramName?: string | undefined;
1091
+ agentName?: string | undefined;
1092
+ } | {
1093
+ type: "api-tool";
1094
+ diagramID: string;
1095
+ nodeID: string;
1096
+ apiToolID: string;
1097
+ diagramName?: string | undefined;
1098
+ apiToolName?: string | undefined;
1099
+ } | {
1100
+ type: "integration-tool";
1101
+ diagramID: string;
1102
+ nodeID: string;
1103
+ integrationToolName: string;
1104
+ diagramName?: string | undefined;
1105
+ } | {
1106
+ type: "mcp-integration-tool";
1107
+ diagramID: string;
1108
+ nodeID: string;
1109
+ mcpToolName: string;
1110
+ diagramName?: string | undefined;
1111
+ } | {
1112
+ type: "function";
1113
+ diagramID: string;
1114
+ nodeID: string;
1115
+ functionID: string;
1116
+ diagramName?: string | undefined;
1117
+ functionName?: string | undefined;
1118
+ } | {
1119
+ type: "prompt";
1120
+ diagramID: string;
1121
+ nodeID: string;
1122
+ promptID: string;
1123
+ diagramName?: string | undefined;
1124
+ } | undefined;
303
1125
  }[];
304
1126
  layout: "List" | "Carousel";
1127
+ ref?: {
1128
+ type: "node";
1129
+ diagramID: string;
1130
+ nodeID: string;
1131
+ nodeType: string;
1132
+ diagramName?: string | undefined;
1133
+ } | {
1134
+ type: "agent";
1135
+ diagramID: string;
1136
+ nodeID: string;
1137
+ agentID: string;
1138
+ diagramName?: string | undefined;
1139
+ agentName?: string | undefined;
1140
+ } | {
1141
+ type: "api-tool";
1142
+ diagramID: string;
1143
+ nodeID: string;
1144
+ apiToolID: string;
1145
+ diagramName?: string | undefined;
1146
+ apiToolName?: string | undefined;
1147
+ } | {
1148
+ type: "integration-tool";
1149
+ diagramID: string;
1150
+ nodeID: string;
1151
+ integrationToolName: string;
1152
+ diagramName?: string | undefined;
1153
+ } | {
1154
+ type: "mcp-integration-tool";
1155
+ diagramID: string;
1156
+ nodeID: string;
1157
+ mcpToolName: string;
1158
+ diagramName?: string | undefined;
1159
+ } | {
1160
+ type: "function";
1161
+ diagramID: string;
1162
+ nodeID: string;
1163
+ functionID: string;
1164
+ diagramName?: string | undefined;
1165
+ functionName?: string | undefined;
1166
+ } | {
1167
+ type: "prompt";
1168
+ diagramID: string;
1169
+ nodeID: string;
1170
+ promptID: string;
1171
+ diagramName?: string | undefined;
1172
+ } | undefined;
305
1173
  };
306
1174
  time?: number | undefined;
307
1175
  paths?: {
@@ -338,8 +1206,100 @@ export declare const CarouselTraceDTO: z.ZodObject<{
338
1206
  slate?: any[] | undefined;
339
1207
  };
340
1208
  id?: string | undefined;
1209
+ ref?: {
1210
+ type: "node";
1211
+ diagramID: string;
1212
+ nodeID: string;
1213
+ nodeType: string;
1214
+ diagramName?: string | undefined;
1215
+ } | {
1216
+ type: "agent";
1217
+ diagramID: string;
1218
+ nodeID: string;
1219
+ agentID: string;
1220
+ diagramName?: string | undefined;
1221
+ agentName?: string | undefined;
1222
+ } | {
1223
+ type: "api-tool";
1224
+ diagramID: string;
1225
+ nodeID: string;
1226
+ apiToolID: string;
1227
+ diagramName?: string | undefined;
1228
+ apiToolName?: string | undefined;
1229
+ } | {
1230
+ type: "integration-tool";
1231
+ diagramID: string;
1232
+ nodeID: string;
1233
+ integrationToolName: string;
1234
+ diagramName?: string | undefined;
1235
+ } | {
1236
+ type: "mcp-integration-tool";
1237
+ diagramID: string;
1238
+ nodeID: string;
1239
+ mcpToolName: string;
1240
+ diagramName?: string | undefined;
1241
+ } | {
1242
+ type: "function";
1243
+ diagramID: string;
1244
+ nodeID: string;
1245
+ functionID: string;
1246
+ diagramName?: string | undefined;
1247
+ functionName?: string | undefined;
1248
+ } | {
1249
+ type: "prompt";
1250
+ diagramID: string;
1251
+ nodeID: string;
1252
+ promptID: string;
1253
+ diagramName?: string | undefined;
1254
+ } | undefined;
341
1255
  }[];
342
1256
  layout: "List" | "Carousel";
1257
+ ref?: {
1258
+ type: "node";
1259
+ diagramID: string;
1260
+ nodeID: string;
1261
+ nodeType: string;
1262
+ diagramName?: string | undefined;
1263
+ } | {
1264
+ type: "agent";
1265
+ diagramID: string;
1266
+ nodeID: string;
1267
+ agentID: string;
1268
+ diagramName?: string | undefined;
1269
+ agentName?: string | undefined;
1270
+ } | {
1271
+ type: "api-tool";
1272
+ diagramID: string;
1273
+ nodeID: string;
1274
+ apiToolID: string;
1275
+ diagramName?: string | undefined;
1276
+ apiToolName?: string | undefined;
1277
+ } | {
1278
+ type: "integration-tool";
1279
+ diagramID: string;
1280
+ nodeID: string;
1281
+ integrationToolName: string;
1282
+ diagramName?: string | undefined;
1283
+ } | {
1284
+ type: "mcp-integration-tool";
1285
+ diagramID: string;
1286
+ nodeID: string;
1287
+ mcpToolName: string;
1288
+ diagramName?: string | undefined;
1289
+ } | {
1290
+ type: "function";
1291
+ diagramID: string;
1292
+ nodeID: string;
1293
+ functionID: string;
1294
+ diagramName?: string | undefined;
1295
+ functionName?: string | undefined;
1296
+ } | {
1297
+ type: "prompt";
1298
+ diagramID: string;
1299
+ nodeID: string;
1300
+ promptID: string;
1301
+ diagramName?: string | undefined;
1302
+ } | undefined;
343
1303
  };
344
1304
  time?: number | undefined;
345
1305
  paths?: {