@voiceflow/dtos-interact 1.60.0 → 1.61.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.
@@ -5591,11 +5591,165 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5591
5591
  }>, "many">>;
5592
5592
  delay: z.ZodOptional<z.ZodNumber>;
5593
5593
  messageID: z.ZodString;
5594
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5595
+ type: z.ZodLiteral<"node">;
5596
+ nodeID: z.ZodString;
5597
+ nodeType: z.ZodString;
5598
+ diagramID: z.ZodString;
5599
+ }, "strip", z.ZodTypeAny, {
5600
+ type: "node";
5601
+ diagramID: string;
5602
+ nodeID: string;
5603
+ nodeType: string;
5604
+ }, {
5605
+ type: "node";
5606
+ diagramID: string;
5607
+ nodeID: string;
5608
+ nodeType: string;
5609
+ }>, z.ZodObject<{
5610
+ type: z.ZodLiteral<"agent">;
5611
+ nodeID: z.ZodString;
5612
+ agentID: z.ZodString;
5613
+ diagramID: z.ZodString;
5614
+ agentName: z.ZodOptional<z.ZodString>;
5615
+ }, "strip", z.ZodTypeAny, {
5616
+ type: "agent";
5617
+ diagramID: string;
5618
+ nodeID: string;
5619
+ agentID: string;
5620
+ agentName?: string | undefined;
5621
+ }, {
5622
+ type: "agent";
5623
+ diagramID: string;
5624
+ nodeID: string;
5625
+ agentID: string;
5626
+ agentName?: string | undefined;
5627
+ }>, z.ZodObject<{
5628
+ type: z.ZodLiteral<"prompt">;
5629
+ nodeID: z.ZodString;
5630
+ promptID: z.ZodString;
5631
+ diagramID: z.ZodString;
5632
+ }, "strip", z.ZodTypeAny, {
5633
+ type: "prompt";
5634
+ diagramID: string;
5635
+ nodeID: string;
5636
+ promptID: string;
5637
+ }, {
5638
+ type: "prompt";
5639
+ diagramID: string;
5640
+ nodeID: string;
5641
+ promptID: string;
5642
+ }>, z.ZodObject<{
5643
+ type: z.ZodLiteral<"api-tool">;
5644
+ nodeID: z.ZodString;
5645
+ diagramID: z.ZodString;
5646
+ apiToolID: z.ZodString;
5647
+ apiToolName: z.ZodOptional<z.ZodString>;
5648
+ }, "strip", z.ZodTypeAny, {
5649
+ type: "api-tool";
5650
+ diagramID: string;
5651
+ nodeID: string;
5652
+ apiToolID: string;
5653
+ apiToolName?: string | undefined;
5654
+ }, {
5655
+ type: "api-tool";
5656
+ diagramID: string;
5657
+ nodeID: string;
5658
+ apiToolID: string;
5659
+ apiToolName?: string | undefined;
5660
+ }>, z.ZodObject<{
5661
+ type: z.ZodLiteral<"function">;
5662
+ nodeID: z.ZodString;
5663
+ diagramID: z.ZodString;
5664
+ functionID: z.ZodString;
5665
+ functionName: z.ZodOptional<z.ZodString>;
5666
+ }, "strip", z.ZodTypeAny, {
5667
+ type: "function";
5668
+ diagramID: string;
5669
+ nodeID: string;
5670
+ functionID: string;
5671
+ functionName?: string | undefined;
5672
+ }, {
5673
+ type: "function";
5674
+ diagramID: string;
5675
+ nodeID: string;
5676
+ functionID: string;
5677
+ functionName?: string | undefined;
5678
+ }>, z.ZodObject<{
5679
+ type: z.ZodLiteral<"integration-tool">;
5680
+ nodeID: z.ZodString;
5681
+ diagramID: z.ZodString;
5682
+ integrationToolName: z.ZodString;
5683
+ }, "strip", z.ZodTypeAny, {
5684
+ type: "integration-tool";
5685
+ diagramID: string;
5686
+ nodeID: string;
5687
+ integrationToolName: string;
5688
+ }, {
5689
+ type: "integration-tool";
5690
+ diagramID: string;
5691
+ nodeID: string;
5692
+ integrationToolName: string;
5693
+ }>, z.ZodObject<{
5694
+ type: z.ZodLiteral<"mcp-integration-tool">;
5695
+ nodeID: z.ZodString;
5696
+ diagramID: z.ZodString;
5697
+ mcpToolName: z.ZodString;
5698
+ }, "strip", z.ZodTypeAny, {
5699
+ type: "mcp-integration-tool";
5700
+ diagramID: string;
5701
+ nodeID: string;
5702
+ mcpToolName: string;
5703
+ }, {
5704
+ type: "mcp-integration-tool";
5705
+ diagramID: string;
5706
+ nodeID: string;
5707
+ mcpToolName: string;
5708
+ }>]>>;
5594
5709
  }, "strip", z.ZodTypeAny, {
5595
5710
  messageID: string;
5596
5711
  state: "start";
5597
5712
  ai?: boolean | undefined;
5598
5713
  delay?: number | undefined;
5714
+ ref?: {
5715
+ type: "node";
5716
+ diagramID: string;
5717
+ nodeID: string;
5718
+ nodeType: string;
5719
+ } | {
5720
+ type: "agent";
5721
+ diagramID: string;
5722
+ nodeID: string;
5723
+ agentID: string;
5724
+ agentName?: string | undefined;
5725
+ } | {
5726
+ type: "api-tool";
5727
+ diagramID: string;
5728
+ nodeID: string;
5729
+ apiToolID: string;
5730
+ apiToolName?: string | undefined;
5731
+ } | {
5732
+ type: "integration-tool";
5733
+ diagramID: string;
5734
+ nodeID: string;
5735
+ integrationToolName: string;
5736
+ } | {
5737
+ type: "mcp-integration-tool";
5738
+ diagramID: string;
5739
+ nodeID: string;
5740
+ mcpToolName: string;
5741
+ } | {
5742
+ type: "function";
5743
+ diagramID: string;
5744
+ nodeID: string;
5745
+ functionID: string;
5746
+ functionName?: string | undefined;
5747
+ } | {
5748
+ type: "prompt";
5749
+ diagramID: string;
5750
+ nodeID: string;
5751
+ promptID: string;
5752
+ } | undefined;
5599
5753
  sourceUrls?: {
5600
5754
  url: string;
5601
5755
  name?: string | undefined;
@@ -5605,6 +5759,45 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5605
5759
  state: "start";
5606
5760
  ai?: boolean | undefined;
5607
5761
  delay?: number | undefined;
5762
+ ref?: {
5763
+ type: "node";
5764
+ diagramID: string;
5765
+ nodeID: string;
5766
+ nodeType: string;
5767
+ } | {
5768
+ type: "agent";
5769
+ diagramID: string;
5770
+ nodeID: string;
5771
+ agentID: string;
5772
+ agentName?: string | undefined;
5773
+ } | {
5774
+ type: "api-tool";
5775
+ diagramID: string;
5776
+ nodeID: string;
5777
+ apiToolID: string;
5778
+ apiToolName?: string | undefined;
5779
+ } | {
5780
+ type: "integration-tool";
5781
+ diagramID: string;
5782
+ nodeID: string;
5783
+ integrationToolName: string;
5784
+ } | {
5785
+ type: "mcp-integration-tool";
5786
+ diagramID: string;
5787
+ nodeID: string;
5788
+ mcpToolName: string;
5789
+ } | {
5790
+ type: "function";
5791
+ diagramID: string;
5792
+ nodeID: string;
5793
+ functionID: string;
5794
+ functionName?: string | undefined;
5795
+ } | {
5796
+ type: "prompt";
5797
+ diagramID: string;
5798
+ nodeID: string;
5799
+ promptID: string;
5800
+ } | undefined;
5608
5801
  sourceUrls?: {
5609
5802
  url: string;
5610
5803
  name?: string | undefined;
@@ -5825,6 +6018,45 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5825
6018
  state: "start";
5826
6019
  ai?: boolean | undefined;
5827
6020
  delay?: number | undefined;
6021
+ ref?: {
6022
+ type: "node";
6023
+ diagramID: string;
6024
+ nodeID: string;
6025
+ nodeType: string;
6026
+ } | {
6027
+ type: "agent";
6028
+ diagramID: string;
6029
+ nodeID: string;
6030
+ agentID: string;
6031
+ agentName?: string | undefined;
6032
+ } | {
6033
+ type: "api-tool";
6034
+ diagramID: string;
6035
+ nodeID: string;
6036
+ apiToolID: string;
6037
+ apiToolName?: string | undefined;
6038
+ } | {
6039
+ type: "integration-tool";
6040
+ diagramID: string;
6041
+ nodeID: string;
6042
+ integrationToolName: string;
6043
+ } | {
6044
+ type: "mcp-integration-tool";
6045
+ diagramID: string;
6046
+ nodeID: string;
6047
+ mcpToolName: string;
6048
+ } | {
6049
+ type: "function";
6050
+ diagramID: string;
6051
+ nodeID: string;
6052
+ functionID: string;
6053
+ functionName?: string | undefined;
6054
+ } | {
6055
+ type: "prompt";
6056
+ diagramID: string;
6057
+ nodeID: string;
6058
+ promptID: string;
6059
+ } | undefined;
5828
6060
  sourceUrls?: {
5829
6061
  url: string;
5830
6062
  name?: string | undefined;
@@ -5895,6 +6127,45 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
5895
6127
  state: "start";
5896
6128
  ai?: boolean | undefined;
5897
6129
  delay?: number | undefined;
6130
+ ref?: {
6131
+ type: "node";
6132
+ diagramID: string;
6133
+ nodeID: string;
6134
+ nodeType: string;
6135
+ } | {
6136
+ type: "agent";
6137
+ diagramID: string;
6138
+ nodeID: string;
6139
+ agentID: string;
6140
+ agentName?: string | undefined;
6141
+ } | {
6142
+ type: "api-tool";
6143
+ diagramID: string;
6144
+ nodeID: string;
6145
+ apiToolID: string;
6146
+ apiToolName?: string | undefined;
6147
+ } | {
6148
+ type: "integration-tool";
6149
+ diagramID: string;
6150
+ nodeID: string;
6151
+ integrationToolName: string;
6152
+ } | {
6153
+ type: "mcp-integration-tool";
6154
+ diagramID: string;
6155
+ nodeID: string;
6156
+ mcpToolName: string;
6157
+ } | {
6158
+ type: "function";
6159
+ diagramID: string;
6160
+ nodeID: string;
6161
+ functionID: string;
6162
+ functionName?: string | undefined;
6163
+ } | {
6164
+ type: "prompt";
6165
+ diagramID: string;
6166
+ nodeID: string;
6167
+ promptID: string;
6168
+ } | undefined;
5898
6169
  sourceUrls?: {
5899
6170
  url: string;
5900
6171
  name?: string | undefined;
@@ -9110,6 +9381,45 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
9110
9381
  state: "start";
9111
9382
  ai?: boolean | undefined;
9112
9383
  delay?: number | undefined;
9384
+ ref?: {
9385
+ type: "node";
9386
+ diagramID: string;
9387
+ nodeID: string;
9388
+ nodeType: string;
9389
+ } | {
9390
+ type: "agent";
9391
+ diagramID: string;
9392
+ nodeID: string;
9393
+ agentID: string;
9394
+ agentName?: string | undefined;
9395
+ } | {
9396
+ type: "api-tool";
9397
+ diagramID: string;
9398
+ nodeID: string;
9399
+ apiToolID: string;
9400
+ apiToolName?: string | undefined;
9401
+ } | {
9402
+ type: "integration-tool";
9403
+ diagramID: string;
9404
+ nodeID: string;
9405
+ integrationToolName: string;
9406
+ } | {
9407
+ type: "mcp-integration-tool";
9408
+ diagramID: string;
9409
+ nodeID: string;
9410
+ mcpToolName: string;
9411
+ } | {
9412
+ type: "function";
9413
+ diagramID: string;
9414
+ nodeID: string;
9415
+ functionID: string;
9416
+ functionName?: string | undefined;
9417
+ } | {
9418
+ type: "prompt";
9419
+ diagramID: string;
9420
+ nodeID: string;
9421
+ promptID: string;
9422
+ } | undefined;
9113
9423
  sourceUrls?: {
9114
9424
  url: string;
9115
9425
  name?: string | undefined;
@@ -9906,6 +10216,45 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
9906
10216
  state: "start";
9907
10217
  ai?: boolean | undefined;
9908
10218
  delay?: number | undefined;
10219
+ ref?: {
10220
+ type: "node";
10221
+ diagramID: string;
10222
+ nodeID: string;
10223
+ nodeType: string;
10224
+ } | {
10225
+ type: "agent";
10226
+ diagramID: string;
10227
+ nodeID: string;
10228
+ agentID: string;
10229
+ agentName?: string | undefined;
10230
+ } | {
10231
+ type: "api-tool";
10232
+ diagramID: string;
10233
+ nodeID: string;
10234
+ apiToolID: string;
10235
+ apiToolName?: string | undefined;
10236
+ } | {
10237
+ type: "integration-tool";
10238
+ diagramID: string;
10239
+ nodeID: string;
10240
+ integrationToolName: string;
10241
+ } | {
10242
+ type: "mcp-integration-tool";
10243
+ diagramID: string;
10244
+ nodeID: string;
10245
+ mcpToolName: string;
10246
+ } | {
10247
+ type: "function";
10248
+ diagramID: string;
10249
+ nodeID: string;
10250
+ functionID: string;
10251
+ functionName?: string | undefined;
10252
+ } | {
10253
+ type: "prompt";
10254
+ diagramID: string;
10255
+ nodeID: string;
10256
+ promptID: string;
10257
+ } | undefined;
9909
10258
  sourceUrls?: {
9910
10259
  url: string;
9911
10260
  name?: string | undefined;
@@ -10705,6 +11054,45 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
10705
11054
  state: "start";
10706
11055
  ai?: boolean | undefined;
10707
11056
  delay?: number | undefined;
11057
+ ref?: {
11058
+ type: "node";
11059
+ diagramID: string;
11060
+ nodeID: string;
11061
+ nodeType: string;
11062
+ } | {
11063
+ type: "agent";
11064
+ diagramID: string;
11065
+ nodeID: string;
11066
+ agentID: string;
11067
+ agentName?: string | undefined;
11068
+ } | {
11069
+ type: "api-tool";
11070
+ diagramID: string;
11071
+ nodeID: string;
11072
+ apiToolID: string;
11073
+ apiToolName?: string | undefined;
11074
+ } | {
11075
+ type: "integration-tool";
11076
+ diagramID: string;
11077
+ nodeID: string;
11078
+ integrationToolName: string;
11079
+ } | {
11080
+ type: "mcp-integration-tool";
11081
+ diagramID: string;
11082
+ nodeID: string;
11083
+ mcpToolName: string;
11084
+ } | {
11085
+ type: "function";
11086
+ diagramID: string;
11087
+ nodeID: string;
11088
+ functionID: string;
11089
+ functionName?: string | undefined;
11090
+ } | {
11091
+ type: "prompt";
11092
+ diagramID: string;
11093
+ nodeID: string;
11094
+ promptID: string;
11095
+ } | undefined;
10708
11096
  sourceUrls?: {
10709
11097
  url: string;
10710
11098
  name?: string | undefined;
@@ -11504,6 +11892,45 @@ export declare const SocketServerMessageDTO: z.ZodDiscriminatedUnion<"type", [z.
11504
11892
  state: "start";
11505
11893
  ai?: boolean | undefined;
11506
11894
  delay?: number | undefined;
11895
+ ref?: {
11896
+ type: "node";
11897
+ diagramID: string;
11898
+ nodeID: string;
11899
+ nodeType: string;
11900
+ } | {
11901
+ type: "agent";
11902
+ diagramID: string;
11903
+ nodeID: string;
11904
+ agentID: string;
11905
+ agentName?: string | undefined;
11906
+ } | {
11907
+ type: "api-tool";
11908
+ diagramID: string;
11909
+ nodeID: string;
11910
+ apiToolID: string;
11911
+ apiToolName?: string | undefined;
11912
+ } | {
11913
+ type: "integration-tool";
11914
+ diagramID: string;
11915
+ nodeID: string;
11916
+ integrationToolName: string;
11917
+ } | {
11918
+ type: "mcp-integration-tool";
11919
+ diagramID: string;
11920
+ nodeID: string;
11921
+ mcpToolName: string;
11922
+ } | {
11923
+ type: "function";
11924
+ diagramID: string;
11925
+ nodeID: string;
11926
+ functionID: string;
11927
+ functionName?: string | undefined;
11928
+ } | {
11929
+ type: "prompt";
11930
+ diagramID: string;
11931
+ nodeID: string;
11932
+ promptID: string;
11933
+ } | undefined;
11507
11934
  sourceUrls?: {
11508
11935
  url: string;
11509
11936
  name?: string | undefined;
@@ -21558,11 +21985,165 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
21558
21985
  }>, "many">>;
21559
21986
  delay: z.ZodOptional<z.ZodNumber>;
21560
21987
  messageID: z.ZodString;
21988
+ ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
21989
+ type: z.ZodLiteral<"node">;
21990
+ nodeID: z.ZodString;
21991
+ nodeType: z.ZodString;
21992
+ diagramID: z.ZodString;
21993
+ }, "strip", z.ZodTypeAny, {
21994
+ type: "node";
21995
+ diagramID: string;
21996
+ nodeID: string;
21997
+ nodeType: string;
21998
+ }, {
21999
+ type: "node";
22000
+ diagramID: string;
22001
+ nodeID: string;
22002
+ nodeType: string;
22003
+ }>, z.ZodObject<{
22004
+ type: z.ZodLiteral<"agent">;
22005
+ nodeID: z.ZodString;
22006
+ agentID: z.ZodString;
22007
+ diagramID: z.ZodString;
22008
+ agentName: z.ZodOptional<z.ZodString>;
22009
+ }, "strip", z.ZodTypeAny, {
22010
+ type: "agent";
22011
+ diagramID: string;
22012
+ nodeID: string;
22013
+ agentID: string;
22014
+ agentName?: string | undefined;
22015
+ }, {
22016
+ type: "agent";
22017
+ diagramID: string;
22018
+ nodeID: string;
22019
+ agentID: string;
22020
+ agentName?: string | undefined;
22021
+ }>, z.ZodObject<{
22022
+ type: z.ZodLiteral<"prompt">;
22023
+ nodeID: z.ZodString;
22024
+ promptID: z.ZodString;
22025
+ diagramID: z.ZodString;
22026
+ }, "strip", z.ZodTypeAny, {
22027
+ type: "prompt";
22028
+ diagramID: string;
22029
+ nodeID: string;
22030
+ promptID: string;
22031
+ }, {
22032
+ type: "prompt";
22033
+ diagramID: string;
22034
+ nodeID: string;
22035
+ promptID: string;
22036
+ }>, z.ZodObject<{
22037
+ type: z.ZodLiteral<"api-tool">;
22038
+ nodeID: z.ZodString;
22039
+ diagramID: z.ZodString;
22040
+ apiToolID: z.ZodString;
22041
+ apiToolName: z.ZodOptional<z.ZodString>;
22042
+ }, "strip", z.ZodTypeAny, {
22043
+ type: "api-tool";
22044
+ diagramID: string;
22045
+ nodeID: string;
22046
+ apiToolID: string;
22047
+ apiToolName?: string | undefined;
22048
+ }, {
22049
+ type: "api-tool";
22050
+ diagramID: string;
22051
+ nodeID: string;
22052
+ apiToolID: string;
22053
+ apiToolName?: string | undefined;
22054
+ }>, z.ZodObject<{
22055
+ type: z.ZodLiteral<"function">;
22056
+ nodeID: z.ZodString;
22057
+ diagramID: z.ZodString;
22058
+ functionID: z.ZodString;
22059
+ functionName: z.ZodOptional<z.ZodString>;
22060
+ }, "strip", z.ZodTypeAny, {
22061
+ type: "function";
22062
+ diagramID: string;
22063
+ nodeID: string;
22064
+ functionID: string;
22065
+ functionName?: string | undefined;
22066
+ }, {
22067
+ type: "function";
22068
+ diagramID: string;
22069
+ nodeID: string;
22070
+ functionID: string;
22071
+ functionName?: string | undefined;
22072
+ }>, z.ZodObject<{
22073
+ type: z.ZodLiteral<"integration-tool">;
22074
+ nodeID: z.ZodString;
22075
+ diagramID: z.ZodString;
22076
+ integrationToolName: z.ZodString;
22077
+ }, "strip", z.ZodTypeAny, {
22078
+ type: "integration-tool";
22079
+ diagramID: string;
22080
+ nodeID: string;
22081
+ integrationToolName: string;
22082
+ }, {
22083
+ type: "integration-tool";
22084
+ diagramID: string;
22085
+ nodeID: string;
22086
+ integrationToolName: string;
22087
+ }>, z.ZodObject<{
22088
+ type: z.ZodLiteral<"mcp-integration-tool">;
22089
+ nodeID: z.ZodString;
22090
+ diagramID: z.ZodString;
22091
+ mcpToolName: z.ZodString;
22092
+ }, "strip", z.ZodTypeAny, {
22093
+ type: "mcp-integration-tool";
22094
+ diagramID: string;
22095
+ nodeID: string;
22096
+ mcpToolName: string;
22097
+ }, {
22098
+ type: "mcp-integration-tool";
22099
+ diagramID: string;
22100
+ nodeID: string;
22101
+ mcpToolName: string;
22102
+ }>]>>;
21561
22103
  }, "strip", z.ZodTypeAny, {
21562
22104
  messageID: string;
21563
22105
  state: "start";
21564
22106
  ai?: boolean | undefined;
21565
22107
  delay?: number | undefined;
22108
+ ref?: {
22109
+ type: "node";
22110
+ diagramID: string;
22111
+ nodeID: string;
22112
+ nodeType: string;
22113
+ } | {
22114
+ type: "agent";
22115
+ diagramID: string;
22116
+ nodeID: string;
22117
+ agentID: string;
22118
+ agentName?: string | undefined;
22119
+ } | {
22120
+ type: "api-tool";
22121
+ diagramID: string;
22122
+ nodeID: string;
22123
+ apiToolID: string;
22124
+ apiToolName?: string | undefined;
22125
+ } | {
22126
+ type: "integration-tool";
22127
+ diagramID: string;
22128
+ nodeID: string;
22129
+ integrationToolName: string;
22130
+ } | {
22131
+ type: "mcp-integration-tool";
22132
+ diagramID: string;
22133
+ nodeID: string;
22134
+ mcpToolName: string;
22135
+ } | {
22136
+ type: "function";
22137
+ diagramID: string;
22138
+ nodeID: string;
22139
+ functionID: string;
22140
+ functionName?: string | undefined;
22141
+ } | {
22142
+ type: "prompt";
22143
+ diagramID: string;
22144
+ nodeID: string;
22145
+ promptID: string;
22146
+ } | undefined;
21566
22147
  sourceUrls?: {
21567
22148
  url: string;
21568
22149
  name?: string | undefined;
@@ -21572,6 +22153,45 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
21572
22153
  state: "start";
21573
22154
  ai?: boolean | undefined;
21574
22155
  delay?: number | undefined;
22156
+ ref?: {
22157
+ type: "node";
22158
+ diagramID: string;
22159
+ nodeID: string;
22160
+ nodeType: string;
22161
+ } | {
22162
+ type: "agent";
22163
+ diagramID: string;
22164
+ nodeID: string;
22165
+ agentID: string;
22166
+ agentName?: string | undefined;
22167
+ } | {
22168
+ type: "api-tool";
22169
+ diagramID: string;
22170
+ nodeID: string;
22171
+ apiToolID: string;
22172
+ apiToolName?: string | undefined;
22173
+ } | {
22174
+ type: "integration-tool";
22175
+ diagramID: string;
22176
+ nodeID: string;
22177
+ integrationToolName: string;
22178
+ } | {
22179
+ type: "mcp-integration-tool";
22180
+ diagramID: string;
22181
+ nodeID: string;
22182
+ mcpToolName: string;
22183
+ } | {
22184
+ type: "function";
22185
+ diagramID: string;
22186
+ nodeID: string;
22187
+ functionID: string;
22188
+ functionName?: string | undefined;
22189
+ } | {
22190
+ type: "prompt";
22191
+ diagramID: string;
22192
+ nodeID: string;
22193
+ promptID: string;
22194
+ } | undefined;
21575
22195
  sourceUrls?: {
21576
22196
  url: string;
21577
22197
  name?: string | undefined;
@@ -21792,6 +22412,45 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
21792
22412
  state: "start";
21793
22413
  ai?: boolean | undefined;
21794
22414
  delay?: number | undefined;
22415
+ ref?: {
22416
+ type: "node";
22417
+ diagramID: string;
22418
+ nodeID: string;
22419
+ nodeType: string;
22420
+ } | {
22421
+ type: "agent";
22422
+ diagramID: string;
22423
+ nodeID: string;
22424
+ agentID: string;
22425
+ agentName?: string | undefined;
22426
+ } | {
22427
+ type: "api-tool";
22428
+ diagramID: string;
22429
+ nodeID: string;
22430
+ apiToolID: string;
22431
+ apiToolName?: string | undefined;
22432
+ } | {
22433
+ type: "integration-tool";
22434
+ diagramID: string;
22435
+ nodeID: string;
22436
+ integrationToolName: string;
22437
+ } | {
22438
+ type: "mcp-integration-tool";
22439
+ diagramID: string;
22440
+ nodeID: string;
22441
+ mcpToolName: string;
22442
+ } | {
22443
+ type: "function";
22444
+ diagramID: string;
22445
+ nodeID: string;
22446
+ functionID: string;
22447
+ functionName?: string | undefined;
22448
+ } | {
22449
+ type: "prompt";
22450
+ diagramID: string;
22451
+ nodeID: string;
22452
+ promptID: string;
22453
+ } | undefined;
21795
22454
  sourceUrls?: {
21796
22455
  url: string;
21797
22456
  name?: string | undefined;
@@ -21862,6 +22521,45 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
21862
22521
  state: "start";
21863
22522
  ai?: boolean | undefined;
21864
22523
  delay?: number | undefined;
22524
+ ref?: {
22525
+ type: "node";
22526
+ diagramID: string;
22527
+ nodeID: string;
22528
+ nodeType: string;
22529
+ } | {
22530
+ type: "agent";
22531
+ diagramID: string;
22532
+ nodeID: string;
22533
+ agentID: string;
22534
+ agentName?: string | undefined;
22535
+ } | {
22536
+ type: "api-tool";
22537
+ diagramID: string;
22538
+ nodeID: string;
22539
+ apiToolID: string;
22540
+ apiToolName?: string | undefined;
22541
+ } | {
22542
+ type: "integration-tool";
22543
+ diagramID: string;
22544
+ nodeID: string;
22545
+ integrationToolName: string;
22546
+ } | {
22547
+ type: "mcp-integration-tool";
22548
+ diagramID: string;
22549
+ nodeID: string;
22550
+ mcpToolName: string;
22551
+ } | {
22552
+ type: "function";
22553
+ diagramID: string;
22554
+ nodeID: string;
22555
+ functionID: string;
22556
+ functionName?: string | undefined;
22557
+ } | {
22558
+ type: "prompt";
22559
+ diagramID: string;
22560
+ nodeID: string;
22561
+ promptID: string;
22562
+ } | undefined;
21865
22563
  sourceUrls?: {
21866
22564
  url: string;
21867
22565
  name?: string | undefined;
@@ -25077,6 +25775,45 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
25077
25775
  state: "start";
25078
25776
  ai?: boolean | undefined;
25079
25777
  delay?: number | undefined;
25778
+ ref?: {
25779
+ type: "node";
25780
+ diagramID: string;
25781
+ nodeID: string;
25782
+ nodeType: string;
25783
+ } | {
25784
+ type: "agent";
25785
+ diagramID: string;
25786
+ nodeID: string;
25787
+ agentID: string;
25788
+ agentName?: string | undefined;
25789
+ } | {
25790
+ type: "api-tool";
25791
+ diagramID: string;
25792
+ nodeID: string;
25793
+ apiToolID: string;
25794
+ apiToolName?: string | undefined;
25795
+ } | {
25796
+ type: "integration-tool";
25797
+ diagramID: string;
25798
+ nodeID: string;
25799
+ integrationToolName: string;
25800
+ } | {
25801
+ type: "mcp-integration-tool";
25802
+ diagramID: string;
25803
+ nodeID: string;
25804
+ mcpToolName: string;
25805
+ } | {
25806
+ type: "function";
25807
+ diagramID: string;
25808
+ nodeID: string;
25809
+ functionID: string;
25810
+ functionName?: string | undefined;
25811
+ } | {
25812
+ type: "prompt";
25813
+ diagramID: string;
25814
+ nodeID: string;
25815
+ promptID: string;
25816
+ } | undefined;
25080
25817
  sourceUrls?: {
25081
25818
  url: string;
25082
25819
  name?: string | undefined;
@@ -25873,6 +26610,45 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
25873
26610
  state: "start";
25874
26611
  ai?: boolean | undefined;
25875
26612
  delay?: number | undefined;
26613
+ ref?: {
26614
+ type: "node";
26615
+ diagramID: string;
26616
+ nodeID: string;
26617
+ nodeType: string;
26618
+ } | {
26619
+ type: "agent";
26620
+ diagramID: string;
26621
+ nodeID: string;
26622
+ agentID: string;
26623
+ agentName?: string | undefined;
26624
+ } | {
26625
+ type: "api-tool";
26626
+ diagramID: string;
26627
+ nodeID: string;
26628
+ apiToolID: string;
26629
+ apiToolName?: string | undefined;
26630
+ } | {
26631
+ type: "integration-tool";
26632
+ diagramID: string;
26633
+ nodeID: string;
26634
+ integrationToolName: string;
26635
+ } | {
26636
+ type: "mcp-integration-tool";
26637
+ diagramID: string;
26638
+ nodeID: string;
26639
+ mcpToolName: string;
26640
+ } | {
26641
+ type: "function";
26642
+ diagramID: string;
26643
+ nodeID: string;
26644
+ functionID: string;
26645
+ functionName?: string | undefined;
26646
+ } | {
26647
+ type: "prompt";
26648
+ diagramID: string;
26649
+ nodeID: string;
26650
+ promptID: string;
26651
+ } | undefined;
25876
26652
  sourceUrls?: {
25877
26653
  url: string;
25878
26654
  name?: string | undefined;
@@ -26672,6 +27448,45 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
26672
27448
  state: "start";
26673
27449
  ai?: boolean | undefined;
26674
27450
  delay?: number | undefined;
27451
+ ref?: {
27452
+ type: "node";
27453
+ diagramID: string;
27454
+ nodeID: string;
27455
+ nodeType: string;
27456
+ } | {
27457
+ type: "agent";
27458
+ diagramID: string;
27459
+ nodeID: string;
27460
+ agentID: string;
27461
+ agentName?: string | undefined;
27462
+ } | {
27463
+ type: "api-tool";
27464
+ diagramID: string;
27465
+ nodeID: string;
27466
+ apiToolID: string;
27467
+ apiToolName?: string | undefined;
27468
+ } | {
27469
+ type: "integration-tool";
27470
+ diagramID: string;
27471
+ nodeID: string;
27472
+ integrationToolName: string;
27473
+ } | {
27474
+ type: "mcp-integration-tool";
27475
+ diagramID: string;
27476
+ nodeID: string;
27477
+ mcpToolName: string;
27478
+ } | {
27479
+ type: "function";
27480
+ diagramID: string;
27481
+ nodeID: string;
27482
+ functionID: string;
27483
+ functionName?: string | undefined;
27484
+ } | {
27485
+ type: "prompt";
27486
+ diagramID: string;
27487
+ nodeID: string;
27488
+ promptID: string;
27489
+ } | undefined;
26675
27490
  sourceUrls?: {
26676
27491
  url: string;
26677
27492
  name?: string | undefined;
@@ -27471,6 +28286,45 @@ export declare const SocketMessageDTO: z.ZodUnion<[z.ZodDiscriminatedUnion<"type
27471
28286
  state: "start";
27472
28287
  ai?: boolean | undefined;
27473
28288
  delay?: number | undefined;
28289
+ ref?: {
28290
+ type: "node";
28291
+ diagramID: string;
28292
+ nodeID: string;
28293
+ nodeType: string;
28294
+ } | {
28295
+ type: "agent";
28296
+ diagramID: string;
28297
+ nodeID: string;
28298
+ agentID: string;
28299
+ agentName?: string | undefined;
28300
+ } | {
28301
+ type: "api-tool";
28302
+ diagramID: string;
28303
+ nodeID: string;
28304
+ apiToolID: string;
28305
+ apiToolName?: string | undefined;
28306
+ } | {
28307
+ type: "integration-tool";
28308
+ diagramID: string;
28309
+ nodeID: string;
28310
+ integrationToolName: string;
28311
+ } | {
28312
+ type: "mcp-integration-tool";
28313
+ diagramID: string;
28314
+ nodeID: string;
28315
+ mcpToolName: string;
28316
+ } | {
28317
+ type: "function";
28318
+ diagramID: string;
28319
+ nodeID: string;
28320
+ functionID: string;
28321
+ functionName?: string | undefined;
28322
+ } | {
28323
+ type: "prompt";
28324
+ diagramID: string;
28325
+ nodeID: string;
28326
+ promptID: string;
28327
+ } | undefined;
27474
28328
  sourceUrls?: {
27475
28329
  url: string;
27476
28330
  name?: string | undefined;