@n8n/api-types 1.25.0 → 1.26.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 (108) hide show
  1. package/dist/agent-builder-interactive.d.ts +27 -6
  2. package/dist/agent-builder-interactive.js +8 -2
  3. package/dist/agent-builder-interactive.js.map +1 -1
  4. package/dist/agent-builder-tool-node-types.d.ts +2 -0
  5. package/dist/agent-builder-tool-node-types.js +15 -0
  6. package/dist/agent-builder-tool-node-types.js.map +1 -0
  7. package/dist/agent-sse.d.ts +8 -0
  8. package/dist/agents/agent-integration.schema.d.ts +54 -1
  9. package/dist/agents/agent-integration.schema.js +18 -1
  10. package/dist/agents/agent-integration.schema.js.map +1 -1
  11. package/dist/agents/agent-json-config.schema.d.ts +635 -425
  12. package/dist/agents/agent-json-config.schema.js +39 -16
  13. package/dist/agents/agent-json-config.schema.js.map +1 -1
  14. package/dist/agents/dto.d.ts +23 -0
  15. package/dist/agents/dto.js +8 -1
  16. package/dist/agents/dto.js.map +1 -1
  17. package/dist/agents/index.d.ts +5 -1
  18. package/dist/agents/index.js +9 -1
  19. package/dist/agents/index.js.map +1 -1
  20. package/dist/agents/model-providers.d.ts +3 -0
  21. package/dist/agents/model-providers.js +24 -0
  22. package/dist/agents/model-providers.js.map +1 -0
  23. package/dist/agents/sanitize-agent-json-config.d.ts +1 -0
  24. package/dist/agents/sanitize-agent-json-config.js +154 -0
  25. package/dist/agents/sanitize-agent-json-config.js.map +1 -0
  26. package/dist/agents/sub-agent.schema.d.ts +27 -0
  27. package/dist/agents/sub-agent.schema.js +7 -0
  28. package/dist/agents/sub-agent.schema.js.map +1 -0
  29. package/dist/agents/types.d.ts +3 -0
  30. package/dist/agents/types.js.map +1 -1
  31. package/dist/api-keys.d.ts +16 -1
  32. package/dist/build.tsbuildinfo +1 -1
  33. package/dist/chat-hub.d.ts +25 -25
  34. package/dist/dto/ai/ai-ask-request.dto.d.ts +11 -11
  35. package/dist/dto/ai/ai-build-request.dto.d.ts +0 -12
  36. package/dist/dto/ai/ai-build-request.dto.js +0 -2
  37. package/dist/dto/ai/ai-build-request.dto.js.map +1 -1
  38. package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +19 -0
  39. package/dist/dto/api-keys/list-api-keys-query.dto.js +25 -0
  40. package/dist/dto/api-keys/list-api-keys-query.dto.js.map +1 -0
  41. package/dist/dto/api-keys/update-api-key-request.dto.js +3 -1
  42. package/dist/dto/api-keys/update-api-key-request.dto.js.map +1 -1
  43. package/dist/dto/data-table/list-data-table-query.dto.d.ts +6 -6
  44. package/dist/dto/evaluations/evaluation-config.dto.d.ts +720 -100
  45. package/dist/dto/evaluations/evaluation-config.dto.js +37 -2
  46. package/dist/dto/evaluations/evaluation-config.dto.js.map +1 -1
  47. package/dist/dto/evaluations/evaluation-error-code.d.ts +1 -0
  48. package/dist/dto/evaluations/evaluation-error-code.js +1 -0
  49. package/dist/dto/evaluations/evaluation-error-code.js.map +1 -1
  50. package/dist/dto/folders/list-folder-query.dto.d.ts +3 -3
  51. package/dist/dto/index.d.ts +3 -0
  52. package/dist/dto/index.js +11 -3
  53. package/dist/dto/index.js.map +1 -1
  54. package/dist/dto/instance-ai/instance-ai-mcp-create-connection-request.dto.d.ts +11 -0
  55. package/dist/dto/instance-ai/instance-ai-mcp-create-connection-request.dto.js +12 -0
  56. package/dist/dto/instance-ai/instance-ai-mcp-create-connection-request.dto.js.map +1 -0
  57. package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.d.ts +13 -0
  58. package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js +13 -0
  59. package/dist/dto/instance-ai/instance-ai-mcp-update-connection-request.dto.js.map +1 -0
  60. package/dist/dto/log-streaming/create-destination.dto.d.ts +96 -96
  61. package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
  62. package/dist/dto/oidc/config.dto.d.ts +3 -1
  63. package/dist/dto/oidc/config.dto.js +1 -0
  64. package/dist/dto/oidc/config.dto.js.map +1 -1
  65. package/dist/dto/owner/owner-setup-request.dto.d.ts +1 -1
  66. package/dist/dto/packages/import-package-request.dto.d.ts +7 -1
  67. package/dist/dto/packages/import-package-request.dto.js +10 -1
  68. package/dist/dto/packages/import-package-request.dto.js.map +1 -1
  69. package/dist/dto/project/update-project.dto.js +1 -1
  70. package/dist/dto/project/update-project.dto.js.map +1 -1
  71. package/dist/dto/roles/role-project-members-response.dto.d.ts +5 -5
  72. package/dist/dto/source-control/push-work-folder-request.dto.d.ts +6 -6
  73. package/dist/dto/user/user-update-request.dto.js +2 -2
  74. package/dist/dto/user/user-update-request.dto.js.map +1 -1
  75. package/dist/dto/user/users-list-filter.dto.d.ts +3 -3
  76. package/dist/dto/workflows/base-workflow.dto.d.ts +9 -9
  77. package/dist/dto/workflows/base-workflow.dto.js +4 -4
  78. package/dist/dto/workflows/base-workflow.dto.js.map +1 -1
  79. package/dist/dto/workflows/create-workflow.dto.d.ts +9 -9
  80. package/dist/dto/workflows/update-workflow.dto.d.ts +9 -9
  81. package/dist/frontend-settings.d.ts +4 -0
  82. package/dist/index.d.ts +3 -2
  83. package/dist/index.js +4 -3
  84. package/dist/index.js.map +1 -1
  85. package/dist/instance-registry-types.d.ts +22 -22
  86. package/dist/push/execution.d.ts +4 -1
  87. package/dist/redaction-enforcement.d.ts +2 -16
  88. package/dist/redaction-enforcement.js +2 -12
  89. package/dist/redaction-enforcement.js.map +1 -1
  90. package/dist/schemas/breaking-changes.schema.d.ts +92 -92
  91. package/dist/schemas/credential-resolver.schema.d.ts +12 -12
  92. package/dist/schemas/credential-response.schema.d.ts +2 -2
  93. package/dist/schemas/data-table.schema.d.ts +2 -2
  94. package/dist/schemas/encryption-key.schema.d.ts +6 -6
  95. package/dist/schemas/evaluations.schema.d.ts +10 -0
  96. package/dist/schemas/evaluations.schema.js +2 -0
  97. package/dist/schemas/evaluations.schema.js.map +1 -1
  98. package/dist/schemas/instance-ai.schema.d.ts +332 -279
  99. package/dist/schemas/instance-ai.schema.js +12 -13
  100. package/dist/schemas/instance-ai.schema.js.map +1 -1
  101. package/dist/schemas/mcp-registry.schema.d.ts +29 -0
  102. package/dist/schemas/mcp-registry.schema.js +3 -0
  103. package/dist/schemas/mcp-registry.schema.js.map +1 -0
  104. package/dist/schemas/secrets-provider.schema.d.ts +12 -12
  105. package/dist/schemas/source-controlled-file.schema.d.ts +4 -4
  106. package/dist/schemas/usage.schema.d.ts +14 -14
  107. package/dist/schemas/user.schema.d.ts +18 -18
  108. package/package.json +7 -6
@@ -26,7 +26,7 @@ export declare const llmJudgeMetricInputsSchema: z.ZodObject<{
26
26
  }>;
27
27
  export declare const llmJudgeMetricConfigSchema: z.ZodEffects<z.ZodObject<{
28
28
  preset: z.ZodEnum<["correctness", "helpfulness"]>;
29
- prompt: z.ZodString;
29
+ prompt: z.ZodOptional<z.ZodString>;
30
30
  provider: z.ZodString;
31
31
  credentialId: z.ZodString;
32
32
  model: z.ZodString;
@@ -48,53 +48,139 @@ export declare const llmJudgeMetricConfigSchema: z.ZodEffects<z.ZodObject<{
48
48
  provider: string;
49
49
  model: string;
50
50
  credentialId: string;
51
- prompt: string;
52
- outputType: "boolean" | "numeric";
53
51
  preset: "correctness" | "helpfulness";
52
+ outputType: "boolean" | "numeric";
54
53
  inputs: {
55
54
  actualAnswer: string;
56
55
  userQuery?: string | undefined;
57
56
  expectedAnswer?: string | undefined;
58
57
  };
58
+ prompt?: string | undefined;
59
59
  }, {
60
60
  provider: string;
61
61
  model: string;
62
62
  credentialId: string;
63
- prompt: string;
64
- outputType: "boolean" | "numeric";
65
63
  preset: "correctness" | "helpfulness";
64
+ outputType: "boolean" | "numeric";
66
65
  inputs: {
67
66
  actualAnswer: string;
68
67
  userQuery?: string | undefined;
69
68
  expectedAnswer?: string | undefined;
70
69
  };
70
+ prompt?: string | undefined;
71
71
  }>, {
72
72
  provider: string;
73
73
  model: string;
74
74
  credentialId: string;
75
- prompt: string;
76
- outputType: "boolean" | "numeric";
77
75
  preset: "correctness" | "helpfulness";
76
+ outputType: "boolean" | "numeric";
78
77
  inputs: {
79
78
  actualAnswer: string;
80
79
  userQuery?: string | undefined;
81
80
  expectedAnswer?: string | undefined;
82
81
  };
82
+ prompt?: string | undefined;
83
83
  }, {
84
84
  provider: string;
85
85
  model: string;
86
86
  credentialId: string;
87
- prompt: string;
88
- outputType: "boolean" | "numeric";
89
87
  preset: "correctness" | "helpfulness";
88
+ outputType: "boolean" | "numeric";
90
89
  inputs: {
91
90
  actualAnswer: string;
92
91
  userQuery?: string | undefined;
93
92
  expectedAnswer?: string | undefined;
94
93
  };
94
+ prompt?: string | undefined;
95
95
  }>;
96
96
  export type LlmJudgeMetricPreset = z.infer<typeof llmJudgeMetricPresetSchema>;
97
97
  export type LlmJudgeMetricInputs = z.infer<typeof llmJudgeMetricInputsSchema>;
98
+ export declare const textComparisonMetricInputsSchema: z.ZodObject<{
99
+ actualAnswer: z.ZodString;
100
+ expectedAnswer: z.ZodString;
101
+ }, "strip", z.ZodTypeAny, {
102
+ actualAnswer: string;
103
+ expectedAnswer: string;
104
+ }, {
105
+ actualAnswer: string;
106
+ expectedAnswer: string;
107
+ }>;
108
+ export declare const toolsUsedMetricInputsSchema: z.ZodObject<{
109
+ expectedTools: z.ZodString;
110
+ intermediateSteps: z.ZodString;
111
+ }, "strip", z.ZodTypeAny, {
112
+ expectedTools: string;
113
+ intermediateSteps: string;
114
+ }, {
115
+ expectedTools: string;
116
+ intermediateSteps: string;
117
+ }>;
118
+ export declare const stringSimilarityMetricConfigSchema: z.ZodObject<{
119
+ inputs: z.ZodObject<{
120
+ actualAnswer: z.ZodString;
121
+ expectedAnswer: z.ZodString;
122
+ }, "strip", z.ZodTypeAny, {
123
+ actualAnswer: string;
124
+ expectedAnswer: string;
125
+ }, {
126
+ actualAnswer: string;
127
+ expectedAnswer: string;
128
+ }>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ inputs: {
131
+ actualAnswer: string;
132
+ expectedAnswer: string;
133
+ };
134
+ }, {
135
+ inputs: {
136
+ actualAnswer: string;
137
+ expectedAnswer: string;
138
+ };
139
+ }>;
140
+ export declare const categorizationMetricConfigSchema: z.ZodObject<{
141
+ inputs: z.ZodObject<{
142
+ actualAnswer: z.ZodString;
143
+ expectedAnswer: z.ZodString;
144
+ }, "strip", z.ZodTypeAny, {
145
+ actualAnswer: string;
146
+ expectedAnswer: string;
147
+ }, {
148
+ actualAnswer: string;
149
+ expectedAnswer: string;
150
+ }>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ inputs: {
153
+ actualAnswer: string;
154
+ expectedAnswer: string;
155
+ };
156
+ }, {
157
+ inputs: {
158
+ actualAnswer: string;
159
+ expectedAnswer: string;
160
+ };
161
+ }>;
162
+ export declare const toolsUsedMetricConfigSchema: z.ZodObject<{
163
+ inputs: z.ZodObject<{
164
+ expectedTools: z.ZodString;
165
+ intermediateSteps: z.ZodString;
166
+ }, "strip", z.ZodTypeAny, {
167
+ expectedTools: string;
168
+ intermediateSteps: string;
169
+ }, {
170
+ expectedTools: string;
171
+ intermediateSteps: string;
172
+ }>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ inputs: {
175
+ expectedTools: string;
176
+ intermediateSteps: string;
177
+ };
178
+ }, {
179
+ inputs: {
180
+ expectedTools: string;
181
+ intermediateSteps: string;
182
+ };
183
+ }>;
98
184
  export declare const evaluationMetricSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
99
185
  id: z.ZodString;
100
186
  name: z.ZodString;
@@ -111,16 +197,16 @@ export declare const evaluationMetricSchema: z.ZodDiscriminatedUnion<"type", [z.
111
197
  }>;
112
198
  }, "strip", z.ZodTypeAny, {
113
199
  type: "expression";
114
- id: string;
115
200
  name: string;
201
+ id: string;
116
202
  config: {
117
203
  expression: string;
118
204
  outputType: "boolean" | "numeric";
119
205
  };
120
206
  }, {
121
207
  type: "expression";
122
- id: string;
123
208
  name: string;
209
+ id: string;
124
210
  config: {
125
211
  expression: string;
126
212
  outputType: "boolean" | "numeric";
@@ -131,7 +217,7 @@ export declare const evaluationMetricSchema: z.ZodDiscriminatedUnion<"type", [z.
131
217
  type: z.ZodLiteral<"llm_judge">;
132
218
  config: z.ZodEffects<z.ZodObject<{
133
219
  preset: z.ZodEnum<["correctness", "helpfulness"]>;
134
- prompt: z.ZodString;
220
+ prompt: z.ZodOptional<z.ZodString>;
135
221
  provider: z.ZodString;
136
222
  credentialId: z.ZodString;
137
223
  model: z.ZodString;
@@ -153,84 +239,222 @@ export declare const evaluationMetricSchema: z.ZodDiscriminatedUnion<"type", [z.
153
239
  provider: string;
154
240
  model: string;
155
241
  credentialId: string;
156
- prompt: string;
157
- outputType: "boolean" | "numeric";
158
242
  preset: "correctness" | "helpfulness";
243
+ outputType: "boolean" | "numeric";
159
244
  inputs: {
160
245
  actualAnswer: string;
161
246
  userQuery?: string | undefined;
162
247
  expectedAnswer?: string | undefined;
163
248
  };
249
+ prompt?: string | undefined;
164
250
  }, {
165
251
  provider: string;
166
252
  model: string;
167
253
  credentialId: string;
168
- prompt: string;
169
- outputType: "boolean" | "numeric";
170
254
  preset: "correctness" | "helpfulness";
255
+ outputType: "boolean" | "numeric";
171
256
  inputs: {
172
257
  actualAnswer: string;
173
258
  userQuery?: string | undefined;
174
259
  expectedAnswer?: string | undefined;
175
260
  };
261
+ prompt?: string | undefined;
176
262
  }>, {
177
263
  provider: string;
178
264
  model: string;
179
265
  credentialId: string;
180
- prompt: string;
181
- outputType: "boolean" | "numeric";
182
266
  preset: "correctness" | "helpfulness";
267
+ outputType: "boolean" | "numeric";
183
268
  inputs: {
184
269
  actualAnswer: string;
185
270
  userQuery?: string | undefined;
186
271
  expectedAnswer?: string | undefined;
187
272
  };
273
+ prompt?: string | undefined;
188
274
  }, {
189
275
  provider: string;
190
276
  model: string;
191
277
  credentialId: string;
192
- prompt: string;
193
- outputType: "boolean" | "numeric";
194
278
  preset: "correctness" | "helpfulness";
279
+ outputType: "boolean" | "numeric";
195
280
  inputs: {
196
281
  actualAnswer: string;
197
282
  userQuery?: string | undefined;
198
283
  expectedAnswer?: string | undefined;
199
284
  };
285
+ prompt?: string | undefined;
200
286
  }>;
201
287
  }, "strip", z.ZodTypeAny, {
202
288
  type: "llm_judge";
203
- id: string;
204
289
  name: string;
290
+ id: string;
205
291
  config: {
206
292
  provider: string;
207
293
  model: string;
208
294
  credentialId: string;
209
- prompt: string;
210
- outputType: "boolean" | "numeric";
211
295
  preset: "correctness" | "helpfulness";
296
+ outputType: "boolean" | "numeric";
212
297
  inputs: {
213
298
  actualAnswer: string;
214
299
  userQuery?: string | undefined;
215
300
  expectedAnswer?: string | undefined;
216
301
  };
302
+ prompt?: string | undefined;
217
303
  };
218
304
  }, {
219
305
  type: "llm_judge";
220
- id: string;
221
306
  name: string;
307
+ id: string;
222
308
  config: {
223
309
  provider: string;
224
310
  model: string;
225
311
  credentialId: string;
226
- prompt: string;
227
- outputType: "boolean" | "numeric";
228
312
  preset: "correctness" | "helpfulness";
313
+ outputType: "boolean" | "numeric";
229
314
  inputs: {
230
315
  actualAnswer: string;
231
316
  userQuery?: string | undefined;
232
317
  expectedAnswer?: string | undefined;
233
318
  };
319
+ prompt?: string | undefined;
320
+ };
321
+ }>, z.ZodObject<{
322
+ id: z.ZodString;
323
+ name: z.ZodString;
324
+ type: z.ZodLiteral<"string_similarity">;
325
+ config: z.ZodObject<{
326
+ inputs: z.ZodObject<{
327
+ actualAnswer: z.ZodString;
328
+ expectedAnswer: z.ZodString;
329
+ }, "strip", z.ZodTypeAny, {
330
+ actualAnswer: string;
331
+ expectedAnswer: string;
332
+ }, {
333
+ actualAnswer: string;
334
+ expectedAnswer: string;
335
+ }>;
336
+ }, "strip", z.ZodTypeAny, {
337
+ inputs: {
338
+ actualAnswer: string;
339
+ expectedAnswer: string;
340
+ };
341
+ }, {
342
+ inputs: {
343
+ actualAnswer: string;
344
+ expectedAnswer: string;
345
+ };
346
+ }>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ type: "string_similarity";
349
+ name: string;
350
+ id: string;
351
+ config: {
352
+ inputs: {
353
+ actualAnswer: string;
354
+ expectedAnswer: string;
355
+ };
356
+ };
357
+ }, {
358
+ type: "string_similarity";
359
+ name: string;
360
+ id: string;
361
+ config: {
362
+ inputs: {
363
+ actualAnswer: string;
364
+ expectedAnswer: string;
365
+ };
366
+ };
367
+ }>, z.ZodObject<{
368
+ id: z.ZodString;
369
+ name: z.ZodString;
370
+ type: z.ZodLiteral<"categorization">;
371
+ config: z.ZodObject<{
372
+ inputs: z.ZodObject<{
373
+ actualAnswer: z.ZodString;
374
+ expectedAnswer: z.ZodString;
375
+ }, "strip", z.ZodTypeAny, {
376
+ actualAnswer: string;
377
+ expectedAnswer: string;
378
+ }, {
379
+ actualAnswer: string;
380
+ expectedAnswer: string;
381
+ }>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ inputs: {
384
+ actualAnswer: string;
385
+ expectedAnswer: string;
386
+ };
387
+ }, {
388
+ inputs: {
389
+ actualAnswer: string;
390
+ expectedAnswer: string;
391
+ };
392
+ }>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ type: "categorization";
395
+ name: string;
396
+ id: string;
397
+ config: {
398
+ inputs: {
399
+ actualAnswer: string;
400
+ expectedAnswer: string;
401
+ };
402
+ };
403
+ }, {
404
+ type: "categorization";
405
+ name: string;
406
+ id: string;
407
+ config: {
408
+ inputs: {
409
+ actualAnswer: string;
410
+ expectedAnswer: string;
411
+ };
412
+ };
413
+ }>, z.ZodObject<{
414
+ id: z.ZodString;
415
+ name: z.ZodString;
416
+ type: z.ZodLiteral<"tools_used">;
417
+ config: z.ZodObject<{
418
+ inputs: z.ZodObject<{
419
+ expectedTools: z.ZodString;
420
+ intermediateSteps: z.ZodString;
421
+ }, "strip", z.ZodTypeAny, {
422
+ expectedTools: string;
423
+ intermediateSteps: string;
424
+ }, {
425
+ expectedTools: string;
426
+ intermediateSteps: string;
427
+ }>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ inputs: {
430
+ expectedTools: string;
431
+ intermediateSteps: string;
432
+ };
433
+ }, {
434
+ inputs: {
435
+ expectedTools: string;
436
+ intermediateSteps: string;
437
+ };
438
+ }>;
439
+ }, "strip", z.ZodTypeAny, {
440
+ type: "tools_used";
441
+ name: string;
442
+ id: string;
443
+ config: {
444
+ inputs: {
445
+ expectedTools: string;
446
+ intermediateSteps: string;
447
+ };
448
+ };
449
+ }, {
450
+ type: "tools_used";
451
+ name: string;
452
+ id: string;
453
+ config: {
454
+ inputs: {
455
+ expectedTools: string;
456
+ intermediateSteps: string;
457
+ };
234
458
  };
235
459
  }>]>;
236
460
  export type EvaluationMetric = z.infer<typeof evaluationMetricSchema>;
@@ -341,16 +565,16 @@ export declare const evaluationConfigSchema: z.ZodIntersection<z.ZodObject<{
341
565
  }>;
342
566
  }, "strip", z.ZodTypeAny, {
343
567
  type: "expression";
344
- id: string;
345
568
  name: string;
569
+ id: string;
346
570
  config: {
347
571
  expression: string;
348
572
  outputType: "boolean" | "numeric";
349
573
  };
350
574
  }, {
351
575
  type: "expression";
352
- id: string;
353
576
  name: string;
577
+ id: string;
354
578
  config: {
355
579
  expression: string;
356
580
  outputType: "boolean" | "numeric";
@@ -361,7 +585,7 @@ export declare const evaluationConfigSchema: z.ZodIntersection<z.ZodObject<{
361
585
  type: z.ZodLiteral<"llm_judge">;
362
586
  config: z.ZodEffects<z.ZodObject<{
363
587
  preset: z.ZodEnum<["correctness", "helpfulness"]>;
364
- prompt: z.ZodString;
588
+ prompt: z.ZodOptional<z.ZodString>;
365
589
  provider: z.ZodString;
366
590
  credentialId: z.ZodString;
367
591
  model: z.ZodString;
@@ -383,152 +607,350 @@ export declare const evaluationConfigSchema: z.ZodIntersection<z.ZodObject<{
383
607
  provider: string;
384
608
  model: string;
385
609
  credentialId: string;
386
- prompt: string;
387
- outputType: "boolean" | "numeric";
388
610
  preset: "correctness" | "helpfulness";
611
+ outputType: "boolean" | "numeric";
389
612
  inputs: {
390
613
  actualAnswer: string;
391
614
  userQuery?: string | undefined;
392
615
  expectedAnswer?: string | undefined;
393
616
  };
617
+ prompt?: string | undefined;
394
618
  }, {
395
619
  provider: string;
396
620
  model: string;
397
621
  credentialId: string;
398
- prompt: string;
399
- outputType: "boolean" | "numeric";
400
622
  preset: "correctness" | "helpfulness";
623
+ outputType: "boolean" | "numeric";
401
624
  inputs: {
402
625
  actualAnswer: string;
403
626
  userQuery?: string | undefined;
404
627
  expectedAnswer?: string | undefined;
405
628
  };
629
+ prompt?: string | undefined;
406
630
  }>, {
407
631
  provider: string;
408
632
  model: string;
409
633
  credentialId: string;
410
- prompt: string;
411
- outputType: "boolean" | "numeric";
412
634
  preset: "correctness" | "helpfulness";
635
+ outputType: "boolean" | "numeric";
413
636
  inputs: {
414
637
  actualAnswer: string;
415
638
  userQuery?: string | undefined;
416
639
  expectedAnswer?: string | undefined;
417
640
  };
641
+ prompt?: string | undefined;
418
642
  }, {
419
643
  provider: string;
420
644
  model: string;
421
645
  credentialId: string;
422
- prompt: string;
423
- outputType: "boolean" | "numeric";
424
646
  preset: "correctness" | "helpfulness";
647
+ outputType: "boolean" | "numeric";
425
648
  inputs: {
426
649
  actualAnswer: string;
427
650
  userQuery?: string | undefined;
428
651
  expectedAnswer?: string | undefined;
429
652
  };
653
+ prompt?: string | undefined;
430
654
  }>;
431
655
  }, "strip", z.ZodTypeAny, {
432
656
  type: "llm_judge";
433
- id: string;
434
657
  name: string;
658
+ id: string;
435
659
  config: {
436
660
  provider: string;
437
661
  model: string;
438
662
  credentialId: string;
439
- prompt: string;
440
- outputType: "boolean" | "numeric";
441
663
  preset: "correctness" | "helpfulness";
664
+ outputType: "boolean" | "numeric";
442
665
  inputs: {
443
666
  actualAnswer: string;
444
667
  userQuery?: string | undefined;
445
668
  expectedAnswer?: string | undefined;
446
669
  };
670
+ prompt?: string | undefined;
447
671
  };
448
672
  }, {
449
673
  type: "llm_judge";
450
- id: string;
451
674
  name: string;
675
+ id: string;
452
676
  config: {
453
677
  provider: string;
454
678
  model: string;
455
679
  credentialId: string;
456
- prompt: string;
457
- outputType: "boolean" | "numeric";
458
680
  preset: "correctness" | "helpfulness";
681
+ outputType: "boolean" | "numeric";
459
682
  inputs: {
460
683
  actualAnswer: string;
461
684
  userQuery?: string | undefined;
462
685
  expectedAnswer?: string | undefined;
463
686
  };
687
+ prompt?: string | undefined;
464
688
  };
465
- }>]>, "many">;
466
- }, "strip", z.ZodTypeAny, {
467
- status: "valid" | "invalid";
468
- id: string;
469
- name: string;
470
- workflowId: string;
471
- invalidReason: string | null;
472
- startNodeName: string;
473
- endNodeName: string;
474
- metrics: ({
475
- type: "expression";
476
- id: string;
689
+ }>, z.ZodObject<{
690
+ id: z.ZodString;
691
+ name: z.ZodString;
692
+ type: z.ZodLiteral<"string_similarity">;
693
+ config: z.ZodObject<{
694
+ inputs: z.ZodObject<{
695
+ actualAnswer: z.ZodString;
696
+ expectedAnswer: z.ZodString;
697
+ }, "strip", z.ZodTypeAny, {
698
+ actualAnswer: string;
699
+ expectedAnswer: string;
700
+ }, {
701
+ actualAnswer: string;
702
+ expectedAnswer: string;
703
+ }>;
704
+ }, "strip", z.ZodTypeAny, {
705
+ inputs: {
706
+ actualAnswer: string;
707
+ expectedAnswer: string;
708
+ };
709
+ }, {
710
+ inputs: {
711
+ actualAnswer: string;
712
+ expectedAnswer: string;
713
+ };
714
+ }>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ type: "string_similarity";
477
717
  name: string;
718
+ id: string;
478
719
  config: {
479
- expression: string;
480
- outputType: "boolean" | "numeric";
720
+ inputs: {
721
+ actualAnswer: string;
722
+ expectedAnswer: string;
723
+ };
481
724
  };
482
- } | {
483
- type: "llm_judge";
484
- id: string;
725
+ }, {
726
+ type: "string_similarity";
485
727
  name: string;
728
+ id: string;
486
729
  config: {
487
- provider: string;
488
- model: string;
489
- credentialId: string;
490
- prompt: string;
491
- outputType: "boolean" | "numeric";
492
- preset: "correctness" | "helpfulness";
493
730
  inputs: {
494
731
  actualAnswer: string;
495
- userQuery?: string | undefined;
496
- expectedAnswer?: string | undefined;
732
+ expectedAnswer: string;
497
733
  };
498
734
  };
499
- })[];
500
- }, {
501
- status: "valid" | "invalid";
502
- id: string;
735
+ }>, z.ZodObject<{
736
+ id: z.ZodString;
737
+ name: z.ZodString;
738
+ type: z.ZodLiteral<"categorization">;
739
+ config: z.ZodObject<{
740
+ inputs: z.ZodObject<{
741
+ actualAnswer: z.ZodString;
742
+ expectedAnswer: z.ZodString;
743
+ }, "strip", z.ZodTypeAny, {
744
+ actualAnswer: string;
745
+ expectedAnswer: string;
746
+ }, {
747
+ actualAnswer: string;
748
+ expectedAnswer: string;
749
+ }>;
750
+ }, "strip", z.ZodTypeAny, {
751
+ inputs: {
752
+ actualAnswer: string;
753
+ expectedAnswer: string;
754
+ };
755
+ }, {
756
+ inputs: {
757
+ actualAnswer: string;
758
+ expectedAnswer: string;
759
+ };
760
+ }>;
761
+ }, "strip", z.ZodTypeAny, {
762
+ type: "categorization";
763
+ name: string;
764
+ id: string;
765
+ config: {
766
+ inputs: {
767
+ actualAnswer: string;
768
+ expectedAnswer: string;
769
+ };
770
+ };
771
+ }, {
772
+ type: "categorization";
773
+ name: string;
774
+ id: string;
775
+ config: {
776
+ inputs: {
777
+ actualAnswer: string;
778
+ expectedAnswer: string;
779
+ };
780
+ };
781
+ }>, z.ZodObject<{
782
+ id: z.ZodString;
783
+ name: z.ZodString;
784
+ type: z.ZodLiteral<"tools_used">;
785
+ config: z.ZodObject<{
786
+ inputs: z.ZodObject<{
787
+ expectedTools: z.ZodString;
788
+ intermediateSteps: z.ZodString;
789
+ }, "strip", z.ZodTypeAny, {
790
+ expectedTools: string;
791
+ intermediateSteps: string;
792
+ }, {
793
+ expectedTools: string;
794
+ intermediateSteps: string;
795
+ }>;
796
+ }, "strip", z.ZodTypeAny, {
797
+ inputs: {
798
+ expectedTools: string;
799
+ intermediateSteps: string;
800
+ };
801
+ }, {
802
+ inputs: {
803
+ expectedTools: string;
804
+ intermediateSteps: string;
805
+ };
806
+ }>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ type: "tools_used";
809
+ name: string;
810
+ id: string;
811
+ config: {
812
+ inputs: {
813
+ expectedTools: string;
814
+ intermediateSteps: string;
815
+ };
816
+ };
817
+ }, {
818
+ type: "tools_used";
819
+ name: string;
820
+ id: string;
821
+ config: {
822
+ inputs: {
823
+ expectedTools: string;
824
+ intermediateSteps: string;
825
+ };
826
+ };
827
+ }>]>, "many">;
828
+ }, "strip", z.ZodTypeAny, {
829
+ status: "valid" | "invalid";
503
830
  name: string;
831
+ id: string;
504
832
  workflowId: string;
505
833
  invalidReason: string | null;
506
834
  startNodeName: string;
507
835
  endNodeName: string;
508
836
  metrics: ({
509
837
  type: "expression";
510
- id: string;
511
838
  name: string;
839
+ id: string;
512
840
  config: {
513
841
  expression: string;
514
842
  outputType: "boolean" | "numeric";
515
843
  };
516
844
  } | {
517
845
  type: "llm_judge";
518
- id: string;
519
846
  name: string;
847
+ id: string;
520
848
  config: {
521
849
  provider: string;
522
850
  model: string;
523
851
  credentialId: string;
524
- prompt: string;
852
+ preset: "correctness" | "helpfulness";
853
+ outputType: "boolean" | "numeric";
854
+ inputs: {
855
+ actualAnswer: string;
856
+ userQuery?: string | undefined;
857
+ expectedAnswer?: string | undefined;
858
+ };
859
+ prompt?: string | undefined;
860
+ };
861
+ } | {
862
+ type: "string_similarity";
863
+ name: string;
864
+ id: string;
865
+ config: {
866
+ inputs: {
867
+ actualAnswer: string;
868
+ expectedAnswer: string;
869
+ };
870
+ };
871
+ } | {
872
+ type: "categorization";
873
+ name: string;
874
+ id: string;
875
+ config: {
876
+ inputs: {
877
+ actualAnswer: string;
878
+ expectedAnswer: string;
879
+ };
880
+ };
881
+ } | {
882
+ type: "tools_used";
883
+ name: string;
884
+ id: string;
885
+ config: {
886
+ inputs: {
887
+ expectedTools: string;
888
+ intermediateSteps: string;
889
+ };
890
+ };
891
+ })[];
892
+ }, {
893
+ status: "valid" | "invalid";
894
+ name: string;
895
+ id: string;
896
+ workflowId: string;
897
+ invalidReason: string | null;
898
+ startNodeName: string;
899
+ endNodeName: string;
900
+ metrics: ({
901
+ type: "expression";
902
+ name: string;
903
+ id: string;
904
+ config: {
905
+ expression: string;
525
906
  outputType: "boolean" | "numeric";
907
+ };
908
+ } | {
909
+ type: "llm_judge";
910
+ name: string;
911
+ id: string;
912
+ config: {
913
+ provider: string;
914
+ model: string;
915
+ credentialId: string;
526
916
  preset: "correctness" | "helpfulness";
917
+ outputType: "boolean" | "numeric";
527
918
  inputs: {
528
919
  actualAnswer: string;
529
920
  userQuery?: string | undefined;
530
921
  expectedAnswer?: string | undefined;
531
922
  };
923
+ prompt?: string | undefined;
924
+ };
925
+ } | {
926
+ type: "string_similarity";
927
+ name: string;
928
+ id: string;
929
+ config: {
930
+ inputs: {
931
+ actualAnswer: string;
932
+ expectedAnswer: string;
933
+ };
934
+ };
935
+ } | {
936
+ type: "categorization";
937
+ name: string;
938
+ id: string;
939
+ config: {
940
+ inputs: {
941
+ actualAnswer: string;
942
+ expectedAnswer: string;
943
+ };
944
+ };
945
+ } | {
946
+ type: "tools_used";
947
+ name: string;
948
+ id: string;
949
+ config: {
950
+ inputs: {
951
+ expectedTools: string;
952
+ intermediateSteps: string;
953
+ };
532
954
  };
533
955
  })[];
534
956
  }>, z.ZodDiscriminatedUnion<"datasetSource", [z.ZodObject<{
@@ -606,16 +1028,16 @@ export declare const upsertEvaluationConfigSchema: z.ZodIntersection<z.ZodObject
606
1028
  }>;
607
1029
  }, "strip", z.ZodTypeAny, {
608
1030
  type: "expression";
609
- id: string;
610
1031
  name: string;
1032
+ id: string;
611
1033
  config: {
612
1034
  expression: string;
613
1035
  outputType: "boolean" | "numeric";
614
1036
  };
615
1037
  }, {
616
1038
  type: "expression";
617
- id: string;
618
1039
  name: string;
1040
+ id: string;
619
1041
  config: {
620
1042
  expression: string;
621
1043
  outputType: "boolean" | "numeric";
@@ -626,7 +1048,7 @@ export declare const upsertEvaluationConfigSchema: z.ZodIntersection<z.ZodObject
626
1048
  type: z.ZodLiteral<"llm_judge">;
627
1049
  config: z.ZodEffects<z.ZodObject<{
628
1050
  preset: z.ZodEnum<["correctness", "helpfulness"]>;
629
- prompt: z.ZodString;
1051
+ prompt: z.ZodOptional<z.ZodString>;
630
1052
  provider: z.ZodString;
631
1053
  credentialId: z.ZodString;
632
1054
  model: z.ZodString;
@@ -648,84 +1070,222 @@ export declare const upsertEvaluationConfigSchema: z.ZodIntersection<z.ZodObject
648
1070
  provider: string;
649
1071
  model: string;
650
1072
  credentialId: string;
651
- prompt: string;
652
- outputType: "boolean" | "numeric";
653
1073
  preset: "correctness" | "helpfulness";
1074
+ outputType: "boolean" | "numeric";
654
1075
  inputs: {
655
1076
  actualAnswer: string;
656
1077
  userQuery?: string | undefined;
657
1078
  expectedAnswer?: string | undefined;
658
1079
  };
1080
+ prompt?: string | undefined;
659
1081
  }, {
660
1082
  provider: string;
661
1083
  model: string;
662
1084
  credentialId: string;
663
- prompt: string;
664
- outputType: "boolean" | "numeric";
665
1085
  preset: "correctness" | "helpfulness";
1086
+ outputType: "boolean" | "numeric";
666
1087
  inputs: {
667
1088
  actualAnswer: string;
668
1089
  userQuery?: string | undefined;
669
1090
  expectedAnswer?: string | undefined;
670
1091
  };
1092
+ prompt?: string | undefined;
671
1093
  }>, {
672
1094
  provider: string;
673
1095
  model: string;
674
1096
  credentialId: string;
675
- prompt: string;
676
- outputType: "boolean" | "numeric";
677
1097
  preset: "correctness" | "helpfulness";
1098
+ outputType: "boolean" | "numeric";
678
1099
  inputs: {
679
1100
  actualAnswer: string;
680
1101
  userQuery?: string | undefined;
681
1102
  expectedAnswer?: string | undefined;
682
1103
  };
1104
+ prompt?: string | undefined;
683
1105
  }, {
684
1106
  provider: string;
685
1107
  model: string;
686
1108
  credentialId: string;
687
- prompt: string;
688
- outputType: "boolean" | "numeric";
689
1109
  preset: "correctness" | "helpfulness";
1110
+ outputType: "boolean" | "numeric";
690
1111
  inputs: {
691
1112
  actualAnswer: string;
692
1113
  userQuery?: string | undefined;
693
1114
  expectedAnswer?: string | undefined;
694
1115
  };
1116
+ prompt?: string | undefined;
695
1117
  }>;
696
1118
  }, "strip", z.ZodTypeAny, {
697
1119
  type: "llm_judge";
698
- id: string;
699
1120
  name: string;
1121
+ id: string;
700
1122
  config: {
701
1123
  provider: string;
702
1124
  model: string;
703
1125
  credentialId: string;
704
- prompt: string;
705
- outputType: "boolean" | "numeric";
706
1126
  preset: "correctness" | "helpfulness";
1127
+ outputType: "boolean" | "numeric";
707
1128
  inputs: {
708
1129
  actualAnswer: string;
709
1130
  userQuery?: string | undefined;
710
1131
  expectedAnswer?: string | undefined;
711
1132
  };
1133
+ prompt?: string | undefined;
712
1134
  };
713
1135
  }, {
714
1136
  type: "llm_judge";
715
- id: string;
716
1137
  name: string;
1138
+ id: string;
717
1139
  config: {
718
1140
  provider: string;
719
1141
  model: string;
720
1142
  credentialId: string;
721
- prompt: string;
722
- outputType: "boolean" | "numeric";
723
1143
  preset: "correctness" | "helpfulness";
1144
+ outputType: "boolean" | "numeric";
724
1145
  inputs: {
725
1146
  actualAnswer: string;
726
1147
  userQuery?: string | undefined;
727
1148
  expectedAnswer?: string | undefined;
728
1149
  };
1150
+ prompt?: string | undefined;
1151
+ };
1152
+ }>, z.ZodObject<{
1153
+ id: z.ZodString;
1154
+ name: z.ZodString;
1155
+ type: z.ZodLiteral<"string_similarity">;
1156
+ config: z.ZodObject<{
1157
+ inputs: z.ZodObject<{
1158
+ actualAnswer: z.ZodString;
1159
+ expectedAnswer: z.ZodString;
1160
+ }, "strip", z.ZodTypeAny, {
1161
+ actualAnswer: string;
1162
+ expectedAnswer: string;
1163
+ }, {
1164
+ actualAnswer: string;
1165
+ expectedAnswer: string;
1166
+ }>;
1167
+ }, "strip", z.ZodTypeAny, {
1168
+ inputs: {
1169
+ actualAnswer: string;
1170
+ expectedAnswer: string;
1171
+ };
1172
+ }, {
1173
+ inputs: {
1174
+ actualAnswer: string;
1175
+ expectedAnswer: string;
1176
+ };
1177
+ }>;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ type: "string_similarity";
1180
+ name: string;
1181
+ id: string;
1182
+ config: {
1183
+ inputs: {
1184
+ actualAnswer: string;
1185
+ expectedAnswer: string;
1186
+ };
1187
+ };
1188
+ }, {
1189
+ type: "string_similarity";
1190
+ name: string;
1191
+ id: string;
1192
+ config: {
1193
+ inputs: {
1194
+ actualAnswer: string;
1195
+ expectedAnswer: string;
1196
+ };
1197
+ };
1198
+ }>, z.ZodObject<{
1199
+ id: z.ZodString;
1200
+ name: z.ZodString;
1201
+ type: z.ZodLiteral<"categorization">;
1202
+ config: z.ZodObject<{
1203
+ inputs: z.ZodObject<{
1204
+ actualAnswer: z.ZodString;
1205
+ expectedAnswer: z.ZodString;
1206
+ }, "strip", z.ZodTypeAny, {
1207
+ actualAnswer: string;
1208
+ expectedAnswer: string;
1209
+ }, {
1210
+ actualAnswer: string;
1211
+ expectedAnswer: string;
1212
+ }>;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ inputs: {
1215
+ actualAnswer: string;
1216
+ expectedAnswer: string;
1217
+ };
1218
+ }, {
1219
+ inputs: {
1220
+ actualAnswer: string;
1221
+ expectedAnswer: string;
1222
+ };
1223
+ }>;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ type: "categorization";
1226
+ name: string;
1227
+ id: string;
1228
+ config: {
1229
+ inputs: {
1230
+ actualAnswer: string;
1231
+ expectedAnswer: string;
1232
+ };
1233
+ };
1234
+ }, {
1235
+ type: "categorization";
1236
+ name: string;
1237
+ id: string;
1238
+ config: {
1239
+ inputs: {
1240
+ actualAnswer: string;
1241
+ expectedAnswer: string;
1242
+ };
1243
+ };
1244
+ }>, z.ZodObject<{
1245
+ id: z.ZodString;
1246
+ name: z.ZodString;
1247
+ type: z.ZodLiteral<"tools_used">;
1248
+ config: z.ZodObject<{
1249
+ inputs: z.ZodObject<{
1250
+ expectedTools: z.ZodString;
1251
+ intermediateSteps: z.ZodString;
1252
+ }, "strip", z.ZodTypeAny, {
1253
+ expectedTools: string;
1254
+ intermediateSteps: string;
1255
+ }, {
1256
+ expectedTools: string;
1257
+ intermediateSteps: string;
1258
+ }>;
1259
+ }, "strip", z.ZodTypeAny, {
1260
+ inputs: {
1261
+ expectedTools: string;
1262
+ intermediateSteps: string;
1263
+ };
1264
+ }, {
1265
+ inputs: {
1266
+ expectedTools: string;
1267
+ intermediateSteps: string;
1268
+ };
1269
+ }>;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ type: "tools_used";
1272
+ name: string;
1273
+ id: string;
1274
+ config: {
1275
+ inputs: {
1276
+ expectedTools: string;
1277
+ intermediateSteps: string;
1278
+ };
1279
+ };
1280
+ }, {
1281
+ type: "tools_used";
1282
+ name: string;
1283
+ id: string;
1284
+ config: {
1285
+ inputs: {
1286
+ expectedTools: string;
1287
+ intermediateSteps: string;
1288
+ };
729
1289
  };
730
1290
  }>]>, "many">;
731
1291
  }, "strip", z.ZodTypeAny, {
@@ -734,28 +1294,58 @@ export declare const upsertEvaluationConfigSchema: z.ZodIntersection<z.ZodObject
734
1294
  endNodeName: string;
735
1295
  metrics: ({
736
1296
  type: "expression";
737
- id: string;
738
1297
  name: string;
1298
+ id: string;
739
1299
  config: {
740
1300
  expression: string;
741
1301
  outputType: "boolean" | "numeric";
742
1302
  };
743
1303
  } | {
744
1304
  type: "llm_judge";
745
- id: string;
746
1305
  name: string;
1306
+ id: string;
747
1307
  config: {
748
1308
  provider: string;
749
1309
  model: string;
750
1310
  credentialId: string;
751
- prompt: string;
752
- outputType: "boolean" | "numeric";
753
1311
  preset: "correctness" | "helpfulness";
1312
+ outputType: "boolean" | "numeric";
754
1313
  inputs: {
755
1314
  actualAnswer: string;
756
1315
  userQuery?: string | undefined;
757
1316
  expectedAnswer?: string | undefined;
758
1317
  };
1318
+ prompt?: string | undefined;
1319
+ };
1320
+ } | {
1321
+ type: "string_similarity";
1322
+ name: string;
1323
+ id: string;
1324
+ config: {
1325
+ inputs: {
1326
+ actualAnswer: string;
1327
+ expectedAnswer: string;
1328
+ };
1329
+ };
1330
+ } | {
1331
+ type: "categorization";
1332
+ name: string;
1333
+ id: string;
1334
+ config: {
1335
+ inputs: {
1336
+ actualAnswer: string;
1337
+ expectedAnswer: string;
1338
+ };
1339
+ };
1340
+ } | {
1341
+ type: "tools_used";
1342
+ name: string;
1343
+ id: string;
1344
+ config: {
1345
+ inputs: {
1346
+ expectedTools: string;
1347
+ intermediateSteps: string;
1348
+ };
759
1349
  };
760
1350
  })[];
761
1351
  }, {
@@ -764,28 +1354,58 @@ export declare const upsertEvaluationConfigSchema: z.ZodIntersection<z.ZodObject
764
1354
  endNodeName: string;
765
1355
  metrics: ({
766
1356
  type: "expression";
767
- id: string;
768
1357
  name: string;
1358
+ id: string;
769
1359
  config: {
770
1360
  expression: string;
771
1361
  outputType: "boolean" | "numeric";
772
1362
  };
773
1363
  } | {
774
1364
  type: "llm_judge";
775
- id: string;
776
1365
  name: string;
1366
+ id: string;
777
1367
  config: {
778
1368
  provider: string;
779
1369
  model: string;
780
1370
  credentialId: string;
781
- prompt: string;
782
- outputType: "boolean" | "numeric";
783
1371
  preset: "correctness" | "helpfulness";
1372
+ outputType: "boolean" | "numeric";
784
1373
  inputs: {
785
1374
  actualAnswer: string;
786
1375
  userQuery?: string | undefined;
787
1376
  expectedAnswer?: string | undefined;
788
1377
  };
1378
+ prompt?: string | undefined;
1379
+ };
1380
+ } | {
1381
+ type: "string_similarity";
1382
+ name: string;
1383
+ id: string;
1384
+ config: {
1385
+ inputs: {
1386
+ actualAnswer: string;
1387
+ expectedAnswer: string;
1388
+ };
1389
+ };
1390
+ } | {
1391
+ type: "categorization";
1392
+ name: string;
1393
+ id: string;
1394
+ config: {
1395
+ inputs: {
1396
+ actualAnswer: string;
1397
+ expectedAnswer: string;
1398
+ };
1399
+ };
1400
+ } | {
1401
+ type: "tools_used";
1402
+ name: string;
1403
+ id: string;
1404
+ config: {
1405
+ inputs: {
1406
+ expectedTools: string;
1407
+ intermediateSteps: string;
1408
+ };
789
1409
  };
790
1410
  })[];
791
1411
  }>, z.ZodDiscriminatedUnion<"datasetSource", [z.ZodObject<{