@voiceflow/dtos-interact 1.64.0 → 1.65.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.
@@ -55,66 +55,78 @@ export declare const TextTraceDTO: z.ZodObject<{
55
55
  nodeID: z.ZodString;
56
56
  nodeType: z.ZodString;
57
57
  diagramID: z.ZodString;
58
+ diagramName: z.ZodOptional<z.ZodString>;
58
59
  }, "strip", z.ZodTypeAny, {
59
60
  type: "node";
60
61
  diagramID: string;
61
62
  nodeID: string;
62
63
  nodeType: string;
64
+ diagramName?: string | undefined;
63
65
  }, {
64
66
  type: "node";
65
67
  diagramID: string;
66
68
  nodeID: string;
67
69
  nodeType: string;
70
+ diagramName?: string | undefined;
68
71
  }>, z.ZodObject<{
69
72
  type: z.ZodLiteral<"agent">;
70
73
  nodeID: z.ZodString;
71
74
  agentID: z.ZodString;
72
75
  diagramID: z.ZodString;
73
76
  agentName: z.ZodOptional<z.ZodString>;
77
+ diagramName: z.ZodOptional<z.ZodString>;
74
78
  }, "strip", z.ZodTypeAny, {
75
79
  type: "agent";
76
80
  diagramID: string;
77
81
  nodeID: string;
78
82
  agentID: string;
83
+ diagramName?: string | undefined;
79
84
  agentName?: string | undefined;
80
85
  }, {
81
86
  type: "agent";
82
87
  diagramID: string;
83
88
  nodeID: string;
84
89
  agentID: string;
90
+ diagramName?: string | undefined;
85
91
  agentName?: string | undefined;
86
92
  }>, z.ZodObject<{
87
93
  type: z.ZodLiteral<"prompt">;
88
94
  nodeID: z.ZodString;
89
95
  promptID: z.ZodString;
90
96
  diagramID: z.ZodString;
97
+ diagramName: z.ZodOptional<z.ZodString>;
91
98
  }, "strip", z.ZodTypeAny, {
92
99
  type: "prompt";
93
100
  diagramID: string;
94
101
  nodeID: string;
95
102
  promptID: string;
103
+ diagramName?: string | undefined;
96
104
  }, {
97
105
  type: "prompt";
98
106
  diagramID: string;
99
107
  nodeID: string;
100
108
  promptID: string;
109
+ diagramName?: string | undefined;
101
110
  }>, z.ZodObject<{
102
111
  type: z.ZodLiteral<"api-tool">;
103
112
  nodeID: z.ZodString;
104
113
  diagramID: z.ZodString;
105
114
  apiToolID: z.ZodString;
106
115
  apiToolName: z.ZodOptional<z.ZodString>;
116
+ diagramName: z.ZodOptional<z.ZodString>;
107
117
  }, "strip", z.ZodTypeAny, {
108
118
  type: "api-tool";
109
119
  diagramID: string;
110
120
  nodeID: string;
111
121
  apiToolID: string;
122
+ diagramName?: string | undefined;
112
123
  apiToolName?: string | undefined;
113
124
  }, {
114
125
  type: "api-tool";
115
126
  diagramID: string;
116
127
  nodeID: string;
117
128
  apiToolID: string;
129
+ diagramName?: string | undefined;
118
130
  apiToolName?: string | undefined;
119
131
  }>, z.ZodObject<{
120
132
  type: z.ZodLiteral<"function">;
@@ -122,48 +134,57 @@ export declare const TextTraceDTO: z.ZodObject<{
122
134
  diagramID: z.ZodString;
123
135
  functionID: z.ZodString;
124
136
  functionName: z.ZodOptional<z.ZodString>;
137
+ diagramName: z.ZodOptional<z.ZodString>;
125
138
  }, "strip", z.ZodTypeAny, {
126
139
  type: "function";
127
140
  diagramID: string;
128
141
  nodeID: string;
129
142
  functionID: string;
143
+ diagramName?: string | undefined;
130
144
  functionName?: string | undefined;
131
145
  }, {
132
146
  type: "function";
133
147
  diagramID: string;
134
148
  nodeID: string;
135
149
  functionID: string;
150
+ diagramName?: string | undefined;
136
151
  functionName?: string | undefined;
137
152
  }>, z.ZodObject<{
138
153
  type: z.ZodLiteral<"integration-tool">;
139
154
  nodeID: z.ZodString;
140
155
  diagramID: z.ZodString;
156
+ diagramName: z.ZodOptional<z.ZodString>;
141
157
  integrationToolName: z.ZodString;
142
158
  }, "strip", z.ZodTypeAny, {
143
159
  type: "integration-tool";
144
160
  diagramID: string;
145
161
  nodeID: string;
146
162
  integrationToolName: string;
163
+ diagramName?: string | undefined;
147
164
  }, {
148
165
  type: "integration-tool";
149
166
  diagramID: string;
150
167
  nodeID: string;
151
168
  integrationToolName: string;
169
+ diagramName?: string | undefined;
152
170
  }>, z.ZodObject<{
153
171
  type: z.ZodLiteral<"mcp-integration-tool">;
154
172
  nodeID: z.ZodString;
155
173
  diagramID: z.ZodString;
156
174
  mcpToolName: z.ZodString;
175
+ diagramName: z.ZodOptional<z.ZodString>;
157
176
  }, "strip", z.ZodTypeAny, {
158
177
  type: "mcp-integration-tool";
159
178
  diagramID: string;
160
179
  nodeID: string;
161
180
  mcpToolName: string;
181
+ diagramName?: string | undefined;
162
182
  }, {
163
183
  type: "mcp-integration-tool";
164
184
  diagramID: string;
165
185
  nodeID: string;
166
186
  mcpToolName: string;
187
+ diagramName?: string | undefined;
167
188
  }>]>>;
168
189
  slate: z.ZodObject<{
169
190
  id: z.ZodString;
@@ -213,39 +234,46 @@ export declare const TextTraceDTO: z.ZodObject<{
213
234
  diagramID: string;
214
235
  nodeID: string;
215
236
  nodeType: string;
237
+ diagramName?: string | undefined;
216
238
  } | {
217
239
  type: "agent";
218
240
  diagramID: string;
219
241
  nodeID: string;
220
242
  agentID: string;
243
+ diagramName?: string | undefined;
221
244
  agentName?: string | undefined;
222
245
  } | {
223
246
  type: "api-tool";
224
247
  diagramID: string;
225
248
  nodeID: string;
226
249
  apiToolID: string;
250
+ diagramName?: string | undefined;
227
251
  apiToolName?: string | undefined;
228
252
  } | {
229
253
  type: "integration-tool";
230
254
  diagramID: string;
231
255
  nodeID: string;
232
256
  integrationToolName: string;
257
+ diagramName?: string | undefined;
233
258
  } | {
234
259
  type: "mcp-integration-tool";
235
260
  diagramID: string;
236
261
  nodeID: string;
237
262
  mcpToolName: string;
263
+ diagramName?: string | undefined;
238
264
  } | {
239
265
  type: "function";
240
266
  diagramID: string;
241
267
  nodeID: string;
242
268
  functionID: string;
269
+ diagramName?: string | undefined;
243
270
  functionName?: string | undefined;
244
271
  } | {
245
272
  type: "prompt";
246
273
  diagramID: string;
247
274
  nodeID: string;
248
275
  promptID: string;
276
+ diagramName?: string | undefined;
249
277
  } | undefined;
250
278
  sourceUrls?: {
251
279
  url: string;
@@ -269,39 +297,46 @@ export declare const TextTraceDTO: z.ZodObject<{
269
297
  diagramID: string;
270
298
  nodeID: string;
271
299
  nodeType: string;
300
+ diagramName?: string | undefined;
272
301
  } | {
273
302
  type: "agent";
274
303
  diagramID: string;
275
304
  nodeID: string;
276
305
  agentID: string;
306
+ diagramName?: string | undefined;
277
307
  agentName?: string | undefined;
278
308
  } | {
279
309
  type: "api-tool";
280
310
  diagramID: string;
281
311
  nodeID: string;
282
312
  apiToolID: string;
313
+ diagramName?: string | undefined;
283
314
  apiToolName?: string | undefined;
284
315
  } | {
285
316
  type: "integration-tool";
286
317
  diagramID: string;
287
318
  nodeID: string;
288
319
  integrationToolName: string;
320
+ diagramName?: string | undefined;
289
321
  } | {
290
322
  type: "mcp-integration-tool";
291
323
  diagramID: string;
292
324
  nodeID: string;
293
325
  mcpToolName: string;
326
+ diagramName?: string | undefined;
294
327
  } | {
295
328
  type: "function";
296
329
  diagramID: string;
297
330
  nodeID: string;
298
331
  functionID: string;
332
+ diagramName?: string | undefined;
299
333
  functionName?: string | undefined;
300
334
  } | {
301
335
  type: "prompt";
302
336
  diagramID: string;
303
337
  nodeID: string;
304
338
  promptID: string;
339
+ diagramName?: string | undefined;
305
340
  } | undefined;
306
341
  sourceUrls?: {
307
342
  url: string;
@@ -328,39 +363,46 @@ export declare const TextTraceDTO: z.ZodObject<{
328
363
  diagramID: string;
329
364
  nodeID: string;
330
365
  nodeType: string;
366
+ diagramName?: string | undefined;
331
367
  } | {
332
368
  type: "agent";
333
369
  diagramID: string;
334
370
  nodeID: string;
335
371
  agentID: string;
372
+ diagramName?: string | undefined;
336
373
  agentName?: string | undefined;
337
374
  } | {
338
375
  type: "api-tool";
339
376
  diagramID: string;
340
377
  nodeID: string;
341
378
  apiToolID: string;
379
+ diagramName?: string | undefined;
342
380
  apiToolName?: string | undefined;
343
381
  } | {
344
382
  type: "integration-tool";
345
383
  diagramID: string;
346
384
  nodeID: string;
347
385
  integrationToolName: string;
386
+ diagramName?: string | undefined;
348
387
  } | {
349
388
  type: "mcp-integration-tool";
350
389
  diagramID: string;
351
390
  nodeID: string;
352
391
  mcpToolName: string;
392
+ diagramName?: string | undefined;
353
393
  } | {
354
394
  type: "function";
355
395
  diagramID: string;
356
396
  nodeID: string;
357
397
  functionID: string;
398
+ diagramName?: string | undefined;
358
399
  functionName?: string | undefined;
359
400
  } | {
360
401
  type: "prompt";
361
402
  diagramID: string;
362
403
  nodeID: string;
363
404
  promptID: string;
405
+ diagramName?: string | undefined;
364
406
  } | undefined;
365
407
  sourceUrls?: {
366
408
  url: string;
@@ -401,39 +443,46 @@ export declare const TextTraceDTO: z.ZodObject<{
401
443
  diagramID: string;
402
444
  nodeID: string;
403
445
  nodeType: string;
446
+ diagramName?: string | undefined;
404
447
  } | {
405
448
  type: "agent";
406
449
  diagramID: string;
407
450
  nodeID: string;
408
451
  agentID: string;
452
+ diagramName?: string | undefined;
409
453
  agentName?: string | undefined;
410
454
  } | {
411
455
  type: "api-tool";
412
456
  diagramID: string;
413
457
  nodeID: string;
414
458
  apiToolID: string;
459
+ diagramName?: string | undefined;
415
460
  apiToolName?: string | undefined;
416
461
  } | {
417
462
  type: "integration-tool";
418
463
  diagramID: string;
419
464
  nodeID: string;
420
465
  integrationToolName: string;
466
+ diagramName?: string | undefined;
421
467
  } | {
422
468
  type: "mcp-integration-tool";
423
469
  diagramID: string;
424
470
  nodeID: string;
425
471
  mcpToolName: string;
472
+ diagramName?: string | undefined;
426
473
  } | {
427
474
  type: "function";
428
475
  diagramID: string;
429
476
  nodeID: string;
430
477
  functionID: string;
478
+ diagramName?: string | undefined;
431
479
  functionName?: string | undefined;
432
480
  } | {
433
481
  type: "prompt";
434
482
  diagramID: string;
435
483
  nodeID: string;
436
484
  promptID: string;
485
+ diagramName?: string | undefined;
437
486
  } | undefined;
438
487
  sourceUrls?: {
439
488
  url: string;
@@ -1 +1 @@
1
- {"version":3,"file":"text.dto.d.ts","sourceRoot":"","sources":["../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