@rossum/api-client 0.1.26 → 0.1.30

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 (141) hide show
  1. package/index.js +72 -72
  2. package/index.js.map +1 -1
  3. package/package.json +3 -2
  4. package/src/hooks/endpoints/runs.js.map +1 -1
  5. package/src/hooks/endpoints/runs.schema.js +4 -0
  6. package/src/hooks/endpoints/runs.schema.js.map +1 -1
  7. package/src/hooks/endpoints/test.schema.js +2 -2
  8. package/src/hooks/endpoints/test.schema.js.map +1 -1
  9. package/src/hooks/models/hookUtils.schema.js +2 -0
  10. package/src/hooks/models/hookUtils.schema.js.map +1 -1
  11. package/src/internal/endpoints/rules/evaluateRules.js.map +1 -1
  12. package/src/internal/endpoints/rules/evaluateRules.schema.js +2 -0
  13. package/src/internal/endpoints/rules/evaluateRules.schema.js.map +1 -1
  14. package/src/internal/endpoints/schemas/evaluateFormulas.schema.js +2 -2
  15. package/src/internal/endpoints/schemas/evaluateFormulas.schema.js.map +1 -1
  16. package/src/internal/endpoints/schemas/formulasInfo.schema.js +1 -1
  17. package/src/internal/endpoints/schemas/formulasInfo.schema.js.map +1 -1
  18. package/src/queues/endpoints/automationSetup.js +15 -0
  19. package/src/queues/endpoints/automationSetup.js.map +1 -0
  20. package/src/queues/endpoints/index.js +2 -0
  21. package/src/queues/endpoints/index.js.map +1 -1
  22. package/src/queues/models/automationSetup.js +3 -0
  23. package/src/queues/models/automationSetup.js.map +1 -0
  24. package/src/queues/models/automationSetup.schema.js +49 -0
  25. package/src/queues/models/automationSetup.schema.js.map +1 -0
  26. package/src/queues/models/queueSettings.schema.js +1 -0
  27. package/src/queues/models/queueSettings.schema.js.map +1 -1
  28. package/src/rules/models/schemaRule.schema.js +1 -0
  29. package/src/rules/models/schemaRule.schema.js.map +1 -1
  30. package/src/schemas/models/schemaDatapointBase.schema.js +2 -0
  31. package/src/schemas/models/schemaDatapointBase.schema.js.map +1 -1
  32. package/src/shared/models/annotationListTable.schema.js +12 -1
  33. package/src/shared/models/annotationListTable.schema.js.map +1 -1
  34. package/src/utils/requestConfig.js +5 -4
  35. package/src/utils/requestConfig.js.map +1 -1
  36. package/src/utils/requestResponse.js +2 -2
  37. package/src/utils/requestResponse.js.map +1 -1
  38. package/types/index.d.ts +851 -316
  39. package/types/src/annotations/endpoints/index.d.ts +36 -22
  40. package/types/src/annotations/endpoints/list.d.ts +18 -11
  41. package/types/src/annotations/endpoints/search.d.ts +18 -11
  42. package/types/src/annotations/models/annotationListSideload.schema.d.ts +18 -11
  43. package/types/src/engines/endpoints/index.d.ts +18 -11
  44. package/types/src/engines/endpoints/queueStats.d.ts +18 -11
  45. package/types/src/engines/endpoints/queueStats.schema.d.ts +18 -11
  46. package/types/src/hookTemplates/endpoints/get.d.ts +9 -9
  47. package/types/src/hookTemplates/endpoints/index.d.ts +24 -24
  48. package/types/src/hookTemplates/endpoints/list.d.ts +15 -15
  49. package/types/src/hookTemplates/models/hookTemplate.schema.d.ts +9 -9
  50. package/types/src/hooks/endpoints/create.d.ts +9 -9
  51. package/types/src/hooks/endpoints/createFromTemplate.d.ts +12 -12
  52. package/types/src/hooks/endpoints/createFromTemplate.schema.d.ts +3 -3
  53. package/types/src/hooks/endpoints/get.d.ts +9 -9
  54. package/types/src/hooks/endpoints/index.d.ts +97 -81
  55. package/types/src/hooks/endpoints/list.d.ts +18 -18
  56. package/types/src/hooks/endpoints/list.schema.d.ts +3 -3
  57. package/types/src/hooks/endpoints/patch.d.ts +18 -18
  58. package/types/src/hooks/endpoints/patch.schema.d.ts +9 -9
  59. package/types/src/hooks/endpoints/runs.d.ts +29 -9
  60. package/types/src/hooks/endpoints/runs.schema.d.ts +21 -9
  61. package/types/src/hooks/endpoints/test.d.ts +8 -8
  62. package/types/src/hooks/endpoints/test.schema.d.ts +6 -6
  63. package/types/src/hooks/models/hook.schema.d.ts +21 -21
  64. package/types/src/hooks/models/hookUtils.d.ts +2 -2
  65. package/types/src/hooks/models/hookUtils.schema.d.ts +3 -3
  66. package/types/src/hooks/models/run.schema.d.ts +5 -5
  67. package/types/src/internal/endpoints/index.d.ts +2609 -1457
  68. package/types/src/internal/endpoints/rules/evaluateRules.d.ts +337 -188
  69. package/types/src/internal/endpoints/rules/evaluateRules.schema.d.ts +335 -188
  70. package/types/src/internal/endpoints/rules/suggestRule.d.ts +327 -183
  71. package/types/src/internal/endpoints/rules/suggestRule.schema.d.ts +332 -188
  72. package/types/src/internal/endpoints/rules/suggestTriggerCondition.d.ts +327 -183
  73. package/types/src/internal/endpoints/rules/suggestTriggerCondition.schema.d.ts +327 -183
  74. package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.d.ts +327 -183
  75. package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.schema.d.ts +327 -183
  76. package/types/src/internal/endpoints/schemas/evaluateFormulas.d.ts +330 -189
  77. package/types/src/internal/endpoints/schemas/evaluateFormulas.schema.d.ts +328 -187
  78. package/types/src/internal/endpoints/schemas/formulaSummary.d.ts +320 -176
  79. package/types/src/internal/endpoints/schemas/formulaSummary.schema.d.ts +320 -176
  80. package/types/src/internal/endpoints/schemas/formulasInfo.d.ts +326 -182
  81. package/types/src/internal/endpoints/schemas/formulasInfo.schema.d.ts +325 -181
  82. package/types/src/internal/endpoints/schemas/suggestFormula.d.ts +320 -176
  83. package/types/src/internal/endpoints/schemas/suggestFormula.schema.d.ts +320 -176
  84. package/types/src/organization/endpoints/create.d.ts +11 -11
  85. package/types/src/organization/endpoints/create.schema.d.ts +11 -11
  86. package/types/src/organization/endpoints/get.d.ts +9 -9
  87. package/types/src/organization/endpoints/index.d.ts +49 -49
  88. package/types/src/organization/endpoints/list.d.ts +11 -11
  89. package/types/src/organization/endpoints/patch.d.ts +18 -18
  90. package/types/src/organization/models/organization.schema.d.ts +9 -9
  91. package/types/src/queues/endpoints/automationSetup.d.ts +462 -0
  92. package/types/src/queues/endpoints/create.d.ts +14 -9
  93. package/types/src/queues/endpoints/createFromTemplate.d.ts +14 -9
  94. package/types/src/queues/endpoints/duplicate.d.ts +14 -9
  95. package/types/src/queues/endpoints/get.d.ts +14 -9
  96. package/types/src/queues/endpoints/index.d.ts +563 -65
  97. package/types/src/queues/endpoints/list.d.ts +18 -11
  98. package/types/src/queues/endpoints/patch.d.ts +28 -18
  99. package/types/src/queues/endpoints/patch.schema.d.ts +14 -9
  100. package/types/src/queues/models/automationSetup.d.ts +42 -0
  101. package/types/src/queues/models/automationSetup.schema.d.ts +751 -0
  102. package/types/src/queues/models/queue.schema.d.ts +14 -9
  103. package/types/src/queues/models/queueSettings.d.ts +1 -0
  104. package/types/src/queues/models/queueSettings.schema.d.ts +10 -7
  105. package/types/src/rule-templates/endpoints/create.d.ts +10 -10
  106. package/types/src/rule-templates/endpoints/create.schema.d.ts +5 -5
  107. package/types/src/rule-templates/endpoints/get.d.ts +5 -5
  108. package/types/src/rule-templates/endpoints/index.d.ts +32 -32
  109. package/types/src/rule-templates/endpoints/list.d.ts +7 -7
  110. package/types/src/rule-templates/endpoints/patch.d.ts +10 -10
  111. package/types/src/rule-templates/endpoints/patch.schema.d.ts +5 -5
  112. package/types/src/rule-templates/models/ruleTemplate.schema.d.ts +5 -5
  113. package/types/src/rules/endpoints/create.d.ts +10 -10
  114. package/types/src/rules/endpoints/create.schema.d.ts +5 -5
  115. package/types/src/rules/endpoints/get.d.ts +5 -5
  116. package/types/src/rules/endpoints/index.d.ts +32 -32
  117. package/types/src/rules/endpoints/list.d.ts +7 -7
  118. package/types/src/rules/endpoints/patch.d.ts +10 -10
  119. package/types/src/rules/endpoints/patch.schema.d.ts +5 -5
  120. package/types/src/rules/models/schemaRule.d.ts +1 -1
  121. package/types/src/rules/models/schemaRule.schema.d.ts +11 -11
  122. package/types/src/schemas/endpoints/create.d.ts +320 -176
  123. package/types/src/schemas/endpoints/get.d.ts +320 -176
  124. package/types/src/schemas/endpoints/list.d.ts +384 -208
  125. package/types/src/schemas/endpoints/patch.d.ts +640 -352
  126. package/types/src/schemas/endpoints/patch.schema.d.ts +320 -176
  127. package/types/src/schemas/endpoints/validate.d.ts +672 -368
  128. package/types/src/schemas/models/schema.schema.d.ts +320 -176
  129. package/types/src/schemas/models/schemaDatapoint.schema.d.ts +32 -20
  130. package/types/src/schemas/models/schemaDatapointBase.d.ts +2 -1
  131. package/types/src/schemas/models/schemaDatapointBase.schema.d.ts +12 -9
  132. package/types/src/schemas/models/schemaDatapointDate.schema.d.ts +8 -5
  133. package/types/src/schemas/models/schemaDatapointEnum.schema.d.ts +8 -5
  134. package/types/src/schemas/models/schemaDatapointNumber.schema.d.ts +8 -5
  135. package/types/src/schemas/models/schemaDatapointString.schema.d.ts +8 -5
  136. package/types/src/schemas/models/schemaItem.schema.d.ts +192 -112
  137. package/types/src/schemas/models/schemaMultivalue.schema.d.ts +112 -64
  138. package/types/src/schemas/models/schemaSection.schema.d.ts +256 -144
  139. package/types/src/schemas/models/schemaTuple.schema.d.ts +48 -28
  140. package/types/src/shared/models/annotationListTable.d.ts +11 -1
  141. package/types/src/shared/models/annotationListTable.schema.d.ts +99 -15
@@ -100,13 +100,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
100
100
  required?: boolean | null | undefined;
101
101
  }>>>;
102
102
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
103
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
103
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
104
104
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
105
105
  }, "strip", z.ZodTypeAny, {
106
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
106
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
107
107
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
108
108
  }, {
109
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
109
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
110
110
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
111
111
  }>>>;
112
112
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -116,6 +116,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
116
116
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
117
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
118
118
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
119
120
  }, "strip", z.ZodTypeAny, {
120
121
  suggest?: true | undefined;
121
122
  canExport?: boolean | null | undefined;
@@ -134,7 +135,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
134
135
  required?: boolean | null | undefined;
135
136
  } | null | undefined;
136
137
  uiConfiguration?: {
137
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
138
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
138
139
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
139
140
  } | null | undefined;
140
141
  width?: number | null | undefined;
@@ -144,6 +145,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
144
145
  formula?: string | null | undefined;
145
146
  context?: string[] | null | undefined;
146
147
  prompt?: string | null | undefined;
148
+ dataset?: Record<string, unknown> | undefined;
147
149
  }, {
148
150
  suggest?: true | undefined;
149
151
  canExport?: boolean | null | undefined;
@@ -162,7 +164,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
162
164
  required?: boolean | null | undefined;
163
165
  } | null | undefined;
164
166
  uiConfiguration?: {
165
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
167
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
166
168
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
167
169
  } | null | undefined;
168
170
  width?: number | null | undefined;
@@ -172,6 +174,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
172
174
  formula?: string | null | undefined;
173
175
  context?: string[] | null | undefined;
174
176
  prompt?: string | null | undefined;
177
+ dataset?: Record<string, unknown> | undefined;
175
178
  }>>>, z.ZodIntersection<z.ZodObject<{
176
179
  type: z.ZodLiteral<"date">;
177
180
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -255,13 +258,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
255
258
  required?: boolean | null | undefined;
256
259
  }>>>;
257
260
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
258
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
261
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
259
262
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
260
263
  }, "strip", z.ZodTypeAny, {
261
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
264
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
262
265
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
263
266
  }, {
264
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
267
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
265
268
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
266
269
  }>>>;
267
270
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -271,6 +274,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
271
274
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
275
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
273
276
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
274
278
  }, "strip", z.ZodTypeAny, {
275
279
  suggest?: true | undefined;
276
280
  canExport?: boolean | null | undefined;
@@ -289,7 +293,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
289
293
  required?: boolean | null | undefined;
290
294
  } | null | undefined;
291
295
  uiConfiguration?: {
292
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
296
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
293
297
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
294
298
  } | null | undefined;
295
299
  width?: number | null | undefined;
@@ -299,6 +303,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
299
303
  formula?: string | null | undefined;
300
304
  context?: string[] | null | undefined;
301
305
  prompt?: string | null | undefined;
306
+ dataset?: Record<string, unknown> | undefined;
302
307
  }, {
303
308
  suggest?: true | undefined;
304
309
  canExport?: boolean | null | undefined;
@@ -317,7 +322,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
317
322
  required?: boolean | null | undefined;
318
323
  } | null | undefined;
319
324
  uiConfiguration?: {
320
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
325
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
321
326
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
322
327
  } | null | undefined;
323
328
  width?: number | null | undefined;
@@ -327,6 +332,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
327
332
  formula?: string | null | undefined;
328
333
  context?: string[] | null | undefined;
329
334
  prompt?: string | null | undefined;
335
+ dataset?: Record<string, unknown> | undefined;
330
336
  }>>>, z.ZodIntersection<z.ZodObject<{
331
337
  type: z.ZodLiteral<"number">;
332
338
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -437,13 +443,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
437
443
  required?: boolean | null | undefined;
438
444
  }>>>;
439
445
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
440
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
446
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
441
447
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
442
448
  }, "strip", z.ZodTypeAny, {
443
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
449
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
444
450
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
445
451
  }, {
446
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
452
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
447
453
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
448
454
  }>>>;
449
455
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -453,6 +459,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
453
459
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
454
460
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
455
461
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
462
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
456
463
  }, "strip", z.ZodTypeAny, {
457
464
  suggest?: true | undefined;
458
465
  canExport?: boolean | null | undefined;
@@ -471,7 +478,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
471
478
  required?: boolean | null | undefined;
472
479
  } | null | undefined;
473
480
  uiConfiguration?: {
474
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
481
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
475
482
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
476
483
  } | null | undefined;
477
484
  width?: number | null | undefined;
@@ -481,6 +488,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
481
488
  formula?: string | null | undefined;
482
489
  context?: string[] | null | undefined;
483
490
  prompt?: string | null | undefined;
491
+ dataset?: Record<string, unknown> | undefined;
484
492
  }, {
485
493
  suggest?: true | undefined;
486
494
  canExport?: boolean | null | undefined;
@@ -499,7 +507,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
499
507
  required?: boolean | null | undefined;
500
508
  } | null | undefined;
501
509
  uiConfiguration?: {
502
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
510
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
503
511
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
504
512
  } | null | undefined;
505
513
  width?: number | null | undefined;
@@ -509,6 +517,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
509
517
  formula?: string | null | undefined;
510
518
  context?: string[] | null | undefined;
511
519
  prompt?: string | null | undefined;
520
+ dataset?: Record<string, unknown> | undefined;
512
521
  }>>>, z.ZodIntersection<z.ZodObject<{
513
522
  type: z.ZodLiteral<"enum">;
514
523
  options: z.ZodArray<z.ZodObject<{
@@ -610,13 +619,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
610
619
  required?: boolean | null | undefined;
611
620
  }>>>;
612
621
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
613
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
622
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
614
623
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
615
624
  }, "strip", z.ZodTypeAny, {
616
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
625
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
617
626
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
618
627
  }, {
619
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
628
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
620
629
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
621
630
  }>>>;
622
631
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -626,6 +635,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
626
635
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
627
636
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
628
637
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
629
639
  }, "strip", z.ZodTypeAny, {
630
640
  suggest?: true | undefined;
631
641
  canExport?: boolean | null | undefined;
@@ -644,7 +654,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
644
654
  required?: boolean | null | undefined;
645
655
  } | null | undefined;
646
656
  uiConfiguration?: {
647
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
657
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
648
658
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
649
659
  } | null | undefined;
650
660
  width?: number | null | undefined;
@@ -654,6 +664,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
654
664
  formula?: string | null | undefined;
655
665
  context?: string[] | null | undefined;
656
666
  prompt?: string | null | undefined;
667
+ dataset?: Record<string, unknown> | undefined;
657
668
  }, {
658
669
  suggest?: true | undefined;
659
670
  canExport?: boolean | null | undefined;
@@ -672,7 +683,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
672
683
  required?: boolean | null | undefined;
673
684
  } | null | undefined;
674
685
  uiConfiguration?: {
675
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
686
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
676
687
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
677
688
  } | null | undefined;
678
689
  width?: number | null | undefined;
@@ -682,6 +693,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
682
693
  formula?: string | null | undefined;
683
694
  context?: string[] | null | undefined;
684
695
  prompt?: string | null | undefined;
696
+ dataset?: Record<string, unknown> | undefined;
685
697
  }>>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
686
698
  id: z.ZodString;
687
699
  label: z.ZodString;
@@ -806,13 +818,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
806
818
  required?: boolean | null | undefined;
807
819
  }>>>;
808
820
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
809
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
821
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
810
822
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
811
823
  }, "strip", z.ZodTypeAny, {
812
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
824
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
813
825
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
814
826
  }, {
815
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
827
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
816
828
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
817
829
  }>>>;
818
830
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -822,6 +834,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
822
834
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
823
835
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
824
836
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
837
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
825
838
  }, "strip", z.ZodTypeAny, {
826
839
  suggest?: true | undefined;
827
840
  canExport?: boolean | null | undefined;
@@ -840,7 +853,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
840
853
  required?: boolean | null | undefined;
841
854
  } | null | undefined;
842
855
  uiConfiguration?: {
843
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
856
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
844
857
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
845
858
  } | null | undefined;
846
859
  width?: number | null | undefined;
@@ -850,6 +863,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
850
863
  formula?: string | null | undefined;
851
864
  context?: string[] | null | undefined;
852
865
  prompt?: string | null | undefined;
866
+ dataset?: Record<string, unknown> | undefined;
853
867
  }, {
854
868
  suggest?: true | undefined;
855
869
  canExport?: boolean | null | undefined;
@@ -868,7 +882,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
868
882
  required?: boolean | null | undefined;
869
883
  } | null | undefined;
870
884
  uiConfiguration?: {
871
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
885
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
872
886
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
873
887
  } | null | undefined;
874
888
  width?: number | null | undefined;
@@ -878,6 +892,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
878
892
  formula?: string | null | undefined;
879
893
  context?: string[] | null | undefined;
880
894
  prompt?: string | null | undefined;
895
+ dataset?: Record<string, unknown> | undefined;
881
896
  }>>>, z.ZodIntersection<z.ZodObject<{
882
897
  type: z.ZodLiteral<"date">;
883
898
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -961,13 +976,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
961
976
  required?: boolean | null | undefined;
962
977
  }>>>;
963
978
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
964
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
979
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
965
980
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
966
981
  }, "strip", z.ZodTypeAny, {
967
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
982
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
968
983
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
969
984
  }, {
970
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
985
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
971
986
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
972
987
  }>>>;
973
988
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -977,6 +992,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
977
992
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
978
993
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
979
994
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
995
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
980
996
  }, "strip", z.ZodTypeAny, {
981
997
  suggest?: true | undefined;
982
998
  canExport?: boolean | null | undefined;
@@ -995,7 +1011,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
995
1011
  required?: boolean | null | undefined;
996
1012
  } | null | undefined;
997
1013
  uiConfiguration?: {
998
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1014
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
999
1015
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1000
1016
  } | null | undefined;
1001
1017
  width?: number | null | undefined;
@@ -1005,6 +1021,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1005
1021
  formula?: string | null | undefined;
1006
1022
  context?: string[] | null | undefined;
1007
1023
  prompt?: string | null | undefined;
1024
+ dataset?: Record<string, unknown> | undefined;
1008
1025
  }, {
1009
1026
  suggest?: true | undefined;
1010
1027
  canExport?: boolean | null | undefined;
@@ -1023,7 +1040,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1023
1040
  required?: boolean | null | undefined;
1024
1041
  } | null | undefined;
1025
1042
  uiConfiguration?: {
1026
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1043
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1027
1044
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1028
1045
  } | null | undefined;
1029
1046
  width?: number | null | undefined;
@@ -1033,6 +1050,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1033
1050
  formula?: string | null | undefined;
1034
1051
  context?: string[] | null | undefined;
1035
1052
  prompt?: string | null | undefined;
1053
+ dataset?: Record<string, unknown> | undefined;
1036
1054
  }>>>, z.ZodIntersection<z.ZodObject<{
1037
1055
  type: z.ZodLiteral<"number">;
1038
1056
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1143,13 +1161,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1143
1161
  required?: boolean | null | undefined;
1144
1162
  }>>>;
1145
1163
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1146
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
1164
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
1147
1165
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
1148
1166
  }, "strip", z.ZodTypeAny, {
1149
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1167
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1150
1168
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1151
1169
  }, {
1152
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1170
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1153
1171
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1154
1172
  }>>>;
1155
1173
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1159,6 +1177,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1159
1177
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1160
1178
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1161
1179
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1180
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1162
1181
  }, "strip", z.ZodTypeAny, {
1163
1182
  suggest?: true | undefined;
1164
1183
  canExport?: boolean | null | undefined;
@@ -1177,7 +1196,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1177
1196
  required?: boolean | null | undefined;
1178
1197
  } | null | undefined;
1179
1198
  uiConfiguration?: {
1180
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1199
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1181
1200
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1182
1201
  } | null | undefined;
1183
1202
  width?: number | null | undefined;
@@ -1187,6 +1206,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1187
1206
  formula?: string | null | undefined;
1188
1207
  context?: string[] | null | undefined;
1189
1208
  prompt?: string | null | undefined;
1209
+ dataset?: Record<string, unknown> | undefined;
1190
1210
  }, {
1191
1211
  suggest?: true | undefined;
1192
1212
  canExport?: boolean | null | undefined;
@@ -1205,7 +1225,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1205
1225
  required?: boolean | null | undefined;
1206
1226
  } | null | undefined;
1207
1227
  uiConfiguration?: {
1208
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1228
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1209
1229
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1210
1230
  } | null | undefined;
1211
1231
  width?: number | null | undefined;
@@ -1215,6 +1235,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1215
1235
  formula?: string | null | undefined;
1216
1236
  context?: string[] | null | undefined;
1217
1237
  prompt?: string | null | undefined;
1238
+ dataset?: Record<string, unknown> | undefined;
1218
1239
  }>>>, z.ZodIntersection<z.ZodObject<{
1219
1240
  type: z.ZodLiteral<"enum">;
1220
1241
  options: z.ZodArray<z.ZodObject<{
@@ -1316,13 +1337,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1316
1337
  required?: boolean | null | undefined;
1317
1338
  }>>>;
1318
1339
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1319
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
1340
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
1320
1341
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
1321
1342
  }, "strip", z.ZodTypeAny, {
1322
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1343
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1323
1344
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1324
1345
  }, {
1325
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1346
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1326
1347
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1327
1348
  }>>>;
1328
1349
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1332,6 +1353,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1332
1353
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1333
1354
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1334
1355
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1356
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1335
1357
  }, "strip", z.ZodTypeAny, {
1336
1358
  suggest?: true | undefined;
1337
1359
  canExport?: boolean | null | undefined;
@@ -1350,7 +1372,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1350
1372
  required?: boolean | null | undefined;
1351
1373
  } | null | undefined;
1352
1374
  uiConfiguration?: {
1353
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1375
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1354
1376
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1355
1377
  } | null | undefined;
1356
1378
  width?: number | null | undefined;
@@ -1360,6 +1382,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1360
1382
  formula?: string | null | undefined;
1361
1383
  context?: string[] | null | undefined;
1362
1384
  prompt?: string | null | undefined;
1385
+ dataset?: Record<string, unknown> | undefined;
1363
1386
  }, {
1364
1387
  suggest?: true | undefined;
1365
1388
  canExport?: boolean | null | undefined;
@@ -1378,7 +1401,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1378
1401
  required?: boolean | null | undefined;
1379
1402
  } | null | undefined;
1380
1403
  uiConfiguration?: {
1381
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1404
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1382
1405
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1383
1406
  } | null | undefined;
1384
1407
  width?: number | null | undefined;
@@ -1388,6 +1411,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1388
1411
  formula?: string | null | undefined;
1389
1412
  context?: string[] | null | undefined;
1390
1413
  prompt?: string | null | undefined;
1414
+ dataset?: Record<string, unknown> | undefined;
1391
1415
  }>>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1392
1416
  id: z.ZodString;
1393
1417
  label: z.ZodString;
@@ -1461,7 +1485,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1461
1485
  required?: boolean | null | undefined;
1462
1486
  } | null | undefined;
1463
1487
  uiConfiguration?: {
1464
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1488
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1465
1489
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1466
1490
  } | null | undefined;
1467
1491
  width?: number | null | undefined;
@@ -1471,6 +1495,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1471
1495
  formula?: string | null | undefined;
1472
1496
  context?: string[] | null | undefined;
1473
1497
  prompt?: string | null | undefined;
1498
+ dataset?: Record<string, unknown> | undefined;
1474
1499
  }) | ({
1475
1500
  type: "date";
1476
1501
  format?: string | null | undefined;
@@ -1500,7 +1525,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1500
1525
  required?: boolean | null | undefined;
1501
1526
  } | null | undefined;
1502
1527
  uiConfiguration?: {
1503
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1528
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1504
1529
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1505
1530
  } | null | undefined;
1506
1531
  width?: number | null | undefined;
@@ -1510,6 +1535,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1510
1535
  formula?: string | null | undefined;
1511
1536
  context?: string[] | null | undefined;
1512
1537
  prompt?: string | null | undefined;
1538
+ dataset?: Record<string, unknown> | undefined;
1513
1539
  }) | ({
1514
1540
  type: "number";
1515
1541
  format?: string | null | undefined;
@@ -1544,7 +1570,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1544
1570
  required?: boolean | null | undefined;
1545
1571
  } | null | undefined;
1546
1572
  uiConfiguration?: {
1547
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1573
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1548
1574
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1549
1575
  } | null | undefined;
1550
1576
  width?: number | null | undefined;
@@ -1554,6 +1580,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1554
1580
  formula?: string | null | undefined;
1555
1581
  context?: string[] | null | undefined;
1556
1582
  prompt?: string | null | undefined;
1583
+ dataset?: Record<string, unknown> | undefined;
1557
1584
  }) | ({
1558
1585
  options: {
1559
1586
  value: string;
@@ -1587,7 +1614,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1587
1614
  required?: boolean | null | undefined;
1588
1615
  } | null | undefined;
1589
1616
  uiConfiguration?: {
1590
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1617
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1591
1618
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1592
1619
  } | null | undefined;
1593
1620
  width?: number | null | undefined;
@@ -1597,6 +1624,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1597
1624
  formula?: string | null | undefined;
1598
1625
  context?: string[] | null | undefined;
1599
1626
  prompt?: string | null | undefined;
1627
+ dataset?: Record<string, unknown> | undefined;
1600
1628
  }) | ({
1601
1629
  id: string;
1602
1630
  label: string;
@@ -1643,7 +1671,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1643
1671
  required?: boolean | null | undefined;
1644
1672
  } | null | undefined;
1645
1673
  uiConfiguration?: {
1646
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1674
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1647
1675
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1648
1676
  } | null | undefined;
1649
1677
  width?: number | null | undefined;
@@ -1653,6 +1681,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1653
1681
  formula?: string | null | undefined;
1654
1682
  context?: string[] | null | undefined;
1655
1683
  prompt?: string | null | undefined;
1684
+ dataset?: Record<string, unknown> | undefined;
1656
1685
  }) | ({
1657
1686
  type: "date";
1658
1687
  format?: string | null | undefined;
@@ -1682,7 +1711,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1682
1711
  required?: boolean | null | undefined;
1683
1712
  } | null | undefined;
1684
1713
  uiConfiguration?: {
1685
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1714
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1686
1715
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1687
1716
  } | null | undefined;
1688
1717
  width?: number | null | undefined;
@@ -1692,6 +1721,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1692
1721
  formula?: string | null | undefined;
1693
1722
  context?: string[] | null | undefined;
1694
1723
  prompt?: string | null | undefined;
1724
+ dataset?: Record<string, unknown> | undefined;
1695
1725
  }) | ({
1696
1726
  type: "number";
1697
1727
  format?: string | null | undefined;
@@ -1726,7 +1756,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1726
1756
  required?: boolean | null | undefined;
1727
1757
  } | null | undefined;
1728
1758
  uiConfiguration?: {
1729
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1759
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1730
1760
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1731
1761
  } | null | undefined;
1732
1762
  width?: number | null | undefined;
@@ -1736,6 +1766,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1736
1766
  formula?: string | null | undefined;
1737
1767
  context?: string[] | null | undefined;
1738
1768
  prompt?: string | null | undefined;
1769
+ dataset?: Record<string, unknown> | undefined;
1739
1770
  }) | ({
1740
1771
  options: {
1741
1772
  value: string;
@@ -1769,7 +1800,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1769
1800
  required?: boolean | null | undefined;
1770
1801
  } | null | undefined;
1771
1802
  uiConfiguration?: {
1772
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1803
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1773
1804
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1774
1805
  } | null | undefined;
1775
1806
  width?: number | null | undefined;
@@ -1779,6 +1810,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1779
1810
  formula?: string | null | undefined;
1780
1811
  context?: string[] | null | undefined;
1781
1812
  prompt?: string | null | undefined;
1813
+ dataset?: Record<string, unknown> | undefined;
1782
1814
  }) | ({
1783
1815
  id: string;
1784
1816
  label: string;
@@ -1895,13 +1927,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1895
1927
  required?: boolean | null | undefined;
1896
1928
  }>>>;
1897
1929
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1898
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
1930
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
1899
1931
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
1900
1932
  }, "strip", z.ZodTypeAny, {
1901
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1933
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1902
1934
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1903
1935
  }, {
1904
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1936
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1905
1937
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1906
1938
  }>>>;
1907
1939
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1911,6 +1943,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1911
1943
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1912
1944
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1913
1945
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1946
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1914
1947
  }, "strip", z.ZodTypeAny, {
1915
1948
  suggest?: true | undefined;
1916
1949
  canExport?: boolean | null | undefined;
@@ -1929,7 +1962,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1929
1962
  required?: boolean | null | undefined;
1930
1963
  } | null | undefined;
1931
1964
  uiConfiguration?: {
1932
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1965
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1933
1966
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1934
1967
  } | null | undefined;
1935
1968
  width?: number | null | undefined;
@@ -1939,6 +1972,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1939
1972
  formula?: string | null | undefined;
1940
1973
  context?: string[] | null | undefined;
1941
1974
  prompt?: string | null | undefined;
1975
+ dataset?: Record<string, unknown> | undefined;
1942
1976
  }, {
1943
1977
  suggest?: true | undefined;
1944
1978
  canExport?: boolean | null | undefined;
@@ -1957,7 +1991,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1957
1991
  required?: boolean | null | undefined;
1958
1992
  } | null | undefined;
1959
1993
  uiConfiguration?: {
1960
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1994
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
1961
1995
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1962
1996
  } | null | undefined;
1963
1997
  width?: number | null | undefined;
@@ -1967,6 +2001,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1967
2001
  formula?: string | null | undefined;
1968
2002
  context?: string[] | null | undefined;
1969
2003
  prompt?: string | null | undefined;
2004
+ dataset?: Record<string, unknown> | undefined;
1970
2005
  }>>>, z.ZodIntersection<z.ZodObject<{
1971
2006
  type: z.ZodLiteral<"date">;
1972
2007
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2050,13 +2085,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2050
2085
  required?: boolean | null | undefined;
2051
2086
  }>>>;
2052
2087
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2053
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
2088
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
2054
2089
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
2055
2090
  }, "strip", z.ZodTypeAny, {
2056
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2091
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2057
2092
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2058
2093
  }, {
2059
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2094
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2060
2095
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2061
2096
  }>>>;
2062
2097
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2066,6 +2101,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2066
2101
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2067
2102
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2068
2103
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2104
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2069
2105
  }, "strip", z.ZodTypeAny, {
2070
2106
  suggest?: true | undefined;
2071
2107
  canExport?: boolean | null | undefined;
@@ -2084,7 +2120,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2084
2120
  required?: boolean | null | undefined;
2085
2121
  } | null | undefined;
2086
2122
  uiConfiguration?: {
2087
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2123
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2088
2124
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2089
2125
  } | null | undefined;
2090
2126
  width?: number | null | undefined;
@@ -2094,6 +2130,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2094
2130
  formula?: string | null | undefined;
2095
2131
  context?: string[] | null | undefined;
2096
2132
  prompt?: string | null | undefined;
2133
+ dataset?: Record<string, unknown> | undefined;
2097
2134
  }, {
2098
2135
  suggest?: true | undefined;
2099
2136
  canExport?: boolean | null | undefined;
@@ -2112,7 +2149,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2112
2149
  required?: boolean | null | undefined;
2113
2150
  } | null | undefined;
2114
2151
  uiConfiguration?: {
2115
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2152
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2116
2153
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2117
2154
  } | null | undefined;
2118
2155
  width?: number | null | undefined;
@@ -2122,6 +2159,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2122
2159
  formula?: string | null | undefined;
2123
2160
  context?: string[] | null | undefined;
2124
2161
  prompt?: string | null | undefined;
2162
+ dataset?: Record<string, unknown> | undefined;
2125
2163
  }>>>, z.ZodIntersection<z.ZodObject<{
2126
2164
  type: z.ZodLiteral<"number">;
2127
2165
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2232,13 +2270,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2232
2270
  required?: boolean | null | undefined;
2233
2271
  }>>>;
2234
2272
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2235
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
2273
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
2236
2274
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
2237
2275
  }, "strip", z.ZodTypeAny, {
2238
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2276
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2239
2277
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2240
2278
  }, {
2241
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2279
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2242
2280
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2243
2281
  }>>>;
2244
2282
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2248,6 +2286,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2248
2286
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2249
2287
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2250
2288
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2289
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2251
2290
  }, "strip", z.ZodTypeAny, {
2252
2291
  suggest?: true | undefined;
2253
2292
  canExport?: boolean | null | undefined;
@@ -2266,7 +2305,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2266
2305
  required?: boolean | null | undefined;
2267
2306
  } | null | undefined;
2268
2307
  uiConfiguration?: {
2269
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2308
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2270
2309
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2271
2310
  } | null | undefined;
2272
2311
  width?: number | null | undefined;
@@ -2276,6 +2315,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2276
2315
  formula?: string | null | undefined;
2277
2316
  context?: string[] | null | undefined;
2278
2317
  prompt?: string | null | undefined;
2318
+ dataset?: Record<string, unknown> | undefined;
2279
2319
  }, {
2280
2320
  suggest?: true | undefined;
2281
2321
  canExport?: boolean | null | undefined;
@@ -2294,7 +2334,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2294
2334
  required?: boolean | null | undefined;
2295
2335
  } | null | undefined;
2296
2336
  uiConfiguration?: {
2297
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2337
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2298
2338
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2299
2339
  } | null | undefined;
2300
2340
  width?: number | null | undefined;
@@ -2304,6 +2344,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2304
2344
  formula?: string | null | undefined;
2305
2345
  context?: string[] | null | undefined;
2306
2346
  prompt?: string | null | undefined;
2347
+ dataset?: Record<string, unknown> | undefined;
2307
2348
  }>>>, z.ZodIntersection<z.ZodObject<{
2308
2349
  type: z.ZodLiteral<"enum">;
2309
2350
  options: z.ZodArray<z.ZodObject<{
@@ -2405,13 +2446,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2405
2446
  required?: boolean | null | undefined;
2406
2447
  }>>>;
2407
2448
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2408
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
2449
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
2409
2450
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
2410
2451
  }, "strip", z.ZodTypeAny, {
2411
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2452
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2412
2453
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2413
2454
  }, {
2414
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2455
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2415
2456
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2416
2457
  }>>>;
2417
2458
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2421,6 +2462,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2421
2462
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2422
2463
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2423
2464
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2465
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2424
2466
  }, "strip", z.ZodTypeAny, {
2425
2467
  suggest?: true | undefined;
2426
2468
  canExport?: boolean | null | undefined;
@@ -2439,7 +2481,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2439
2481
  required?: boolean | null | undefined;
2440
2482
  } | null | undefined;
2441
2483
  uiConfiguration?: {
2442
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2484
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2443
2485
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2444
2486
  } | null | undefined;
2445
2487
  width?: number | null | undefined;
@@ -2449,6 +2491,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2449
2491
  formula?: string | null | undefined;
2450
2492
  context?: string[] | null | undefined;
2451
2493
  prompt?: string | null | undefined;
2494
+ dataset?: Record<string, unknown> | undefined;
2452
2495
  }, {
2453
2496
  suggest?: true | undefined;
2454
2497
  canExport?: boolean | null | undefined;
@@ -2467,7 +2510,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2467
2510
  required?: boolean | null | undefined;
2468
2511
  } | null | undefined;
2469
2512
  uiConfiguration?: {
2470
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2513
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2471
2514
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2472
2515
  } | null | undefined;
2473
2516
  width?: number | null | undefined;
@@ -2477,6 +2520,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2477
2520
  formula?: string | null | undefined;
2478
2521
  context?: string[] | null | undefined;
2479
2522
  prompt?: string | null | undefined;
2523
+ dataset?: Record<string, unknown> | undefined;
2480
2524
  }>>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2481
2525
  id: z.ZodString;
2482
2526
  label: z.ZodString;
@@ -2549,7 +2593,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2549
2593
  required?: boolean | null | undefined;
2550
2594
  } | null | undefined;
2551
2595
  uiConfiguration?: {
2552
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2596
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2553
2597
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2554
2598
  } | null | undefined;
2555
2599
  width?: number | null | undefined;
@@ -2559,6 +2603,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2559
2603
  formula?: string | null | undefined;
2560
2604
  context?: string[] | null | undefined;
2561
2605
  prompt?: string | null | undefined;
2606
+ dataset?: Record<string, unknown> | undefined;
2562
2607
  }) | ({
2563
2608
  type: "date";
2564
2609
  format?: string | null | undefined;
@@ -2588,7 +2633,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2588
2633
  required?: boolean | null | undefined;
2589
2634
  } | null | undefined;
2590
2635
  uiConfiguration?: {
2591
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2636
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2592
2637
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2593
2638
  } | null | undefined;
2594
2639
  width?: number | null | undefined;
@@ -2598,6 +2643,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2598
2643
  formula?: string | null | undefined;
2599
2644
  context?: string[] | null | undefined;
2600
2645
  prompt?: string | null | undefined;
2646
+ dataset?: Record<string, unknown> | undefined;
2601
2647
  }) | ({
2602
2648
  type: "number";
2603
2649
  format?: string | null | undefined;
@@ -2632,7 +2678,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2632
2678
  required?: boolean | null | undefined;
2633
2679
  } | null | undefined;
2634
2680
  uiConfiguration?: {
2635
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2681
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2636
2682
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2637
2683
  } | null | undefined;
2638
2684
  width?: number | null | undefined;
@@ -2642,6 +2688,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2642
2688
  formula?: string | null | undefined;
2643
2689
  context?: string[] | null | undefined;
2644
2690
  prompt?: string | null | undefined;
2691
+ dataset?: Record<string, unknown> | undefined;
2645
2692
  }) | ({
2646
2693
  options: {
2647
2694
  value: string;
@@ -2675,7 +2722,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2675
2722
  required?: boolean | null | undefined;
2676
2723
  } | null | undefined;
2677
2724
  uiConfiguration?: {
2678
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2725
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2679
2726
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2680
2727
  } | null | undefined;
2681
2728
  width?: number | null | undefined;
@@ -2685,6 +2732,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2685
2732
  formula?: string | null | undefined;
2686
2733
  context?: string[] | null | undefined;
2687
2734
  prompt?: string | null | undefined;
2735
+ dataset?: Record<string, unknown> | undefined;
2688
2736
  }) | ({
2689
2737
  id: string;
2690
2738
  label: string;
@@ -2729,7 +2777,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2729
2777
  required?: boolean | null | undefined;
2730
2778
  } | null | undefined;
2731
2779
  uiConfiguration?: {
2732
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2780
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2733
2781
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2734
2782
  } | null | undefined;
2735
2783
  width?: number | null | undefined;
@@ -2739,6 +2787,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2739
2787
  formula?: string | null | undefined;
2740
2788
  context?: string[] | null | undefined;
2741
2789
  prompt?: string | null | undefined;
2790
+ dataset?: Record<string, unknown> | undefined;
2742
2791
  }) | ({
2743
2792
  type: "date";
2744
2793
  format?: string | null | undefined;
@@ -2768,7 +2817,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2768
2817
  required?: boolean | null | undefined;
2769
2818
  } | null | undefined;
2770
2819
  uiConfiguration?: {
2771
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2820
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2772
2821
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2773
2822
  } | null | undefined;
2774
2823
  width?: number | null | undefined;
@@ -2778,6 +2827,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2778
2827
  formula?: string | null | undefined;
2779
2828
  context?: string[] | null | undefined;
2780
2829
  prompt?: string | null | undefined;
2830
+ dataset?: Record<string, unknown> | undefined;
2781
2831
  }) | ({
2782
2832
  type: "number";
2783
2833
  format?: string | null | undefined;
@@ -2812,7 +2862,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2812
2862
  required?: boolean | null | undefined;
2813
2863
  } | null | undefined;
2814
2864
  uiConfiguration?: {
2815
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2865
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2816
2866
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2817
2867
  } | null | undefined;
2818
2868
  width?: number | null | undefined;
@@ -2822,6 +2872,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2822
2872
  formula?: string | null | undefined;
2823
2873
  context?: string[] | null | undefined;
2824
2874
  prompt?: string | null | undefined;
2875
+ dataset?: Record<string, unknown> | undefined;
2825
2876
  }) | ({
2826
2877
  options: {
2827
2878
  value: string;
@@ -2855,7 +2906,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2855
2906
  required?: boolean | null | undefined;
2856
2907
  } | null | undefined;
2857
2908
  uiConfiguration?: {
2858
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2909
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
2859
2910
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2860
2911
  } | null | undefined;
2861
2912
  width?: number | null | undefined;
@@ -2865,6 +2916,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2865
2916
  formula?: string | null | undefined;
2866
2917
  context?: string[] | null | undefined;
2867
2918
  prompt?: string | null | undefined;
2919
+ dataset?: Record<string, unknown> | undefined;
2868
2920
  }) | ({
2869
2921
  id: string;
2870
2922
  label: string;
@@ -3022,13 +3074,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3022
3074
  required?: boolean | null | undefined;
3023
3075
  }>>>;
3024
3076
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3025
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
3077
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
3026
3078
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
3027
3079
  }, "strip", z.ZodTypeAny, {
3028
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3080
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3029
3081
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3030
3082
  }, {
3031
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3083
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3032
3084
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3033
3085
  }>>>;
3034
3086
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3038,6 +3090,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3038
3090
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3039
3091
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
3040
3092
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3093
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3041
3094
  }, "strip", z.ZodTypeAny, {
3042
3095
  suggest?: true | undefined;
3043
3096
  canExport?: boolean | null | undefined;
@@ -3056,7 +3109,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3056
3109
  required?: boolean | null | undefined;
3057
3110
  } | null | undefined;
3058
3111
  uiConfiguration?: {
3059
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3112
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3060
3113
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3061
3114
  } | null | undefined;
3062
3115
  width?: number | null | undefined;
@@ -3066,6 +3119,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3066
3119
  formula?: string | null | undefined;
3067
3120
  context?: string[] | null | undefined;
3068
3121
  prompt?: string | null | undefined;
3122
+ dataset?: Record<string, unknown> | undefined;
3069
3123
  }, {
3070
3124
  suggest?: true | undefined;
3071
3125
  canExport?: boolean | null | undefined;
@@ -3084,7 +3138,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3084
3138
  required?: boolean | null | undefined;
3085
3139
  } | null | undefined;
3086
3140
  uiConfiguration?: {
3087
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3141
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3088
3142
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3089
3143
  } | null | undefined;
3090
3144
  width?: number | null | undefined;
@@ -3094,6 +3148,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3094
3148
  formula?: string | null | undefined;
3095
3149
  context?: string[] | null | undefined;
3096
3150
  prompt?: string | null | undefined;
3151
+ dataset?: Record<string, unknown> | undefined;
3097
3152
  }>>>, z.ZodIntersection<z.ZodObject<{
3098
3153
  type: z.ZodLiteral<"date">;
3099
3154
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3177,13 +3232,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3177
3232
  required?: boolean | null | undefined;
3178
3233
  }>>>;
3179
3234
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3180
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
3235
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
3181
3236
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
3182
3237
  }, "strip", z.ZodTypeAny, {
3183
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3238
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3184
3239
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3185
3240
  }, {
3186
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3241
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3187
3242
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3188
3243
  }>>>;
3189
3244
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3193,6 +3248,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3193
3248
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3194
3249
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
3195
3250
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3251
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3196
3252
  }, "strip", z.ZodTypeAny, {
3197
3253
  suggest?: true | undefined;
3198
3254
  canExport?: boolean | null | undefined;
@@ -3211,7 +3267,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3211
3267
  required?: boolean | null | undefined;
3212
3268
  } | null | undefined;
3213
3269
  uiConfiguration?: {
3214
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3270
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3215
3271
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3216
3272
  } | null | undefined;
3217
3273
  width?: number | null | undefined;
@@ -3221,6 +3277,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3221
3277
  formula?: string | null | undefined;
3222
3278
  context?: string[] | null | undefined;
3223
3279
  prompt?: string | null | undefined;
3280
+ dataset?: Record<string, unknown> | undefined;
3224
3281
  }, {
3225
3282
  suggest?: true | undefined;
3226
3283
  canExport?: boolean | null | undefined;
@@ -3239,7 +3296,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3239
3296
  required?: boolean | null | undefined;
3240
3297
  } | null | undefined;
3241
3298
  uiConfiguration?: {
3242
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3299
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3243
3300
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3244
3301
  } | null | undefined;
3245
3302
  width?: number | null | undefined;
@@ -3249,6 +3306,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3249
3306
  formula?: string | null | undefined;
3250
3307
  context?: string[] | null | undefined;
3251
3308
  prompt?: string | null | undefined;
3309
+ dataset?: Record<string, unknown> | undefined;
3252
3310
  }>>>, z.ZodIntersection<z.ZodObject<{
3253
3311
  type: z.ZodLiteral<"number">;
3254
3312
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3359,13 +3417,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3359
3417
  required?: boolean | null | undefined;
3360
3418
  }>>>;
3361
3419
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3362
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
3420
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
3363
3421
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
3364
3422
  }, "strip", z.ZodTypeAny, {
3365
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3423
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3366
3424
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3367
3425
  }, {
3368
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3426
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3369
3427
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3370
3428
  }>>>;
3371
3429
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3375,6 +3433,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3375
3433
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3376
3434
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
3377
3435
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3436
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3378
3437
  }, "strip", z.ZodTypeAny, {
3379
3438
  suggest?: true | undefined;
3380
3439
  canExport?: boolean | null | undefined;
@@ -3393,7 +3452,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3393
3452
  required?: boolean | null | undefined;
3394
3453
  } | null | undefined;
3395
3454
  uiConfiguration?: {
3396
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3455
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3397
3456
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3398
3457
  } | null | undefined;
3399
3458
  width?: number | null | undefined;
@@ -3403,6 +3462,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3403
3462
  formula?: string | null | undefined;
3404
3463
  context?: string[] | null | undefined;
3405
3464
  prompt?: string | null | undefined;
3465
+ dataset?: Record<string, unknown> | undefined;
3406
3466
  }, {
3407
3467
  suggest?: true | undefined;
3408
3468
  canExport?: boolean | null | undefined;
@@ -3421,7 +3481,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3421
3481
  required?: boolean | null | undefined;
3422
3482
  } | null | undefined;
3423
3483
  uiConfiguration?: {
3424
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3484
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3425
3485
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3426
3486
  } | null | undefined;
3427
3487
  width?: number | null | undefined;
@@ -3431,6 +3491,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3431
3491
  formula?: string | null | undefined;
3432
3492
  context?: string[] | null | undefined;
3433
3493
  prompt?: string | null | undefined;
3494
+ dataset?: Record<string, unknown> | undefined;
3434
3495
  }>>>, z.ZodIntersection<z.ZodObject<{
3435
3496
  type: z.ZodLiteral<"enum">;
3436
3497
  options: z.ZodArray<z.ZodObject<{
@@ -3532,13 +3593,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3532
3593
  required?: boolean | null | undefined;
3533
3594
  }>>>;
3534
3595
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3535
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
3596
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
3536
3597
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
3537
3598
  }, "strip", z.ZodTypeAny, {
3538
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3599
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3539
3600
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3540
3601
  }, {
3541
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3602
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3542
3603
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3543
3604
  }>>>;
3544
3605
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3548,6 +3609,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3548
3609
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3549
3610
  context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
3550
3611
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3612
+ dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3551
3613
  }, "strip", z.ZodTypeAny, {
3552
3614
  suggest?: true | undefined;
3553
3615
  canExport?: boolean | null | undefined;
@@ -3566,7 +3628,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3566
3628
  required?: boolean | null | undefined;
3567
3629
  } | null | undefined;
3568
3630
  uiConfiguration?: {
3569
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3631
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3570
3632
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3571
3633
  } | null | undefined;
3572
3634
  width?: number | null | undefined;
@@ -3576,6 +3638,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3576
3638
  formula?: string | null | undefined;
3577
3639
  context?: string[] | null | undefined;
3578
3640
  prompt?: string | null | undefined;
3641
+ dataset?: Record<string, unknown> | undefined;
3579
3642
  }, {
3580
3643
  suggest?: true | undefined;
3581
3644
  canExport?: boolean | null | undefined;
@@ -3594,7 +3657,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3594
3657
  required?: boolean | null | undefined;
3595
3658
  } | null | undefined;
3596
3659
  uiConfiguration?: {
3597
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3660
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3598
3661
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3599
3662
  } | null | undefined;
3600
3663
  width?: number | null | undefined;
@@ -3604,6 +3667,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3604
3667
  formula?: string | null | undefined;
3605
3668
  context?: string[] | null | undefined;
3606
3669
  prompt?: string | null | undefined;
3670
+ dataset?: Record<string, unknown> | undefined;
3607
3671
  }>>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
3608
3672
  id: z.ZodString;
3609
3673
  label: z.ZodString;
@@ -3677,7 +3741,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3677
3741
  required?: boolean | null | undefined;
3678
3742
  } | null | undefined;
3679
3743
  uiConfiguration?: {
3680
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3744
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3681
3745
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3682
3746
  } | null | undefined;
3683
3747
  width?: number | null | undefined;
@@ -3687,6 +3751,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3687
3751
  formula?: string | null | undefined;
3688
3752
  context?: string[] | null | undefined;
3689
3753
  prompt?: string | null | undefined;
3754
+ dataset?: Record<string, unknown> | undefined;
3690
3755
  }) | ({
3691
3756
  type: "date";
3692
3757
  format?: string | null | undefined;
@@ -3716,7 +3781,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3716
3781
  required?: boolean | null | undefined;
3717
3782
  } | null | undefined;
3718
3783
  uiConfiguration?: {
3719
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3784
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3720
3785
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3721
3786
  } | null | undefined;
3722
3787
  width?: number | null | undefined;
@@ -3726,6 +3791,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3726
3791
  formula?: string | null | undefined;
3727
3792
  context?: string[] | null | undefined;
3728
3793
  prompt?: string | null | undefined;
3794
+ dataset?: Record<string, unknown> | undefined;
3729
3795
  }) | ({
3730
3796
  type: "number";
3731
3797
  format?: string | null | undefined;
@@ -3760,7 +3826,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3760
3826
  required?: boolean | null | undefined;
3761
3827
  } | null | undefined;
3762
3828
  uiConfiguration?: {
3763
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3829
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3764
3830
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3765
3831
  } | null | undefined;
3766
3832
  width?: number | null | undefined;
@@ -3770,6 +3836,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3770
3836
  formula?: string | null | undefined;
3771
3837
  context?: string[] | null | undefined;
3772
3838
  prompt?: string | null | undefined;
3839
+ dataset?: Record<string, unknown> | undefined;
3773
3840
  }) | ({
3774
3841
  options: {
3775
3842
  value: string;
@@ -3803,7 +3870,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3803
3870
  required?: boolean | null | undefined;
3804
3871
  } | null | undefined;
3805
3872
  uiConfiguration?: {
3806
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3873
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3807
3874
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3808
3875
  } | null | undefined;
3809
3876
  width?: number | null | undefined;
@@ -3813,6 +3880,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3813
3880
  formula?: string | null | undefined;
3814
3881
  context?: string[] | null | undefined;
3815
3882
  prompt?: string | null | undefined;
3883
+ dataset?: Record<string, unknown> | undefined;
3816
3884
  }) | ({
3817
3885
  id: string;
3818
3886
  label: string;
@@ -3859,7 +3927,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3859
3927
  required?: boolean | null | undefined;
3860
3928
  } | null | undefined;
3861
3929
  uiConfiguration?: {
3862
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3930
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3863
3931
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3864
3932
  } | null | undefined;
3865
3933
  width?: number | null | undefined;
@@ -3869,6 +3937,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3869
3937
  formula?: string | null | undefined;
3870
3938
  context?: string[] | null | undefined;
3871
3939
  prompt?: string | null | undefined;
3940
+ dataset?: Record<string, unknown> | undefined;
3872
3941
  }) | ({
3873
3942
  type: "date";
3874
3943
  format?: string | null | undefined;
@@ -3898,7 +3967,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3898
3967
  required?: boolean | null | undefined;
3899
3968
  } | null | undefined;
3900
3969
  uiConfiguration?: {
3901
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3970
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3902
3971
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3903
3972
  } | null | undefined;
3904
3973
  width?: number | null | undefined;
@@ -3908,6 +3977,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3908
3977
  formula?: string | null | undefined;
3909
3978
  context?: string[] | null | undefined;
3910
3979
  prompt?: string | null | undefined;
3980
+ dataset?: Record<string, unknown> | undefined;
3911
3981
  }) | ({
3912
3982
  type: "number";
3913
3983
  format?: string | null | undefined;
@@ -3942,7 +4012,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3942
4012
  required?: boolean | null | undefined;
3943
4013
  } | null | undefined;
3944
4014
  uiConfiguration?: {
3945
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4015
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3946
4016
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3947
4017
  } | null | undefined;
3948
4018
  width?: number | null | undefined;
@@ -3952,6 +4022,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3952
4022
  formula?: string | null | undefined;
3953
4023
  context?: string[] | null | undefined;
3954
4024
  prompt?: string | null | undefined;
4025
+ dataset?: Record<string, unknown> | undefined;
3955
4026
  }) | ({
3956
4027
  options: {
3957
4028
  value: string;
@@ -3985,7 +4056,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3985
4056
  required?: boolean | null | undefined;
3986
4057
  } | null | undefined;
3987
4058
  uiConfiguration?: {
3988
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4059
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
3989
4060
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3990
4061
  } | null | undefined;
3991
4062
  width?: number | null | undefined;
@@ -3995,6 +4066,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3995
4066
  formula?: string | null | undefined;
3996
4067
  context?: string[] | null | undefined;
3997
4068
  prompt?: string | null | undefined;
4069
+ dataset?: Record<string, unknown> | undefined;
3998
4070
  }) | ({
3999
4071
  id: string;
4000
4072
  label: string;
@@ -4061,7 +4133,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4061
4133
  required?: boolean | null | undefined;
4062
4134
  } | null | undefined;
4063
4135
  uiConfiguration?: {
4064
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4136
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4065
4137
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4066
4138
  } | null | undefined;
4067
4139
  width?: number | null | undefined;
@@ -4071,6 +4143,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4071
4143
  formula?: string | null | undefined;
4072
4144
  context?: string[] | null | undefined;
4073
4145
  prompt?: string | null | undefined;
4146
+ dataset?: Record<string, unknown> | undefined;
4074
4147
  }) | ({
4075
4148
  type: "date";
4076
4149
  format?: string | null | undefined;
@@ -4100,7 +4173,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4100
4173
  required?: boolean | null | undefined;
4101
4174
  } | null | undefined;
4102
4175
  uiConfiguration?: {
4103
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4176
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4104
4177
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4105
4178
  } | null | undefined;
4106
4179
  width?: number | null | undefined;
@@ -4110,6 +4183,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4110
4183
  formula?: string | null | undefined;
4111
4184
  context?: string[] | null | undefined;
4112
4185
  prompt?: string | null | undefined;
4186
+ dataset?: Record<string, unknown> | undefined;
4113
4187
  }) | ({
4114
4188
  type: "number";
4115
4189
  format?: string | null | undefined;
@@ -4144,7 +4218,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4144
4218
  required?: boolean | null | undefined;
4145
4219
  } | null | undefined;
4146
4220
  uiConfiguration?: {
4147
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4221
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4148
4222
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4149
4223
  } | null | undefined;
4150
4224
  width?: number | null | undefined;
@@ -4154,6 +4228,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4154
4228
  formula?: string | null | undefined;
4155
4229
  context?: string[] | null | undefined;
4156
4230
  prompt?: string | null | undefined;
4231
+ dataset?: Record<string, unknown> | undefined;
4157
4232
  }) | ({
4158
4233
  options: {
4159
4234
  value: string;
@@ -4187,7 +4262,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4187
4262
  required?: boolean | null | undefined;
4188
4263
  } | null | undefined;
4189
4264
  uiConfiguration?: {
4190
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4265
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4191
4266
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4192
4267
  } | null | undefined;
4193
4268
  width?: number | null | undefined;
@@ -4197,6 +4272,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4197
4272
  formula?: string | null | undefined;
4198
4273
  context?: string[] | null | undefined;
4199
4274
  prompt?: string | null | undefined;
4275
+ dataset?: Record<string, unknown> | undefined;
4200
4276
  }) | ({
4201
4277
  id: string;
4202
4278
  label: string;
@@ -4251,7 +4327,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4251
4327
  required?: boolean | null | undefined;
4252
4328
  } | null | undefined;
4253
4329
  uiConfiguration?: {
4254
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4330
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4255
4331
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4256
4332
  } | null | undefined;
4257
4333
  width?: number | null | undefined;
@@ -4261,6 +4337,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4261
4337
  formula?: string | null | undefined;
4262
4338
  context?: string[] | null | undefined;
4263
4339
  prompt?: string | null | undefined;
4340
+ dataset?: Record<string, unknown> | undefined;
4264
4341
  }) | ({
4265
4342
  type: "date";
4266
4343
  format?: string | null | undefined;
@@ -4290,7 +4367,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4290
4367
  required?: boolean | null | undefined;
4291
4368
  } | null | undefined;
4292
4369
  uiConfiguration?: {
4293
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4370
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4294
4371
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4295
4372
  } | null | undefined;
4296
4373
  width?: number | null | undefined;
@@ -4300,6 +4377,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4300
4377
  formula?: string | null | undefined;
4301
4378
  context?: string[] | null | undefined;
4302
4379
  prompt?: string | null | undefined;
4380
+ dataset?: Record<string, unknown> | undefined;
4303
4381
  }) | ({
4304
4382
  type: "number";
4305
4383
  format?: string | null | undefined;
@@ -4334,7 +4412,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4334
4412
  required?: boolean | null | undefined;
4335
4413
  } | null | undefined;
4336
4414
  uiConfiguration?: {
4337
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4415
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4338
4416
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4339
4417
  } | null | undefined;
4340
4418
  width?: number | null | undefined;
@@ -4344,6 +4422,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4344
4422
  formula?: string | null | undefined;
4345
4423
  context?: string[] | null | undefined;
4346
4424
  prompt?: string | null | undefined;
4425
+ dataset?: Record<string, unknown> | undefined;
4347
4426
  }) | ({
4348
4427
  options: {
4349
4428
  value: string;
@@ -4377,7 +4456,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4377
4456
  required?: boolean | null | undefined;
4378
4457
  } | null | undefined;
4379
4458
  uiConfiguration?: {
4380
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4459
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4381
4460
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4382
4461
  } | null | undefined;
4383
4462
  width?: number | null | undefined;
@@ -4387,6 +4466,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4387
4466
  formula?: string | null | undefined;
4388
4467
  context?: string[] | null | undefined;
4389
4468
  prompt?: string | null | undefined;
4469
+ dataset?: Record<string, unknown> | undefined;
4390
4470
  }) | ({
4391
4471
  id: string;
4392
4472
  label: string;
@@ -4501,7 +4581,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4501
4581
  required?: boolean | null | undefined;
4502
4582
  } | null | undefined;
4503
4583
  uiConfiguration?: {
4504
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4584
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4505
4585
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4506
4586
  } | null | undefined;
4507
4587
  width?: number | null | undefined;
@@ -4511,6 +4591,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4511
4591
  formula?: string | null | undefined;
4512
4592
  context?: string[] | null | undefined;
4513
4593
  prompt?: string | null | undefined;
4594
+ dataset?: Record<string, unknown> | undefined;
4514
4595
  }) | ({
4515
4596
  type: "date";
4516
4597
  format?: string | null | undefined;
@@ -4540,7 +4621,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4540
4621
  required?: boolean | null | undefined;
4541
4622
  } | null | undefined;
4542
4623
  uiConfiguration?: {
4543
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4624
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4544
4625
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4545
4626
  } | null | undefined;
4546
4627
  width?: number | null | undefined;
@@ -4550,6 +4631,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4550
4631
  formula?: string | null | undefined;
4551
4632
  context?: string[] | null | undefined;
4552
4633
  prompt?: string | null | undefined;
4634
+ dataset?: Record<string, unknown> | undefined;
4553
4635
  }) | ({
4554
4636
  type: "number";
4555
4637
  format?: string | null | undefined;
@@ -4584,7 +4666,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4584
4666
  required?: boolean | null | undefined;
4585
4667
  } | null | undefined;
4586
4668
  uiConfiguration?: {
4587
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4669
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4588
4670
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4589
4671
  } | null | undefined;
4590
4672
  width?: number | null | undefined;
@@ -4594,6 +4676,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4594
4676
  formula?: string | null | undefined;
4595
4677
  context?: string[] | null | undefined;
4596
4678
  prompt?: string | null | undefined;
4679
+ dataset?: Record<string, unknown> | undefined;
4597
4680
  }) | ({
4598
4681
  options: {
4599
4682
  value: string;
@@ -4627,7 +4710,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4627
4710
  required?: boolean | null | undefined;
4628
4711
  } | null | undefined;
4629
4712
  uiConfiguration?: {
4630
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4713
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4631
4714
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4632
4715
  } | null | undefined;
4633
4716
  width?: number | null | undefined;
@@ -4637,6 +4720,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4637
4720
  formula?: string | null | undefined;
4638
4721
  context?: string[] | null | undefined;
4639
4722
  prompt?: string | null | undefined;
4723
+ dataset?: Record<string, unknown> | undefined;
4640
4724
  }) | ({
4641
4725
  id: string;
4642
4726
  label: string;
@@ -4680,7 +4764,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4680
4764
  required?: boolean | null | undefined;
4681
4765
  } | null | undefined;
4682
4766
  uiConfiguration?: {
4683
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4767
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4684
4768
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4685
4769
  } | null | undefined;
4686
4770
  width?: number | null | undefined;
@@ -4690,6 +4774,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4690
4774
  formula?: string | null | undefined;
4691
4775
  context?: string[] | null | undefined;
4692
4776
  prompt?: string | null | undefined;
4777
+ dataset?: Record<string, unknown> | undefined;
4693
4778
  }) | ({
4694
4779
  type: "date";
4695
4780
  format?: string | null | undefined;
@@ -4719,7 +4804,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4719
4804
  required?: boolean | null | undefined;
4720
4805
  } | null | undefined;
4721
4806
  uiConfiguration?: {
4722
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4807
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4723
4808
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4724
4809
  } | null | undefined;
4725
4810
  width?: number | null | undefined;
@@ -4729,6 +4814,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4729
4814
  formula?: string | null | undefined;
4730
4815
  context?: string[] | null | undefined;
4731
4816
  prompt?: string | null | undefined;
4817
+ dataset?: Record<string, unknown> | undefined;
4732
4818
  }) | ({
4733
4819
  type: "number";
4734
4820
  format?: string | null | undefined;
@@ -4763,7 +4849,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4763
4849
  required?: boolean | null | undefined;
4764
4850
  } | null | undefined;
4765
4851
  uiConfiguration?: {
4766
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4852
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4767
4853
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4768
4854
  } | null | undefined;
4769
4855
  width?: number | null | undefined;
@@ -4773,6 +4859,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4773
4859
  formula?: string | null | undefined;
4774
4860
  context?: string[] | null | undefined;
4775
4861
  prompt?: string | null | undefined;
4862
+ dataset?: Record<string, unknown> | undefined;
4776
4863
  }) | ({
4777
4864
  options: {
4778
4865
  value: string;
@@ -4806,7 +4893,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4806
4893
  required?: boolean | null | undefined;
4807
4894
  } | null | undefined;
4808
4895
  uiConfiguration?: {
4809
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4896
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4810
4897
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4811
4898
  } | null | undefined;
4812
4899
  width?: number | null | undefined;
@@ -4816,6 +4903,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4816
4903
  formula?: string | null | undefined;
4817
4904
  context?: string[] | null | undefined;
4818
4905
  prompt?: string | null | undefined;
4906
+ dataset?: Record<string, unknown> | undefined;
4819
4907
  }) | ({
4820
4908
  id: string;
4821
4909
  label: string;
@@ -4868,7 +4956,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4868
4956
  required?: boolean | null | undefined;
4869
4957
  } | null | undefined;
4870
4958
  uiConfiguration?: {
4871
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4959
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4872
4960
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4873
4961
  } | null | undefined;
4874
4962
  width?: number | null | undefined;
@@ -4878,6 +4966,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4878
4966
  formula?: string | null | undefined;
4879
4967
  context?: string[] | null | undefined;
4880
4968
  prompt?: string | null | undefined;
4969
+ dataset?: Record<string, unknown> | undefined;
4881
4970
  }) | ({
4882
4971
  type: "date";
4883
4972
  format?: string | null | undefined;
@@ -4907,7 +4996,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4907
4996
  required?: boolean | null | undefined;
4908
4997
  } | null | undefined;
4909
4998
  uiConfiguration?: {
4910
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4999
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4911
5000
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4912
5001
  } | null | undefined;
4913
5002
  width?: number | null | undefined;
@@ -4917,6 +5006,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4917
5006
  formula?: string | null | undefined;
4918
5007
  context?: string[] | null | undefined;
4919
5008
  prompt?: string | null | undefined;
5009
+ dataset?: Record<string, unknown> | undefined;
4920
5010
  }) | ({
4921
5011
  type: "number";
4922
5012
  format?: string | null | undefined;
@@ -4951,7 +5041,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4951
5041
  required?: boolean | null | undefined;
4952
5042
  } | null | undefined;
4953
5043
  uiConfiguration?: {
4954
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5044
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4955
5045
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4956
5046
  } | null | undefined;
4957
5047
  width?: number | null | undefined;
@@ -4961,6 +5051,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4961
5051
  formula?: string | null | undefined;
4962
5052
  context?: string[] | null | undefined;
4963
5053
  prompt?: string | null | undefined;
5054
+ dataset?: Record<string, unknown> | undefined;
4964
5055
  }) | ({
4965
5056
  options: {
4966
5057
  value: string;
@@ -4994,7 +5085,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4994
5085
  required?: boolean | null | undefined;
4995
5086
  } | null | undefined;
4996
5087
  uiConfiguration?: {
4997
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5088
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
4998
5089
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4999
5090
  } | null | undefined;
5000
5091
  width?: number | null | undefined;
@@ -5004,6 +5095,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5004
5095
  formula?: string | null | undefined;
5005
5096
  context?: string[] | null | undefined;
5006
5097
  prompt?: string | null | undefined;
5098
+ dataset?: Record<string, unknown> | undefined;
5007
5099
  }) | ({
5008
5100
  id: string;
5009
5101
  label: string;
@@ -5066,7 +5158,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5066
5158
  required?: boolean | null | undefined;
5067
5159
  } | null | undefined;
5068
5160
  uiConfiguration?: {
5069
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5161
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5070
5162
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5071
5163
  } | null | undefined;
5072
5164
  width?: number | null | undefined;
@@ -5076,6 +5168,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5076
5168
  formula?: string | null | undefined;
5077
5169
  context?: string[] | null | undefined;
5078
5170
  prompt?: string | null | undefined;
5171
+ dataset?: Record<string, unknown> | undefined;
5079
5172
  }) | ({
5080
5173
  type: "date";
5081
5174
  format?: string | null | undefined;
@@ -5105,7 +5198,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5105
5198
  required?: boolean | null | undefined;
5106
5199
  } | null | undefined;
5107
5200
  uiConfiguration?: {
5108
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5201
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5109
5202
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5110
5203
  } | null | undefined;
5111
5204
  width?: number | null | undefined;
@@ -5115,6 +5208,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5115
5208
  formula?: string | null | undefined;
5116
5209
  context?: string[] | null | undefined;
5117
5210
  prompt?: string | null | undefined;
5211
+ dataset?: Record<string, unknown> | undefined;
5118
5212
  }) | ({
5119
5213
  type: "number";
5120
5214
  format?: string | null | undefined;
@@ -5149,7 +5243,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5149
5243
  required?: boolean | null | undefined;
5150
5244
  } | null | undefined;
5151
5245
  uiConfiguration?: {
5152
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5246
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5153
5247
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5154
5248
  } | null | undefined;
5155
5249
  width?: number | null | undefined;
@@ -5159,6 +5253,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5159
5253
  formula?: string | null | undefined;
5160
5254
  context?: string[] | null | undefined;
5161
5255
  prompt?: string | null | undefined;
5256
+ dataset?: Record<string, unknown> | undefined;
5162
5257
  }) | ({
5163
5258
  options: {
5164
5259
  value: string;
@@ -5192,7 +5287,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5192
5287
  required?: boolean | null | undefined;
5193
5288
  } | null | undefined;
5194
5289
  uiConfiguration?: {
5195
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5290
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5196
5291
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5197
5292
  } | null | undefined;
5198
5293
  width?: number | null | undefined;
@@ -5202,6 +5297,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5202
5297
  formula?: string | null | undefined;
5203
5298
  context?: string[] | null | undefined;
5204
5299
  prompt?: string | null | undefined;
5300
+ dataset?: Record<string, unknown> | undefined;
5205
5301
  }) | ({
5206
5302
  id: string;
5207
5303
  label: string;
@@ -5275,7 +5371,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5275
5371
  required?: boolean | null | undefined;
5276
5372
  } | null | undefined;
5277
5373
  uiConfiguration?: {
5278
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5374
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5279
5375
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5280
5376
  } | null | undefined;
5281
5377
  width?: number | null | undefined;
@@ -5285,6 +5381,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5285
5381
  formula?: string | null | undefined;
5286
5382
  context?: string[] | null | undefined;
5287
5383
  prompt?: string | null | undefined;
5384
+ dataset?: Record<string, unknown> | undefined;
5288
5385
  }) | ({
5289
5386
  type: "date";
5290
5387
  format?: string | null | undefined;
@@ -5314,7 +5411,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5314
5411
  required?: boolean | null | undefined;
5315
5412
  } | null | undefined;
5316
5413
  uiConfiguration?: {
5317
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5414
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5318
5415
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5319
5416
  } | null | undefined;
5320
5417
  width?: number | null | undefined;
@@ -5324,6 +5421,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5324
5421
  formula?: string | null | undefined;
5325
5422
  context?: string[] | null | undefined;
5326
5423
  prompt?: string | null | undefined;
5424
+ dataset?: Record<string, unknown> | undefined;
5327
5425
  }) | ({
5328
5426
  type: "number";
5329
5427
  format?: string | null | undefined;
@@ -5358,7 +5456,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5358
5456
  required?: boolean | null | undefined;
5359
5457
  } | null | undefined;
5360
5458
  uiConfiguration?: {
5361
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5459
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5362
5460
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5363
5461
  } | null | undefined;
5364
5462
  width?: number | null | undefined;
@@ -5368,6 +5466,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5368
5466
  formula?: string | null | undefined;
5369
5467
  context?: string[] | null | undefined;
5370
5468
  prompt?: string | null | undefined;
5469
+ dataset?: Record<string, unknown> | undefined;
5371
5470
  }) | ({
5372
5471
  options: {
5373
5472
  value: string;
@@ -5401,7 +5500,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5401
5500
  required?: boolean | null | undefined;
5402
5501
  } | null | undefined;
5403
5502
  uiConfiguration?: {
5404
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5503
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5405
5504
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5406
5505
  } | null | undefined;
5407
5506
  width?: number | null | undefined;
@@ -5411,6 +5510,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5411
5510
  formula?: string | null | undefined;
5412
5511
  context?: string[] | null | undefined;
5413
5512
  prompt?: string | null | undefined;
5513
+ dataset?: Record<string, unknown> | undefined;
5414
5514
  }) | ({
5415
5515
  id: string;
5416
5516
  label: string;
@@ -5454,7 +5554,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5454
5554
  required?: boolean | null | undefined;
5455
5555
  } | null | undefined;
5456
5556
  uiConfiguration?: {
5457
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5557
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5458
5558
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5459
5559
  } | null | undefined;
5460
5560
  width?: number | null | undefined;
@@ -5464,6 +5564,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5464
5564
  formula?: string | null | undefined;
5465
5565
  context?: string[] | null | undefined;
5466
5566
  prompt?: string | null | undefined;
5567
+ dataset?: Record<string, unknown> | undefined;
5467
5568
  }) | ({
5468
5569
  type: "date";
5469
5570
  format?: string | null | undefined;
@@ -5493,7 +5594,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5493
5594
  required?: boolean | null | undefined;
5494
5595
  } | null | undefined;
5495
5596
  uiConfiguration?: {
5496
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5597
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5497
5598
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5498
5599
  } | null | undefined;
5499
5600
  width?: number | null | undefined;
@@ -5503,6 +5604,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5503
5604
  formula?: string | null | undefined;
5504
5605
  context?: string[] | null | undefined;
5505
5606
  prompt?: string | null | undefined;
5607
+ dataset?: Record<string, unknown> | undefined;
5506
5608
  }) | ({
5507
5609
  type: "number";
5508
5610
  format?: string | null | undefined;
@@ -5537,7 +5639,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5537
5639
  required?: boolean | null | undefined;
5538
5640
  } | null | undefined;
5539
5641
  uiConfiguration?: {
5540
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5642
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5541
5643
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5542
5644
  } | null | undefined;
5543
5645
  width?: number | null | undefined;
@@ -5547,6 +5649,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5547
5649
  formula?: string | null | undefined;
5548
5650
  context?: string[] | null | undefined;
5549
5651
  prompt?: string | null | undefined;
5652
+ dataset?: Record<string, unknown> | undefined;
5550
5653
  }) | ({
5551
5654
  options: {
5552
5655
  value: string;
@@ -5580,7 +5683,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5580
5683
  required?: boolean | null | undefined;
5581
5684
  } | null | undefined;
5582
5685
  uiConfiguration?: {
5583
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5686
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5584
5687
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5585
5688
  } | null | undefined;
5586
5689
  width?: number | null | undefined;
@@ -5590,6 +5693,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5590
5693
  formula?: string | null | undefined;
5591
5694
  context?: string[] | null | undefined;
5592
5695
  prompt?: string | null | undefined;
5696
+ dataset?: Record<string, unknown> | undefined;
5593
5697
  }) | ({
5594
5698
  id: string;
5595
5699
  label: string;
@@ -5642,7 +5746,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5642
5746
  required?: boolean | null | undefined;
5643
5747
  } | null | undefined;
5644
5748
  uiConfiguration?: {
5645
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5749
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5646
5750
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5647
5751
  } | null | undefined;
5648
5752
  width?: number | null | undefined;
@@ -5652,6 +5756,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5652
5756
  formula?: string | null | undefined;
5653
5757
  context?: string[] | null | undefined;
5654
5758
  prompt?: string | null | undefined;
5759
+ dataset?: Record<string, unknown> | undefined;
5655
5760
  }) | ({
5656
5761
  type: "date";
5657
5762
  format?: string | null | undefined;
@@ -5681,7 +5786,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5681
5786
  required?: boolean | null | undefined;
5682
5787
  } | null | undefined;
5683
5788
  uiConfiguration?: {
5684
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5789
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5685
5790
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5686
5791
  } | null | undefined;
5687
5792
  width?: number | null | undefined;
@@ -5691,6 +5796,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5691
5796
  formula?: string | null | undefined;
5692
5797
  context?: string[] | null | undefined;
5693
5798
  prompt?: string | null | undefined;
5799
+ dataset?: Record<string, unknown> | undefined;
5694
5800
  }) | ({
5695
5801
  type: "number";
5696
5802
  format?: string | null | undefined;
@@ -5725,7 +5831,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5725
5831
  required?: boolean | null | undefined;
5726
5832
  } | null | undefined;
5727
5833
  uiConfiguration?: {
5728
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5834
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5729
5835
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5730
5836
  } | null | undefined;
5731
5837
  width?: number | null | undefined;
@@ -5735,6 +5841,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5735
5841
  formula?: string | null | undefined;
5736
5842
  context?: string[] | null | undefined;
5737
5843
  prompt?: string | null | undefined;
5844
+ dataset?: Record<string, unknown> | undefined;
5738
5845
  }) | ({
5739
5846
  options: {
5740
5847
  value: string;
@@ -5768,7 +5875,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5768
5875
  required?: boolean | null | undefined;
5769
5876
  } | null | undefined;
5770
5877
  uiConfiguration?: {
5771
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5878
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5772
5879
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5773
5880
  } | null | undefined;
5774
5881
  width?: number | null | undefined;
@@ -5778,6 +5885,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5778
5885
  formula?: string | null | undefined;
5779
5886
  context?: string[] | null | undefined;
5780
5887
  prompt?: string | null | undefined;
5888
+ dataset?: Record<string, unknown> | undefined;
5781
5889
  }) | ({
5782
5890
  id: string;
5783
5891
  label: string;
@@ -5840,7 +5948,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5840
5948
  required?: boolean | null | undefined;
5841
5949
  } | null | undefined;
5842
5950
  uiConfiguration?: {
5843
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5951
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5844
5952
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5845
5953
  } | null | undefined;
5846
5954
  width?: number | null | undefined;
@@ -5850,6 +5958,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5850
5958
  formula?: string | null | undefined;
5851
5959
  context?: string[] | null | undefined;
5852
5960
  prompt?: string | null | undefined;
5961
+ dataset?: Record<string, unknown> | undefined;
5853
5962
  }) | ({
5854
5963
  type: "date";
5855
5964
  format?: string | null | undefined;
@@ -5879,7 +5988,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5879
5988
  required?: boolean | null | undefined;
5880
5989
  } | null | undefined;
5881
5990
  uiConfiguration?: {
5882
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5991
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5883
5992
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5884
5993
  } | null | undefined;
5885
5994
  width?: number | null | undefined;
@@ -5889,6 +5998,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5889
5998
  formula?: string | null | undefined;
5890
5999
  context?: string[] | null | undefined;
5891
6000
  prompt?: string | null | undefined;
6001
+ dataset?: Record<string, unknown> | undefined;
5892
6002
  }) | ({
5893
6003
  type: "number";
5894
6004
  format?: string | null | undefined;
@@ -5923,7 +6033,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5923
6033
  required?: boolean | null | undefined;
5924
6034
  } | null | undefined;
5925
6035
  uiConfiguration?: {
5926
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
6036
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5927
6037
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5928
6038
  } | null | undefined;
5929
6039
  width?: number | null | undefined;
@@ -5933,6 +6043,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5933
6043
  formula?: string | null | undefined;
5934
6044
  context?: string[] | null | undefined;
5935
6045
  prompt?: string | null | undefined;
6046
+ dataset?: Record<string, unknown> | undefined;
5936
6047
  }) | ({
5937
6048
  options: {
5938
6049
  value: string;
@@ -5966,7 +6077,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5966
6077
  required?: boolean | null | undefined;
5967
6078
  } | null | undefined;
5968
6079
  uiConfiguration?: {
5969
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
6080
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
5970
6081
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5971
6082
  } | null | undefined;
5972
6083
  width?: number | null | undefined;
@@ -5976,6 +6087,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5976
6087
  formula?: string | null | undefined;
5977
6088
  context?: string[] | null | undefined;
5978
6089
  prompt?: string | null | undefined;
6090
+ dataset?: Record<string, unknown> | undefined;
5979
6091
  }) | ({
5980
6092
  id: string;
5981
6093
  label: string;
@@ -7264,15 +7376,15 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7264
7376
  description?: string | undefined;
7265
7377
  }>, z.ZodObject<{
7266
7378
  type: z.ZodString;
7267
- event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
7379
+ event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">, z.ZodLiteral<"validation">]>>;
7268
7380
  payload: z.ZodOptional<z.ZodUnknown>;
7269
7381
  }, "strip", z.ZodTypeAny, {
7270
7382
  type: string;
7271
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7383
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7272
7384
  payload?: unknown;
7273
7385
  }, {
7274
7386
  type: string;
7275
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7387
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7276
7388
  payload?: unknown;
7277
7389
  }>>, "many">>;
7278
7390
  }, "strip", z.ZodTypeAny, {
@@ -7293,7 +7405,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7293
7405
  description?: string | undefined;
7294
7406
  } & {
7295
7407
  type: string;
7296
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7408
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7297
7409
  payload?: unknown;
7298
7410
  })[] | undefined;
7299
7411
  }, {
@@ -7314,10 +7426,11 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7314
7426
  description?: string | undefined;
7315
7427
  } & {
7316
7428
  type: string;
7317
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7429
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7318
7430
  payload?: unknown;
7319
7431
  })[] | undefined;
7320
7432
  }>, "many">;
7433
+ annotation: z.ZodOptional<z.ZodString>;
7321
7434
  }, "strip", z.ZodTypeAny, {
7322
7435
  schemaContent: ({
7323
7436
  id: string;
@@ -7354,7 +7467,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7354
7467
  required?: boolean | null | undefined;
7355
7468
  } | null | undefined;
7356
7469
  uiConfiguration?: {
7357
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7470
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7358
7471
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7359
7472
  } | null | undefined;
7360
7473
  width?: number | null | undefined;
@@ -7364,6 +7477,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7364
7477
  formula?: string | null | undefined;
7365
7478
  context?: string[] | null | undefined;
7366
7479
  prompt?: string | null | undefined;
7480
+ dataset?: Record<string, unknown> | undefined;
7367
7481
  }) | ({
7368
7482
  type: "date";
7369
7483
  format?: string | null | undefined;
@@ -7393,7 +7507,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7393
7507
  required?: boolean | null | undefined;
7394
7508
  } | null | undefined;
7395
7509
  uiConfiguration?: {
7396
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7510
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7397
7511
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7398
7512
  } | null | undefined;
7399
7513
  width?: number | null | undefined;
@@ -7403,6 +7517,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7403
7517
  formula?: string | null | undefined;
7404
7518
  context?: string[] | null | undefined;
7405
7519
  prompt?: string | null | undefined;
7520
+ dataset?: Record<string, unknown> | undefined;
7406
7521
  }) | ({
7407
7522
  type: "number";
7408
7523
  format?: string | null | undefined;
@@ -7437,7 +7552,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7437
7552
  required?: boolean | null | undefined;
7438
7553
  } | null | undefined;
7439
7554
  uiConfiguration?: {
7440
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7555
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7441
7556
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7442
7557
  } | null | undefined;
7443
7558
  width?: number | null | undefined;
@@ -7447,6 +7562,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7447
7562
  formula?: string | null | undefined;
7448
7563
  context?: string[] | null | undefined;
7449
7564
  prompt?: string | null | undefined;
7565
+ dataset?: Record<string, unknown> | undefined;
7450
7566
  }) | ({
7451
7567
  options: {
7452
7568
  value: string;
@@ -7480,7 +7596,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7480
7596
  required?: boolean | null | undefined;
7481
7597
  } | null | undefined;
7482
7598
  uiConfiguration?: {
7483
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7599
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7484
7600
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7485
7601
  } | null | undefined;
7486
7602
  width?: number | null | undefined;
@@ -7490,6 +7606,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7490
7606
  formula?: string | null | undefined;
7491
7607
  context?: string[] | null | undefined;
7492
7608
  prompt?: string | null | undefined;
7609
+ dataset?: Record<string, unknown> | undefined;
7493
7610
  }) | ({
7494
7611
  id: string;
7495
7612
  label: string;
@@ -7533,7 +7650,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7533
7650
  required?: boolean | null | undefined;
7534
7651
  } | null | undefined;
7535
7652
  uiConfiguration?: {
7536
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7653
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7537
7654
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7538
7655
  } | null | undefined;
7539
7656
  width?: number | null | undefined;
@@ -7543,6 +7660,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7543
7660
  formula?: string | null | undefined;
7544
7661
  context?: string[] | null | undefined;
7545
7662
  prompt?: string | null | undefined;
7663
+ dataset?: Record<string, unknown> | undefined;
7546
7664
  }) | ({
7547
7665
  type: "date";
7548
7666
  format?: string | null | undefined;
@@ -7572,7 +7690,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7572
7690
  required?: boolean | null | undefined;
7573
7691
  } | null | undefined;
7574
7692
  uiConfiguration?: {
7575
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7693
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7576
7694
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7577
7695
  } | null | undefined;
7578
7696
  width?: number | null | undefined;
@@ -7582,6 +7700,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7582
7700
  formula?: string | null | undefined;
7583
7701
  context?: string[] | null | undefined;
7584
7702
  prompt?: string | null | undefined;
7703
+ dataset?: Record<string, unknown> | undefined;
7585
7704
  }) | ({
7586
7705
  type: "number";
7587
7706
  format?: string | null | undefined;
@@ -7616,7 +7735,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7616
7735
  required?: boolean | null | undefined;
7617
7736
  } | null | undefined;
7618
7737
  uiConfiguration?: {
7619
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7738
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7620
7739
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7621
7740
  } | null | undefined;
7622
7741
  width?: number | null | undefined;
@@ -7626,6 +7745,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7626
7745
  formula?: string | null | undefined;
7627
7746
  context?: string[] | null | undefined;
7628
7747
  prompt?: string | null | undefined;
7748
+ dataset?: Record<string, unknown> | undefined;
7629
7749
  }) | ({
7630
7750
  options: {
7631
7751
  value: string;
@@ -7659,7 +7779,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7659
7779
  required?: boolean | null | undefined;
7660
7780
  } | null | undefined;
7661
7781
  uiConfiguration?: {
7662
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7782
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7663
7783
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7664
7784
  } | null | undefined;
7665
7785
  width?: number | null | undefined;
@@ -7669,6 +7789,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7669
7789
  formula?: string | null | undefined;
7670
7790
  context?: string[] | null | undefined;
7671
7791
  prompt?: string | null | undefined;
7792
+ dataset?: Record<string, unknown> | undefined;
7672
7793
  }) | ({
7673
7794
  id: string;
7674
7795
  label: string;
@@ -7721,7 +7842,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7721
7842
  required?: boolean | null | undefined;
7722
7843
  } | null | undefined;
7723
7844
  uiConfiguration?: {
7724
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7845
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7725
7846
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7726
7847
  } | null | undefined;
7727
7848
  width?: number | null | undefined;
@@ -7731,6 +7852,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7731
7852
  formula?: string | null | undefined;
7732
7853
  context?: string[] | null | undefined;
7733
7854
  prompt?: string | null | undefined;
7855
+ dataset?: Record<string, unknown> | undefined;
7734
7856
  }) | ({
7735
7857
  type: "date";
7736
7858
  format?: string | null | undefined;
@@ -7760,7 +7882,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7760
7882
  required?: boolean | null | undefined;
7761
7883
  } | null | undefined;
7762
7884
  uiConfiguration?: {
7763
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7885
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7764
7886
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7765
7887
  } | null | undefined;
7766
7888
  width?: number | null | undefined;
@@ -7770,6 +7892,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7770
7892
  formula?: string | null | undefined;
7771
7893
  context?: string[] | null | undefined;
7772
7894
  prompt?: string | null | undefined;
7895
+ dataset?: Record<string, unknown> | undefined;
7773
7896
  }) | ({
7774
7897
  type: "number";
7775
7898
  format?: string | null | undefined;
@@ -7804,7 +7927,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7804
7927
  required?: boolean | null | undefined;
7805
7928
  } | null | undefined;
7806
7929
  uiConfiguration?: {
7807
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7930
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7808
7931
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7809
7932
  } | null | undefined;
7810
7933
  width?: number | null | undefined;
@@ -7814,6 +7937,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7814
7937
  formula?: string | null | undefined;
7815
7938
  context?: string[] | null | undefined;
7816
7939
  prompt?: string | null | undefined;
7940
+ dataset?: Record<string, unknown> | undefined;
7817
7941
  }) | ({
7818
7942
  options: {
7819
7943
  value: string;
@@ -7847,7 +7971,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7847
7971
  required?: boolean | null | undefined;
7848
7972
  } | null | undefined;
7849
7973
  uiConfiguration?: {
7850
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7974
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7851
7975
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7852
7976
  } | null | undefined;
7853
7977
  width?: number | null | undefined;
@@ -7857,6 +7981,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7857
7981
  formula?: string | null | undefined;
7858
7982
  context?: string[] | null | undefined;
7859
7983
  prompt?: string | null | undefined;
7984
+ dataset?: Record<string, unknown> | undefined;
7860
7985
  }) | ({
7861
7986
  id: string;
7862
7987
  label: string;
@@ -7919,7 +8044,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7919
8044
  required?: boolean | null | undefined;
7920
8045
  } | null | undefined;
7921
8046
  uiConfiguration?: {
7922
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8047
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7923
8048
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7924
8049
  } | null | undefined;
7925
8050
  width?: number | null | undefined;
@@ -7929,6 +8054,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7929
8054
  formula?: string | null | undefined;
7930
8055
  context?: string[] | null | undefined;
7931
8056
  prompt?: string | null | undefined;
8057
+ dataset?: Record<string, unknown> | undefined;
7932
8058
  }) | ({
7933
8059
  type: "date";
7934
8060
  format?: string | null | undefined;
@@ -7958,7 +8084,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7958
8084
  required?: boolean | null | undefined;
7959
8085
  } | null | undefined;
7960
8086
  uiConfiguration?: {
7961
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8087
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
7962
8088
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7963
8089
  } | null | undefined;
7964
8090
  width?: number | null | undefined;
@@ -7968,6 +8094,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7968
8094
  formula?: string | null | undefined;
7969
8095
  context?: string[] | null | undefined;
7970
8096
  prompt?: string | null | undefined;
8097
+ dataset?: Record<string, unknown> | undefined;
7971
8098
  }) | ({
7972
8099
  type: "number";
7973
8100
  format?: string | null | undefined;
@@ -8002,7 +8129,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8002
8129
  required?: boolean | null | undefined;
8003
8130
  } | null | undefined;
8004
8131
  uiConfiguration?: {
8005
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8132
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8006
8133
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8007
8134
  } | null | undefined;
8008
8135
  width?: number | null | undefined;
@@ -8012,6 +8139,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8012
8139
  formula?: string | null | undefined;
8013
8140
  context?: string[] | null | undefined;
8014
8141
  prompt?: string | null | undefined;
8142
+ dataset?: Record<string, unknown> | undefined;
8015
8143
  }) | ({
8016
8144
  options: {
8017
8145
  value: string;
@@ -8045,7 +8173,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8045
8173
  required?: boolean | null | undefined;
8046
8174
  } | null | undefined;
8047
8175
  uiConfiguration?: {
8048
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8176
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8049
8177
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8050
8178
  } | null | undefined;
8051
8179
  width?: number | null | undefined;
@@ -8055,6 +8183,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8055
8183
  formula?: string | null | undefined;
8056
8184
  context?: string[] | null | undefined;
8057
8185
  prompt?: string | null | undefined;
8186
+ dataset?: Record<string, unknown> | undefined;
8058
8187
  }) | ({
8059
8188
  id: string;
8060
8189
  label: string;
@@ -8305,10 +8434,11 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8305
8434
  description?: string | undefined;
8306
8435
  } & {
8307
8436
  type: string;
8308
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
8437
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
8309
8438
  payload?: unknown;
8310
8439
  })[] | undefined;
8311
8440
  }[];
8441
+ annotation?: string | undefined;
8312
8442
  }, {
8313
8443
  schemaContent: ({
8314
8444
  id: string;
@@ -8345,7 +8475,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8345
8475
  required?: boolean | null | undefined;
8346
8476
  } | null | undefined;
8347
8477
  uiConfiguration?: {
8348
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8478
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8349
8479
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8350
8480
  } | null | undefined;
8351
8481
  width?: number | null | undefined;
@@ -8355,6 +8485,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8355
8485
  formula?: string | null | undefined;
8356
8486
  context?: string[] | null | undefined;
8357
8487
  prompt?: string | null | undefined;
8488
+ dataset?: Record<string, unknown> | undefined;
8358
8489
  }) | ({
8359
8490
  type: "date";
8360
8491
  format?: string | null | undefined;
@@ -8384,7 +8515,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8384
8515
  required?: boolean | null | undefined;
8385
8516
  } | null | undefined;
8386
8517
  uiConfiguration?: {
8387
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8518
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8388
8519
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8389
8520
  } | null | undefined;
8390
8521
  width?: number | null | undefined;
@@ -8394,6 +8525,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8394
8525
  formula?: string | null | undefined;
8395
8526
  context?: string[] | null | undefined;
8396
8527
  prompt?: string | null | undefined;
8528
+ dataset?: Record<string, unknown> | undefined;
8397
8529
  }) | ({
8398
8530
  type: "number";
8399
8531
  format?: string | null | undefined;
@@ -8428,7 +8560,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8428
8560
  required?: boolean | null | undefined;
8429
8561
  } | null | undefined;
8430
8562
  uiConfiguration?: {
8431
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8563
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8432
8564
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8433
8565
  } | null | undefined;
8434
8566
  width?: number | null | undefined;
@@ -8438,6 +8570,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8438
8570
  formula?: string | null | undefined;
8439
8571
  context?: string[] | null | undefined;
8440
8572
  prompt?: string | null | undefined;
8573
+ dataset?: Record<string, unknown> | undefined;
8441
8574
  }) | ({
8442
8575
  options: {
8443
8576
  value: string;
@@ -8471,7 +8604,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8471
8604
  required?: boolean | null | undefined;
8472
8605
  } | null | undefined;
8473
8606
  uiConfiguration?: {
8474
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8607
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8475
8608
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8476
8609
  } | null | undefined;
8477
8610
  width?: number | null | undefined;
@@ -8481,6 +8614,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8481
8614
  formula?: string | null | undefined;
8482
8615
  context?: string[] | null | undefined;
8483
8616
  prompt?: string | null | undefined;
8617
+ dataset?: Record<string, unknown> | undefined;
8484
8618
  }) | ({
8485
8619
  id: string;
8486
8620
  label: string;
@@ -8524,7 +8658,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8524
8658
  required?: boolean | null | undefined;
8525
8659
  } | null | undefined;
8526
8660
  uiConfiguration?: {
8527
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8661
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8528
8662
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8529
8663
  } | null | undefined;
8530
8664
  width?: number | null | undefined;
@@ -8534,6 +8668,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8534
8668
  formula?: string | null | undefined;
8535
8669
  context?: string[] | null | undefined;
8536
8670
  prompt?: string | null | undefined;
8671
+ dataset?: Record<string, unknown> | undefined;
8537
8672
  }) | ({
8538
8673
  type: "date";
8539
8674
  format?: string | null | undefined;
@@ -8563,7 +8698,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8563
8698
  required?: boolean | null | undefined;
8564
8699
  } | null | undefined;
8565
8700
  uiConfiguration?: {
8566
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8701
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8567
8702
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8568
8703
  } | null | undefined;
8569
8704
  width?: number | null | undefined;
@@ -8573,6 +8708,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8573
8708
  formula?: string | null | undefined;
8574
8709
  context?: string[] | null | undefined;
8575
8710
  prompt?: string | null | undefined;
8711
+ dataset?: Record<string, unknown> | undefined;
8576
8712
  }) | ({
8577
8713
  type: "number";
8578
8714
  format?: string | null | undefined;
@@ -8607,7 +8743,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8607
8743
  required?: boolean | null | undefined;
8608
8744
  } | null | undefined;
8609
8745
  uiConfiguration?: {
8610
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8746
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8611
8747
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8612
8748
  } | null | undefined;
8613
8749
  width?: number | null | undefined;
@@ -8617,6 +8753,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8617
8753
  formula?: string | null | undefined;
8618
8754
  context?: string[] | null | undefined;
8619
8755
  prompt?: string | null | undefined;
8756
+ dataset?: Record<string, unknown> | undefined;
8620
8757
  }) | ({
8621
8758
  options: {
8622
8759
  value: string;
@@ -8650,7 +8787,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8650
8787
  required?: boolean | null | undefined;
8651
8788
  } | null | undefined;
8652
8789
  uiConfiguration?: {
8653
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8790
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8654
8791
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8655
8792
  } | null | undefined;
8656
8793
  width?: number | null | undefined;
@@ -8660,6 +8797,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8660
8797
  formula?: string | null | undefined;
8661
8798
  context?: string[] | null | undefined;
8662
8799
  prompt?: string | null | undefined;
8800
+ dataset?: Record<string, unknown> | undefined;
8663
8801
  }) | ({
8664
8802
  id: string;
8665
8803
  label: string;
@@ -8712,7 +8850,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8712
8850
  required?: boolean | null | undefined;
8713
8851
  } | null | undefined;
8714
8852
  uiConfiguration?: {
8715
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8853
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8716
8854
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8717
8855
  } | null | undefined;
8718
8856
  width?: number | null | undefined;
@@ -8722,6 +8860,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8722
8860
  formula?: string | null | undefined;
8723
8861
  context?: string[] | null | undefined;
8724
8862
  prompt?: string | null | undefined;
8863
+ dataset?: Record<string, unknown> | undefined;
8725
8864
  }) | ({
8726
8865
  type: "date";
8727
8866
  format?: string | null | undefined;
@@ -8751,7 +8890,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8751
8890
  required?: boolean | null | undefined;
8752
8891
  } | null | undefined;
8753
8892
  uiConfiguration?: {
8754
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8893
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8755
8894
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8756
8895
  } | null | undefined;
8757
8896
  width?: number | null | undefined;
@@ -8761,6 +8900,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8761
8900
  formula?: string | null | undefined;
8762
8901
  context?: string[] | null | undefined;
8763
8902
  prompt?: string | null | undefined;
8903
+ dataset?: Record<string, unknown> | undefined;
8764
8904
  }) | ({
8765
8905
  type: "number";
8766
8906
  format?: string | null | undefined;
@@ -8795,7 +8935,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8795
8935
  required?: boolean | null | undefined;
8796
8936
  } | null | undefined;
8797
8937
  uiConfiguration?: {
8798
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8938
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8799
8939
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8800
8940
  } | null | undefined;
8801
8941
  width?: number | null | undefined;
@@ -8805,6 +8945,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8805
8945
  formula?: string | null | undefined;
8806
8946
  context?: string[] | null | undefined;
8807
8947
  prompt?: string | null | undefined;
8948
+ dataset?: Record<string, unknown> | undefined;
8808
8949
  }) | ({
8809
8950
  options: {
8810
8951
  value: string;
@@ -8838,7 +8979,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8838
8979
  required?: boolean | null | undefined;
8839
8980
  } | null | undefined;
8840
8981
  uiConfiguration?: {
8841
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8982
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8842
8983
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8843
8984
  } | null | undefined;
8844
8985
  width?: number | null | undefined;
@@ -8848,6 +8989,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8848
8989
  formula?: string | null | undefined;
8849
8990
  context?: string[] | null | undefined;
8850
8991
  prompt?: string | null | undefined;
8992
+ dataset?: Record<string, unknown> | undefined;
8851
8993
  }) | ({
8852
8994
  id: string;
8853
8995
  label: string;
@@ -8910,7 +9052,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8910
9052
  required?: boolean | null | undefined;
8911
9053
  } | null | undefined;
8912
9054
  uiConfiguration?: {
8913
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
9055
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8914
9056
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8915
9057
  } | null | undefined;
8916
9058
  width?: number | null | undefined;
@@ -8920,6 +9062,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8920
9062
  formula?: string | null | undefined;
8921
9063
  context?: string[] | null | undefined;
8922
9064
  prompt?: string | null | undefined;
9065
+ dataset?: Record<string, unknown> | undefined;
8923
9066
  }) | ({
8924
9067
  type: "date";
8925
9068
  format?: string | null | undefined;
@@ -8949,7 +9092,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8949
9092
  required?: boolean | null | undefined;
8950
9093
  } | null | undefined;
8951
9094
  uiConfiguration?: {
8952
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
9095
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8953
9096
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8954
9097
  } | null | undefined;
8955
9098
  width?: number | null | undefined;
@@ -8959,6 +9102,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8959
9102
  formula?: string | null | undefined;
8960
9103
  context?: string[] | null | undefined;
8961
9104
  prompt?: string | null | undefined;
9105
+ dataset?: Record<string, unknown> | undefined;
8962
9106
  }) | ({
8963
9107
  type: "number";
8964
9108
  format?: string | null | undefined;
@@ -8993,7 +9137,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8993
9137
  required?: boolean | null | undefined;
8994
9138
  } | null | undefined;
8995
9139
  uiConfiguration?: {
8996
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
9140
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
8997
9141
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8998
9142
  } | null | undefined;
8999
9143
  width?: number | null | undefined;
@@ -9003,6 +9147,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
9003
9147
  formula?: string | null | undefined;
9004
9148
  context?: string[] | null | undefined;
9005
9149
  prompt?: string | null | undefined;
9150
+ dataset?: Record<string, unknown> | undefined;
9006
9151
  }) | ({
9007
9152
  options: {
9008
9153
  value: string;
@@ -9036,7 +9181,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
9036
9181
  required?: boolean | null | undefined;
9037
9182
  } | null | undefined;
9038
9183
  uiConfiguration?: {
9039
- type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
9184
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
9040
9185
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
9041
9186
  } | null | undefined;
9042
9187
  width?: number | null | undefined;
@@ -9046,6 +9191,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
9046
9191
  formula?: string | null | undefined;
9047
9192
  context?: string[] | null | undefined;
9048
9193
  prompt?: string | null | undefined;
9194
+ dataset?: Record<string, unknown> | undefined;
9049
9195
  }) | ({
9050
9196
  id: string;
9051
9197
  label: string;
@@ -9296,10 +9442,11 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
9296
9442
  description?: string | undefined;
9297
9443
  } & {
9298
9444
  type: string;
9299
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9445
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9300
9446
  payload?: unknown;
9301
9447
  })[] | undefined;
9302
9448
  }[];
9449
+ annotation?: string | undefined;
9303
9450
  }>;
9304
9451
  export declare const evaluateRulesResponseSchema: z.ZodObject<{
9305
9452
  conditionValues: z.ZodArray<z.ZodArray<z.ZodBoolean, "many">, "many">;
@@ -9356,15 +9503,15 @@ export declare const evaluateRulesResponseSchema: z.ZodObject<{
9356
9503
  }>, "many">;
9357
9504
  actions: z.ZodArray<z.ZodObject<{
9358
9505
  type: z.ZodString;
9359
- event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
9506
+ event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">, z.ZodLiteral<"validation">]>>;
9360
9507
  payload: z.ZodOptional<z.ZodUnknown>;
9361
9508
  }, "strip", z.ZodTypeAny, {
9362
9509
  type: string;
9363
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9510
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9364
9511
  payload?: unknown;
9365
9512
  }, {
9366
9513
  type: string;
9367
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9514
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9368
9515
  payload?: unknown;
9369
9516
  }>, "many">;
9370
9517
  }, "strip", z.ZodTypeAny, {
@@ -9383,7 +9530,7 @@ export declare const evaluateRulesResponseSchema: z.ZodObject<{
9383
9530
  }[];
9384
9531
  actions: {
9385
9532
  type: string;
9386
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9533
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9387
9534
  payload?: unknown;
9388
9535
  }[];
9389
9536
  conditionValues: boolean[][];
@@ -9403,7 +9550,7 @@ export declare const evaluateRulesResponseSchema: z.ZodObject<{
9403
9550
  }[];
9404
9551
  actions: {
9405
9552
  type: string;
9406
- event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9553
+ event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9407
9554
  payload?: unknown;
9408
9555
  }[];
9409
9556
  conditionValues: boolean[][];