@voiceflow/dtos-interact 1.18.2 → 1.18.3

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.
@@ -1111,60 +1111,93 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1111
1111
  ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1112
1112
  type: z.ZodLiteral<"node">;
1113
1113
  nodeID: z.ZodString;
1114
+ nodeType: z.ZodString;
1114
1115
  diagramID: z.ZodString;
1115
1116
  }, "strip", z.ZodTypeAny, {
1116
1117
  type: "node";
1117
1118
  diagramID: string;
1118
1119
  nodeID: string;
1120
+ nodeType: string;
1119
1121
  }, {
1120
1122
  type: "node";
1121
1123
  diagramID: string;
1122
1124
  nodeID: string;
1125
+ nodeType: string;
1123
1126
  }>, z.ZodObject<{
1124
1127
  type: z.ZodLiteral<"agent">;
1128
+ nodeID: z.ZodString;
1125
1129
  agentID: z.ZodString;
1130
+ diagramID: z.ZodString;
1126
1131
  }, "strip", z.ZodTypeAny, {
1127
1132
  type: "agent";
1133
+ diagramID: string;
1134
+ nodeID: string;
1128
1135
  agentID: string;
1129
1136
  }, {
1130
1137
  type: "agent";
1138
+ diagramID: string;
1139
+ nodeID: string;
1131
1140
  agentID: string;
1132
1141
  }>, z.ZodObject<{
1133
1142
  type: z.ZodLiteral<"prompt">;
1143
+ nodeID: z.ZodString;
1134
1144
  promptID: z.ZodString;
1145
+ diagramID: z.ZodString;
1135
1146
  }, "strip", z.ZodTypeAny, {
1136
1147
  type: "prompt";
1148
+ diagramID: string;
1149
+ nodeID: string;
1137
1150
  promptID: string;
1138
1151
  }, {
1139
1152
  type: "prompt";
1153
+ diagramID: string;
1154
+ nodeID: string;
1140
1155
  promptID: string;
1141
1156
  }>, z.ZodObject<{
1142
1157
  type: z.ZodLiteral<"api-tool">;
1158
+ nodeID: z.ZodString;
1159
+ diagramID: z.ZodString;
1143
1160
  apiToolID: z.ZodString;
1144
1161
  }, "strip", z.ZodTypeAny, {
1145
1162
  type: "api-tool";
1163
+ diagramID: string;
1164
+ nodeID: string;
1146
1165
  apiToolID: string;
1147
1166
  }, {
1148
1167
  type: "api-tool";
1168
+ diagramID: string;
1169
+ nodeID: string;
1149
1170
  apiToolID: string;
1150
1171
  }>, z.ZodObject<{
1151
1172
  type: z.ZodLiteral<"function">;
1173
+ nodeID: z.ZodString;
1174
+ diagramID: z.ZodString;
1152
1175
  functionID: z.ZodString;
1153
1176
  }, "strip", z.ZodTypeAny, {
1154
1177
  type: "function";
1178
+ diagramID: string;
1179
+ nodeID: string;
1155
1180
  functionID: string;
1156
1181
  }, {
1157
1182
  type: "function";
1183
+ diagramID: string;
1184
+ nodeID: string;
1158
1185
  functionID: string;
1159
1186
  }>, z.ZodObject<{
1160
1187
  type: z.ZodLiteral<"integration-tool">;
1161
- integrationToolID: z.ZodString;
1188
+ nodeID: z.ZodString;
1189
+ diagramID: z.ZodString;
1190
+ integrationToolName: z.ZodString;
1162
1191
  }, "strip", z.ZodTypeAny, {
1163
1192
  type: "integration-tool";
1164
- integrationToolID: string;
1193
+ diagramID: string;
1194
+ nodeID: string;
1195
+ integrationToolName: string;
1165
1196
  }, {
1166
1197
  type: "integration-tool";
1167
- integrationToolID: string;
1198
+ diagramID: string;
1199
+ nodeID: string;
1200
+ integrationToolName: string;
1168
1201
  }>]>>;
1169
1202
  type: z.ZodOptional<z.ZodString>;
1170
1203
  level: z.ZodOptional<z.ZodNativeEnum<{
@@ -1183,20 +1216,31 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1183
1216
  type: "node";
1184
1217
  diagramID: string;
1185
1218
  nodeID: string;
1219
+ nodeType: string;
1186
1220
  } | {
1187
1221
  type: "agent";
1222
+ diagramID: string;
1223
+ nodeID: string;
1188
1224
  agentID: string;
1189
1225
  } | {
1190
1226
  type: "api-tool";
1227
+ diagramID: string;
1228
+ nodeID: string;
1191
1229
  apiToolID: string;
1192
1230
  } | {
1193
1231
  type: "integration-tool";
1194
- integrationToolID: string;
1232
+ diagramID: string;
1233
+ nodeID: string;
1234
+ integrationToolName: string;
1195
1235
  } | {
1196
1236
  type: "function";
1237
+ diagramID: string;
1238
+ nodeID: string;
1197
1239
  functionID: string;
1198
1240
  } | {
1199
1241
  type: "prompt";
1242
+ diagramID: string;
1243
+ nodeID: string;
1200
1244
  promptID: string;
1201
1245
  } | undefined;
1202
1246
  type?: string | undefined;
@@ -1209,20 +1253,31 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1209
1253
  type: "node";
1210
1254
  diagramID: string;
1211
1255
  nodeID: string;
1256
+ nodeType: string;
1212
1257
  } | {
1213
1258
  type: "agent";
1259
+ diagramID: string;
1260
+ nodeID: string;
1214
1261
  agentID: string;
1215
1262
  } | {
1216
1263
  type: "api-tool";
1264
+ diagramID: string;
1265
+ nodeID: string;
1217
1266
  apiToolID: string;
1218
1267
  } | {
1219
1268
  type: "integration-tool";
1220
- integrationToolID: string;
1269
+ diagramID: string;
1270
+ nodeID: string;
1271
+ integrationToolName: string;
1221
1272
  } | {
1222
1273
  type: "function";
1274
+ diagramID: string;
1275
+ nodeID: string;
1223
1276
  functionID: string;
1224
1277
  } | {
1225
1278
  type: "prompt";
1279
+ diagramID: string;
1280
+ nodeID: string;
1226
1281
  promptID: string;
1227
1282
  } | undefined;
1228
1283
  type?: string | undefined;
@@ -1238,20 +1293,31 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1238
1293
  type: "node";
1239
1294
  diagramID: string;
1240
1295
  nodeID: string;
1296
+ nodeType: string;
1241
1297
  } | {
1242
1298
  type: "agent";
1299
+ diagramID: string;
1300
+ nodeID: string;
1243
1301
  agentID: string;
1244
1302
  } | {
1245
1303
  type: "api-tool";
1304
+ diagramID: string;
1305
+ nodeID: string;
1246
1306
  apiToolID: string;
1247
1307
  } | {
1248
1308
  type: "integration-tool";
1249
- integrationToolID: string;
1309
+ diagramID: string;
1310
+ nodeID: string;
1311
+ integrationToolName: string;
1250
1312
  } | {
1251
1313
  type: "function";
1314
+ diagramID: string;
1315
+ nodeID: string;
1252
1316
  functionID: string;
1253
1317
  } | {
1254
1318
  type: "prompt";
1319
+ diagramID: string;
1320
+ nodeID: string;
1255
1321
  promptID: string;
1256
1322
  } | undefined;
1257
1323
  type?: string | undefined;
@@ -1277,20 +1343,31 @@ export declare const AnyTraceDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1277
1343
  type: "node";
1278
1344
  diagramID: string;
1279
1345
  nodeID: string;
1346
+ nodeType: string;
1280
1347
  } | {
1281
1348
  type: "agent";
1349
+ diagramID: string;
1350
+ nodeID: string;
1282
1351
  agentID: string;
1283
1352
  } | {
1284
1353
  type: "api-tool";
1354
+ diagramID: string;
1355
+ nodeID: string;
1285
1356
  apiToolID: string;
1286
1357
  } | {
1287
1358
  type: "integration-tool";
1288
- integrationToolID: string;
1359
+ diagramID: string;
1360
+ nodeID: string;
1361
+ integrationToolName: string;
1289
1362
  } | {
1290
1363
  type: "function";
1364
+ diagramID: string;
1365
+ nodeID: string;
1291
1366
  functionID: string;
1292
1367
  } | {
1293
1368
  type: "prompt";
1369
+ diagramID: string;
1370
+ nodeID: string;
1294
1371
  promptID: string;
1295
1372
  } | undefined;
1296
1373
  type?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"any.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/any.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqBtB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -20,129 +20,195 @@ export type DebugTraceLevel = Enum<typeof DebugTraceLevel>;
20
20
  export declare const DebugTraceNodeRefDTO: z.ZodObject<{
21
21
  type: z.ZodLiteral<"node">;
22
22
  nodeID: z.ZodString;
23
+ nodeType: z.ZodString;
23
24
  diagramID: z.ZodString;
24
25
  }, "strip", z.ZodTypeAny, {
25
26
  type: "node";
26
27
  diagramID: string;
27
28
  nodeID: string;
29
+ nodeType: string;
28
30
  }, {
29
31
  type: "node";
30
32
  diagramID: string;
31
33
  nodeID: string;
34
+ nodeType: string;
32
35
  }>;
33
36
  export type DebugTraceNodeRef = z.infer<typeof DebugTraceNodeRefDTO>;
34
37
  export declare const DebugTraceAgentRefDTO: z.ZodObject<{
35
38
  type: z.ZodLiteral<"agent">;
39
+ nodeID: z.ZodString;
36
40
  agentID: z.ZodString;
41
+ diagramID: z.ZodString;
37
42
  }, "strip", z.ZodTypeAny, {
38
43
  type: "agent";
44
+ diagramID: string;
45
+ nodeID: string;
39
46
  agentID: string;
40
47
  }, {
41
48
  type: "agent";
49
+ diagramID: string;
50
+ nodeID: string;
42
51
  agentID: string;
43
52
  }>;
44
53
  export type DebugTraceAgentRef = z.infer<typeof DebugTraceAgentRefDTO>;
45
54
  export declare const DebugTraceAPIToolRefDTO: z.ZodObject<{
46
55
  type: z.ZodLiteral<"api-tool">;
56
+ nodeID: z.ZodString;
57
+ diagramID: z.ZodString;
47
58
  apiToolID: z.ZodString;
48
59
  }, "strip", z.ZodTypeAny, {
49
60
  type: "api-tool";
61
+ diagramID: string;
62
+ nodeID: string;
50
63
  apiToolID: string;
51
64
  }, {
52
65
  type: "api-tool";
66
+ diagramID: string;
67
+ nodeID: string;
53
68
  apiToolID: string;
54
69
  }>;
55
70
  export type DebugTraceAPIToolRef = z.infer<typeof DebugTraceAPIToolRefDTO>;
56
71
  export declare const DebugTraceIntegrationToolRefDTO: z.ZodObject<{
57
72
  type: z.ZodLiteral<"integration-tool">;
58
- integrationToolID: z.ZodString;
73
+ nodeID: z.ZodString;
74
+ diagramID: z.ZodString;
75
+ integrationToolName: z.ZodString;
59
76
  }, "strip", z.ZodTypeAny, {
60
77
  type: "integration-tool";
61
- integrationToolID: string;
78
+ diagramID: string;
79
+ nodeID: string;
80
+ integrationToolName: string;
62
81
  }, {
63
82
  type: "integration-tool";
64
- integrationToolID: string;
83
+ diagramID: string;
84
+ nodeID: string;
85
+ integrationToolName: string;
65
86
  }>;
66
87
  export type DebugTraceIntegrationToolRef = z.infer<typeof DebugTraceIntegrationToolRefDTO>;
67
88
  export declare const DebugTraceFunctionRefDTO: z.ZodObject<{
68
89
  type: z.ZodLiteral<"function">;
90
+ nodeID: z.ZodString;
91
+ diagramID: z.ZodString;
69
92
  functionID: z.ZodString;
70
93
  }, "strip", z.ZodTypeAny, {
71
94
  type: "function";
95
+ diagramID: string;
96
+ nodeID: string;
72
97
  functionID: string;
73
98
  }, {
74
99
  type: "function";
100
+ diagramID: string;
101
+ nodeID: string;
75
102
  functionID: string;
76
103
  }>;
77
104
  export type DebugTraceFunctionRef = z.infer<typeof DebugTraceFunctionRefDTO>;
78
105
  export declare const DebugTracePromptRefDTO: z.ZodObject<{
79
106
  type: z.ZodLiteral<"prompt">;
107
+ nodeID: z.ZodString;
80
108
  promptID: z.ZodString;
109
+ diagramID: z.ZodString;
81
110
  }, "strip", z.ZodTypeAny, {
82
111
  type: "prompt";
112
+ diagramID: string;
113
+ nodeID: string;
83
114
  promptID: string;
84
115
  }, {
85
116
  type: "prompt";
117
+ diagramID: string;
118
+ nodeID: string;
86
119
  promptID: string;
87
120
  }>;
88
121
  export type DebugTracePromptRef = z.infer<typeof DebugTracePromptRefDTO>;
89
122
  export declare const DebugTraceRefDTO: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
90
123
  type: z.ZodLiteral<"node">;
91
124
  nodeID: z.ZodString;
125
+ nodeType: z.ZodString;
92
126
  diagramID: z.ZodString;
93
127
  }, "strip", z.ZodTypeAny, {
94
128
  type: "node";
95
129
  diagramID: string;
96
130
  nodeID: string;
131
+ nodeType: string;
97
132
  }, {
98
133
  type: "node";
99
134
  diagramID: string;
100
135
  nodeID: string;
136
+ nodeType: string;
101
137
  }>, z.ZodObject<{
102
138
  type: z.ZodLiteral<"agent">;
139
+ nodeID: z.ZodString;
103
140
  agentID: z.ZodString;
141
+ diagramID: z.ZodString;
104
142
  }, "strip", z.ZodTypeAny, {
105
143
  type: "agent";
144
+ diagramID: string;
145
+ nodeID: string;
106
146
  agentID: string;
107
147
  }, {
108
148
  type: "agent";
149
+ diagramID: string;
150
+ nodeID: string;
109
151
  agentID: string;
110
152
  }>, z.ZodObject<{
111
153
  type: z.ZodLiteral<"prompt">;
154
+ nodeID: z.ZodString;
112
155
  promptID: z.ZodString;
156
+ diagramID: z.ZodString;
113
157
  }, "strip", z.ZodTypeAny, {
114
158
  type: "prompt";
159
+ diagramID: string;
160
+ nodeID: string;
115
161
  promptID: string;
116
162
  }, {
117
163
  type: "prompt";
164
+ diagramID: string;
165
+ nodeID: string;
118
166
  promptID: string;
119
167
  }>, z.ZodObject<{
120
168
  type: z.ZodLiteral<"api-tool">;
169
+ nodeID: z.ZodString;
170
+ diagramID: z.ZodString;
121
171
  apiToolID: z.ZodString;
122
172
  }, "strip", z.ZodTypeAny, {
123
173
  type: "api-tool";
174
+ diagramID: string;
175
+ nodeID: string;
124
176
  apiToolID: string;
125
177
  }, {
126
178
  type: "api-tool";
179
+ diagramID: string;
180
+ nodeID: string;
127
181
  apiToolID: string;
128
182
  }>, z.ZodObject<{
129
183
  type: z.ZodLiteral<"function">;
184
+ nodeID: z.ZodString;
185
+ diagramID: z.ZodString;
130
186
  functionID: z.ZodString;
131
187
  }, "strip", z.ZodTypeAny, {
132
188
  type: "function";
189
+ diagramID: string;
190
+ nodeID: string;
133
191
  functionID: string;
134
192
  }, {
135
193
  type: "function";
194
+ diagramID: string;
195
+ nodeID: string;
136
196
  functionID: string;
137
197
  }>, z.ZodObject<{
138
198
  type: z.ZodLiteral<"integration-tool">;
139
- integrationToolID: z.ZodString;
199
+ nodeID: z.ZodString;
200
+ diagramID: z.ZodString;
201
+ integrationToolName: z.ZodString;
140
202
  }, "strip", z.ZodTypeAny, {
141
203
  type: "integration-tool";
142
- integrationToolID: string;
204
+ diagramID: string;
205
+ nodeID: string;
206
+ integrationToolName: string;
143
207
  }, {
144
208
  type: "integration-tool";
145
- integrationToolID: string;
209
+ diagramID: string;
210
+ nodeID: string;
211
+ integrationToolName: string;
146
212
  }>]>;
147
213
  export type DebugTraceRef = z.infer<typeof DebugTraceRefDTO>;
148
214
  export declare const DebugTraceDTO: z.ZodObject<{
@@ -183,60 +249,93 @@ export declare const DebugTraceDTO: z.ZodObject<{
183
249
  ref: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
184
250
  type: z.ZodLiteral<"node">;
185
251
  nodeID: z.ZodString;
252
+ nodeType: z.ZodString;
186
253
  diagramID: z.ZodString;
187
254
  }, "strip", z.ZodTypeAny, {
188
255
  type: "node";
189
256
  diagramID: string;
190
257
  nodeID: string;
258
+ nodeType: string;
191
259
  }, {
192
260
  type: "node";
193
261
  diagramID: string;
194
262
  nodeID: string;
263
+ nodeType: string;
195
264
  }>, z.ZodObject<{
196
265
  type: z.ZodLiteral<"agent">;
266
+ nodeID: z.ZodString;
197
267
  agentID: z.ZodString;
268
+ diagramID: z.ZodString;
198
269
  }, "strip", z.ZodTypeAny, {
199
270
  type: "agent";
271
+ diagramID: string;
272
+ nodeID: string;
200
273
  agentID: string;
201
274
  }, {
202
275
  type: "agent";
276
+ diagramID: string;
277
+ nodeID: string;
203
278
  agentID: string;
204
279
  }>, z.ZodObject<{
205
280
  type: z.ZodLiteral<"prompt">;
281
+ nodeID: z.ZodString;
206
282
  promptID: z.ZodString;
283
+ diagramID: z.ZodString;
207
284
  }, "strip", z.ZodTypeAny, {
208
285
  type: "prompt";
286
+ diagramID: string;
287
+ nodeID: string;
209
288
  promptID: string;
210
289
  }, {
211
290
  type: "prompt";
291
+ diagramID: string;
292
+ nodeID: string;
212
293
  promptID: string;
213
294
  }>, z.ZodObject<{
214
295
  type: z.ZodLiteral<"api-tool">;
296
+ nodeID: z.ZodString;
297
+ diagramID: z.ZodString;
215
298
  apiToolID: z.ZodString;
216
299
  }, "strip", z.ZodTypeAny, {
217
300
  type: "api-tool";
301
+ diagramID: string;
302
+ nodeID: string;
218
303
  apiToolID: string;
219
304
  }, {
220
305
  type: "api-tool";
306
+ diagramID: string;
307
+ nodeID: string;
221
308
  apiToolID: string;
222
309
  }>, z.ZodObject<{
223
310
  type: z.ZodLiteral<"function">;
311
+ nodeID: z.ZodString;
312
+ diagramID: z.ZodString;
224
313
  functionID: z.ZodString;
225
314
  }, "strip", z.ZodTypeAny, {
226
315
  type: "function";
316
+ diagramID: string;
317
+ nodeID: string;
227
318
  functionID: string;
228
319
  }, {
229
320
  type: "function";
321
+ diagramID: string;
322
+ nodeID: string;
230
323
  functionID: string;
231
324
  }>, z.ZodObject<{
232
325
  type: z.ZodLiteral<"integration-tool">;
233
- integrationToolID: z.ZodString;
326
+ nodeID: z.ZodString;
327
+ diagramID: z.ZodString;
328
+ integrationToolName: z.ZodString;
234
329
  }, "strip", z.ZodTypeAny, {
235
330
  type: "integration-tool";
236
- integrationToolID: string;
331
+ diagramID: string;
332
+ nodeID: string;
333
+ integrationToolName: string;
237
334
  }, {
238
335
  type: "integration-tool";
239
- integrationToolID: string;
336
+ diagramID: string;
337
+ nodeID: string;
338
+ integrationToolName: string;
240
339
  }>]>>;
241
340
  type: z.ZodOptional<z.ZodString>;
242
341
  level: z.ZodOptional<z.ZodNativeEnum<{
@@ -255,20 +354,31 @@ export declare const DebugTraceDTO: z.ZodObject<{
255
354
  type: "node";
256
355
  diagramID: string;
257
356
  nodeID: string;
357
+ nodeType: string;
258
358
  } | {
259
359
  type: "agent";
360
+ diagramID: string;
361
+ nodeID: string;
260
362
  agentID: string;
261
363
  } | {
262
364
  type: "api-tool";
365
+ diagramID: string;
366
+ nodeID: string;
263
367
  apiToolID: string;
264
368
  } | {
265
369
  type: "integration-tool";
266
- integrationToolID: string;
370
+ diagramID: string;
371
+ nodeID: string;
372
+ integrationToolName: string;
267
373
  } | {
268
374
  type: "function";
375
+ diagramID: string;
376
+ nodeID: string;
269
377
  functionID: string;
270
378
  } | {
271
379
  type: "prompt";
380
+ diagramID: string;
381
+ nodeID: string;
272
382
  promptID: string;
273
383
  } | undefined;
274
384
  type?: string | undefined;
@@ -281,20 +391,31 @@ export declare const DebugTraceDTO: z.ZodObject<{
281
391
  type: "node";
282
392
  diagramID: string;
283
393
  nodeID: string;
394
+ nodeType: string;
284
395
  } | {
285
396
  type: "agent";
397
+ diagramID: string;
398
+ nodeID: string;
286
399
  agentID: string;
287
400
  } | {
288
401
  type: "api-tool";
402
+ diagramID: string;
403
+ nodeID: string;
289
404
  apiToolID: string;
290
405
  } | {
291
406
  type: "integration-tool";
292
- integrationToolID: string;
407
+ diagramID: string;
408
+ nodeID: string;
409
+ integrationToolName: string;
293
410
  } | {
294
411
  type: "function";
412
+ diagramID: string;
413
+ nodeID: string;
295
414
  functionID: string;
296
415
  } | {
297
416
  type: "prompt";
417
+ diagramID: string;
418
+ nodeID: string;
298
419
  promptID: string;
299
420
  } | undefined;
300
421
  type?: string | undefined;
@@ -310,20 +431,31 @@ export declare const DebugTraceDTO: z.ZodObject<{
310
431
  type: "node";
311
432
  diagramID: string;
312
433
  nodeID: string;
434
+ nodeType: string;
313
435
  } | {
314
436
  type: "agent";
437
+ diagramID: string;
438
+ nodeID: string;
315
439
  agentID: string;
316
440
  } | {
317
441
  type: "api-tool";
442
+ diagramID: string;
443
+ nodeID: string;
318
444
  apiToolID: string;
319
445
  } | {
320
446
  type: "integration-tool";
321
- integrationToolID: string;
447
+ diagramID: string;
448
+ nodeID: string;
449
+ integrationToolName: string;
322
450
  } | {
323
451
  type: "function";
452
+ diagramID: string;
453
+ nodeID: string;
324
454
  functionID: string;
325
455
  } | {
326
456
  type: "prompt";
457
+ diagramID: string;
458
+ nodeID: string;
327
459
  promptID: string;
328
460
  } | undefined;
329
461
  type?: string | undefined;
@@ -349,20 +481,31 @@ export declare const DebugTraceDTO: z.ZodObject<{
349
481
  type: "node";
350
482
  diagramID: string;
351
483
  nodeID: string;
484
+ nodeType: string;
352
485
  } | {
353
486
  type: "agent";
487
+ diagramID: string;
488
+ nodeID: string;
354
489
  agentID: string;
355
490
  } | {
356
491
  type: "api-tool";
492
+ diagramID: string;
493
+ nodeID: string;
357
494
  apiToolID: string;
358
495
  } | {
359
496
  type: "integration-tool";
360
- integrationToolID: string;
497
+ diagramID: string;
498
+ nodeID: string;
499
+ integrationToolName: string;
361
500
  } | {
362
501
  type: "function";
502
+ diagramID: string;
503
+ nodeID: string;
363
504
  functionID: string;
364
505
  } | {
365
506
  type: "prompt";
507
+ diagramID: string;
508
+ nodeID: string;
366
509
  promptID: string;
367
510
  } | undefined;
368
511
  type?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"debug.dto.d.ts","sourceRoot":"","sources":["../../../src/trace/debug.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAK9C,eAAO,MAAM,iBAAiB;;;;;;;CAOpB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE/D,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC;AAE3D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,MAAM,MAAM,iBAAiB,G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