@rossum/api-client 0.1.25 → 0.1.26

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 (802) hide show
  1. package/index.js +64 -60
  2. package/index.js.map +1 -1
  3. package/package.json +3 -2
  4. package/src/annotations/endpoints/approve.js.map +1 -1
  5. package/src/annotations/endpoints/assign.js.map +1 -1
  6. package/src/annotations/endpoints/cancel.js +1 -1
  7. package/src/annotations/endpoints/cancel.js.map +1 -1
  8. package/src/annotations/endpoints/confirm.js.map +1 -1
  9. package/src/annotations/endpoints/contentSelect.js.map +1 -1
  10. package/src/annotations/endpoints/copy.js.map +1 -1
  11. package/src/annotations/endpoints/delete.js.map +1 -1
  12. package/src/annotations/endpoints/editPages.js.map +1 -1
  13. package/src/annotations/endpoints/editPagesInPlace.js.map +1 -1
  14. package/src/annotations/endpoints/get.js.map +1 -1
  15. package/src/annotations/endpoints/getContent.js.map +1 -1
  16. package/src/annotations/endpoints/getPageData.js +1 -1
  17. package/src/annotations/endpoints/getPageData.js.map +1 -1
  18. package/src/annotations/endpoints/index.js +2 -0
  19. package/src/annotations/endpoints/index.js.map +1 -1
  20. package/src/annotations/endpoints/patch.js.map +1 -1
  21. package/src/annotations/endpoints/postpone.js.map +1 -1
  22. package/src/annotations/endpoints/purge.js.map +1 -1
  23. package/src/annotations/endpoints/reject.js.map +1 -1
  24. package/src/annotations/endpoints/search.js +2 -2
  25. package/src/annotations/endpoints/search.js.map +1 -1
  26. package/src/annotations/endpoints/split.js +15 -0
  27. package/src/annotations/endpoints/split.js.map +1 -0
  28. package/src/annotations/endpoints/split.schema.js +23 -0
  29. package/src/annotations/endpoints/split.schema.js.map +1 -0
  30. package/src/annotations/endpoints/start.js.map +1 -1
  31. package/src/annotations/endpoints/startEditPages.js.map +1 -1
  32. package/src/annotations/endpoints/startEmbedded.js.map +1 -1
  33. package/src/annotations/endpoints/updateContent.js.map +1 -1
  34. package/src/annotations/endpoints/usageReportExport.js.map +1 -1
  35. package/src/annotations/endpoints/validate.js.map +1 -1
  36. package/src/annotations/models/annotation.schema.js +2 -0
  37. package/src/annotations/models/annotation.schema.js.map +1 -1
  38. package/src/annotations/models/annotationData.schema.js +1 -0
  39. package/src/annotations/models/annotationData.schema.js.map +1 -1
  40. package/src/authentication/endpoints/getMembershipToken.js.map +1 -1
  41. package/src/authentication/endpoints/login.js.map +1 -1
  42. package/src/authentication/endpoints/password/change.js.map +1 -1
  43. package/src/authentication/endpoints/password/confirm.js +17 -7
  44. package/src/authentication/endpoints/password/confirm.js.map +1 -1
  45. package/src/authentication/endpoints/password/reset.js +17 -7
  46. package/src/authentication/endpoints/password/reset.js.map +1 -1
  47. package/src/authentication/endpoints/password/score.js.map +1 -1
  48. package/src/authentication/endpoints/patch.js.map +1 -1
  49. package/src/authentication/endpoints/user.js.map +1 -1
  50. package/src/automationBlockers/endpoints/get.js.map +1 -1
  51. package/src/billing/endpoints/getHistory.js.map +1 -1
  52. package/src/billing/endpoints/getHistoryExport.js.map +1 -1
  53. package/src/billing/endpoints/getStats.js.map +1 -1
  54. package/src/billing/endpoints/getStatsExport.js.map +1 -1
  55. package/src/connectors/endpoints/create.js.map +1 -1
  56. package/src/connectors/endpoints/delete.js.map +1 -1
  57. package/src/connectors/endpoints/list.js.map +1 -1
  58. package/src/dedicatedEngineSchema/endpoints/create.js.map +1 -1
  59. package/src/dedicatedEngineSchema/endpoints/get.js.map +1 -1
  60. package/src/dedicatedEngineSchema/endpoints/patch.js.map +1 -1
  61. package/src/dedicatedEngineSchema/endpoints/predict.js.map +1 -1
  62. package/src/dedicatedEngineSchema/endpoints/validate.js.map +1 -1
  63. package/src/dedicatedEngines/endpoints/create.js.map +1 -1
  64. package/src/dedicatedEngines/endpoints/get.js.map +1 -1
  65. package/src/dedicatedEngines/endpoints/list.js.map +1 -1
  66. package/src/dedicatedEngines/endpoints/patch.js.map +1 -1
  67. package/src/dedicatedEngines/endpoints/request.js.map +1 -1
  68. package/src/deleteRecommendations/endpoints/create.js.map +1 -1
  69. package/src/deleteRecommendations/endpoints/get.js.map +1 -1
  70. package/src/deleteRecommendations/endpoints/list.js.map +1 -1
  71. package/src/deleteRecommendations/endpoints/patch.js.map +1 -1
  72. package/src/documentRelations/endpoints/index.js +8 -0
  73. package/src/documentRelations/endpoints/index.js.map +1 -0
  74. package/src/documentRelations/endpoints/list.js +17 -0
  75. package/src/documentRelations/endpoints/list.js.map +1 -0
  76. package/src/documentRelations/endpoints/list.schema.js +17 -0
  77. package/src/documentRelations/endpoints/list.schema.js.map +1 -0
  78. package/src/documentRelations/models/relations.schema.js +18 -0
  79. package/src/documentRelations/models/relations.schema.js.map +1 -0
  80. package/src/documents/endpoints/downloads.js.map +1 -1
  81. package/src/documents/endpoints/get.js.map +1 -1
  82. package/src/documents/endpoints/getBlob.js.map +1 -1
  83. package/src/documents/endpoints/list.js.map +1 -1
  84. package/src/documents/endpoints/patch.js.map +1 -1
  85. package/src/email/endpoints/get.js.map +1 -1
  86. package/src/email/endpoints/list.js.map +1 -1
  87. package/src/email/endpoints/send.js.map +1 -1
  88. package/src/email/endpoints/send.schema.js +1 -0
  89. package/src/email/endpoints/send.schema.js.map +1 -1
  90. package/src/emailTemplates/endpoints/create.js.map +1 -1
  91. package/src/emailTemplates/endpoints/delete.js.map +1 -1
  92. package/src/emailTemplates/endpoints/get.js.map +1 -1
  93. package/src/emailTemplates/endpoints/list.js.map +1 -1
  94. package/src/emailTemplates/endpoints/patch.js.map +1 -1
  95. package/src/emailTemplates/endpoints/render.js.map +1 -1
  96. package/src/emailTemplatesStats/endpoints/list.js.map +1 -1
  97. package/src/emailThreads/endpoints/counts.js.map +1 -1
  98. package/src/emailThreads/endpoints/get.js.map +1 -1
  99. package/src/emailThreads/endpoints/list.js.map +1 -1
  100. package/src/emailThreads/endpoints/patch.js.map +1 -1
  101. package/src/engines/endpoints/patch.schema.js +6 -1
  102. package/src/engines/endpoints/patch.schema.js.map +1 -1
  103. package/src/engines/models/engine.schema.js +1 -0
  104. package/src/engines/models/engine.schema.js.map +1 -1
  105. package/src/engines/models/engineQueueStatsItem.schema.js +2 -0
  106. package/src/engines/models/engineQueueStatsItem.schema.js.map +1 -1
  107. package/src/genericEngines/endpoints/get.js.map +1 -1
  108. package/src/genericEngines/endpoints/list.js.map +1 -1
  109. package/src/groups/endpoints/list.js.map +1 -1
  110. package/src/hookInterfaces/endpoints/create.js +16 -0
  111. package/src/hookInterfaces/endpoints/create.js.map +1 -0
  112. package/src/hookInterfaces/endpoints/create.schema.js +14 -0
  113. package/src/hookInterfaces/endpoints/create.schema.js.map +1 -0
  114. package/src/hookInterfaces/endpoints/delete.js +13 -0
  115. package/src/hookInterfaces/endpoints/delete.js.map +1 -0
  116. package/src/hookInterfaces/endpoints/index.js +16 -0
  117. package/src/hookInterfaces/endpoints/index.js.map +1 -0
  118. package/src/hookInterfaces/endpoints/invoke.js +15 -0
  119. package/src/hookInterfaces/endpoints/invoke.js.map +1 -0
  120. package/src/hookInterfaces/endpoints/invoke.schema.js +10 -0
  121. package/src/hookInterfaces/endpoints/invoke.schema.js.map +1 -0
  122. package/src/hookInterfaces/endpoints/list.js +17 -0
  123. package/src/hookInterfaces/endpoints/list.js.map +1 -0
  124. package/src/hookInterfaces/endpoints/list.schema.js +16 -0
  125. package/src/hookInterfaces/endpoints/list.schema.js.map +1 -0
  126. package/src/hookInterfaces/endpoints/patch.js +16 -0
  127. package/src/hookInterfaces/endpoints/patch.js.map +1 -0
  128. package/src/hookInterfaces/endpoints/patch.schema.js +12 -0
  129. package/src/hookInterfaces/endpoints/patch.schema.js.map +1 -0
  130. package/src/{authentication/models/authInfo.js → hookInterfaces/models/hookInterface.js} +1 -1
  131. package/src/hookInterfaces/models/hookInterface.js.map +1 -0
  132. package/src/hookInterfaces/models/hookInterface.schema.js +17 -0
  133. package/src/hookInterfaces/models/hookInterface.schema.js.map +1 -0
  134. package/src/{deleteRecommendations → hookInterfaces}/models/index.js +2 -1
  135. package/src/hookInterfaces/models/index.js.map +1 -0
  136. package/src/hookTemplates/endpoints/get.js +13 -0
  137. package/src/hookTemplates/endpoints/get.js.map +1 -0
  138. package/src/hookTemplates/endpoints/index.js +2 -0
  139. package/src/hookTemplates/endpoints/index.js.map +1 -1
  140. package/src/hookTemplates/endpoints/list.js.map +1 -1
  141. package/src/hookTemplates/models/hookTemplate.schema.js +5 -0
  142. package/src/hookTemplates/models/hookTemplate.schema.js.map +1 -1
  143. package/src/hooks/endpoints/cancelRun.js +13 -0
  144. package/src/hooks/endpoints/cancelRun.js.map +1 -0
  145. package/src/hooks/endpoints/cancelRun.schema.js +8 -0
  146. package/src/hooks/endpoints/cancelRun.schema.js.map +1 -0
  147. package/src/hooks/endpoints/create.js.map +1 -1
  148. package/src/hooks/endpoints/create.schema.js +8 -1
  149. package/src/hooks/endpoints/create.schema.js.map +1 -1
  150. package/src/hooks/endpoints/createFromTemplate.js +16 -0
  151. package/src/hooks/endpoints/createFromTemplate.js.map +1 -0
  152. package/src/hooks/endpoints/createFromTemplate.schema.js +14 -0
  153. package/src/hooks/endpoints/createFromTemplate.schema.js.map +1 -0
  154. package/src/hooks/endpoints/delete.js.map +1 -1
  155. package/src/hooks/endpoints/generatePayload.js.map +1 -1
  156. package/src/hooks/endpoints/get.js.map +1 -1
  157. package/src/hooks/endpoints/getSecretsKeys.js.map +1 -1
  158. package/src/hooks/endpoints/index.js +9 -3
  159. package/src/hooks/endpoints/index.js.map +1 -1
  160. package/src/hooks/endpoints/invoke.js.map +1 -1
  161. package/src/hooks/endpoints/list.js.map +1 -1
  162. package/src/hooks/endpoints/list.schema.js +2 -0
  163. package/src/hooks/endpoints/list.schema.js.map +1 -1
  164. package/src/hooks/endpoints/patch.js.map +1 -1
  165. package/src/hooks/endpoints/patch.schema.js +6 -0
  166. package/src/hooks/endpoints/patch.schema.js.map +1 -1
  167. package/src/hooks/endpoints/runLogs.js +14 -0
  168. package/src/hooks/endpoints/runLogs.js.map +1 -0
  169. package/src/hooks/endpoints/runs.js +15 -0
  170. package/src/hooks/endpoints/runs.js.map +1 -0
  171. package/src/hooks/endpoints/runs.schema.js +26 -0
  172. package/src/hooks/endpoints/runs.schema.js.map +1 -0
  173. package/src/hooks/endpoints/test.js.map +1 -1
  174. package/src/hooks/models/hook.schema.js +14 -4
  175. package/src/hooks/models/hook.schema.js.map +1 -1
  176. package/src/hooks/models/hookConfig.schema.js +17 -11
  177. package/src/hooks/models/hookConfig.schema.js.map +1 -1
  178. package/src/hooks/models/hookUtils.schema.js +11 -1
  179. package/src/hooks/models/hookUtils.schema.js.map +1 -1
  180. package/src/hooks/models/run.js +72 -0
  181. package/src/hooks/models/run.js.map +1 -0
  182. package/src/hooks/models/run.schema.js +115 -0
  183. package/src/hooks/models/run.schema.js.map +1 -0
  184. package/src/hooks/models/runLog.js +5 -0
  185. package/src/hooks/models/runLog.js.map +1 -0
  186. package/src/hooks/models/runLog.schema.js +15 -0
  187. package/src/hooks/models/runLog.schema.js.map +1 -0
  188. package/src/inboxes/endpoints/create.js.map +1 -1
  189. package/src/inboxes/endpoints/get.js.map +1 -1
  190. package/src/inboxes/endpoints/list.js.map +1 -1
  191. package/src/inboxes/endpoints/patch.js.map +1 -1
  192. package/src/internal/endpoints/domainSettings.js.map +1 -1
  193. package/src/internal/endpoints/generateRejectionEmail.js.map +1 -1
  194. package/src/internal/endpoints/index.js +16 -10
  195. package/src/internal/endpoints/index.js.map +1 -1
  196. package/src/internal/endpoints/logs.js +16 -0
  197. package/src/internal/endpoints/logs.js.map +1 -0
  198. package/src/internal/endpoints/logs.schema.js +13 -0
  199. package/src/internal/endpoints/logs.schema.js.map +1 -0
  200. package/src/internal/endpoints/requestDemo.js.map +1 -1
  201. package/src/internal/endpoints/requestExtension.js.map +1 -1
  202. package/src/internal/endpoints/rules/evaluateRules.schema.js +2 -2
  203. package/src/internal/endpoints/rules/evaluateRules.schema.js.map +1 -1
  204. package/src/internal/endpoints/rules/suggestRule.schema.js +1 -1
  205. package/src/internal/endpoints/rules/suggestRule.schema.js.map +1 -1
  206. package/src/internal/endpoints/rules/suggestTriggerConditionSummary.js.map +1 -1
  207. package/src/internal/endpoints/rules/suggestTriggerConditionSummary.schema.js +0 -4
  208. package/src/internal/endpoints/rules/suggestTriggerConditionSummary.schema.js.map +1 -1
  209. package/src/internal/endpoints/schemas/evaluateFormulas.js.map +1 -1
  210. package/src/internal/endpoints/schemas/evaluateFormulas.schema.js +2 -1
  211. package/src/internal/endpoints/schemas/evaluateFormulas.schema.js.map +1 -1
  212. package/src/internal/endpoints/schemas/formulasInfo.js.map +1 -1
  213. package/src/internal/endpoints/schemas/formulasInfo.schema.js +2 -1
  214. package/src/internal/endpoints/schemas/formulasInfo.schema.js.map +1 -1
  215. package/src/labels/endpoints/apply.js.map +1 -1
  216. package/src/labels/endpoints/create.js.map +1 -1
  217. package/src/labels/endpoints/create.schema.js +4 -3
  218. package/src/labels/endpoints/create.schema.js.map +1 -1
  219. package/src/labels/endpoints/delete.js.map +1 -1
  220. package/src/labels/endpoints/list.js.map +1 -1
  221. package/src/labels/endpoints/patch.js.map +1 -1
  222. package/src/labels/endpoints/patch.schema.js +4 -3
  223. package/src/labels/endpoints/patch.schema.js.map +1 -1
  224. package/src/labels/models/label.schema.js +1 -0
  225. package/src/labels/models/label.schema.js.map +1 -1
  226. package/src/memberships/endpoints/create.js.map +1 -1
  227. package/src/organization/endpoints/create.js.map +1 -1
  228. package/src/organization/endpoints/get.js.map +1 -1
  229. package/src/organization/endpoints/limits.js.map +1 -1
  230. package/src/organization/endpoints/patch.js.map +1 -1
  231. package/src/organizationGroups/endpoints/organizations.js.map +1 -1
  232. package/src/organizationGroups/endpoints/queues.js.map +1 -1
  233. package/src/organizationGroups/endpoints/workspaces.js.map +1 -1
  234. package/src/queues/endpoints/automation.js.map +1 -1
  235. package/src/queues/endpoints/create.js.map +1 -1
  236. package/src/queues/endpoints/createFromTemplate.js.map +1 -1
  237. package/src/queues/endpoints/delete.js.map +1 -1
  238. package/src/queues/endpoints/duplicate.js.map +1 -1
  239. package/src/queues/endpoints/exportAnnotation.js.map +1 -1
  240. package/src/queues/endpoints/get.js.map +1 -1
  241. package/src/queues/endpoints/getRelatedObjectsCounts.js.map +1 -1
  242. package/src/queues/endpoints/index.js.map +1 -1
  243. package/src/queues/endpoints/list.js.map +1 -1
  244. package/src/queues/endpoints/nextAnnotation.js.map +1 -1
  245. package/src/queues/endpoints/patch.js.map +1 -1
  246. package/src/queues/endpoints/suggestedRecipients.js.map +1 -1
  247. package/src/queues/endpoints/upload.js.map +1 -1
  248. package/src/relations/endpoints/create.js.map +1 -1
  249. package/src/relations/endpoints/delete.js.map +1 -1
  250. package/src/relations/endpoints/get.js.map +1 -1
  251. package/src/relations/endpoints/list.js.map +1 -1
  252. package/src/relations/endpoints/patch.js.map +1 -1
  253. package/src/rule-templates/models/ruleTemplate.schema.js +1 -1
  254. package/src/rule-templates/models/ruleTemplate.schema.js.map +1 -1
  255. package/src/rules/models/schemaRule.schema.js +13 -16
  256. package/src/rules/models/schemaRule.schema.js.map +1 -1
  257. package/src/schemaFields/endpoints/list.js.map +1 -1
  258. package/src/schemas/endpoints/create.js.map +1 -1
  259. package/src/schemas/endpoints/get.js.map +1 -1
  260. package/src/schemas/endpoints/list.js.map +1 -1
  261. package/src/schemas/endpoints/patch.js.map +1 -1
  262. package/src/schemas/models/schemaDatapointBase.schema.js +3 -0
  263. package/src/schemas/models/schemaDatapointBase.schema.js.map +1 -1
  264. package/src/shared/models/annotationListTable.schema.js +1 -0
  265. package/src/shared/models/annotationListTable.schema.js.map +1 -1
  266. package/src/suggestedEdit/endpoints/get.js.map +1 -1
  267. package/src/surveys/endpoints/fromTemplate.js.map +1 -1
  268. package/src/surveys/endpoints/get.js.map +1 -1
  269. package/src/surveys/endpoints/list.js.map +1 -1
  270. package/src/surveys/endpoints/patch.js.map +1 -1
  271. package/src/tasks/endpoints/get.js.map +1 -1
  272. package/src/triggers/endpoints/create.js.map +1 -1
  273. package/src/triggers/endpoints/delete.js.map +1 -1
  274. package/src/triggers/endpoints/get.js.map +1 -1
  275. package/src/triggers/endpoints/index.js +2 -0
  276. package/src/triggers/endpoints/index.js.map +1 -1
  277. package/src/triggers/endpoints/list.js +17 -0
  278. package/src/triggers/endpoints/list.js.map +1 -0
  279. package/src/triggers/endpoints/list.schema.js +14 -0
  280. package/src/triggers/endpoints/list.schema.js.map +1 -0
  281. package/src/triggers/endpoints/patch.js.map +1 -1
  282. package/src/uploads/endpoints/get.js.map +1 -1
  283. package/src/uploads/endpoints/post.js.map +1 -1
  284. package/src/users/endpoints/create.js.map +1 -1
  285. package/src/users/endpoints/delete.js.map +1 -1
  286. package/src/users/endpoints/get.js.map +1 -1
  287. package/src/users/endpoints/list.js.map +1 -1
  288. package/src/users/endpoints/patch.js.map +1 -1
  289. package/src/users/endpoints/resetPassword.js.map +1 -1
  290. package/src/utils/codecUtils.js +17 -7
  291. package/src/utils/codecUtils.js.map +1 -1
  292. package/src/utils/request.js +17 -7
  293. package/src/utils/request.js.map +1 -1
  294. package/src/utils/requestConfig.js +17 -7
  295. package/src/utils/requestConfig.js.map +1 -1
  296. package/src/utils/requestResponse.js +17 -7
  297. package/src/utils/requestResponse.js.map +1 -1
  298. package/src/utils.js +17 -7
  299. package/src/utils.js.map +1 -1
  300. package/src/workflowActivities/endpoints/get.js.map +1 -1
  301. package/src/workflowActivities/endpoints/list.js.map +1 -1
  302. package/src/workflowRuns/endpoints/get.js.map +1 -1
  303. package/src/workflowRuns/endpoints/list.js.map +1 -1
  304. package/src/workflowRuns/endpoints/reset.js.map +1 -1
  305. package/src/workflowSteps/endpoints/get.js.map +1 -1
  306. package/src/workflowSteps/endpoints/list.js.map +1 -1
  307. package/src/workflows/endpoints/get.js.map +1 -1
  308. package/src/workflows/endpoints/list.js.map +1 -1
  309. package/src/workspaces/endpoints/create.js.map +1 -1
  310. package/src/workspaces/endpoints/delete.js.map +1 -1
  311. package/src/workspaces/endpoints/get.js +13 -0
  312. package/src/workspaces/endpoints/get.js.map +1 -0
  313. package/src/workspaces/endpoints/index.js +2 -0
  314. package/src/workspaces/endpoints/index.js.map +1 -1
  315. package/src/workspaces/endpoints/list.js.map +1 -1
  316. package/src/workspaces/endpoints/patch.js.map +1 -1
  317. package/types/index.d.ts +6342 -3208
  318. package/types/src/annotations/endpoints/cancelEditPages.d.ts +4 -4
  319. package/types/src/annotations/endpoints/cancelEditPages.schema.d.ts +4 -4
  320. package/types/src/annotations/endpoints/contentSelect.d.ts +2 -2
  321. package/types/src/annotations/endpoints/contentSelect.schema.d.ts +2 -2
  322. package/types/src/annotations/endpoints/editPages.d.ts +16 -16
  323. package/types/src/annotations/endpoints/editPages.schema.d.ts +16 -16
  324. package/types/src/annotations/endpoints/editPagesInPlace.d.ts +8 -8
  325. package/types/src/annotations/endpoints/editPagesInPlace.schema.d.ts +8 -8
  326. package/types/src/annotations/endpoints/get.d.ts +12 -6
  327. package/types/src/annotations/endpoints/getContent.d.ts +292 -214
  328. package/types/src/annotations/endpoints/getPageData.d.ts +1 -1
  329. package/types/src/annotations/endpoints/index.d.ts +869 -607
  330. package/types/src/annotations/endpoints/list.d.ts +206 -162
  331. package/types/src/annotations/endpoints/patch.d.ts +18 -6
  332. package/types/src/annotations/endpoints/patch.schema.d.ts +6 -0
  333. package/types/src/annotations/endpoints/search.d.ts +206 -162
  334. package/types/src/annotations/endpoints/split.d.ts +88 -0
  335. package/types/src/annotations/endpoints/split.schema.d.ts +66 -0
  336. package/types/src/annotations/endpoints/start.d.ts +2 -2
  337. package/types/src/annotations/endpoints/startEditPages.d.ts +7 -7
  338. package/types/src/annotations/endpoints/translate.d.ts +6 -6
  339. package/types/src/annotations/endpoints/translate.schema.d.ts +6 -6
  340. package/types/src/annotations/endpoints/updateContent.d.ts +5 -2
  341. package/types/src/annotations/endpoints/validate.d.ts +9 -4
  342. package/types/src/annotations/endpoints/validate.schema.d.ts +9 -4
  343. package/types/src/annotations/models/annotation.d.ts +2 -0
  344. package/types/src/annotations/models/annotation.schema.d.ts +12 -6
  345. package/types/src/annotations/models/annotationData.d.ts +1 -0
  346. package/types/src/annotations/models/annotationData.schema.d.ts +471 -337
  347. package/types/src/annotations/models/annotationListSideload.schema.d.ts +184 -150
  348. package/types/src/annotations/models/annotationStart.schema.d.ts +2 -2
  349. package/types/src/annotations/models/editPages.schema.d.ts +11 -11
  350. package/types/src/annotations/models/pageData.schema.d.ts +6 -6
  351. package/types/src/annotations/models/processingDuration.schema.d.ts +2 -2
  352. package/types/src/authentication/endpoints/index.d.ts +6 -6
  353. package/types/src/authentication/endpoints/password/score.d.ts +2 -2
  354. package/types/src/authentication/endpoints/password/score.schema.d.ts +2 -2
  355. package/types/src/authentication/endpoints/patch.d.ts +2 -2
  356. package/types/src/authentication/endpoints/user.d.ts +2 -2
  357. package/types/src/automationBlockers/endpoints/get.d.ts +4 -4
  358. package/types/src/automationBlockers/endpoints/index.d.ts +4 -4
  359. package/types/src/automationBlockers/models/automationBlocker.schema.d.ts +4 -4
  360. package/types/src/billing/endpoints/getHistory.d.ts +12 -12
  361. package/types/src/billing/endpoints/getStats.d.ts +12 -12
  362. package/types/src/billing/models/billingHistory.schema.d.ts +12 -12
  363. package/types/src/billing/models/billingStats.schema.d.ts +12 -12
  364. package/types/src/connectors/endpoints/create.d.ts +2 -2
  365. package/types/src/connectors/endpoints/index.d.ts +6 -6
  366. package/types/src/connectors/endpoints/list.d.ts +4 -4
  367. package/types/src/connectors/models/connector.schema.d.ts +2 -2
  368. package/types/src/dedicatedEngineSchema/endpoints/create.d.ts +28 -28
  369. package/types/src/dedicatedEngineSchema/endpoints/get.d.ts +30 -30
  370. package/types/src/dedicatedEngineSchema/endpoints/get.schema.d.ts +2 -2
  371. package/types/src/dedicatedEngineSchema/endpoints/index.d.ts +128 -128
  372. package/types/src/dedicatedEngineSchema/endpoints/patch.d.ts +36 -36
  373. package/types/src/dedicatedEngineSchema/endpoints/patch.schema.d.ts +8 -8
  374. package/types/src/dedicatedEngineSchema/endpoints/predict.d.ts +26 -26
  375. package/types/src/dedicatedEngineSchema/endpoints/predict.schema.d.ts +26 -26
  376. package/types/src/dedicatedEngineSchema/endpoints/validate.d.ts +8 -8
  377. package/types/src/dedicatedEngineSchema/endpoints/validate.schema.d.ts +8 -8
  378. package/types/src/dedicatedEngineSchema/models/dedicatedEngineSchema.schema.d.ts +48 -48
  379. package/types/src/dedicatedEngineSchema/models/dedicatedEngineSchemaObject.schema.d.ts +18 -18
  380. package/types/src/dedicatedEngineSchema/models/simpleMultivalueField.schema.d.ts +2 -2
  381. package/types/src/dedicatedEngineSchema/models/tableMultivalueField.schema.d.ts +14 -14
  382. package/types/src/dedicatedEngineSchema/models/transformedFields.schema.d.ts +14 -14
  383. package/types/src/dedicatedEngines/endpoints/create.d.ts +2 -2
  384. package/types/src/dedicatedEngines/endpoints/get.d.ts +4 -4
  385. package/types/src/dedicatedEngines/endpoints/get.schema.d.ts +2 -2
  386. package/types/src/dedicatedEngines/endpoints/index.d.ts +18 -18
  387. package/types/src/dedicatedEngines/endpoints/list.d.ts +8 -8
  388. package/types/src/dedicatedEngines/endpoints/list.schema.d.ts +4 -4
  389. package/types/src/dedicatedEngines/endpoints/patch.d.ts +2 -2
  390. package/types/src/dedicatedEngines/endpoints/request.d.ts +2 -2
  391. package/types/src/dedicatedEngines/models/dedicatedEngine.schema.d.ts +2 -2
  392. package/types/src/deleteRecommendations/endpoints/create.d.ts +4 -4
  393. package/types/src/deleteRecommendations/endpoints/get.d.ts +4 -4
  394. package/types/src/deleteRecommendations/endpoints/index.d.ts +20 -20
  395. package/types/src/deleteRecommendations/endpoints/list.d.ts +8 -8
  396. package/types/src/deleteRecommendations/endpoints/patch.d.ts +4 -4
  397. package/types/src/deleteRecommendations/models/deleteRecommendation.schema.d.ts +4 -4
  398. package/types/src/documentRelations/endpoints/index.d.ts +105 -0
  399. package/types/src/documentRelations/endpoints/list.d.ts +112 -0
  400. package/types/src/documentRelations/endpoints/list.schema.d.ts +29 -0
  401. package/types/src/documentRelations/models/relations.schema.d.ts +24 -0
  402. package/types/src/documents/endpoints/get.d.ts +4 -4
  403. package/types/src/documents/endpoints/index.d.ts +16 -16
  404. package/types/src/documents/endpoints/list.d.ts +8 -8
  405. package/types/src/documents/endpoints/patch.d.ts +4 -4
  406. package/types/src/documents/models/document.schema.d.ts +4 -4
  407. package/types/src/email/endpoints/get.d.ts +6 -6
  408. package/types/src/email/endpoints/index.d.ts +21 -18
  409. package/types/src/email/endpoints/list.d.ts +12 -12
  410. package/types/src/email/endpoints/send.d.ts +4 -0
  411. package/types/src/email/endpoints/send.schema.d.ts +3 -0
  412. package/types/src/email/models/email.schema.d.ts +6 -6
  413. package/types/src/emailTemplates/endpoints/create.d.ts +8 -8
  414. package/types/src/emailTemplates/endpoints/get.d.ts +8 -8
  415. package/types/src/emailTemplates/endpoints/index.d.ts +40 -40
  416. package/types/src/emailTemplates/endpoints/list.d.ts +16 -16
  417. package/types/src/emailTemplates/endpoints/patch.d.ts +8 -8
  418. package/types/src/emailTemplates/models/emailTemplate.schema.d.ts +16 -16
  419. package/types/src/emailThreads/endpoints/get.d.ts +4 -4
  420. package/types/src/emailThreads/endpoints/index.d.ts +16 -16
  421. package/types/src/emailThreads/endpoints/list.d.ts +8 -8
  422. package/types/src/emailThreads/endpoints/patch.d.ts +4 -4
  423. package/types/src/emailThreads/models/emailThreads.schema.d.ts +4 -4
  424. package/types/src/engineFields/endpoints/create.d.ts +2 -2
  425. package/types/src/engineFields/endpoints/get.d.ts +2 -2
  426. package/types/src/engineFields/endpoints/index.d.ts +10 -10
  427. package/types/src/engineFields/endpoints/list.d.ts +4 -4
  428. package/types/src/engineFields/endpoints/patch.d.ts +2 -2
  429. package/types/src/engineFields/models/engineField.schema.d.ts +2 -2
  430. package/types/src/engines/endpoints/create.d.ts +5 -2
  431. package/types/src/engines/endpoints/duplicate.d.ts +5 -2
  432. package/types/src/engines/endpoints/get.d.ts +5 -2
  433. package/types/src/engines/endpoints/index.d.ts +62 -32
  434. package/types/src/engines/endpoints/list.d.ts +9 -4
  435. package/types/src/engines/endpoints/patch.d.ts +10 -4
  436. package/types/src/engines/endpoints/patch.schema.d.ts +4 -1
  437. package/types/src/engines/endpoints/queueStats.d.ts +29 -19
  438. package/types/src/engines/endpoints/queueStats.schema.d.ts +19 -19
  439. package/types/src/engines/models/engine.d.ts +1 -0
  440. package/types/src/engines/models/engine.schema.d.ts +5 -2
  441. package/types/src/engines/models/engineQueueStatsItem.schema.d.ts +6 -0
  442. package/types/src/genericEngines/endpoints/get.d.ts +4 -4
  443. package/types/src/genericEngines/endpoints/get.schema.d.ts +2 -2
  444. package/types/src/genericEngines/endpoints/index.d.ts +12 -12
  445. package/types/src/genericEngines/endpoints/list.d.ts +8 -8
  446. package/types/src/genericEngines/endpoints/list.schema.d.ts +4 -4
  447. package/types/src/genericEngines/models/genericEngine.schema.d.ts +2 -2
  448. package/types/src/groups/endpoints/index.d.ts +4 -4
  449. package/types/src/groups/endpoints/list.d.ts +4 -4
  450. package/types/src/groups/models/group.schema.d.ts +2 -2
  451. package/types/src/hookInterfaces/endpoints/create.d.ts +67 -0
  452. package/types/src/hookInterfaces/endpoints/create.schema.d.ts +23 -0
  453. package/types/src/hookInterfaces/endpoints/delete.d.ts +7 -0
  454. package/types/src/hookInterfaces/endpoints/index.d.ts +243 -0
  455. package/types/src/hookInterfaces/endpoints/invoke.d.ts +10 -0
  456. package/types/src/hookInterfaces/endpoints/invoke.schema.d.ts +3 -0
  457. package/types/src/hookInterfaces/endpoints/list.d.ts +123 -0
  458. package/types/src/hookInterfaces/endpoints/list.schema.d.ts +26 -0
  459. package/types/src/hookInterfaces/endpoints/patch.d.ts +63 -0
  460. package/types/src/hookInterfaces/endpoints/patch.schema.d.ts +20 -0
  461. package/types/src/hookInterfaces/models/hookInterface.d.ts +12 -0
  462. package/types/src/hookInterfaces/models/hookInterface.schema.d.ts +32 -0
  463. package/types/src/hookInterfaces/models/index.d.ts +2 -0
  464. package/types/src/hookTemplates/endpoints/get.d.ts +528 -0
  465. package/types/src/hookTemplates/endpoints/index.d.ts +807 -29
  466. package/types/src/hookTemplates/endpoints/list.d.ts +280 -29
  467. package/types/src/hookTemplates/models/hookTemplate.schema.d.ts +188 -19
  468. package/types/src/hooks/endpoints/cancelRun.d.ts +14 -0
  469. package/types/src/hooks/endpoints/cancelRun.schema.d.ts +8 -0
  470. package/types/src/hooks/endpoints/create.d.ts +238 -47
  471. package/types/src/hooks/endpoints/create.schema.d.ts +92 -40
  472. package/types/src/hooks/endpoints/createFromTemplate.d.ts +508 -0
  473. package/types/src/hooks/endpoints/createFromTemplate.schema.d.ts +20 -0
  474. package/types/src/hooks/endpoints/get.d.ts +184 -26
  475. package/types/src/hooks/endpoints/index.d.ts +3052 -1412
  476. package/types/src/hooks/endpoints/list.d.ts +285 -42
  477. package/types/src/hooks/endpoints/list.schema.d.ts +3 -0
  478. package/types/src/hooks/endpoints/patch.d.ts +370 -51
  479. package/types/src/hooks/endpoints/patch.schema.d.ts +182 -24
  480. package/types/src/hooks/endpoints/runLogs.d.ts +59 -0
  481. package/types/src/hooks/endpoints/runs.d.ts +579 -0
  482. package/types/src/hooks/endpoints/runs.schema.d.ts +543 -0
  483. package/types/src/hooks/endpoints/test.d.ts +20 -15
  484. package/types/src/hooks/endpoints/test.schema.d.ts +20 -15
  485. package/types/src/hooks/models/hook.d.ts +10 -6
  486. package/types/src/hooks/models/hook.schema.d.ts +670 -32
  487. package/types/src/hooks/models/hookConfig.d.ts +16 -8
  488. package/types/src/hooks/models/hookConfig.schema.d.ts +59 -7
  489. package/types/src/hooks/models/hookUtils.d.ts +4 -3
  490. package/types/src/hooks/models/hookUtils.schema.d.ts +4 -3
  491. package/types/src/hooks/models/run.d.ts +53 -0
  492. package/types/src/hooks/models/run.schema.d.ts +301 -0
  493. package/types/src/hooks/models/runLog.d.ts +7 -0
  494. package/types/src/hooks/models/runLog.schema.d.ts +15 -0
  495. package/types/src/inboxes/endpoints/create.d.ts +2 -2
  496. package/types/src/inboxes/endpoints/get.d.ts +2 -2
  497. package/types/src/inboxes/endpoints/index.d.ts +10 -10
  498. package/types/src/inboxes/endpoints/list.d.ts +4 -4
  499. package/types/src/inboxes/endpoints/patch.d.ts +2 -2
  500. package/types/src/inboxes/models/inbox.schema.d.ts +2 -2
  501. package/types/src/internal/endpoints/generateRejectionEmail.d.ts +2 -2
  502. package/types/src/internal/endpoints/generateRejectionEmail.schema.d.ts +2 -2
  503. package/types/src/internal/endpoints/index.d.ts +4530 -2304
  504. package/types/src/internal/endpoints/logs.d.ts +34 -0
  505. package/types/src/internal/endpoints/logs.schema.d.ts +20 -0
  506. package/types/src/internal/endpoints/rules/evaluateRules.d.ts +676 -350
  507. package/types/src/internal/endpoints/rules/evaluateRules.schema.d.ts +674 -348
  508. package/types/src/internal/endpoints/rules/suggestRule.d.ts +537 -255
  509. package/types/src/internal/endpoints/rules/suggestRule.schema.d.ts +574 -298
  510. package/types/src/internal/endpoints/rules/suggestTriggerCondition.d.ts +520 -238
  511. package/types/src/internal/endpoints/rules/suggestTriggerCondition.schema.d.ts +520 -238
  512. package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.d.ts +521 -332
  513. package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.schema.d.ts +520 -390
  514. package/types/src/internal/endpoints/schemas/evaluateFormulas.d.ts +787 -541
  515. package/types/src/internal/endpoints/schemas/evaluateFormulas.schema.d.ts +784 -539
  516. package/types/src/internal/endpoints/schemas/formulaSummary.d.ts +482 -194
  517. package/types/src/internal/endpoints/schemas/formulaSummary.schema.d.ts +482 -194
  518. package/types/src/internal/endpoints/schemas/formulasInfo.d.ts +494 -200
  519. package/types/src/internal/endpoints/schemas/formulasInfo.schema.d.ts +492 -199
  520. package/types/src/internal/endpoints/schemas/suggestFormula.d.ts +482 -194
  521. package/types/src/internal/endpoints/schemas/suggestFormula.schema.d.ts +482 -194
  522. package/types/src/labels/endpoints/create.d.ts +14 -7
  523. package/types/src/labels/endpoints/create.schema.d.ts +7 -2
  524. package/types/src/labels/endpoints/index.d.ts +33 -12
  525. package/types/src/labels/endpoints/list.d.ts +9 -4
  526. package/types/src/labels/endpoints/patch.d.ts +14 -7
  527. package/types/src/labels/endpoints/patch.schema.d.ts +7 -2
  528. package/types/src/labels/models/label.d.ts +1 -0
  529. package/types/src/labels/models/label.schema.d.ts +5 -2
  530. package/types/src/memberships/endpoints/create.d.ts +5 -5
  531. package/types/src/memberships/endpoints/index.d.ts +4 -4
  532. package/types/src/memberships/models/membership.schema.d.ts +2 -2
  533. package/types/src/organization/endpoints/create.d.ts +15 -15
  534. package/types/src/organization/endpoints/create.schema.d.ts +15 -15
  535. package/types/src/organization/endpoints/get.d.ts +11 -11
  536. package/types/src/organization/endpoints/index.d.ts +85 -85
  537. package/types/src/organization/endpoints/list.d.ts +15 -15
  538. package/types/src/organization/endpoints/patch.d.ts +20 -20
  539. package/types/src/organization/models/organization.schema.d.ts +11 -11
  540. package/types/src/organizationGroups/endpoints/index.d.ts +36 -36
  541. package/types/src/organizationGroups/endpoints/organizations.d.ts +4 -4
  542. package/types/src/organizationGroups/endpoints/queues.d.ts +4 -4
  543. package/types/src/organizationGroups/endpoints/workspaces.d.ts +4 -4
  544. package/types/src/organizationGroups/models/organizationGroupOrganization.schema.d.ts +2 -2
  545. package/types/src/organizationGroups/models/organizationGroupQueue.schema.d.ts +2 -2
  546. package/types/src/organizationGroups/models/organizationGroupWorkspace.schema.d.ts +2 -2
  547. package/types/src/pages/endpoints/index.d.ts +14 -14
  548. package/types/src/pages/endpoints/list.d.ts +14 -14
  549. package/types/src/pages/endpoints/list.schema.d.ts +2 -2
  550. package/types/src/pages/models/page.schema.d.ts +6 -6
  551. package/types/src/queues/endpoints/automation.d.ts +4 -4
  552. package/types/src/queues/endpoints/automation.schema.d.ts +4 -4
  553. package/types/src/queues/endpoints/create.d.ts +13 -13
  554. package/types/src/queues/endpoints/createFromTemplate.d.ts +13 -13
  555. package/types/src/queues/endpoints/duplicate.d.ts +13 -13
  556. package/types/src/queues/endpoints/get.d.ts +13 -13
  557. package/types/src/queues/endpoints/index.d.ts +112 -111
  558. package/types/src/queues/endpoints/list.d.ts +24 -24
  559. package/types/src/queues/endpoints/list.schema.d.ts +4 -4
  560. package/types/src/queues/endpoints/patch.d.ts +22 -22
  561. package/types/src/queues/endpoints/patch.schema.d.ts +9 -9
  562. package/types/src/queues/endpoints/upload.d.ts +8 -8
  563. package/types/src/queues/endpoints/upload.schema.d.ts +8 -8
  564. package/types/src/queues/models/automation.schema.d.ts +2 -2
  565. package/types/src/queues/models/queue.schema.d.ts +13 -13
  566. package/types/src/queues/models/queueSettings.schema.d.ts +7 -7
  567. package/types/src/relations/endpoints/create.d.ts +6 -6
  568. package/types/src/relations/endpoints/get.d.ts +6 -6
  569. package/types/src/relations/endpoints/index.d.ts +30 -30
  570. package/types/src/relations/endpoints/list.d.ts +12 -12
  571. package/types/src/relations/endpoints/patch.d.ts +6 -6
  572. package/types/src/relations/models/relations.schema.d.ts +14 -14
  573. package/types/src/rule-templates/endpoints/create.d.ts +58 -70
  574. package/types/src/rule-templates/endpoints/create.schema.d.ts +26 -32
  575. package/types/src/rule-templates/endpoints/get.d.ts +32 -38
  576. package/types/src/rule-templates/endpoints/index.d.ts +198 -234
  577. package/types/src/rule-templates/endpoints/list.d.ts +50 -56
  578. package/types/src/rule-templates/endpoints/patch.d.ts +58 -70
  579. package/types/src/rule-templates/endpoints/patch.schema.d.ts +26 -32
  580. package/types/src/rule-templates/models/ruleTemplate.d.ts +1 -1
  581. package/types/src/rule-templates/models/ruleTemplate.schema.d.ts +32 -38
  582. package/types/src/rules/endpoints/create.d.ts +58 -70
  583. package/types/src/rules/endpoints/create.schema.d.ts +26 -32
  584. package/types/src/rules/endpoints/get.d.ts +32 -38
  585. package/types/src/rules/endpoints/index.d.ts +198 -234
  586. package/types/src/rules/endpoints/list.d.ts +50 -56
  587. package/types/src/rules/endpoints/patch.d.ts +58 -70
  588. package/types/src/rules/endpoints/patch.schema.d.ts +26 -32
  589. package/types/src/rules/models/schemaRule.d.ts +4 -4
  590. package/types/src/rules/models/schemaRule.schema.d.ts +50 -59
  591. package/types/src/schemas/endpoints/create.d.ts +484 -196
  592. package/types/src/schemas/endpoints/get.d.ts +486 -198
  593. package/types/src/schemas/endpoints/get.schema.d.ts +2 -2
  594. package/types/src/schemas/endpoints/list.d.ts +588 -236
  595. package/types/src/schemas/endpoints/patch.d.ts +966 -390
  596. package/types/src/schemas/endpoints/patch.schema.d.ts +482 -194
  597. package/types/src/schemas/endpoints/validate.d.ts +1015 -407
  598. package/types/src/schemas/models/schema.schema.d.ts +484 -196
  599. package/types/src/schemas/models/schemaDatapoint.schema.d.ts +44 -20
  600. package/types/src/schemas/models/schemaDatapointBase.d.ts +3 -1
  601. package/types/src/schemas/models/schemaDatapointBase.schema.d.ts +15 -9
  602. package/types/src/schemas/models/schemaDatapointDate.schema.d.ts +11 -5
  603. package/types/src/schemas/models/schemaDatapointEnum.schema.d.ts +11 -5
  604. package/types/src/schemas/models/schemaDatapointNumber.schema.d.ts +11 -5
  605. package/types/src/schemas/models/schemaDatapointString.schema.d.ts +11 -5
  606. package/types/src/schemas/models/schemaItem.schema.d.ts +278 -118
  607. package/types/src/schemas/models/schemaMultivalue.schema.d.ts +164 -68
  608. package/types/src/schemas/models/schemaSection.schema.d.ts +380 -156
  609. package/types/src/schemas/models/schemaTuple.schema.d.ts +70 -30
  610. package/types/src/shared/models/annotationListTable.d.ts +1 -1
  611. package/types/src/shared/models/annotationListTable.schema.d.ts +15 -15
  612. package/types/src/suggestedEdit/endpoints/get.d.ts +4 -4
  613. package/types/src/suggestedEdit/endpoints/index.d.ts +4 -4
  614. package/types/src/suggestedEdit/models/suggestedEdit.schema.d.ts +4 -4
  615. package/types/src/surveys/endpoints/fromTemplate.d.ts +2 -2
  616. package/types/src/surveys/endpoints/get.d.ts +2 -2
  617. package/types/src/surveys/endpoints/index.d.ts +10 -10
  618. package/types/src/surveys/endpoints/list.d.ts +4 -4
  619. package/types/src/surveys/endpoints/patch.d.ts +2 -2
  620. package/types/src/surveys/models/survey.schema.d.ts +2 -2
  621. package/types/src/tasks/endpoints/get.d.ts +4 -4
  622. package/types/src/tasks/endpoints/index.d.ts +4 -4
  623. package/types/src/tasks/models/asyncTask.schema.d.ts +4 -4
  624. package/types/src/triggers/endpoints/create.d.ts +4 -4
  625. package/types/src/triggers/endpoints/get.d.ts +4 -4
  626. package/types/src/triggers/endpoints/index.d.ts +109 -12
  627. package/types/src/triggers/endpoints/list.d.ts +104 -0
  628. package/types/src/triggers/endpoints/list.schema.d.ts +14 -0
  629. package/types/src/triggers/endpoints/patch.d.ts +4 -4
  630. package/types/src/triggers/models/trigger.schema.d.ts +4 -4
  631. package/types/src/uploads/endpoints/get.d.ts +4 -4
  632. package/types/src/uploads/endpoints/index.d.ts +4 -4
  633. package/types/src/uploads/models/upload.schema.d.ts +4 -4
  634. package/types/src/users/endpoints/create.d.ts +2 -2
  635. package/types/src/users/endpoints/get.d.ts +2 -2
  636. package/types/src/users/endpoints/index.d.ts +10 -10
  637. package/types/src/users/endpoints/list.d.ts +4 -4
  638. package/types/src/users/endpoints/patch.d.ts +2 -2
  639. package/types/src/users/models/user.schema.d.ts +2 -2
  640. package/types/src/utils/withFields.d.ts +9 -9
  641. package/types/src/utils/withSideload.d.ts +2 -2
  642. package/types/src/workflowActivities/endpoints/get.d.ts +4 -4
  643. package/types/src/workflowActivities/endpoints/index.d.ts +13 -13
  644. package/types/src/workflowActivities/endpoints/list.d.ts +8 -8
  645. package/types/src/workflowActivities/models/workflowActivity.schema.d.ts +4 -4
  646. package/types/src/workflowRuns/endpoints/get.d.ts +4 -4
  647. package/types/src/workflowRuns/endpoints/index.d.ts +12 -12
  648. package/types/src/workflowRuns/endpoints/list.d.ts +8 -8
  649. package/types/src/workflowRuns/models/workflowRun.schema.d.ts +4 -4
  650. package/types/src/workflowSteps/endpoints/get.d.ts +2 -2
  651. package/types/src/workflowSteps/endpoints/index.d.ts +7 -7
  652. package/types/src/workflowSteps/endpoints/list.d.ts +4 -4
  653. package/types/src/workflowSteps/models/workflowStep.schema.d.ts +2 -2
  654. package/types/src/workflows/endpoints/get.d.ts +2 -2
  655. package/types/src/workflows/endpoints/index.d.ts +6 -6
  656. package/types/src/workflows/endpoints/list.d.ts +4 -4
  657. package/types/src/workflows/models/workflow.schema.d.ts +2 -2
  658. package/types/src/workspaces/endpoints/create.d.ts +2 -2
  659. package/types/src/workspaces/endpoints/get.d.ts +30 -0
  660. package/types/src/workspaces/endpoints/index.d.ts +37 -8
  661. package/types/src/workspaces/endpoints/list.d.ts +4 -4
  662. package/types/src/workspaces/endpoints/patch.d.ts +2 -2
  663. package/types/src/workspaces/models/workspace.schema.d.ts +2 -2
  664. package/src/authentication/models/authInfo.js.map +0 -1
  665. package/src/automationBlockers/models/automationBlocker.js +0 -3
  666. package/src/automationBlockers/models/automationBlocker.js.map +0 -1
  667. package/src/billing/models/billingHistory.js +0 -3
  668. package/src/billing/models/billingHistory.js.map +0 -1
  669. package/src/billing/models/billingStats.js +0 -3
  670. package/src/billing/models/billingStats.js.map +0 -1
  671. package/src/connectors/models/connector.js +0 -3
  672. package/src/connectors/models/connector.js.map +0 -1
  673. package/src/dedicatedEngineSchema/models/integrityValidationResults.js +0 -3
  674. package/src/dedicatedEngineSchema/models/integrityValidationResults.js.map +0 -1
  675. package/src/dedicatedEngines/models/dedicatedEngine.js +0 -3
  676. package/src/dedicatedEngines/models/dedicatedEngine.js.map +0 -1
  677. package/src/deleteRecommendations/models/deleteRecommendation.js +0 -3
  678. package/src/deleteRecommendations/models/deleteRecommendation.js.map +0 -1
  679. package/src/deleteRecommendations/models/index.js.map +0 -1
  680. package/src/email/models/email.js +0 -3
  681. package/src/email/models/email.js.map +0 -1
  682. package/src/emailTemplatesStats/models/emailTemplateStats.js +0 -3
  683. package/src/emailTemplatesStats/models/emailTemplateStats.js.map +0 -1
  684. package/src/emailTemplatesStats/models/index.js +0 -18
  685. package/src/emailTemplatesStats/models/index.js.map +0 -1
  686. package/src/emailThreads/models/emailThreads.js +0 -3
  687. package/src/emailThreads/models/emailThreads.js.map +0 -1
  688. package/src/genericEngines/models/genericEngine.js +0 -3
  689. package/src/genericEngines/models/genericEngine.js.map +0 -1
  690. package/src/groups/models/group.js +0 -3
  691. package/src/groups/models/group.js.map +0 -1
  692. package/src/groups/models/index.js +0 -18
  693. package/src/groups/models/index.js.map +0 -1
  694. package/src/hookTemplates/models/hookTemplate.js +0 -3
  695. package/src/hookTemplates/models/hookTemplate.js.map +0 -1
  696. package/src/hooks/endpoints/logs.js +0 -15
  697. package/src/hooks/endpoints/logs.js.map +0 -1
  698. package/src/hooks/endpoints/logs.schema.js +0 -22
  699. package/src/hooks/endpoints/logs.schema.js.map +0 -1
  700. package/src/hooks/models/log.js +0 -3
  701. package/src/hooks/models/log.js.map +0 -1
  702. package/src/hooks/models/log.schema.js +0 -56
  703. package/src/hooks/models/log.schema.js.map +0 -1
  704. package/src/inboxes/models/index.js +0 -18
  705. package/src/inboxes/models/index.js.map +0 -1
  706. package/src/memberships/models/index.js +0 -18
  707. package/src/memberships/models/index.js.map +0 -1
  708. package/src/memberships/models/membership.js +0 -3
  709. package/src/memberships/models/membership.js.map +0 -1
  710. package/src/organization/models/emailLimits.js +0 -3
  711. package/src/organization/models/emailLimits.js.map +0 -1
  712. package/src/organization/models/limits.js +0 -3
  713. package/src/organization/models/limits.js.map +0 -1
  714. package/src/organizationGroups/models/organizationGroupOrganization.js +0 -3
  715. package/src/organizationGroups/models/organizationGroupOrganization.js.map +0 -1
  716. package/src/organizationGroups/models/organizationGroupQueue.js +0 -3
  717. package/src/organizationGroups/models/organizationGroupQueue.js.map +0 -1
  718. package/src/organizationGroups/models/organizationGroupWorkspace.js +0 -3
  719. package/src/organizationGroups/models/organizationGroupWorkspace.js.map +0 -1
  720. package/src/queues/models/index.js +0 -28
  721. package/src/queues/models/index.js.map +0 -1
  722. package/src/queues/models/relatedObjectsCounts.js +0 -3
  723. package/src/queues/models/relatedObjectsCounts.js.map +0 -1
  724. package/src/schemas/models/index.js +0 -47
  725. package/src/schemas/models/index.js.map +0 -1
  726. package/src/schemas/models/list.js +0 -3
  727. package/src/schemas/models/list.js.map +0 -1
  728. package/src/schemas/models/list.schema.js +0 -23
  729. package/src/schemas/models/list.schema.js.map +0 -1
  730. package/src/suggestedEdit/models/suggestedDocument.js +0 -3
  731. package/src/suggestedEdit/models/suggestedDocument.js.map +0 -1
  732. package/src/suggestedEdit/models/suggestedEdit.js +0 -3
  733. package/src/suggestedEdit/models/suggestedEdit.js.map +0 -1
  734. package/src/surveys/models/index.js +0 -21
  735. package/src/surveys/models/index.js.map +0 -1
  736. package/src/surveys/models/question.js +0 -3
  737. package/src/surveys/models/question.js.map +0 -1
  738. package/src/surveys/models/survey.js +0 -3
  739. package/src/surveys/models/survey.js.map +0 -1
  740. package/src/surveys/models/surveyTemplate.js +0 -3
  741. package/src/surveys/models/surveyTemplate.js.map +0 -1
  742. package/src/tasks/models/asyncTask.js +0 -3
  743. package/src/tasks/models/asyncTask.js.map +0 -1
  744. package/src/uploads/models/upload.js +0 -3
  745. package/src/uploads/models/upload.js.map +0 -1
  746. package/src/users/models/resetPassword.js +0 -3
  747. package/src/users/models/resetPassword.js.map +0 -1
  748. package/src/workflowActivities/models/index.js +0 -18
  749. package/src/workflowActivities/models/index.js.map +0 -1
  750. package/src/workflowSteps/models/index.js +0 -18
  751. package/src/workflowSteps/models/index.js.map +0 -1
  752. package/src/workflows/models/index.js +0 -18
  753. package/src/workflows/models/index.js.map +0 -1
  754. package/src/workspaces/models/index.js +0 -18
  755. package/src/workspaces/models/index.js.map +0 -1
  756. package/types/src/authentication/models/authInfo.d.ts +0 -4
  757. package/types/src/automationBlockers/models/automationBlocker.d.ts +0 -31
  758. package/types/src/billing/models/billingHistory.d.ts +0 -40
  759. package/types/src/billing/models/billingStats.d.ts +0 -21
  760. package/types/src/connectors/models/connector.d.ts +0 -15
  761. package/types/src/dedicatedEngineSchema/models/integrityValidationResults.d.ts +0 -31
  762. package/types/src/dedicatedEngines/models/dedicatedEngine.d.ts +0 -10
  763. package/types/src/deleteRecommendations/models/deleteRecommendation.d.ts +0 -10
  764. package/types/src/deleteRecommendations/models/index.d.ts +0 -1
  765. package/types/src/email/models/email.d.ts +0 -39
  766. package/types/src/emailTemplatesStats/models/emailTemplateStats.d.ts +0 -6
  767. package/types/src/emailTemplatesStats/models/index.d.ts +0 -1
  768. package/types/src/emailThreads/models/emailThreads.d.ts +0 -32
  769. package/types/src/genericEngines/models/genericEngine.d.ts +0 -9
  770. package/types/src/groups/models/group.d.ts +0 -7
  771. package/types/src/groups/models/index.d.ts +0 -1
  772. package/types/src/hookTemplates/models/hookTemplate.d.ts +0 -40
  773. package/types/src/hooks/endpoints/logs.d.ts +0 -411
  774. package/types/src/hooks/endpoints/logs.schema.d.ts +0 -390
  775. package/types/src/hooks/models/log.d.ts +0 -42
  776. package/types/src/hooks/models/log.schema.d.ts +0 -210
  777. package/types/src/inboxes/models/index.d.ts +0 -1
  778. package/types/src/memberships/models/index.d.ts +0 -1
  779. package/types/src/memberships/models/membership.d.ts +0 -9
  780. package/types/src/organization/models/emailLimits.d.ts +0 -10
  781. package/types/src/organization/models/limits.d.ts +0 -4
  782. package/types/src/organizationGroups/models/organizationGroupOrganization.d.ts +0 -6
  783. package/types/src/organizationGroups/models/organizationGroupQueue.d.ts +0 -8
  784. package/types/src/organizationGroups/models/organizationGroupWorkspace.d.ts +0 -7
  785. package/types/src/queues/models/index.d.ts +0 -11
  786. package/types/src/queues/models/relatedObjectsCounts.d.ts +0 -5
  787. package/types/src/schemas/models/index.d.ts +0 -30
  788. package/types/src/schemas/models/list.d.ts +0 -18
  789. package/types/src/schemas/models/list.schema.d.ts +0 -66
  790. package/types/src/suggestedEdit/models/suggestedDocument.d.ts +0 -9
  791. package/types/src/suggestedEdit/models/suggestedEdit.d.ts +0 -8
  792. package/types/src/surveys/models/index.d.ts +0 -4
  793. package/types/src/surveys/models/question.d.ts +0 -6
  794. package/types/src/surveys/models/survey.d.ts +0 -13
  795. package/types/src/surveys/models/surveyTemplate.d.ts +0 -6
  796. package/types/src/tasks/models/asyncTask.d.ts +0 -17
  797. package/types/src/uploads/models/upload.d.ts +0 -13
  798. package/types/src/users/models/resetPassword.d.ts +0 -3
  799. package/types/src/workflowActivities/models/index.d.ts +0 -1
  800. package/types/src/workflowSteps/models/index.d.ts +0 -1
  801. package/types/src/workflows/models/index.d.ts +0 -1
  802. package/types/src/workspaces/models/index.d.ts +0 -1
@@ -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">]>>>;
103
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
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" | null | undefined;
106
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
107
107
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
108
108
  }, {
109
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
109
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
110
110
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
111
111
  }>>>;
112
112
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -114,6 +114,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
114
114
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
115
115
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
116
116
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
118
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
119
  }, "strip", z.ZodTypeAny, {
118
120
  suggest?: true | undefined;
119
121
  canExport?: boolean | null | undefined;
@@ -132,7 +134,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
132
134
  required?: boolean | null | undefined;
133
135
  } | null | undefined;
134
136
  uiConfiguration?: {
135
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
137
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
136
138
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
137
139
  } | null | undefined;
138
140
  width?: number | null | undefined;
@@ -140,6 +142,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
140
142
  widthChars?: number | null | undefined;
141
143
  scoreThreshold?: number | null | undefined;
142
144
  formula?: string | null | undefined;
145
+ context?: string[] | null | undefined;
146
+ prompt?: string | null | undefined;
143
147
  }, {
144
148
  suggest?: true | undefined;
145
149
  canExport?: boolean | null | undefined;
@@ -158,7 +162,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
158
162
  required?: boolean | null | undefined;
159
163
  } | null | undefined;
160
164
  uiConfiguration?: {
161
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
165
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
162
166
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
163
167
  } | null | undefined;
164
168
  width?: number | null | undefined;
@@ -166,6 +170,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
166
170
  widthChars?: number | null | undefined;
167
171
  scoreThreshold?: number | null | undefined;
168
172
  formula?: string | null | undefined;
173
+ context?: string[] | null | undefined;
174
+ prompt?: string | null | undefined;
169
175
  }>>>, z.ZodIntersection<z.ZodObject<{
170
176
  type: z.ZodLiteral<"date">;
171
177
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -249,13 +255,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
249
255
  required?: boolean | null | undefined;
250
256
  }>>>;
251
257
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
252
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
258
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
253
259
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
254
260
  }, "strip", z.ZodTypeAny, {
255
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
261
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
256
262
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
257
263
  }, {
258
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
264
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
259
265
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
260
266
  }>>>;
261
267
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -263,6 +269,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
263
269
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
264
270
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
265
271
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
273
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
274
  }, "strip", z.ZodTypeAny, {
267
275
  suggest?: true | undefined;
268
276
  canExport?: boolean | null | undefined;
@@ -281,7 +289,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
281
289
  required?: boolean | null | undefined;
282
290
  } | null | undefined;
283
291
  uiConfiguration?: {
284
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
292
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
285
293
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
286
294
  } | null | undefined;
287
295
  width?: number | null | undefined;
@@ -289,6 +297,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
289
297
  widthChars?: number | null | undefined;
290
298
  scoreThreshold?: number | null | undefined;
291
299
  formula?: string | null | undefined;
300
+ context?: string[] | null | undefined;
301
+ prompt?: string | null | undefined;
292
302
  }, {
293
303
  suggest?: true | undefined;
294
304
  canExport?: boolean | null | undefined;
@@ -307,7 +317,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
307
317
  required?: boolean | null | undefined;
308
318
  } | null | undefined;
309
319
  uiConfiguration?: {
310
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
320
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
311
321
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
312
322
  } | null | undefined;
313
323
  width?: number | null | undefined;
@@ -315,6 +325,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
315
325
  widthChars?: number | null | undefined;
316
326
  scoreThreshold?: number | null | undefined;
317
327
  formula?: string | null | undefined;
328
+ context?: string[] | null | undefined;
329
+ prompt?: string | null | undefined;
318
330
  }>>>, z.ZodIntersection<z.ZodObject<{
319
331
  type: z.ZodLiteral<"number">;
320
332
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -425,13 +437,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
425
437
  required?: boolean | null | undefined;
426
438
  }>>>;
427
439
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
428
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
440
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
429
441
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
430
442
  }, "strip", z.ZodTypeAny, {
431
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
443
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
432
444
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
433
445
  }, {
434
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
446
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
435
447
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
436
448
  }>>>;
437
449
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -439,6 +451,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
439
451
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
440
452
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
441
453
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
454
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
455
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
456
  }, "strip", z.ZodTypeAny, {
443
457
  suggest?: true | undefined;
444
458
  canExport?: boolean | null | undefined;
@@ -457,7 +471,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
457
471
  required?: boolean | null | undefined;
458
472
  } | null | undefined;
459
473
  uiConfiguration?: {
460
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
474
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
461
475
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
462
476
  } | null | undefined;
463
477
  width?: number | null | undefined;
@@ -465,6 +479,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
465
479
  widthChars?: number | null | undefined;
466
480
  scoreThreshold?: number | null | undefined;
467
481
  formula?: string | null | undefined;
482
+ context?: string[] | null | undefined;
483
+ prompt?: string | null | undefined;
468
484
  }, {
469
485
  suggest?: true | undefined;
470
486
  canExport?: boolean | null | undefined;
@@ -483,7 +499,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
483
499
  required?: boolean | null | undefined;
484
500
  } | null | undefined;
485
501
  uiConfiguration?: {
486
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
502
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
487
503
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
488
504
  } | null | undefined;
489
505
  width?: number | null | undefined;
@@ -491,6 +507,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
491
507
  widthChars?: number | null | undefined;
492
508
  scoreThreshold?: number | null | undefined;
493
509
  formula?: string | null | undefined;
510
+ context?: string[] | null | undefined;
511
+ prompt?: string | null | undefined;
494
512
  }>>>, z.ZodIntersection<z.ZodObject<{
495
513
  type: z.ZodLiteral<"enum">;
496
514
  options: z.ZodArray<z.ZodObject<{
@@ -592,13 +610,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
592
610
  required?: boolean | null | undefined;
593
611
  }>>>;
594
612
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
595
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
613
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
596
614
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
597
615
  }, "strip", z.ZodTypeAny, {
598
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
616
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
599
617
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
600
618
  }, {
601
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
619
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
602
620
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
603
621
  }>>>;
604
622
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -606,6 +624,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
606
624
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
607
625
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
608
626
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
627
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
628
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
609
629
  }, "strip", z.ZodTypeAny, {
610
630
  suggest?: true | undefined;
611
631
  canExport?: boolean | null | undefined;
@@ -624,7 +644,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
624
644
  required?: boolean | null | undefined;
625
645
  } | null | undefined;
626
646
  uiConfiguration?: {
627
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
647
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
628
648
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
629
649
  } | null | undefined;
630
650
  width?: number | null | undefined;
@@ -632,6 +652,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
632
652
  widthChars?: number | null | undefined;
633
653
  scoreThreshold?: number | null | undefined;
634
654
  formula?: string | null | undefined;
655
+ context?: string[] | null | undefined;
656
+ prompt?: string | null | undefined;
635
657
  }, {
636
658
  suggest?: true | undefined;
637
659
  canExport?: boolean | null | undefined;
@@ -650,7 +672,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
650
672
  required?: boolean | null | undefined;
651
673
  } | null | undefined;
652
674
  uiConfiguration?: {
653
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
675
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
654
676
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
655
677
  } | null | undefined;
656
678
  width?: number | null | undefined;
@@ -658,6 +680,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
658
680
  widthChars?: number | null | undefined;
659
681
  scoreThreshold?: number | null | undefined;
660
682
  formula?: string | null | undefined;
683
+ context?: string[] | null | undefined;
684
+ prompt?: string | null | undefined;
661
685
  }>>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
662
686
  id: z.ZodString;
663
687
  label: z.ZodString;
@@ -782,13 +806,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
782
806
  required?: boolean | null | undefined;
783
807
  }>>>;
784
808
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
785
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
809
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
786
810
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
787
811
  }, "strip", z.ZodTypeAny, {
788
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
812
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
789
813
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
790
814
  }, {
791
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
815
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
792
816
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
793
817
  }>>>;
794
818
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -796,6 +820,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
796
820
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
797
821
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
798
822
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
823
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
824
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
799
825
  }, "strip", z.ZodTypeAny, {
800
826
  suggest?: true | undefined;
801
827
  canExport?: boolean | null | undefined;
@@ -814,7 +840,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
814
840
  required?: boolean | null | undefined;
815
841
  } | null | undefined;
816
842
  uiConfiguration?: {
817
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
843
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
818
844
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
819
845
  } | null | undefined;
820
846
  width?: number | null | undefined;
@@ -822,6 +848,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
822
848
  widthChars?: number | null | undefined;
823
849
  scoreThreshold?: number | null | undefined;
824
850
  formula?: string | null | undefined;
851
+ context?: string[] | null | undefined;
852
+ prompt?: string | null | undefined;
825
853
  }, {
826
854
  suggest?: true | undefined;
827
855
  canExport?: boolean | null | undefined;
@@ -840,7 +868,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
840
868
  required?: boolean | null | undefined;
841
869
  } | null | undefined;
842
870
  uiConfiguration?: {
843
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
871
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
844
872
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
845
873
  } | null | undefined;
846
874
  width?: number | null | undefined;
@@ -848,6 +876,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
848
876
  widthChars?: number | null | undefined;
849
877
  scoreThreshold?: number | null | undefined;
850
878
  formula?: string | null | undefined;
879
+ context?: string[] | null | undefined;
880
+ prompt?: string | null | undefined;
851
881
  }>>>, z.ZodIntersection<z.ZodObject<{
852
882
  type: z.ZodLiteral<"date">;
853
883
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -931,13 +961,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
931
961
  required?: boolean | null | undefined;
932
962
  }>>>;
933
963
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
934
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
964
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
935
965
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
936
966
  }, "strip", z.ZodTypeAny, {
937
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
967
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
938
968
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
939
969
  }, {
940
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
970
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
941
971
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
942
972
  }>>>;
943
973
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -945,6 +975,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
945
975
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
946
976
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
947
977
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
978
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
979
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
948
980
  }, "strip", z.ZodTypeAny, {
949
981
  suggest?: true | undefined;
950
982
  canExport?: boolean | null | undefined;
@@ -963,7 +995,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
963
995
  required?: boolean | null | undefined;
964
996
  } | null | undefined;
965
997
  uiConfiguration?: {
966
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
998
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
967
999
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
968
1000
  } | null | undefined;
969
1001
  width?: number | null | undefined;
@@ -971,6 +1003,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
971
1003
  widthChars?: number | null | undefined;
972
1004
  scoreThreshold?: number | null | undefined;
973
1005
  formula?: string | null | undefined;
1006
+ context?: string[] | null | undefined;
1007
+ prompt?: string | null | undefined;
974
1008
  }, {
975
1009
  suggest?: true | undefined;
976
1010
  canExport?: boolean | null | undefined;
@@ -989,7 +1023,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
989
1023
  required?: boolean | null | undefined;
990
1024
  } | null | undefined;
991
1025
  uiConfiguration?: {
992
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1026
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
993
1027
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
994
1028
  } | null | undefined;
995
1029
  width?: number | null | undefined;
@@ -997,6 +1031,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
997
1031
  widthChars?: number | null | undefined;
998
1032
  scoreThreshold?: number | null | undefined;
999
1033
  formula?: string | null | undefined;
1034
+ context?: string[] | null | undefined;
1035
+ prompt?: string | null | undefined;
1000
1036
  }>>>, z.ZodIntersection<z.ZodObject<{
1001
1037
  type: z.ZodLiteral<"number">;
1002
1038
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1107,13 +1143,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1107
1143
  required?: boolean | null | undefined;
1108
1144
  }>>>;
1109
1145
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1110
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
1146
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
1111
1147
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
1112
1148
  }, "strip", z.ZodTypeAny, {
1113
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1149
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1114
1150
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1115
1151
  }, {
1116
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1152
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1117
1153
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1118
1154
  }>>>;
1119
1155
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1121,6 +1157,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1121
1157
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1122
1158
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1123
1159
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1160
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1161
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1124
1162
  }, "strip", z.ZodTypeAny, {
1125
1163
  suggest?: true | undefined;
1126
1164
  canExport?: boolean | null | undefined;
@@ -1139,7 +1177,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1139
1177
  required?: boolean | null | undefined;
1140
1178
  } | null | undefined;
1141
1179
  uiConfiguration?: {
1142
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1180
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1143
1181
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1144
1182
  } | null | undefined;
1145
1183
  width?: number | null | undefined;
@@ -1147,6 +1185,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1147
1185
  widthChars?: number | null | undefined;
1148
1186
  scoreThreshold?: number | null | undefined;
1149
1187
  formula?: string | null | undefined;
1188
+ context?: string[] | null | undefined;
1189
+ prompt?: string | null | undefined;
1150
1190
  }, {
1151
1191
  suggest?: true | undefined;
1152
1192
  canExport?: boolean | null | undefined;
@@ -1165,7 +1205,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1165
1205
  required?: boolean | null | undefined;
1166
1206
  } | null | undefined;
1167
1207
  uiConfiguration?: {
1168
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1208
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1169
1209
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1170
1210
  } | null | undefined;
1171
1211
  width?: number | null | undefined;
@@ -1173,6 +1213,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1173
1213
  widthChars?: number | null | undefined;
1174
1214
  scoreThreshold?: number | null | undefined;
1175
1215
  formula?: string | null | undefined;
1216
+ context?: string[] | null | undefined;
1217
+ prompt?: string | null | undefined;
1176
1218
  }>>>, z.ZodIntersection<z.ZodObject<{
1177
1219
  type: z.ZodLiteral<"enum">;
1178
1220
  options: z.ZodArray<z.ZodObject<{
@@ -1274,13 +1316,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1274
1316
  required?: boolean | null | undefined;
1275
1317
  }>>>;
1276
1318
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1277
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
1319
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
1278
1320
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
1279
1321
  }, "strip", z.ZodTypeAny, {
1280
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1322
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1281
1323
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1282
1324
  }, {
1283
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1325
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1284
1326
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1285
1327
  }>>>;
1286
1328
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1288,6 +1330,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1288
1330
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1289
1331
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1290
1332
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1333
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1334
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1291
1335
  }, "strip", z.ZodTypeAny, {
1292
1336
  suggest?: true | undefined;
1293
1337
  canExport?: boolean | null | undefined;
@@ -1306,7 +1350,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1306
1350
  required?: boolean | null | undefined;
1307
1351
  } | null | undefined;
1308
1352
  uiConfiguration?: {
1309
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1353
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1310
1354
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1311
1355
  } | null | undefined;
1312
1356
  width?: number | null | undefined;
@@ -1314,6 +1358,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1314
1358
  widthChars?: number | null | undefined;
1315
1359
  scoreThreshold?: number | null | undefined;
1316
1360
  formula?: string | null | undefined;
1361
+ context?: string[] | null | undefined;
1362
+ prompt?: string | null | undefined;
1317
1363
  }, {
1318
1364
  suggest?: true | undefined;
1319
1365
  canExport?: boolean | null | undefined;
@@ -1332,7 +1378,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1332
1378
  required?: boolean | null | undefined;
1333
1379
  } | null | undefined;
1334
1380
  uiConfiguration?: {
1335
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1381
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1336
1382
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1337
1383
  } | null | undefined;
1338
1384
  width?: number | null | undefined;
@@ -1340,6 +1386,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1340
1386
  widthChars?: number | null | undefined;
1341
1387
  scoreThreshold?: number | null | undefined;
1342
1388
  formula?: string | null | undefined;
1389
+ context?: string[] | null | undefined;
1390
+ prompt?: string | null | undefined;
1343
1391
  }>>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1344
1392
  id: z.ZodString;
1345
1393
  label: z.ZodString;
@@ -1385,7 +1433,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1385
1433
  }>>]>, "many">;
1386
1434
  rirFieldNames: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1387
1435
  }, "strip", z.ZodTypeAny, {
1388
- category: "tuple";
1389
1436
  children: (({
1390
1437
  type: "string";
1391
1438
  } & {
@@ -1414,7 +1461,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1414
1461
  required?: boolean | null | undefined;
1415
1462
  } | null | undefined;
1416
1463
  uiConfiguration?: {
1417
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1464
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1418
1465
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1419
1466
  } | null | undefined;
1420
1467
  width?: number | null | undefined;
@@ -1422,6 +1469,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1422
1469
  widthChars?: number | null | undefined;
1423
1470
  scoreThreshold?: number | null | undefined;
1424
1471
  formula?: string | null | undefined;
1472
+ context?: string[] | null | undefined;
1473
+ prompt?: string | null | undefined;
1425
1474
  }) | ({
1426
1475
  type: "date";
1427
1476
  format?: string | null | undefined;
@@ -1451,7 +1500,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1451
1500
  required?: boolean | null | undefined;
1452
1501
  } | null | undefined;
1453
1502
  uiConfiguration?: {
1454
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1503
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1455
1504
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1456
1505
  } | null | undefined;
1457
1506
  width?: number | null | undefined;
@@ -1459,6 +1508,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1459
1508
  widthChars?: number | null | undefined;
1460
1509
  scoreThreshold?: number | null | undefined;
1461
1510
  formula?: string | null | undefined;
1511
+ context?: string[] | null | undefined;
1512
+ prompt?: string | null | undefined;
1462
1513
  }) | ({
1463
1514
  type: "number";
1464
1515
  format?: string | null | undefined;
@@ -1493,7 +1544,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1493
1544
  required?: boolean | null | undefined;
1494
1545
  } | null | undefined;
1495
1546
  uiConfiguration?: {
1496
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1547
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1497
1548
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1498
1549
  } | null | undefined;
1499
1550
  width?: number | null | undefined;
@@ -1501,6 +1552,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1501
1552
  widthChars?: number | null | undefined;
1502
1553
  scoreThreshold?: number | null | undefined;
1503
1554
  formula?: string | null | undefined;
1555
+ context?: string[] | null | undefined;
1556
+ prompt?: string | null | undefined;
1504
1557
  }) | ({
1505
1558
  options: {
1506
1559
  value: string;
@@ -1534,7 +1587,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1534
1587
  required?: boolean | null | undefined;
1535
1588
  } | null | undefined;
1536
1589
  uiConfiguration?: {
1537
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1590
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1538
1591
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1539
1592
  } | null | undefined;
1540
1593
  width?: number | null | undefined;
@@ -1542,6 +1595,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1542
1595
  widthChars?: number | null | undefined;
1543
1596
  scoreThreshold?: number | null | undefined;
1544
1597
  formula?: string | null | undefined;
1598
+ context?: string[] | null | undefined;
1599
+ prompt?: string | null | undefined;
1545
1600
  }) | ({
1546
1601
  id: string;
1547
1602
  label: string;
@@ -1557,9 +1612,9 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1557
1612
  popupUrl?: string | undefined;
1558
1613
  canObtainToken?: boolean | undefined;
1559
1614
  }))[];
1615
+ category: "tuple";
1560
1616
  rirFieldNames?: string[] | null | undefined;
1561
1617
  }, {
1562
- category: "tuple";
1563
1618
  children: (({
1564
1619
  type: "string";
1565
1620
  } & {
@@ -1588,7 +1643,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1588
1643
  required?: boolean | null | undefined;
1589
1644
  } | null | undefined;
1590
1645
  uiConfiguration?: {
1591
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1646
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1592
1647
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1593
1648
  } | null | undefined;
1594
1649
  width?: number | null | undefined;
@@ -1596,6 +1651,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1596
1651
  widthChars?: number | null | undefined;
1597
1652
  scoreThreshold?: number | null | undefined;
1598
1653
  formula?: string | null | undefined;
1654
+ context?: string[] | null | undefined;
1655
+ prompt?: string | null | undefined;
1599
1656
  }) | ({
1600
1657
  type: "date";
1601
1658
  format?: string | null | undefined;
@@ -1625,7 +1682,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1625
1682
  required?: boolean | null | undefined;
1626
1683
  } | null | undefined;
1627
1684
  uiConfiguration?: {
1628
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1685
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1629
1686
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1630
1687
  } | null | undefined;
1631
1688
  width?: number | null | undefined;
@@ -1633,6 +1690,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1633
1690
  widthChars?: number | null | undefined;
1634
1691
  scoreThreshold?: number | null | undefined;
1635
1692
  formula?: string | null | undefined;
1693
+ context?: string[] | null | undefined;
1694
+ prompt?: string | null | undefined;
1636
1695
  }) | ({
1637
1696
  type: "number";
1638
1697
  format?: string | null | undefined;
@@ -1667,7 +1726,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1667
1726
  required?: boolean | null | undefined;
1668
1727
  } | null | undefined;
1669
1728
  uiConfiguration?: {
1670
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1729
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1671
1730
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1672
1731
  } | null | undefined;
1673
1732
  width?: number | null | undefined;
@@ -1675,6 +1734,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1675
1734
  widthChars?: number | null | undefined;
1676
1735
  scoreThreshold?: number | null | undefined;
1677
1736
  formula?: string | null | undefined;
1737
+ context?: string[] | null | undefined;
1738
+ prompt?: string | null | undefined;
1678
1739
  }) | ({
1679
1740
  options: {
1680
1741
  value: string;
@@ -1708,7 +1769,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1708
1769
  required?: boolean | null | undefined;
1709
1770
  } | null | undefined;
1710
1771
  uiConfiguration?: {
1711
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1772
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1712
1773
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1713
1774
  } | null | undefined;
1714
1775
  width?: number | null | undefined;
@@ -1716,6 +1777,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1716
1777
  widthChars?: number | null | undefined;
1717
1778
  scoreThreshold?: number | null | undefined;
1718
1779
  formula?: string | null | undefined;
1780
+ context?: string[] | null | undefined;
1781
+ prompt?: string | null | undefined;
1719
1782
  }) | ({
1720
1783
  id: string;
1721
1784
  label: string;
@@ -1731,6 +1794,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1731
1794
  popupUrl?: string | undefined;
1732
1795
  canObtainToken?: boolean | undefined;
1733
1796
  }))[];
1797
+ category: "tuple";
1734
1798
  rirFieldNames?: string[] | null | undefined;
1735
1799
  }>, z.ZodObject<{
1736
1800
  id: z.ZodString;
@@ -1831,13 +1895,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1831
1895
  required?: boolean | null | undefined;
1832
1896
  }>>>;
1833
1897
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1834
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
1898
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
1835
1899
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
1836
1900
  }, "strip", z.ZodTypeAny, {
1837
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1901
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1838
1902
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1839
1903
  }, {
1840
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1904
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1841
1905
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1842
1906
  }>>>;
1843
1907
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1845,6 +1909,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1845
1909
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1846
1910
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1847
1911
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1912
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1913
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1848
1914
  }, "strip", z.ZodTypeAny, {
1849
1915
  suggest?: true | undefined;
1850
1916
  canExport?: boolean | null | undefined;
@@ -1863,7 +1929,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1863
1929
  required?: boolean | null | undefined;
1864
1930
  } | null | undefined;
1865
1931
  uiConfiguration?: {
1866
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1932
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1867
1933
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1868
1934
  } | null | undefined;
1869
1935
  width?: number | null | undefined;
@@ -1871,6 +1937,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1871
1937
  widthChars?: number | null | undefined;
1872
1938
  scoreThreshold?: number | null | undefined;
1873
1939
  formula?: string | null | undefined;
1940
+ context?: string[] | null | undefined;
1941
+ prompt?: string | null | undefined;
1874
1942
  }, {
1875
1943
  suggest?: true | undefined;
1876
1944
  canExport?: boolean | null | undefined;
@@ -1889,7 +1957,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1889
1957
  required?: boolean | null | undefined;
1890
1958
  } | null | undefined;
1891
1959
  uiConfiguration?: {
1892
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
1960
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1893
1961
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1894
1962
  } | null | undefined;
1895
1963
  width?: number | null | undefined;
@@ -1897,6 +1965,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1897
1965
  widthChars?: number | null | undefined;
1898
1966
  scoreThreshold?: number | null | undefined;
1899
1967
  formula?: string | null | undefined;
1968
+ context?: string[] | null | undefined;
1969
+ prompt?: string | null | undefined;
1900
1970
  }>>>, z.ZodIntersection<z.ZodObject<{
1901
1971
  type: z.ZodLiteral<"date">;
1902
1972
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1980,13 +2050,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1980
2050
  required?: boolean | null | undefined;
1981
2051
  }>>>;
1982
2052
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1983
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
2053
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
1984
2054
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
1985
2055
  }, "strip", z.ZodTypeAny, {
1986
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2056
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1987
2057
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1988
2058
  }, {
1989
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2059
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
1990
2060
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
1991
2061
  }>>>;
1992
2062
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1994,6 +2064,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
1994
2064
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1995
2065
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1996
2066
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2067
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2068
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1997
2069
  }, "strip", z.ZodTypeAny, {
1998
2070
  suggest?: true | undefined;
1999
2071
  canExport?: boolean | null | undefined;
@@ -2012,7 +2084,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2012
2084
  required?: boolean | null | undefined;
2013
2085
  } | null | undefined;
2014
2086
  uiConfiguration?: {
2015
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2087
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2016
2088
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2017
2089
  } | null | undefined;
2018
2090
  width?: number | null | undefined;
@@ -2020,6 +2092,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2020
2092
  widthChars?: number | null | undefined;
2021
2093
  scoreThreshold?: number | null | undefined;
2022
2094
  formula?: string | null | undefined;
2095
+ context?: string[] | null | undefined;
2096
+ prompt?: string | null | undefined;
2023
2097
  }, {
2024
2098
  suggest?: true | undefined;
2025
2099
  canExport?: boolean | null | undefined;
@@ -2038,7 +2112,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2038
2112
  required?: boolean | null | undefined;
2039
2113
  } | null | undefined;
2040
2114
  uiConfiguration?: {
2041
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2115
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2042
2116
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2043
2117
  } | null | undefined;
2044
2118
  width?: number | null | undefined;
@@ -2046,6 +2120,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2046
2120
  widthChars?: number | null | undefined;
2047
2121
  scoreThreshold?: number | null | undefined;
2048
2122
  formula?: string | null | undefined;
2123
+ context?: string[] | null | undefined;
2124
+ prompt?: string | null | undefined;
2049
2125
  }>>>, z.ZodIntersection<z.ZodObject<{
2050
2126
  type: z.ZodLiteral<"number">;
2051
2127
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2156,13 +2232,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2156
2232
  required?: boolean | null | undefined;
2157
2233
  }>>>;
2158
2234
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2159
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
2235
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
2160
2236
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
2161
2237
  }, "strip", z.ZodTypeAny, {
2162
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2238
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2163
2239
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2164
2240
  }, {
2165
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2241
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2166
2242
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2167
2243
  }>>>;
2168
2244
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2170,6 +2246,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2170
2246
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2171
2247
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2172
2248
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2249
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2250
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2173
2251
  }, "strip", z.ZodTypeAny, {
2174
2252
  suggest?: true | undefined;
2175
2253
  canExport?: boolean | null | undefined;
@@ -2188,7 +2266,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2188
2266
  required?: boolean | null | undefined;
2189
2267
  } | null | undefined;
2190
2268
  uiConfiguration?: {
2191
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2269
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2192
2270
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2193
2271
  } | null | undefined;
2194
2272
  width?: number | null | undefined;
@@ -2196,6 +2274,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2196
2274
  widthChars?: number | null | undefined;
2197
2275
  scoreThreshold?: number | null | undefined;
2198
2276
  formula?: string | null | undefined;
2277
+ context?: string[] | null | undefined;
2278
+ prompt?: string | null | undefined;
2199
2279
  }, {
2200
2280
  suggest?: true | undefined;
2201
2281
  canExport?: boolean | null | undefined;
@@ -2214,7 +2294,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2214
2294
  required?: boolean | null | undefined;
2215
2295
  } | null | undefined;
2216
2296
  uiConfiguration?: {
2217
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2297
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2218
2298
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2219
2299
  } | null | undefined;
2220
2300
  width?: number | null | undefined;
@@ -2222,6 +2302,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2222
2302
  widthChars?: number | null | undefined;
2223
2303
  scoreThreshold?: number | null | undefined;
2224
2304
  formula?: string | null | undefined;
2305
+ context?: string[] | null | undefined;
2306
+ prompt?: string | null | undefined;
2225
2307
  }>>>, z.ZodIntersection<z.ZodObject<{
2226
2308
  type: z.ZodLiteral<"enum">;
2227
2309
  options: z.ZodArray<z.ZodObject<{
@@ -2323,13 +2405,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2323
2405
  required?: boolean | null | undefined;
2324
2406
  }>>>;
2325
2407
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2326
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
2408
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
2327
2409
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
2328
2410
  }, "strip", z.ZodTypeAny, {
2329
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2411
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2330
2412
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2331
2413
  }, {
2332
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2414
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2333
2415
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2334
2416
  }>>>;
2335
2417
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2337,6 +2419,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2337
2419
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2338
2420
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2339
2421
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2422
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2423
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2340
2424
  }, "strip", z.ZodTypeAny, {
2341
2425
  suggest?: true | undefined;
2342
2426
  canExport?: boolean | null | undefined;
@@ -2355,7 +2439,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2355
2439
  required?: boolean | null | undefined;
2356
2440
  } | null | undefined;
2357
2441
  uiConfiguration?: {
2358
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2442
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2359
2443
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2360
2444
  } | null | undefined;
2361
2445
  width?: number | null | undefined;
@@ -2363,6 +2447,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2363
2447
  widthChars?: number | null | undefined;
2364
2448
  scoreThreshold?: number | null | undefined;
2365
2449
  formula?: string | null | undefined;
2450
+ context?: string[] | null | undefined;
2451
+ prompt?: string | null | undefined;
2366
2452
  }, {
2367
2453
  suggest?: true | undefined;
2368
2454
  canExport?: boolean | null | undefined;
@@ -2381,7 +2467,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2381
2467
  required?: boolean | null | undefined;
2382
2468
  } | null | undefined;
2383
2469
  uiConfiguration?: {
2384
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2470
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2385
2471
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2386
2472
  } | null | undefined;
2387
2473
  width?: number | null | undefined;
@@ -2389,6 +2475,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2389
2475
  widthChars?: number | null | undefined;
2390
2476
  scoreThreshold?: number | null | undefined;
2391
2477
  formula?: string | null | undefined;
2478
+ context?: string[] | null | undefined;
2479
+ prompt?: string | null | undefined;
2392
2480
  }>>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
2393
2481
  id: z.ZodString;
2394
2482
  label: z.ZodString;
@@ -2461,7 +2549,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2461
2549
  required?: boolean | null | undefined;
2462
2550
  } | null | undefined;
2463
2551
  uiConfiguration?: {
2464
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2552
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2465
2553
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2466
2554
  } | null | undefined;
2467
2555
  width?: number | null | undefined;
@@ -2469,6 +2557,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2469
2557
  widthChars?: number | null | undefined;
2470
2558
  scoreThreshold?: number | null | undefined;
2471
2559
  formula?: string | null | undefined;
2560
+ context?: string[] | null | undefined;
2561
+ prompt?: string | null | undefined;
2472
2562
  }) | ({
2473
2563
  type: "date";
2474
2564
  format?: string | null | undefined;
@@ -2498,7 +2588,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2498
2588
  required?: boolean | null | undefined;
2499
2589
  } | null | undefined;
2500
2590
  uiConfiguration?: {
2501
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2591
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2502
2592
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2503
2593
  } | null | undefined;
2504
2594
  width?: number | null | undefined;
@@ -2506,6 +2596,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2506
2596
  widthChars?: number | null | undefined;
2507
2597
  scoreThreshold?: number | null | undefined;
2508
2598
  formula?: string | null | undefined;
2599
+ context?: string[] | null | undefined;
2600
+ prompt?: string | null | undefined;
2509
2601
  }) | ({
2510
2602
  type: "number";
2511
2603
  format?: string | null | undefined;
@@ -2540,7 +2632,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2540
2632
  required?: boolean | null | undefined;
2541
2633
  } | null | undefined;
2542
2634
  uiConfiguration?: {
2543
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2635
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2544
2636
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2545
2637
  } | null | undefined;
2546
2638
  width?: number | null | undefined;
@@ -2548,6 +2640,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2548
2640
  widthChars?: number | null | undefined;
2549
2641
  scoreThreshold?: number | null | undefined;
2550
2642
  formula?: string | null | undefined;
2643
+ context?: string[] | null | undefined;
2644
+ prompt?: string | null | undefined;
2551
2645
  }) | ({
2552
2646
  options: {
2553
2647
  value: string;
@@ -2581,7 +2675,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2581
2675
  required?: boolean | null | undefined;
2582
2676
  } | null | undefined;
2583
2677
  uiConfiguration?: {
2584
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2678
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2585
2679
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2586
2680
  } | null | undefined;
2587
2681
  width?: number | null | undefined;
@@ -2589,6 +2683,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2589
2683
  widthChars?: number | null | undefined;
2590
2684
  scoreThreshold?: number | null | undefined;
2591
2685
  formula?: string | null | undefined;
2686
+ context?: string[] | null | undefined;
2687
+ prompt?: string | null | undefined;
2592
2688
  }) | ({
2593
2689
  id: string;
2594
2690
  label: string;
@@ -2633,7 +2729,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2633
2729
  required?: boolean | null | undefined;
2634
2730
  } | null | undefined;
2635
2731
  uiConfiguration?: {
2636
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2732
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2637
2733
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2638
2734
  } | null | undefined;
2639
2735
  width?: number | null | undefined;
@@ -2641,6 +2737,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2641
2737
  widthChars?: number | null | undefined;
2642
2738
  scoreThreshold?: number | null | undefined;
2643
2739
  formula?: string | null | undefined;
2740
+ context?: string[] | null | undefined;
2741
+ prompt?: string | null | undefined;
2644
2742
  }) | ({
2645
2743
  type: "date";
2646
2744
  format?: string | null | undefined;
@@ -2670,7 +2768,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2670
2768
  required?: boolean | null | undefined;
2671
2769
  } | null | undefined;
2672
2770
  uiConfiguration?: {
2673
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2771
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2674
2772
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2675
2773
  } | null | undefined;
2676
2774
  width?: number | null | undefined;
@@ -2678,6 +2776,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2678
2776
  widthChars?: number | null | undefined;
2679
2777
  scoreThreshold?: number | null | undefined;
2680
2778
  formula?: string | null | undefined;
2779
+ context?: string[] | null | undefined;
2780
+ prompt?: string | null | undefined;
2681
2781
  }) | ({
2682
2782
  type: "number";
2683
2783
  format?: string | null | undefined;
@@ -2712,7 +2812,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2712
2812
  required?: boolean | null | undefined;
2713
2813
  } | null | undefined;
2714
2814
  uiConfiguration?: {
2715
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2815
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2716
2816
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2717
2817
  } | null | undefined;
2718
2818
  width?: number | null | undefined;
@@ -2720,6 +2820,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2720
2820
  widthChars?: number | null | undefined;
2721
2821
  scoreThreshold?: number | null | undefined;
2722
2822
  formula?: string | null | undefined;
2823
+ context?: string[] | null | undefined;
2824
+ prompt?: string | null | undefined;
2723
2825
  }) | ({
2724
2826
  options: {
2725
2827
  value: string;
@@ -2753,7 +2855,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2753
2855
  required?: boolean | null | undefined;
2754
2856
  } | null | undefined;
2755
2857
  uiConfiguration?: {
2756
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
2858
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2757
2859
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2758
2860
  } | null | undefined;
2759
2861
  width?: number | null | undefined;
@@ -2761,6 +2863,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2761
2863
  widthChars?: number | null | undefined;
2762
2864
  scoreThreshold?: number | null | undefined;
2763
2865
  formula?: string | null | undefined;
2866
+ context?: string[] | null | undefined;
2867
+ prompt?: string | null | undefined;
2764
2868
  }) | ({
2765
2869
  id: string;
2766
2870
  label: string;
@@ -2918,13 +3022,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2918
3022
  required?: boolean | null | undefined;
2919
3023
  }>>>;
2920
3024
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2921
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
3025
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
2922
3026
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
2923
3027
  }, "strip", z.ZodTypeAny, {
2924
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3028
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2925
3029
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2926
3030
  }, {
2927
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3031
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2928
3032
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2929
3033
  }>>>;
2930
3034
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -2932,6 +3036,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2932
3036
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2933
3037
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2934
3038
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3039
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
3040
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2935
3041
  }, "strip", z.ZodTypeAny, {
2936
3042
  suggest?: true | undefined;
2937
3043
  canExport?: boolean | null | undefined;
@@ -2950,7 +3056,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2950
3056
  required?: boolean | null | undefined;
2951
3057
  } | null | undefined;
2952
3058
  uiConfiguration?: {
2953
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3059
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2954
3060
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2955
3061
  } | null | undefined;
2956
3062
  width?: number | null | undefined;
@@ -2958,6 +3064,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2958
3064
  widthChars?: number | null | undefined;
2959
3065
  scoreThreshold?: number | null | undefined;
2960
3066
  formula?: string | null | undefined;
3067
+ context?: string[] | null | undefined;
3068
+ prompt?: string | null | undefined;
2961
3069
  }, {
2962
3070
  suggest?: true | undefined;
2963
3071
  canExport?: boolean | null | undefined;
@@ -2976,7 +3084,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2976
3084
  required?: boolean | null | undefined;
2977
3085
  } | null | undefined;
2978
3086
  uiConfiguration?: {
2979
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3087
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
2980
3088
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
2981
3089
  } | null | undefined;
2982
3090
  width?: number | null | undefined;
@@ -2984,6 +3092,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
2984
3092
  widthChars?: number | null | undefined;
2985
3093
  scoreThreshold?: number | null | undefined;
2986
3094
  formula?: string | null | undefined;
3095
+ context?: string[] | null | undefined;
3096
+ prompt?: string | null | undefined;
2987
3097
  }>>>, z.ZodIntersection<z.ZodObject<{
2988
3098
  type: z.ZodLiteral<"date">;
2989
3099
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3067,13 +3177,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3067
3177
  required?: boolean | null | undefined;
3068
3178
  }>>>;
3069
3179
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3070
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
3180
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
3071
3181
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
3072
3182
  }, "strip", z.ZodTypeAny, {
3073
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3183
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3074
3184
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3075
3185
  }, {
3076
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3186
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3077
3187
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3078
3188
  }>>>;
3079
3189
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3081,6 +3191,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3081
3191
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3082
3192
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3083
3193
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3194
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
3195
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3084
3196
  }, "strip", z.ZodTypeAny, {
3085
3197
  suggest?: true | undefined;
3086
3198
  canExport?: boolean | null | undefined;
@@ -3099,7 +3211,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3099
3211
  required?: boolean | null | undefined;
3100
3212
  } | null | undefined;
3101
3213
  uiConfiguration?: {
3102
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3214
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3103
3215
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3104
3216
  } | null | undefined;
3105
3217
  width?: number | null | undefined;
@@ -3107,6 +3219,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3107
3219
  widthChars?: number | null | undefined;
3108
3220
  scoreThreshold?: number | null | undefined;
3109
3221
  formula?: string | null | undefined;
3222
+ context?: string[] | null | undefined;
3223
+ prompt?: string | null | undefined;
3110
3224
  }, {
3111
3225
  suggest?: true | undefined;
3112
3226
  canExport?: boolean | null | undefined;
@@ -3125,7 +3239,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3125
3239
  required?: boolean | null | undefined;
3126
3240
  } | null | undefined;
3127
3241
  uiConfiguration?: {
3128
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3242
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3129
3243
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3130
3244
  } | null | undefined;
3131
3245
  width?: number | null | undefined;
@@ -3133,6 +3247,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3133
3247
  widthChars?: number | null | undefined;
3134
3248
  scoreThreshold?: number | null | undefined;
3135
3249
  formula?: string | null | undefined;
3250
+ context?: string[] | null | undefined;
3251
+ prompt?: string | null | undefined;
3136
3252
  }>>>, z.ZodIntersection<z.ZodObject<{
3137
3253
  type: z.ZodLiteral<"number">;
3138
3254
  format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3243,13 +3359,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3243
3359
  required?: boolean | null | undefined;
3244
3360
  }>>>;
3245
3361
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3246
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
3362
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
3247
3363
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
3248
3364
  }, "strip", z.ZodTypeAny, {
3249
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3365
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3250
3366
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3251
3367
  }, {
3252
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3368
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3253
3369
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3254
3370
  }>>>;
3255
3371
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3257,6 +3373,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3257
3373
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3258
3374
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3259
3375
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3376
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
3377
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3260
3378
  }, "strip", z.ZodTypeAny, {
3261
3379
  suggest?: true | undefined;
3262
3380
  canExport?: boolean | null | undefined;
@@ -3275,7 +3393,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3275
3393
  required?: boolean | null | undefined;
3276
3394
  } | null | undefined;
3277
3395
  uiConfiguration?: {
3278
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3396
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3279
3397
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3280
3398
  } | null | undefined;
3281
3399
  width?: number | null | undefined;
@@ -3283,6 +3401,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3283
3401
  widthChars?: number | null | undefined;
3284
3402
  scoreThreshold?: number | null | undefined;
3285
3403
  formula?: string | null | undefined;
3404
+ context?: string[] | null | undefined;
3405
+ prompt?: string | null | undefined;
3286
3406
  }, {
3287
3407
  suggest?: true | undefined;
3288
3408
  canExport?: boolean | null | undefined;
@@ -3301,7 +3421,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3301
3421
  required?: boolean | null | undefined;
3302
3422
  } | null | undefined;
3303
3423
  uiConfiguration?: {
3304
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3424
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3305
3425
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3306
3426
  } | null | undefined;
3307
3427
  width?: number | null | undefined;
@@ -3309,6 +3429,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3309
3429
  widthChars?: number | null | undefined;
3310
3430
  scoreThreshold?: number | null | undefined;
3311
3431
  formula?: string | null | undefined;
3432
+ context?: string[] | null | undefined;
3433
+ prompt?: string | null | undefined;
3312
3434
  }>>>, z.ZodIntersection<z.ZodObject<{
3313
3435
  type: z.ZodLiteral<"enum">;
3314
3436
  options: z.ZodArray<z.ZodObject<{
@@ -3410,13 +3532,13 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3410
3532
  required?: boolean | null | undefined;
3411
3533
  }>>>;
3412
3534
  uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3413
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">]>>>;
3535
+ type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
3414
3536
  edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
3415
3537
  }, "strip", z.ZodTypeAny, {
3416
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3538
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3417
3539
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3418
3540
  }, {
3419
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3541
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3420
3542
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3421
3543
  }>>>;
3422
3544
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3424,6 +3546,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3424
3546
  widthChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3425
3547
  scoreThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3426
3548
  formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3549
+ context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
3550
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3427
3551
  }, "strip", z.ZodTypeAny, {
3428
3552
  suggest?: true | undefined;
3429
3553
  canExport?: boolean | null | undefined;
@@ -3442,7 +3566,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3442
3566
  required?: boolean | null | undefined;
3443
3567
  } | null | undefined;
3444
3568
  uiConfiguration?: {
3445
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3569
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3446
3570
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3447
3571
  } | null | undefined;
3448
3572
  width?: number | null | undefined;
@@ -3450,6 +3574,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3450
3574
  widthChars?: number | null | undefined;
3451
3575
  scoreThreshold?: number | null | undefined;
3452
3576
  formula?: string | null | undefined;
3577
+ context?: string[] | null | undefined;
3578
+ prompt?: string | null | undefined;
3453
3579
  }, {
3454
3580
  suggest?: true | undefined;
3455
3581
  canExport?: boolean | null | undefined;
@@ -3468,7 +3594,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3468
3594
  required?: boolean | null | undefined;
3469
3595
  } | null | undefined;
3470
3596
  uiConfiguration?: {
3471
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3597
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3472
3598
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3473
3599
  } | null | undefined;
3474
3600
  width?: number | null | undefined;
@@ -3476,6 +3602,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3476
3602
  widthChars?: number | null | undefined;
3477
3603
  scoreThreshold?: number | null | undefined;
3478
3604
  formula?: string | null | undefined;
3605
+ context?: string[] | null | undefined;
3606
+ prompt?: string | null | undefined;
3479
3607
  }>>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
3480
3608
  id: z.ZodString;
3481
3609
  label: z.ZodString;
@@ -3521,7 +3649,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3521
3649
  }>>]>, "many">;
3522
3650
  rirFieldNames: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3523
3651
  }, "strip", z.ZodTypeAny, {
3524
- category: "tuple";
3525
3652
  children: (({
3526
3653
  type: "string";
3527
3654
  } & {
@@ -3550,7 +3677,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3550
3677
  required?: boolean | null | undefined;
3551
3678
  } | null | undefined;
3552
3679
  uiConfiguration?: {
3553
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3680
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3554
3681
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3555
3682
  } | null | undefined;
3556
3683
  width?: number | null | undefined;
@@ -3558,6 +3685,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3558
3685
  widthChars?: number | null | undefined;
3559
3686
  scoreThreshold?: number | null | undefined;
3560
3687
  formula?: string | null | undefined;
3688
+ context?: string[] | null | undefined;
3689
+ prompt?: string | null | undefined;
3561
3690
  }) | ({
3562
3691
  type: "date";
3563
3692
  format?: string | null | undefined;
@@ -3587,7 +3716,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3587
3716
  required?: boolean | null | undefined;
3588
3717
  } | null | undefined;
3589
3718
  uiConfiguration?: {
3590
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3719
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3591
3720
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3592
3721
  } | null | undefined;
3593
3722
  width?: number | null | undefined;
@@ -3595,6 +3724,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3595
3724
  widthChars?: number | null | undefined;
3596
3725
  scoreThreshold?: number | null | undefined;
3597
3726
  formula?: string | null | undefined;
3727
+ context?: string[] | null | undefined;
3728
+ prompt?: string | null | undefined;
3598
3729
  }) | ({
3599
3730
  type: "number";
3600
3731
  format?: string | null | undefined;
@@ -3629,7 +3760,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3629
3760
  required?: boolean | null | undefined;
3630
3761
  } | null | undefined;
3631
3762
  uiConfiguration?: {
3632
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3763
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3633
3764
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3634
3765
  } | null | undefined;
3635
3766
  width?: number | null | undefined;
@@ -3637,6 +3768,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3637
3768
  widthChars?: number | null | undefined;
3638
3769
  scoreThreshold?: number | null | undefined;
3639
3770
  formula?: string | null | undefined;
3771
+ context?: string[] | null | undefined;
3772
+ prompt?: string | null | undefined;
3640
3773
  }) | ({
3641
3774
  options: {
3642
3775
  value: string;
@@ -3670,7 +3803,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3670
3803
  required?: boolean | null | undefined;
3671
3804
  } | null | undefined;
3672
3805
  uiConfiguration?: {
3673
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3806
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3674
3807
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3675
3808
  } | null | undefined;
3676
3809
  width?: number | null | undefined;
@@ -3678,6 +3811,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3678
3811
  widthChars?: number | null | undefined;
3679
3812
  scoreThreshold?: number | null | undefined;
3680
3813
  formula?: string | null | undefined;
3814
+ context?: string[] | null | undefined;
3815
+ prompt?: string | null | undefined;
3681
3816
  }) | ({
3682
3817
  id: string;
3683
3818
  label: string;
@@ -3693,9 +3828,9 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3693
3828
  popupUrl?: string | undefined;
3694
3829
  canObtainToken?: boolean | undefined;
3695
3830
  }))[];
3831
+ category: "tuple";
3696
3832
  rirFieldNames?: string[] | null | undefined;
3697
3833
  }, {
3698
- category: "tuple";
3699
3834
  children: (({
3700
3835
  type: "string";
3701
3836
  } & {
@@ -3724,7 +3859,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3724
3859
  required?: boolean | null | undefined;
3725
3860
  } | null | undefined;
3726
3861
  uiConfiguration?: {
3727
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3862
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3728
3863
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3729
3864
  } | null | undefined;
3730
3865
  width?: number | null | undefined;
@@ -3732,6 +3867,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3732
3867
  widthChars?: number | null | undefined;
3733
3868
  scoreThreshold?: number | null | undefined;
3734
3869
  formula?: string | null | undefined;
3870
+ context?: string[] | null | undefined;
3871
+ prompt?: string | null | undefined;
3735
3872
  }) | ({
3736
3873
  type: "date";
3737
3874
  format?: string | null | undefined;
@@ -3761,7 +3898,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3761
3898
  required?: boolean | null | undefined;
3762
3899
  } | null | undefined;
3763
3900
  uiConfiguration?: {
3764
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3901
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3765
3902
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3766
3903
  } | null | undefined;
3767
3904
  width?: number | null | undefined;
@@ -3769,6 +3906,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3769
3906
  widthChars?: number | null | undefined;
3770
3907
  scoreThreshold?: number | null | undefined;
3771
3908
  formula?: string | null | undefined;
3909
+ context?: string[] | null | undefined;
3910
+ prompt?: string | null | undefined;
3772
3911
  }) | ({
3773
3912
  type: "number";
3774
3913
  format?: string | null | undefined;
@@ -3803,7 +3942,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3803
3942
  required?: boolean | null | undefined;
3804
3943
  } | null | undefined;
3805
3944
  uiConfiguration?: {
3806
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3945
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3807
3946
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3808
3947
  } | null | undefined;
3809
3948
  width?: number | null | undefined;
@@ -3811,6 +3950,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3811
3950
  widthChars?: number | null | undefined;
3812
3951
  scoreThreshold?: number | null | undefined;
3813
3952
  formula?: string | null | undefined;
3953
+ context?: string[] | null | undefined;
3954
+ prompt?: string | null | undefined;
3814
3955
  }) | ({
3815
3956
  options: {
3816
3957
  value: string;
@@ -3844,7 +3985,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3844
3985
  required?: boolean | null | undefined;
3845
3986
  } | null | undefined;
3846
3987
  uiConfiguration?: {
3847
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
3988
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3848
3989
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3849
3990
  } | null | undefined;
3850
3991
  width?: number | null | undefined;
@@ -3852,6 +3993,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3852
3993
  widthChars?: number | null | undefined;
3853
3994
  scoreThreshold?: number | null | undefined;
3854
3995
  formula?: string | null | undefined;
3996
+ context?: string[] | null | undefined;
3997
+ prompt?: string | null | undefined;
3855
3998
  }) | ({
3856
3999
  id: string;
3857
4000
  label: string;
@@ -3867,6 +4010,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3867
4010
  popupUrl?: string | undefined;
3868
4011
  canObtainToken?: boolean | undefined;
3869
4012
  }))[];
4013
+ category: "tuple";
3870
4014
  rirFieldNames?: string[] | null | undefined;
3871
4015
  }>, z.ZodObject<{
3872
4016
  id: z.ZodString;
@@ -3889,7 +4033,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3889
4033
  }>>;
3890
4034
  }, "strip", z.ZodTypeAny, {
3891
4035
  children: {
3892
- category: "tuple";
3893
4036
  children: (({
3894
4037
  type: "string";
3895
4038
  } & {
@@ -3918,7 +4061,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3918
4061
  required?: boolean | null | undefined;
3919
4062
  } | null | undefined;
3920
4063
  uiConfiguration?: {
3921
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4064
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3922
4065
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3923
4066
  } | null | undefined;
3924
4067
  width?: number | null | undefined;
@@ -3926,6 +4069,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3926
4069
  widthChars?: number | null | undefined;
3927
4070
  scoreThreshold?: number | null | undefined;
3928
4071
  formula?: string | null | undefined;
4072
+ context?: string[] | null | undefined;
4073
+ prompt?: string | null | undefined;
3929
4074
  }) | ({
3930
4075
  type: "date";
3931
4076
  format?: string | null | undefined;
@@ -3955,7 +4100,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3955
4100
  required?: boolean | null | undefined;
3956
4101
  } | null | undefined;
3957
4102
  uiConfiguration?: {
3958
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4103
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
3959
4104
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
3960
4105
  } | null | undefined;
3961
4106
  width?: number | null | undefined;
@@ -3963,6 +4108,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3963
4108
  widthChars?: number | null | undefined;
3964
4109
  scoreThreshold?: number | null | undefined;
3965
4110
  formula?: string | null | undefined;
4111
+ context?: string[] | null | undefined;
4112
+ prompt?: string | null | undefined;
3966
4113
  }) | ({
3967
4114
  type: "number";
3968
4115
  format?: string | null | undefined;
@@ -3997,7 +4144,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
3997
4144
  required?: boolean | null | undefined;
3998
4145
  } | null | undefined;
3999
4146
  uiConfiguration?: {
4000
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4147
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4001
4148
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4002
4149
  } | null | undefined;
4003
4150
  width?: number | null | undefined;
@@ -4005,6 +4152,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4005
4152
  widthChars?: number | null | undefined;
4006
4153
  scoreThreshold?: number | null | undefined;
4007
4154
  formula?: string | null | undefined;
4155
+ context?: string[] | null | undefined;
4156
+ prompt?: string | null | undefined;
4008
4157
  }) | ({
4009
4158
  options: {
4010
4159
  value: string;
@@ -4038,7 +4187,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4038
4187
  required?: boolean | null | undefined;
4039
4188
  } | null | undefined;
4040
4189
  uiConfiguration?: {
4041
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4190
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4042
4191
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4043
4192
  } | null | undefined;
4044
4193
  width?: number | null | undefined;
@@ -4046,6 +4195,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4046
4195
  widthChars?: number | null | undefined;
4047
4196
  scoreThreshold?: number | null | undefined;
4048
4197
  formula?: string | null | undefined;
4198
+ context?: string[] | null | undefined;
4199
+ prompt?: string | null | undefined;
4049
4200
  }) | ({
4050
4201
  id: string;
4051
4202
  label: string;
@@ -4061,6 +4212,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4061
4212
  popupUrl?: string | undefined;
4062
4213
  canObtainToken?: boolean | undefined;
4063
4214
  }))[];
4215
+ category: "tuple";
4064
4216
  rirFieldNames?: string[] | null | undefined;
4065
4217
  } & {
4066
4218
  id: string;
@@ -4071,7 +4223,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4071
4223
  };
4072
4224
  }, {
4073
4225
  children: {
4074
- category: "tuple";
4075
4226
  children: (({
4076
4227
  type: "string";
4077
4228
  } & {
@@ -4100,7 +4251,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4100
4251
  required?: boolean | null | undefined;
4101
4252
  } | null | undefined;
4102
4253
  uiConfiguration?: {
4103
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4254
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4104
4255
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4105
4256
  } | null | undefined;
4106
4257
  width?: number | null | undefined;
@@ -4108,6 +4259,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4108
4259
  widthChars?: number | null | undefined;
4109
4260
  scoreThreshold?: number | null | undefined;
4110
4261
  formula?: string | null | undefined;
4262
+ context?: string[] | null | undefined;
4263
+ prompt?: string | null | undefined;
4111
4264
  }) | ({
4112
4265
  type: "date";
4113
4266
  format?: string | null | undefined;
@@ -4137,7 +4290,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4137
4290
  required?: boolean | null | undefined;
4138
4291
  } | null | undefined;
4139
4292
  uiConfiguration?: {
4140
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4293
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4141
4294
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4142
4295
  } | null | undefined;
4143
4296
  width?: number | null | undefined;
@@ -4145,6 +4298,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4145
4298
  widthChars?: number | null | undefined;
4146
4299
  scoreThreshold?: number | null | undefined;
4147
4300
  formula?: string | null | undefined;
4301
+ context?: string[] | null | undefined;
4302
+ prompt?: string | null | undefined;
4148
4303
  }) | ({
4149
4304
  type: "number";
4150
4305
  format?: string | null | undefined;
@@ -4179,7 +4334,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4179
4334
  required?: boolean | null | undefined;
4180
4335
  } | null | undefined;
4181
4336
  uiConfiguration?: {
4182
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4337
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4183
4338
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4184
4339
  } | null | undefined;
4185
4340
  width?: number | null | undefined;
@@ -4187,6 +4342,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4187
4342
  widthChars?: number | null | undefined;
4188
4343
  scoreThreshold?: number | null | undefined;
4189
4344
  formula?: string | null | undefined;
4345
+ context?: string[] | null | undefined;
4346
+ prompt?: string | null | undefined;
4190
4347
  }) | ({
4191
4348
  options: {
4192
4349
  value: string;
@@ -4220,7 +4377,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4220
4377
  required?: boolean | null | undefined;
4221
4378
  } | null | undefined;
4222
4379
  uiConfiguration?: {
4223
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4380
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4224
4381
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4225
4382
  } | null | undefined;
4226
4383
  width?: number | null | undefined;
@@ -4228,6 +4385,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4228
4385
  widthChars?: number | null | undefined;
4229
4386
  scoreThreshold?: number | null | undefined;
4230
4387
  formula?: string | null | undefined;
4388
+ context?: string[] | null | undefined;
4389
+ prompt?: string | null | undefined;
4231
4390
  }) | ({
4232
4391
  id: string;
4233
4392
  label: string;
@@ -4243,6 +4402,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4243
4402
  popupUrl?: string | undefined;
4244
4403
  canObtainToken?: boolean | undefined;
4245
4404
  }))[];
4405
+ category: "tuple";
4246
4406
  rirFieldNames?: string[] | null | undefined;
4247
4407
  } & {
4248
4408
  id: string;
@@ -4313,7 +4473,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4313
4473
  }>>>]>, "many">;
4314
4474
  icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4315
4475
  }, "strip", z.ZodTypeAny, {
4316
- category: "section";
4317
4476
  children: (({
4318
4477
  type: "string";
4319
4478
  } & {
@@ -4342,7 +4501,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4342
4501
  required?: boolean | null | undefined;
4343
4502
  } | null | undefined;
4344
4503
  uiConfiguration?: {
4345
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4504
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4346
4505
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4347
4506
  } | null | undefined;
4348
4507
  width?: number | null | undefined;
@@ -4350,6 +4509,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4350
4509
  widthChars?: number | null | undefined;
4351
4510
  scoreThreshold?: number | null | undefined;
4352
4511
  formula?: string | null | undefined;
4512
+ context?: string[] | null | undefined;
4513
+ prompt?: string | null | undefined;
4353
4514
  }) | ({
4354
4515
  type: "date";
4355
4516
  format?: string | null | undefined;
@@ -4379,7 +4540,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4379
4540
  required?: boolean | null | undefined;
4380
4541
  } | null | undefined;
4381
4542
  uiConfiguration?: {
4382
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4543
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4383
4544
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4384
4545
  } | null | undefined;
4385
4546
  width?: number | null | undefined;
@@ -4387,6 +4548,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4387
4548
  widthChars?: number | null | undefined;
4388
4549
  scoreThreshold?: number | null | undefined;
4389
4550
  formula?: string | null | undefined;
4551
+ context?: string[] | null | undefined;
4552
+ prompt?: string | null | undefined;
4390
4553
  }) | ({
4391
4554
  type: "number";
4392
4555
  format?: string | null | undefined;
@@ -4421,7 +4584,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4421
4584
  required?: boolean | null | undefined;
4422
4585
  } | null | undefined;
4423
4586
  uiConfiguration?: {
4424
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4587
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4425
4588
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4426
4589
  } | null | undefined;
4427
4590
  width?: number | null | undefined;
@@ -4429,6 +4592,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4429
4592
  widthChars?: number | null | undefined;
4430
4593
  scoreThreshold?: number | null | undefined;
4431
4594
  formula?: string | null | undefined;
4595
+ context?: string[] | null | undefined;
4596
+ prompt?: string | null | undefined;
4432
4597
  }) | ({
4433
4598
  options: {
4434
4599
  value: string;
@@ -4462,7 +4627,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4462
4627
  required?: boolean | null | undefined;
4463
4628
  } | null | undefined;
4464
4629
  uiConfiguration?: {
4465
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4630
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4466
4631
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4467
4632
  } | null | undefined;
4468
4633
  width?: number | null | undefined;
@@ -4470,6 +4635,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4470
4635
  widthChars?: number | null | undefined;
4471
4636
  scoreThreshold?: number | null | undefined;
4472
4637
  formula?: string | null | undefined;
4638
+ context?: string[] | null | undefined;
4639
+ prompt?: string | null | undefined;
4473
4640
  }) | ({
4474
4641
  id: string;
4475
4642
  label: string;
@@ -4485,7 +4652,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4485
4652
  popupUrl?: string | undefined;
4486
4653
  canObtainToken?: boolean | undefined;
4487
4654
  }) | ({
4488
- category: "tuple";
4489
4655
  children: (({
4490
4656
  type: "string";
4491
4657
  } & {
@@ -4514,7 +4680,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4514
4680
  required?: boolean | null | undefined;
4515
4681
  } | null | undefined;
4516
4682
  uiConfiguration?: {
4517
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4683
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4518
4684
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4519
4685
  } | null | undefined;
4520
4686
  width?: number | null | undefined;
@@ -4522,6 +4688,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4522
4688
  widthChars?: number | null | undefined;
4523
4689
  scoreThreshold?: number | null | undefined;
4524
4690
  formula?: string | null | undefined;
4691
+ context?: string[] | null | undefined;
4692
+ prompt?: string | null | undefined;
4525
4693
  }) | ({
4526
4694
  type: "date";
4527
4695
  format?: string | null | undefined;
@@ -4551,7 +4719,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4551
4719
  required?: boolean | null | undefined;
4552
4720
  } | null | undefined;
4553
4721
  uiConfiguration?: {
4554
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4722
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4555
4723
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4556
4724
  } | null | undefined;
4557
4725
  width?: number | null | undefined;
@@ -4559,6 +4727,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4559
4727
  widthChars?: number | null | undefined;
4560
4728
  scoreThreshold?: number | null | undefined;
4561
4729
  formula?: string | null | undefined;
4730
+ context?: string[] | null | undefined;
4731
+ prompt?: string | null | undefined;
4562
4732
  }) | ({
4563
4733
  type: "number";
4564
4734
  format?: string | null | undefined;
@@ -4593,7 +4763,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4593
4763
  required?: boolean | null | undefined;
4594
4764
  } | null | undefined;
4595
4765
  uiConfiguration?: {
4596
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4766
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4597
4767
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4598
4768
  } | null | undefined;
4599
4769
  width?: number | null | undefined;
@@ -4601,6 +4771,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4601
4771
  widthChars?: number | null | undefined;
4602
4772
  scoreThreshold?: number | null | undefined;
4603
4773
  formula?: string | null | undefined;
4774
+ context?: string[] | null | undefined;
4775
+ prompt?: string | null | undefined;
4604
4776
  }) | ({
4605
4777
  options: {
4606
4778
  value: string;
@@ -4634,7 +4806,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4634
4806
  required?: boolean | null | undefined;
4635
4807
  } | null | undefined;
4636
4808
  uiConfiguration?: {
4637
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4809
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4638
4810
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4639
4811
  } | null | undefined;
4640
4812
  width?: number | null | undefined;
@@ -4642,6 +4814,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4642
4814
  widthChars?: number | null | undefined;
4643
4815
  scoreThreshold?: number | null | undefined;
4644
4816
  formula?: string | null | undefined;
4817
+ context?: string[] | null | undefined;
4818
+ prompt?: string | null | undefined;
4645
4819
  }) | ({
4646
4820
  id: string;
4647
4821
  label: string;
@@ -4657,6 +4831,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4657
4831
  popupUrl?: string | undefined;
4658
4832
  canObtainToken?: boolean | undefined;
4659
4833
  }))[];
4834
+ category: "tuple";
4660
4835
  rirFieldNames?: string[] | null | undefined;
4661
4836
  } & {
4662
4837
  id: string;
@@ -4693,7 +4868,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4693
4868
  required?: boolean | null | undefined;
4694
4869
  } | null | undefined;
4695
4870
  uiConfiguration?: {
4696
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4871
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4697
4872
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4698
4873
  } | null | undefined;
4699
4874
  width?: number | null | undefined;
@@ -4701,6 +4876,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4701
4876
  widthChars?: number | null | undefined;
4702
4877
  scoreThreshold?: number | null | undefined;
4703
4878
  formula?: string | null | undefined;
4879
+ context?: string[] | null | undefined;
4880
+ prompt?: string | null | undefined;
4704
4881
  }) | ({
4705
4882
  type: "date";
4706
4883
  format?: string | null | undefined;
@@ -4730,7 +4907,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4730
4907
  required?: boolean | null | undefined;
4731
4908
  } | null | undefined;
4732
4909
  uiConfiguration?: {
4733
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4910
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4734
4911
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4735
4912
  } | null | undefined;
4736
4913
  width?: number | null | undefined;
@@ -4738,6 +4915,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4738
4915
  widthChars?: number | null | undefined;
4739
4916
  scoreThreshold?: number | null | undefined;
4740
4917
  formula?: string | null | undefined;
4918
+ context?: string[] | null | undefined;
4919
+ prompt?: string | null | undefined;
4741
4920
  }) | ({
4742
4921
  type: "number";
4743
4922
  format?: string | null | undefined;
@@ -4772,7 +4951,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4772
4951
  required?: boolean | null | undefined;
4773
4952
  } | null | undefined;
4774
4953
  uiConfiguration?: {
4775
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4954
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4776
4955
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4777
4956
  } | null | undefined;
4778
4957
  width?: number | null | undefined;
@@ -4780,6 +4959,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4780
4959
  widthChars?: number | null | undefined;
4781
4960
  scoreThreshold?: number | null | undefined;
4782
4961
  formula?: string | null | undefined;
4962
+ context?: string[] | null | undefined;
4963
+ prompt?: string | null | undefined;
4783
4964
  }) | ({
4784
4965
  options: {
4785
4966
  value: string;
@@ -4813,7 +4994,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4813
4994
  required?: boolean | null | undefined;
4814
4995
  } | null | undefined;
4815
4996
  uiConfiguration?: {
4816
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
4997
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4817
4998
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4818
4999
  } | null | undefined;
4819
5000
  width?: number | null | undefined;
@@ -4821,6 +5002,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4821
5002
  widthChars?: number | null | undefined;
4822
5003
  scoreThreshold?: number | null | undefined;
4823
5004
  formula?: string | null | undefined;
5005
+ context?: string[] | null | undefined;
5006
+ prompt?: string | null | undefined;
4824
5007
  }) | ({
4825
5008
  id: string;
4826
5009
  label: string;
@@ -4855,7 +5038,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4855
5038
  disablePrediction?: boolean | null | undefined;
4856
5039
  }) | ({
4857
5040
  children: {
4858
- category: "tuple";
4859
5041
  children: (({
4860
5042
  type: "string";
4861
5043
  } & {
@@ -4884,7 +5066,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4884
5066
  required?: boolean | null | undefined;
4885
5067
  } | null | undefined;
4886
5068
  uiConfiguration?: {
4887
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5069
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4888
5070
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4889
5071
  } | null | undefined;
4890
5072
  width?: number | null | undefined;
@@ -4892,6 +5074,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4892
5074
  widthChars?: number | null | undefined;
4893
5075
  scoreThreshold?: number | null | undefined;
4894
5076
  formula?: string | null | undefined;
5077
+ context?: string[] | null | undefined;
5078
+ prompt?: string | null | undefined;
4895
5079
  }) | ({
4896
5080
  type: "date";
4897
5081
  format?: string | null | undefined;
@@ -4921,7 +5105,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4921
5105
  required?: boolean | null | undefined;
4922
5106
  } | null | undefined;
4923
5107
  uiConfiguration?: {
4924
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5108
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4925
5109
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4926
5110
  } | null | undefined;
4927
5111
  width?: number | null | undefined;
@@ -4929,6 +5113,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4929
5113
  widthChars?: number | null | undefined;
4930
5114
  scoreThreshold?: number | null | undefined;
4931
5115
  formula?: string | null | undefined;
5116
+ context?: string[] | null | undefined;
5117
+ prompt?: string | null | undefined;
4932
5118
  }) | ({
4933
5119
  type: "number";
4934
5120
  format?: string | null | undefined;
@@ -4963,7 +5149,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4963
5149
  required?: boolean | null | undefined;
4964
5150
  } | null | undefined;
4965
5151
  uiConfiguration?: {
4966
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5152
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
4967
5153
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
4968
5154
  } | null | undefined;
4969
5155
  width?: number | null | undefined;
@@ -4971,6 +5157,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
4971
5157
  widthChars?: number | null | undefined;
4972
5158
  scoreThreshold?: number | null | undefined;
4973
5159
  formula?: string | null | undefined;
5160
+ context?: string[] | null | undefined;
5161
+ prompt?: string | null | undefined;
4974
5162
  }) | ({
4975
5163
  options: {
4976
5164
  value: string;
@@ -5004,7 +5192,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5004
5192
  required?: boolean | null | undefined;
5005
5193
  } | null | undefined;
5006
5194
  uiConfiguration?: {
5007
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5195
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5008
5196
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5009
5197
  } | null | undefined;
5010
5198
  width?: number | null | undefined;
@@ -5012,6 +5200,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5012
5200
  widthChars?: number | null | undefined;
5013
5201
  scoreThreshold?: number | null | undefined;
5014
5202
  formula?: string | null | undefined;
5203
+ context?: string[] | null | undefined;
5204
+ prompt?: string | null | undefined;
5015
5205
  }) | ({
5016
5206
  id: string;
5017
5207
  label: string;
@@ -5027,6 +5217,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5027
5217
  popupUrl?: string | undefined;
5028
5218
  canObtainToken?: boolean | undefined;
5029
5219
  }))[];
5220
+ category: "tuple";
5030
5221
  rirFieldNames?: string[] | null | undefined;
5031
5222
  } & {
5032
5223
  id: string;
@@ -5053,9 +5244,9 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5053
5244
  hidden?: boolean | null | undefined;
5054
5245
  disablePrediction?: boolean | null | undefined;
5055
5246
  }))[];
5247
+ category: "section";
5056
5248
  icon?: string | null | undefined;
5057
5249
  }, {
5058
- category: "section";
5059
5250
  children: (({
5060
5251
  type: "string";
5061
5252
  } & {
@@ -5084,7 +5275,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5084
5275
  required?: boolean | null | undefined;
5085
5276
  } | null | undefined;
5086
5277
  uiConfiguration?: {
5087
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5278
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5088
5279
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5089
5280
  } | null | undefined;
5090
5281
  width?: number | null | undefined;
@@ -5092,6 +5283,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5092
5283
  widthChars?: number | null | undefined;
5093
5284
  scoreThreshold?: number | null | undefined;
5094
5285
  formula?: string | null | undefined;
5286
+ context?: string[] | null | undefined;
5287
+ prompt?: string | null | undefined;
5095
5288
  }) | ({
5096
5289
  type: "date";
5097
5290
  format?: string | null | undefined;
@@ -5121,7 +5314,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5121
5314
  required?: boolean | null | undefined;
5122
5315
  } | null | undefined;
5123
5316
  uiConfiguration?: {
5124
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5317
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5125
5318
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5126
5319
  } | null | undefined;
5127
5320
  width?: number | null | undefined;
@@ -5129,6 +5322,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5129
5322
  widthChars?: number | null | undefined;
5130
5323
  scoreThreshold?: number | null | undefined;
5131
5324
  formula?: string | null | undefined;
5325
+ context?: string[] | null | undefined;
5326
+ prompt?: string | null | undefined;
5132
5327
  }) | ({
5133
5328
  type: "number";
5134
5329
  format?: string | null | undefined;
@@ -5163,7 +5358,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5163
5358
  required?: boolean | null | undefined;
5164
5359
  } | null | undefined;
5165
5360
  uiConfiguration?: {
5166
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5361
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5167
5362
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5168
5363
  } | null | undefined;
5169
5364
  width?: number | null | undefined;
@@ -5171,6 +5366,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5171
5366
  widthChars?: number | null | undefined;
5172
5367
  scoreThreshold?: number | null | undefined;
5173
5368
  formula?: string | null | undefined;
5369
+ context?: string[] | null | undefined;
5370
+ prompt?: string | null | undefined;
5174
5371
  }) | ({
5175
5372
  options: {
5176
5373
  value: string;
@@ -5204,7 +5401,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5204
5401
  required?: boolean | null | undefined;
5205
5402
  } | null | undefined;
5206
5403
  uiConfiguration?: {
5207
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5404
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5208
5405
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5209
5406
  } | null | undefined;
5210
5407
  width?: number | null | undefined;
@@ -5212,6 +5409,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5212
5409
  widthChars?: number | null | undefined;
5213
5410
  scoreThreshold?: number | null | undefined;
5214
5411
  formula?: string | null | undefined;
5412
+ context?: string[] | null | undefined;
5413
+ prompt?: string | null | undefined;
5215
5414
  }) | ({
5216
5415
  id: string;
5217
5416
  label: string;
@@ -5227,7 +5426,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5227
5426
  popupUrl?: string | undefined;
5228
5427
  canObtainToken?: boolean | undefined;
5229
5428
  }) | ({
5230
- category: "tuple";
5231
5429
  children: (({
5232
5430
  type: "string";
5233
5431
  } & {
@@ -5256,7 +5454,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5256
5454
  required?: boolean | null | undefined;
5257
5455
  } | null | undefined;
5258
5456
  uiConfiguration?: {
5259
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5457
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5260
5458
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5261
5459
  } | null | undefined;
5262
5460
  width?: number | null | undefined;
@@ -5264,6 +5462,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5264
5462
  widthChars?: number | null | undefined;
5265
5463
  scoreThreshold?: number | null | undefined;
5266
5464
  formula?: string | null | undefined;
5465
+ context?: string[] | null | undefined;
5466
+ prompt?: string | null | undefined;
5267
5467
  }) | ({
5268
5468
  type: "date";
5269
5469
  format?: string | null | undefined;
@@ -5293,7 +5493,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5293
5493
  required?: boolean | null | undefined;
5294
5494
  } | null | undefined;
5295
5495
  uiConfiguration?: {
5296
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5496
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5297
5497
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5298
5498
  } | null | undefined;
5299
5499
  width?: number | null | undefined;
@@ -5301,6 +5501,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5301
5501
  widthChars?: number | null | undefined;
5302
5502
  scoreThreshold?: number | null | undefined;
5303
5503
  formula?: string | null | undefined;
5504
+ context?: string[] | null | undefined;
5505
+ prompt?: string | null | undefined;
5304
5506
  }) | ({
5305
5507
  type: "number";
5306
5508
  format?: string | null | undefined;
@@ -5335,7 +5537,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5335
5537
  required?: boolean | null | undefined;
5336
5538
  } | null | undefined;
5337
5539
  uiConfiguration?: {
5338
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5540
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5339
5541
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5340
5542
  } | null | undefined;
5341
5543
  width?: number | null | undefined;
@@ -5343,6 +5545,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5343
5545
  widthChars?: number | null | undefined;
5344
5546
  scoreThreshold?: number | null | undefined;
5345
5547
  formula?: string | null | undefined;
5548
+ context?: string[] | null | undefined;
5549
+ prompt?: string | null | undefined;
5346
5550
  }) | ({
5347
5551
  options: {
5348
5552
  value: string;
@@ -5376,7 +5580,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5376
5580
  required?: boolean | null | undefined;
5377
5581
  } | null | undefined;
5378
5582
  uiConfiguration?: {
5379
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5583
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5380
5584
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5381
5585
  } | null | undefined;
5382
5586
  width?: number | null | undefined;
@@ -5384,6 +5588,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5384
5588
  widthChars?: number | null | undefined;
5385
5589
  scoreThreshold?: number | null | undefined;
5386
5590
  formula?: string | null | undefined;
5591
+ context?: string[] | null | undefined;
5592
+ prompt?: string | null | undefined;
5387
5593
  }) | ({
5388
5594
  id: string;
5389
5595
  label: string;
@@ -5399,6 +5605,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5399
5605
  popupUrl?: string | undefined;
5400
5606
  canObtainToken?: boolean | undefined;
5401
5607
  }))[];
5608
+ category: "tuple";
5402
5609
  rirFieldNames?: string[] | null | undefined;
5403
5610
  } & {
5404
5611
  id: string;
@@ -5435,7 +5642,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5435
5642
  required?: boolean | null | undefined;
5436
5643
  } | null | undefined;
5437
5644
  uiConfiguration?: {
5438
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5645
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5439
5646
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5440
5647
  } | null | undefined;
5441
5648
  width?: number | null | undefined;
@@ -5443,6 +5650,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5443
5650
  widthChars?: number | null | undefined;
5444
5651
  scoreThreshold?: number | null | undefined;
5445
5652
  formula?: string | null | undefined;
5653
+ context?: string[] | null | undefined;
5654
+ prompt?: string | null | undefined;
5446
5655
  }) | ({
5447
5656
  type: "date";
5448
5657
  format?: string | null | undefined;
@@ -5472,7 +5681,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5472
5681
  required?: boolean | null | undefined;
5473
5682
  } | null | undefined;
5474
5683
  uiConfiguration?: {
5475
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5684
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5476
5685
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5477
5686
  } | null | undefined;
5478
5687
  width?: number | null | undefined;
@@ -5480,6 +5689,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5480
5689
  widthChars?: number | null | undefined;
5481
5690
  scoreThreshold?: number | null | undefined;
5482
5691
  formula?: string | null | undefined;
5692
+ context?: string[] | null | undefined;
5693
+ prompt?: string | null | undefined;
5483
5694
  }) | ({
5484
5695
  type: "number";
5485
5696
  format?: string | null | undefined;
@@ -5514,7 +5725,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5514
5725
  required?: boolean | null | undefined;
5515
5726
  } | null | undefined;
5516
5727
  uiConfiguration?: {
5517
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5728
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5518
5729
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5519
5730
  } | null | undefined;
5520
5731
  width?: number | null | undefined;
@@ -5522,6 +5733,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5522
5733
  widthChars?: number | null | undefined;
5523
5734
  scoreThreshold?: number | null | undefined;
5524
5735
  formula?: string | null | undefined;
5736
+ context?: string[] | null | undefined;
5737
+ prompt?: string | null | undefined;
5525
5738
  }) | ({
5526
5739
  options: {
5527
5740
  value: string;
@@ -5555,7 +5768,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5555
5768
  required?: boolean | null | undefined;
5556
5769
  } | null | undefined;
5557
5770
  uiConfiguration?: {
5558
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5771
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5559
5772
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5560
5773
  } | null | undefined;
5561
5774
  width?: number | null | undefined;
@@ -5563,6 +5776,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5563
5776
  widthChars?: number | null | undefined;
5564
5777
  scoreThreshold?: number | null | undefined;
5565
5778
  formula?: string | null | undefined;
5779
+ context?: string[] | null | undefined;
5780
+ prompt?: string | null | undefined;
5566
5781
  }) | ({
5567
5782
  id: string;
5568
5783
  label: string;
@@ -5597,7 +5812,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5597
5812
  disablePrediction?: boolean | null | undefined;
5598
5813
  }) | ({
5599
5814
  children: {
5600
- category: "tuple";
5601
5815
  children: (({
5602
5816
  type: "string";
5603
5817
  } & {
@@ -5626,7 +5840,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5626
5840
  required?: boolean | null | undefined;
5627
5841
  } | null | undefined;
5628
5842
  uiConfiguration?: {
5629
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5843
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5630
5844
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5631
5845
  } | null | undefined;
5632
5846
  width?: number | null | undefined;
@@ -5634,6 +5848,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5634
5848
  widthChars?: number | null | undefined;
5635
5849
  scoreThreshold?: number | null | undefined;
5636
5850
  formula?: string | null | undefined;
5851
+ context?: string[] | null | undefined;
5852
+ prompt?: string | null | undefined;
5637
5853
  }) | ({
5638
5854
  type: "date";
5639
5855
  format?: string | null | undefined;
@@ -5663,7 +5879,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5663
5879
  required?: boolean | null | undefined;
5664
5880
  } | null | undefined;
5665
5881
  uiConfiguration?: {
5666
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5882
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5667
5883
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5668
5884
  } | null | undefined;
5669
5885
  width?: number | null | undefined;
@@ -5671,6 +5887,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5671
5887
  widthChars?: number | null | undefined;
5672
5888
  scoreThreshold?: number | null | undefined;
5673
5889
  formula?: string | null | undefined;
5890
+ context?: string[] | null | undefined;
5891
+ prompt?: string | null | undefined;
5674
5892
  }) | ({
5675
5893
  type: "number";
5676
5894
  format?: string | null | undefined;
@@ -5705,7 +5923,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5705
5923
  required?: boolean | null | undefined;
5706
5924
  } | null | undefined;
5707
5925
  uiConfiguration?: {
5708
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5926
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5709
5927
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5710
5928
  } | null | undefined;
5711
5929
  width?: number | null | undefined;
@@ -5713,6 +5931,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5713
5931
  widthChars?: number | null | undefined;
5714
5932
  scoreThreshold?: number | null | undefined;
5715
5933
  formula?: string | null | undefined;
5934
+ context?: string[] | null | undefined;
5935
+ prompt?: string | null | undefined;
5716
5936
  }) | ({
5717
5937
  options: {
5718
5938
  value: string;
@@ -5746,7 +5966,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5746
5966
  required?: boolean | null | undefined;
5747
5967
  } | null | undefined;
5748
5968
  uiConfiguration?: {
5749
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
5969
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
5750
5970
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
5751
5971
  } | null | undefined;
5752
5972
  width?: number | null | undefined;
@@ -5754,6 +5974,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5754
5974
  widthChars?: number | null | undefined;
5755
5975
  scoreThreshold?: number | null | undefined;
5756
5976
  formula?: string | null | undefined;
5977
+ context?: string[] | null | undefined;
5978
+ prompt?: string | null | undefined;
5757
5979
  }) | ({
5758
5980
  id: string;
5759
5981
  label: string;
@@ -5769,6 +5991,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5769
5991
  popupUrl?: string | undefined;
5770
5992
  canObtainToken?: boolean | undefined;
5771
5993
  }))[];
5994
+ category: "tuple";
5772
5995
  rirFieldNames?: string[] | null | undefined;
5773
5996
  } & {
5774
5997
  id: string;
@@ -5795,6 +6018,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5795
6018
  hidden?: boolean | null | undefined;
5796
6019
  disablePrediction?: boolean | null | undefined;
5797
6020
  }))[];
6021
+ category: "section";
5798
6022
  icon?: string | null | undefined;
5799
6023
  }>>, "many">;
5800
6024
  annotationContent: z.ZodArray<z.ZodObject<{
@@ -5903,9 +6127,10 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5903
6127
  validationSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5904
6128
  timeSpent: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
5905
6129
  timeSpentOverall: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6130
+ noRecalculation: z.ZodOptional<z.ZodBoolean>;
5906
6131
  }, "strip", z.ZodTypeAny, {
5907
- id: number | null;
5908
6132
  url: string | null;
6133
+ id: number | null;
5909
6134
  schemaId: string | null;
5910
6135
  category: "datapoint" | null;
5911
6136
  content?: {
@@ -5927,9 +6152,10 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5927
6152
  validationSources?: string[] | null | undefined;
5928
6153
  timeSpent?: number | null | undefined;
5929
6154
  timeSpentOverall?: number | null | undefined;
6155
+ noRecalculation?: boolean | undefined;
5930
6156
  }, {
5931
- id: number | null;
5932
6157
  url: string | null;
6158
+ id: number | null;
5933
6159
  schemaId: string | null;
5934
6160
  category: "datapoint" | null;
5935
6161
  content?: {
@@ -5951,6 +6177,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
5951
6177
  validationSources?: string[] | null | undefined;
5952
6178
  timeSpent?: number | null | undefined;
5953
6179
  timeSpentOverall?: number | null | undefined;
6180
+ noRecalculation?: boolean | undefined;
5954
6181
  }>, "many">, z.ZodArray<z.ZodObject<{
5955
6182
  id: z.ZodNullable<z.ZodNumber>;
5956
6183
  url: z.ZodNullable<z.ZodString>;
@@ -6009,9 +6236,10 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6009
6236
  validationSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
6010
6237
  timeSpent: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6011
6238
  timeSpentOverall: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6239
+ noRecalculation: z.ZodOptional<z.ZodBoolean>;
6012
6240
  }, "strip", z.ZodTypeAny, {
6013
- id: number | null;
6014
6241
  url: string | null;
6242
+ id: number | null;
6015
6243
  schemaId: string | null;
6016
6244
  category: "datapoint" | null;
6017
6245
  content?: {
@@ -6033,9 +6261,10 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6033
6261
  validationSources?: string[] | null | undefined;
6034
6262
  timeSpent?: number | null | undefined;
6035
6263
  timeSpentOverall?: number | null | undefined;
6264
+ noRecalculation?: boolean | undefined;
6036
6265
  }, {
6037
- id: number | null;
6038
6266
  url: string | null;
6267
+ id: number | null;
6039
6268
  schemaId: string | null;
6040
6269
  category: "datapoint" | null;
6041
6270
  content?: {
@@ -6057,16 +6286,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6057
6286
  validationSources?: string[] | null | undefined;
6058
6287
  timeSpent?: number | null | undefined;
6059
6288
  timeSpentOverall?: number | null | undefined;
6289
+ noRecalculation?: boolean | undefined;
6060
6290
  }>>, "many">;
6061
6291
  schemaId: z.ZodString;
6062
6292
  }, "strip", z.ZodTypeAny, {
6063
- id: number | null;
6064
6293
  url: string | null;
6065
- schemaId: string;
6066
- category: "tuple" | null;
6067
6294
  children: ({
6068
- id: number | null;
6069
6295
  url: string | null;
6296
+ id: number | null;
6070
6297
  schemaId: string | null;
6071
6298
  category: "datapoint" | null;
6072
6299
  content?: {
@@ -6088,15 +6315,16 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6088
6315
  validationSources?: string[] | null | undefined;
6089
6316
  timeSpent?: number | null | undefined;
6090
6317
  timeSpentOverall?: number | null | undefined;
6318
+ noRecalculation?: boolean | undefined;
6091
6319
  } | null)[];
6092
- }, {
6093
6320
  id: number | null;
6094
- url: string | null;
6095
6321
  schemaId: string;
6096
6322
  category: "tuple" | null;
6323
+ }, {
6324
+ url: string | null;
6097
6325
  children: ({
6098
- id: number | null;
6099
6326
  url: string | null;
6327
+ id: number | null;
6100
6328
  schemaId: string | null;
6101
6329
  category: "datapoint" | null;
6102
6330
  content?: {
@@ -6118,7 +6346,11 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6118
6346
  validationSources?: string[] | null | undefined;
6119
6347
  timeSpent?: number | null | undefined;
6120
6348
  timeSpentOverall?: number | null | undefined;
6349
+ noRecalculation?: boolean | undefined;
6121
6350
  } | null)[];
6351
+ id: number | null;
6352
+ schemaId: string;
6353
+ category: "tuple" | null;
6122
6354
  }>, "many">]>>;
6123
6355
  category: z.ZodNullable<z.ZodLiteral<"multivalue">>;
6124
6356
  schemaId: z.ZodNullable<z.ZodString>;
@@ -6214,13 +6446,10 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6214
6446
  timeSpentGrid: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6215
6447
  timeSpentGridOverall: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6216
6448
  }, "strip", z.ZodTypeAny, {
6217
- id: number | null;
6218
6449
  url: string | null;
6219
- schemaId: string | null;
6220
- category: "multivalue" | null;
6221
6450
  children: (({
6222
- id: number | null;
6223
6451
  url: string | null;
6452
+ id: number | null;
6224
6453
  schemaId: string | null;
6225
6454
  category: "datapoint" | null;
6226
6455
  content?: {
@@ -6242,14 +6471,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6242
6471
  validationSources?: string[] | null | undefined;
6243
6472
  timeSpent?: number | null | undefined;
6244
6473
  timeSpentOverall?: number | null | undefined;
6474
+ noRecalculation?: boolean | undefined;
6245
6475
  }[] | {
6246
- id: number | null;
6247
6476
  url: string | null;
6248
- schemaId: string;
6249
- category: "tuple" | null;
6250
6477
  children: ({
6251
- id: number | null;
6252
6478
  url: string | null;
6479
+ id: number | null;
6253
6480
  schemaId: string | null;
6254
6481
  category: "datapoint" | null;
6255
6482
  content?: {
@@ -6271,10 +6498,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6271
6498
  validationSources?: string[] | null | undefined;
6272
6499
  timeSpent?: number | null | undefined;
6273
6500
  timeSpentOverall?: number | null | undefined;
6501
+ noRecalculation?: boolean | undefined;
6274
6502
  } | null)[];
6275
- }[]) & ({
6276
6503
  id: number | null;
6504
+ schemaId: string;
6505
+ category: "tuple" | null;
6506
+ }[]) & ({
6277
6507
  url: string | null;
6508
+ id: number | null;
6278
6509
  schemaId: string | null;
6279
6510
  category: "datapoint" | null;
6280
6511
  content?: {
@@ -6296,14 +6527,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6296
6527
  validationSources?: string[] | null | undefined;
6297
6528
  timeSpent?: number | null | undefined;
6298
6529
  timeSpentOverall?: number | null | undefined;
6530
+ noRecalculation?: boolean | undefined;
6299
6531
  }[] | {
6300
- id: number | null;
6301
6532
  url: string | null;
6302
- schemaId: string;
6303
- category: "tuple" | null;
6304
6533
  children: ({
6305
- id: number | null;
6306
6534
  url: string | null;
6535
+ id: number | null;
6307
6536
  schemaId: string | null;
6308
6537
  category: "datapoint" | null;
6309
6538
  content?: {
@@ -6325,8 +6554,15 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6325
6554
  validationSources?: string[] | null | undefined;
6326
6555
  timeSpent?: number | null | undefined;
6327
6556
  timeSpentOverall?: number | null | undefined;
6557
+ noRecalculation?: boolean | undefined;
6328
6558
  } | null)[];
6559
+ id: number | null;
6560
+ schemaId: string;
6561
+ category: "tuple" | null;
6329
6562
  }[] | undefined)) | null;
6563
+ id: number | null;
6564
+ schemaId: string | null;
6565
+ category: "multivalue" | null;
6330
6566
  content?: {
6331
6567
  value?: string | null | undefined;
6332
6568
  normalizedValue?: string | null | undefined;
@@ -6365,13 +6601,10 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6365
6601
  timeSpentGrid?: number | null | undefined;
6366
6602
  timeSpentGridOverall?: number | null | undefined;
6367
6603
  }, {
6368
- id: number | null;
6369
6604
  url: string | null;
6370
- schemaId: string | null;
6371
- category: "multivalue" | null;
6372
6605
  children: (({
6373
- id: number | null;
6374
6606
  url: string | null;
6607
+ id: number | null;
6375
6608
  schemaId: string | null;
6376
6609
  category: "datapoint" | null;
6377
6610
  content?: {
@@ -6393,14 +6626,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6393
6626
  validationSources?: string[] | null | undefined;
6394
6627
  timeSpent?: number | null | undefined;
6395
6628
  timeSpentOverall?: number | null | undefined;
6629
+ noRecalculation?: boolean | undefined;
6396
6630
  }[] | {
6397
- id: number | null;
6398
6631
  url: string | null;
6399
- schemaId: string;
6400
- category: "tuple" | null;
6401
6632
  children: ({
6402
- id: number | null;
6403
6633
  url: string | null;
6634
+ id: number | null;
6404
6635
  schemaId: string | null;
6405
6636
  category: "datapoint" | null;
6406
6637
  content?: {
@@ -6422,10 +6653,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6422
6653
  validationSources?: string[] | null | undefined;
6423
6654
  timeSpent?: number | null | undefined;
6424
6655
  timeSpentOverall?: number | null | undefined;
6656
+ noRecalculation?: boolean | undefined;
6425
6657
  } | null)[];
6426
- }[]) & ({
6427
6658
  id: number | null;
6659
+ schemaId: string;
6660
+ category: "tuple" | null;
6661
+ }[]) & ({
6428
6662
  url: string | null;
6663
+ id: number | null;
6429
6664
  schemaId: string | null;
6430
6665
  category: "datapoint" | null;
6431
6666
  content?: {
@@ -6447,14 +6682,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6447
6682
  validationSources?: string[] | null | undefined;
6448
6683
  timeSpent?: number | null | undefined;
6449
6684
  timeSpentOverall?: number | null | undefined;
6685
+ noRecalculation?: boolean | undefined;
6450
6686
  }[] | {
6451
- id: number | null;
6452
6687
  url: string | null;
6453
- schemaId: string;
6454
- category: "tuple" | null;
6455
6688
  children: ({
6456
- id: number | null;
6457
6689
  url: string | null;
6690
+ id: number | null;
6458
6691
  schemaId: string | null;
6459
6692
  category: "datapoint" | null;
6460
6693
  content?: {
@@ -6476,8 +6709,15 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6476
6709
  validationSources?: string[] | null | undefined;
6477
6710
  timeSpent?: number | null | undefined;
6478
6711
  timeSpentOverall?: number | null | undefined;
6712
+ noRecalculation?: boolean | undefined;
6479
6713
  } | null)[];
6714
+ id: number | null;
6715
+ schemaId: string;
6716
+ category: "tuple" | null;
6480
6717
  }[] | undefined)) | null;
6718
+ id: number | null;
6719
+ schemaId: string | null;
6720
+ category: "multivalue" | null;
6481
6721
  content?: {
6482
6722
  value?: string | null | undefined;
6483
6723
  normalizedValue?: string | null | undefined;
@@ -6569,9 +6809,10 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6569
6809
  validationSources: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
6570
6810
  timeSpent: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6571
6811
  timeSpentOverall: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6812
+ noRecalculation: z.ZodOptional<z.ZodBoolean>;
6572
6813
  }, "strip", z.ZodTypeAny, {
6573
- id: number | null;
6574
6814
  url: string | null;
6815
+ id: number | null;
6575
6816
  schemaId: string | null;
6576
6817
  category: "datapoint" | null;
6577
6818
  content?: {
@@ -6593,9 +6834,10 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6593
6834
  validationSources?: string[] | null | undefined;
6594
6835
  timeSpent?: number | null | undefined;
6595
6836
  timeSpentOverall?: number | null | undefined;
6837
+ noRecalculation?: boolean | undefined;
6596
6838
  }, {
6597
- id: number | null;
6598
6839
  url: string | null;
6840
+ id: number | null;
6599
6841
  schemaId: string | null;
6600
6842
  category: "datapoint" | null;
6601
6843
  content?: {
@@ -6617,17 +6859,15 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6617
6859
  validationSources?: string[] | null | undefined;
6618
6860
  timeSpent?: number | null | undefined;
6619
6861
  timeSpentOverall?: number | null | undefined;
6862
+ noRecalculation?: boolean | undefined;
6620
6863
  }>]>, "many">>;
6621
6864
  category: z.ZodNullable<z.ZodLiteral<"section">>;
6622
6865
  schemaId: z.ZodNullable<z.ZodString>;
6623
6866
  }, "strip", z.ZodTypeAny, {
6624
- id: number | null;
6625
6867
  url: string | null;
6626
- schemaId: string | null;
6627
- category: "section" | null;
6628
6868
  children: ({
6629
- id: number | null;
6630
6869
  url: string | null;
6870
+ id: number | null;
6631
6871
  schemaId: string | null;
6632
6872
  category: "datapoint" | null;
6633
6873
  content?: {
@@ -6649,14 +6889,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6649
6889
  validationSources?: string[] | null | undefined;
6650
6890
  timeSpent?: number | null | undefined;
6651
6891
  timeSpentOverall?: number | null | undefined;
6892
+ noRecalculation?: boolean | undefined;
6652
6893
  } | {
6653
- id: number | null;
6654
6894
  url: string | null;
6655
- schemaId: string | null;
6656
- category: "multivalue" | null;
6657
6895
  children: (({
6658
- id: number | null;
6659
6896
  url: string | null;
6897
+ id: number | null;
6660
6898
  schemaId: string | null;
6661
6899
  category: "datapoint" | null;
6662
6900
  content?: {
@@ -6678,14 +6916,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6678
6916
  validationSources?: string[] | null | undefined;
6679
6917
  timeSpent?: number | null | undefined;
6680
6918
  timeSpentOverall?: number | null | undefined;
6919
+ noRecalculation?: boolean | undefined;
6681
6920
  }[] | {
6682
- id: number | null;
6683
6921
  url: string | null;
6684
- schemaId: string;
6685
- category: "tuple" | null;
6686
6922
  children: ({
6687
- id: number | null;
6688
6923
  url: string | null;
6924
+ id: number | null;
6689
6925
  schemaId: string | null;
6690
6926
  category: "datapoint" | null;
6691
6927
  content?: {
@@ -6707,10 +6943,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6707
6943
  validationSources?: string[] | null | undefined;
6708
6944
  timeSpent?: number | null | undefined;
6709
6945
  timeSpentOverall?: number | null | undefined;
6946
+ noRecalculation?: boolean | undefined;
6710
6947
  } | null)[];
6711
- }[]) & ({
6712
6948
  id: number | null;
6949
+ schemaId: string;
6950
+ category: "tuple" | null;
6951
+ }[]) & ({
6713
6952
  url: string | null;
6953
+ id: number | null;
6714
6954
  schemaId: string | null;
6715
6955
  category: "datapoint" | null;
6716
6956
  content?: {
@@ -6732,14 +6972,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6732
6972
  validationSources?: string[] | null | undefined;
6733
6973
  timeSpent?: number | null | undefined;
6734
6974
  timeSpentOverall?: number | null | undefined;
6975
+ noRecalculation?: boolean | undefined;
6735
6976
  }[] | {
6736
- id: number | null;
6737
6977
  url: string | null;
6738
- schemaId: string;
6739
- category: "tuple" | null;
6740
6978
  children: ({
6741
- id: number | null;
6742
6979
  url: string | null;
6980
+ id: number | null;
6743
6981
  schemaId: string | null;
6744
6982
  category: "datapoint" | null;
6745
6983
  content?: {
@@ -6761,8 +6999,15 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6761
6999
  validationSources?: string[] | null | undefined;
6762
7000
  timeSpent?: number | null | undefined;
6763
7001
  timeSpentOverall?: number | null | undefined;
7002
+ noRecalculation?: boolean | undefined;
6764
7003
  } | null)[];
7004
+ id: number | null;
7005
+ schemaId: string;
7006
+ category: "tuple" | null;
6765
7007
  }[] | undefined)) | null;
7008
+ id: number | null;
7009
+ schemaId: string | null;
7010
+ category: "multivalue" | null;
6766
7011
  content?: {
6767
7012
  value?: string | null | undefined;
6768
7013
  normalizedValue?: string | null | undefined;
@@ -6801,14 +7046,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6801
7046
  timeSpentGrid?: number | null | undefined;
6802
7047
  timeSpentGridOverall?: number | null | undefined;
6803
7048
  })[] | null;
6804
- }, {
6805
7049
  id: number | null;
6806
- url: string | null;
6807
7050
  schemaId: string | null;
6808
7051
  category: "section" | null;
7052
+ }, {
7053
+ url: string | null;
6809
7054
  children: ({
6810
- id: number | null;
6811
7055
  url: string | null;
7056
+ id: number | null;
6812
7057
  schemaId: string | null;
6813
7058
  category: "datapoint" | null;
6814
7059
  content?: {
@@ -6830,14 +7075,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6830
7075
  validationSources?: string[] | null | undefined;
6831
7076
  timeSpent?: number | null | undefined;
6832
7077
  timeSpentOverall?: number | null | undefined;
7078
+ noRecalculation?: boolean | undefined;
6833
7079
  } | {
6834
- id: number | null;
6835
7080
  url: string | null;
6836
- schemaId: string | null;
6837
- category: "multivalue" | null;
6838
7081
  children: (({
6839
- id: number | null;
6840
7082
  url: string | null;
7083
+ id: number | null;
6841
7084
  schemaId: string | null;
6842
7085
  category: "datapoint" | null;
6843
7086
  content?: {
@@ -6859,14 +7102,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6859
7102
  validationSources?: string[] | null | undefined;
6860
7103
  timeSpent?: number | null | undefined;
6861
7104
  timeSpentOverall?: number | null | undefined;
7105
+ noRecalculation?: boolean | undefined;
6862
7106
  }[] | {
6863
- id: number | null;
6864
7107
  url: string | null;
6865
- schemaId: string;
6866
- category: "tuple" | null;
6867
7108
  children: ({
6868
- id: number | null;
6869
7109
  url: string | null;
7110
+ id: number | null;
6870
7111
  schemaId: string | null;
6871
7112
  category: "datapoint" | null;
6872
7113
  content?: {
@@ -6888,10 +7129,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6888
7129
  validationSources?: string[] | null | undefined;
6889
7130
  timeSpent?: number | null | undefined;
6890
7131
  timeSpentOverall?: number | null | undefined;
7132
+ noRecalculation?: boolean | undefined;
6891
7133
  } | null)[];
6892
- }[]) & ({
6893
7134
  id: number | null;
7135
+ schemaId: string;
7136
+ category: "tuple" | null;
7137
+ }[]) & ({
6894
7138
  url: string | null;
7139
+ id: number | null;
6895
7140
  schemaId: string | null;
6896
7141
  category: "datapoint" | null;
6897
7142
  content?: {
@@ -6913,14 +7158,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6913
7158
  validationSources?: string[] | null | undefined;
6914
7159
  timeSpent?: number | null | undefined;
6915
7160
  timeSpentOverall?: number | null | undefined;
7161
+ noRecalculation?: boolean | undefined;
6916
7162
  }[] | {
6917
- id: number | null;
6918
7163
  url: string | null;
6919
- schemaId: string;
6920
- category: "tuple" | null;
6921
7164
  children: ({
6922
- id: number | null;
6923
7165
  url: string | null;
7166
+ id: number | null;
6924
7167
  schemaId: string | null;
6925
7168
  category: "datapoint" | null;
6926
7169
  content?: {
@@ -6942,8 +7185,15 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6942
7185
  validationSources?: string[] | null | undefined;
6943
7186
  timeSpent?: number | null | undefined;
6944
7187
  timeSpentOverall?: number | null | undefined;
7188
+ noRecalculation?: boolean | undefined;
6945
7189
  } | null)[];
7190
+ id: number | null;
7191
+ schemaId: string;
7192
+ category: "tuple" | null;
6946
7193
  }[] | undefined)) | null;
7194
+ id: number | null;
7195
+ schemaId: string | null;
7196
+ category: "multivalue" | null;
6947
7197
  content?: {
6948
7198
  value?: string | null | undefined;
6949
7199
  normalizedValue?: string | null | undefined;
@@ -6982,6 +7232,9 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6982
7232
  timeSpentGrid?: number | null | undefined;
6983
7233
  timeSpentGridOverall?: number | null | undefined;
6984
7234
  })[] | null;
7235
+ id: number | null;
7236
+ schemaId: string | null;
7237
+ category: "section" | null;
6985
7238
  }>, "many">;
6986
7239
  schemaRules: z.ZodArray<z.ZodObject<{
6987
7240
  id: z.ZodOptional<z.ZodNumber>;
@@ -6994,40 +7247,34 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
6994
7247
  triggerCondition: z.ZodOptional<z.ZodString>;
6995
7248
  triggerConditionSummary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6996
7249
  synchronizedFromTemplate: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
6997
- ruleActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
7250
+ actions: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
6998
7251
  id: z.ZodString;
6999
7252
  enabled: z.ZodBoolean;
7000
7253
  name: z.ZodOptional<z.ZodString>;
7001
7254
  description: z.ZodOptional<z.ZodString>;
7002
- action: z.ZodOptional<z.ZodObject<{
7003
- type: z.ZodUnion<[z.ZodLiteral<"add_automation_blocker">, z.ZodLiteral<"show_message">, z.ZodLiteral<"send_email">, z.ZodLiteral<"hide_field">, z.ZodLiteral<"change_queue">, z.ZodLiteral<"show_field">, z.ZodLiteral<"change_status">, z.ZodLiteral<"add_label">, z.ZodLiteral<"remove_label">, z.ZodString]>;
7004
- payload: z.ZodOptional<z.ZodUnknown>;
7005
- }, "strip", z.ZodTypeAny, {
7006
- type: string;
7007
- payload?: unknown;
7008
- }, {
7009
- type: string;
7010
- payload?: unknown;
7011
- }>>;
7012
7255
  }, "strip", z.ZodTypeAny, {
7013
7256
  id: string;
7014
7257
  enabled: boolean;
7015
7258
  name?: string | undefined;
7016
7259
  description?: string | undefined;
7017
- action?: {
7018
- type: string;
7019
- payload?: unknown;
7020
- } | undefined;
7021
7260
  }, {
7022
7261
  id: string;
7023
7262
  enabled: boolean;
7024
7263
  name?: string | undefined;
7025
7264
  description?: string | undefined;
7026
- action?: {
7027
- type: string;
7028
- payload?: unknown;
7029
- } | undefined;
7030
- }>, "many">>;
7265
+ }>, z.ZodObject<{
7266
+ type: z.ZodString;
7267
+ event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
7268
+ payload: z.ZodOptional<z.ZodUnknown>;
7269
+ }, "strip", z.ZodTypeAny, {
7270
+ type: string;
7271
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7272
+ payload?: unknown;
7273
+ }, {
7274
+ type: string;
7275
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7276
+ payload?: unknown;
7277
+ }>>, "many">>;
7031
7278
  }, "strip", z.ZodTypeAny, {
7032
7279
  id?: number | undefined;
7033
7280
  url?: string | undefined;
@@ -7039,16 +7286,16 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7039
7286
  triggerCondition?: string | undefined;
7040
7287
  triggerConditionSummary?: string | undefined;
7041
7288
  synchronizedFromTemplate?: boolean | undefined;
7042
- ruleActions?: {
7289
+ actions?: ({
7043
7290
  id: string;
7044
7291
  enabled: boolean;
7045
7292
  name?: string | undefined;
7046
7293
  description?: string | undefined;
7047
- action?: {
7048
- type: string;
7049
- payload?: unknown;
7050
- } | undefined;
7051
- }[] | undefined;
7294
+ } & {
7295
+ type: string;
7296
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7297
+ payload?: unknown;
7298
+ })[] | undefined;
7052
7299
  }, {
7053
7300
  id?: number | undefined;
7054
7301
  url?: string | undefined;
@@ -7060,16 +7307,16 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7060
7307
  triggerCondition?: string | undefined;
7061
7308
  triggerConditionSummary?: string | undefined;
7062
7309
  synchronizedFromTemplate?: boolean | undefined;
7063
- ruleActions?: {
7310
+ actions?: ({
7064
7311
  id: string;
7065
7312
  enabled: boolean;
7066
7313
  name?: string | undefined;
7067
7314
  description?: string | undefined;
7068
- action?: {
7069
- type: string;
7070
- payload?: unknown;
7071
- } | undefined;
7072
- }[] | undefined;
7315
+ } & {
7316
+ type: string;
7317
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
7318
+ payload?: unknown;
7319
+ })[] | undefined;
7073
7320
  }>, "many">;
7074
7321
  }, "strip", z.ZodTypeAny, {
7075
7322
  schemaContent: ({
@@ -7079,7 +7326,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7079
7326
  hidden?: boolean | null | undefined;
7080
7327
  disablePrediction?: boolean | null | undefined;
7081
7328
  } & {
7082
- category: "section";
7083
7329
  children: (({
7084
7330
  type: "string";
7085
7331
  } & {
@@ -7108,7 +7354,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7108
7354
  required?: boolean | null | undefined;
7109
7355
  } | null | undefined;
7110
7356
  uiConfiguration?: {
7111
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7357
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7112
7358
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7113
7359
  } | null | undefined;
7114
7360
  width?: number | null | undefined;
@@ -7116,6 +7362,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7116
7362
  widthChars?: number | null | undefined;
7117
7363
  scoreThreshold?: number | null | undefined;
7118
7364
  formula?: string | null | undefined;
7365
+ context?: string[] | null | undefined;
7366
+ prompt?: string | null | undefined;
7119
7367
  }) | ({
7120
7368
  type: "date";
7121
7369
  format?: string | null | undefined;
@@ -7145,7 +7393,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7145
7393
  required?: boolean | null | undefined;
7146
7394
  } | null | undefined;
7147
7395
  uiConfiguration?: {
7148
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7396
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7149
7397
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7150
7398
  } | null | undefined;
7151
7399
  width?: number | null | undefined;
@@ -7153,6 +7401,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7153
7401
  widthChars?: number | null | undefined;
7154
7402
  scoreThreshold?: number | null | undefined;
7155
7403
  formula?: string | null | undefined;
7404
+ context?: string[] | null | undefined;
7405
+ prompt?: string | null | undefined;
7156
7406
  }) | ({
7157
7407
  type: "number";
7158
7408
  format?: string | null | undefined;
@@ -7187,7 +7437,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7187
7437
  required?: boolean | null | undefined;
7188
7438
  } | null | undefined;
7189
7439
  uiConfiguration?: {
7190
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7440
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7191
7441
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7192
7442
  } | null | undefined;
7193
7443
  width?: number | null | undefined;
@@ -7195,6 +7445,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7195
7445
  widthChars?: number | null | undefined;
7196
7446
  scoreThreshold?: number | null | undefined;
7197
7447
  formula?: string | null | undefined;
7448
+ context?: string[] | null | undefined;
7449
+ prompt?: string | null | undefined;
7198
7450
  }) | ({
7199
7451
  options: {
7200
7452
  value: string;
@@ -7228,7 +7480,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7228
7480
  required?: boolean | null | undefined;
7229
7481
  } | null | undefined;
7230
7482
  uiConfiguration?: {
7231
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7483
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7232
7484
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7233
7485
  } | null | undefined;
7234
7486
  width?: number | null | undefined;
@@ -7236,6 +7488,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7236
7488
  widthChars?: number | null | undefined;
7237
7489
  scoreThreshold?: number | null | undefined;
7238
7490
  formula?: string | null | undefined;
7491
+ context?: string[] | null | undefined;
7492
+ prompt?: string | null | undefined;
7239
7493
  }) | ({
7240
7494
  id: string;
7241
7495
  label: string;
@@ -7251,7 +7505,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7251
7505
  popupUrl?: string | undefined;
7252
7506
  canObtainToken?: boolean | undefined;
7253
7507
  }) | ({
7254
- category: "tuple";
7255
7508
  children: (({
7256
7509
  type: "string";
7257
7510
  } & {
@@ -7280,7 +7533,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7280
7533
  required?: boolean | null | undefined;
7281
7534
  } | null | undefined;
7282
7535
  uiConfiguration?: {
7283
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7536
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7284
7537
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7285
7538
  } | null | undefined;
7286
7539
  width?: number | null | undefined;
@@ -7288,6 +7541,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7288
7541
  widthChars?: number | null | undefined;
7289
7542
  scoreThreshold?: number | null | undefined;
7290
7543
  formula?: string | null | undefined;
7544
+ context?: string[] | null | undefined;
7545
+ prompt?: string | null | undefined;
7291
7546
  }) | ({
7292
7547
  type: "date";
7293
7548
  format?: string | null | undefined;
@@ -7317,7 +7572,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7317
7572
  required?: boolean | null | undefined;
7318
7573
  } | null | undefined;
7319
7574
  uiConfiguration?: {
7320
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7575
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7321
7576
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7322
7577
  } | null | undefined;
7323
7578
  width?: number | null | undefined;
@@ -7325,6 +7580,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7325
7580
  widthChars?: number | null | undefined;
7326
7581
  scoreThreshold?: number | null | undefined;
7327
7582
  formula?: string | null | undefined;
7583
+ context?: string[] | null | undefined;
7584
+ prompt?: string | null | undefined;
7328
7585
  }) | ({
7329
7586
  type: "number";
7330
7587
  format?: string | null | undefined;
@@ -7359,7 +7616,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7359
7616
  required?: boolean | null | undefined;
7360
7617
  } | null | undefined;
7361
7618
  uiConfiguration?: {
7362
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7619
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7363
7620
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7364
7621
  } | null | undefined;
7365
7622
  width?: number | null | undefined;
@@ -7367,6 +7624,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7367
7624
  widthChars?: number | null | undefined;
7368
7625
  scoreThreshold?: number | null | undefined;
7369
7626
  formula?: string | null | undefined;
7627
+ context?: string[] | null | undefined;
7628
+ prompt?: string | null | undefined;
7370
7629
  }) | ({
7371
7630
  options: {
7372
7631
  value: string;
@@ -7400,7 +7659,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7400
7659
  required?: boolean | null | undefined;
7401
7660
  } | null | undefined;
7402
7661
  uiConfiguration?: {
7403
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7662
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7404
7663
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7405
7664
  } | null | undefined;
7406
7665
  width?: number | null | undefined;
@@ -7408,6 +7667,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7408
7667
  widthChars?: number | null | undefined;
7409
7668
  scoreThreshold?: number | null | undefined;
7410
7669
  formula?: string | null | undefined;
7670
+ context?: string[] | null | undefined;
7671
+ prompt?: string | null | undefined;
7411
7672
  }) | ({
7412
7673
  id: string;
7413
7674
  label: string;
@@ -7423,6 +7684,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7423
7684
  popupUrl?: string | undefined;
7424
7685
  canObtainToken?: boolean | undefined;
7425
7686
  }))[];
7687
+ category: "tuple";
7426
7688
  rirFieldNames?: string[] | null | undefined;
7427
7689
  } & {
7428
7690
  id: string;
@@ -7459,7 +7721,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7459
7721
  required?: boolean | null | undefined;
7460
7722
  } | null | undefined;
7461
7723
  uiConfiguration?: {
7462
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7724
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7463
7725
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7464
7726
  } | null | undefined;
7465
7727
  width?: number | null | undefined;
@@ -7467,6 +7729,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7467
7729
  widthChars?: number | null | undefined;
7468
7730
  scoreThreshold?: number | null | undefined;
7469
7731
  formula?: string | null | undefined;
7732
+ context?: string[] | null | undefined;
7733
+ prompt?: string | null | undefined;
7470
7734
  }) | ({
7471
7735
  type: "date";
7472
7736
  format?: string | null | undefined;
@@ -7496,7 +7760,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7496
7760
  required?: boolean | null | undefined;
7497
7761
  } | null | undefined;
7498
7762
  uiConfiguration?: {
7499
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7763
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7500
7764
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7501
7765
  } | null | undefined;
7502
7766
  width?: number | null | undefined;
@@ -7504,6 +7768,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7504
7768
  widthChars?: number | null | undefined;
7505
7769
  scoreThreshold?: number | null | undefined;
7506
7770
  formula?: string | null | undefined;
7771
+ context?: string[] | null | undefined;
7772
+ prompt?: string | null | undefined;
7507
7773
  }) | ({
7508
7774
  type: "number";
7509
7775
  format?: string | null | undefined;
@@ -7538,7 +7804,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7538
7804
  required?: boolean | null | undefined;
7539
7805
  } | null | undefined;
7540
7806
  uiConfiguration?: {
7541
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7807
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7542
7808
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7543
7809
  } | null | undefined;
7544
7810
  width?: number | null | undefined;
@@ -7546,6 +7812,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7546
7812
  widthChars?: number | null | undefined;
7547
7813
  scoreThreshold?: number | null | undefined;
7548
7814
  formula?: string | null | undefined;
7815
+ context?: string[] | null | undefined;
7816
+ prompt?: string | null | undefined;
7549
7817
  }) | ({
7550
7818
  options: {
7551
7819
  value: string;
@@ -7579,7 +7847,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7579
7847
  required?: boolean | null | undefined;
7580
7848
  } | null | undefined;
7581
7849
  uiConfiguration?: {
7582
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7850
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7583
7851
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7584
7852
  } | null | undefined;
7585
7853
  width?: number | null | undefined;
@@ -7587,6 +7855,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7587
7855
  widthChars?: number | null | undefined;
7588
7856
  scoreThreshold?: number | null | undefined;
7589
7857
  formula?: string | null | undefined;
7858
+ context?: string[] | null | undefined;
7859
+ prompt?: string | null | undefined;
7590
7860
  }) | ({
7591
7861
  id: string;
7592
7862
  label: string;
@@ -7621,7 +7891,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7621
7891
  disablePrediction?: boolean | null | undefined;
7622
7892
  }) | ({
7623
7893
  children: {
7624
- category: "tuple";
7625
7894
  children: (({
7626
7895
  type: "string";
7627
7896
  } & {
@@ -7650,7 +7919,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7650
7919
  required?: boolean | null | undefined;
7651
7920
  } | null | undefined;
7652
7921
  uiConfiguration?: {
7653
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7922
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7654
7923
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7655
7924
  } | null | undefined;
7656
7925
  width?: number | null | undefined;
@@ -7658,6 +7927,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7658
7927
  widthChars?: number | null | undefined;
7659
7928
  scoreThreshold?: number | null | undefined;
7660
7929
  formula?: string | null | undefined;
7930
+ context?: string[] | null | undefined;
7931
+ prompt?: string | null | undefined;
7661
7932
  }) | ({
7662
7933
  type: "date";
7663
7934
  format?: string | null | undefined;
@@ -7687,7 +7958,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7687
7958
  required?: boolean | null | undefined;
7688
7959
  } | null | undefined;
7689
7960
  uiConfiguration?: {
7690
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
7961
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7691
7962
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7692
7963
  } | null | undefined;
7693
7964
  width?: number | null | undefined;
@@ -7695,6 +7966,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7695
7966
  widthChars?: number | null | undefined;
7696
7967
  scoreThreshold?: number | null | undefined;
7697
7968
  formula?: string | null | undefined;
7969
+ context?: string[] | null | undefined;
7970
+ prompt?: string | null | undefined;
7698
7971
  }) | ({
7699
7972
  type: "number";
7700
7973
  format?: string | null | undefined;
@@ -7729,7 +8002,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7729
8002
  required?: boolean | null | undefined;
7730
8003
  } | null | undefined;
7731
8004
  uiConfiguration?: {
7732
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8005
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7733
8006
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7734
8007
  } | null | undefined;
7735
8008
  width?: number | null | undefined;
@@ -7737,6 +8010,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7737
8010
  widthChars?: number | null | undefined;
7738
8011
  scoreThreshold?: number | null | undefined;
7739
8012
  formula?: string | null | undefined;
8013
+ context?: string[] | null | undefined;
8014
+ prompt?: string | null | undefined;
7740
8015
  }) | ({
7741
8016
  options: {
7742
8017
  value: string;
@@ -7770,7 +8045,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7770
8045
  required?: boolean | null | undefined;
7771
8046
  } | null | undefined;
7772
8047
  uiConfiguration?: {
7773
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8048
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
7774
8049
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
7775
8050
  } | null | undefined;
7776
8051
  width?: number | null | undefined;
@@ -7778,6 +8053,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7778
8053
  widthChars?: number | null | undefined;
7779
8054
  scoreThreshold?: number | null | undefined;
7780
8055
  formula?: string | null | undefined;
8056
+ context?: string[] | null | undefined;
8057
+ prompt?: string | null | undefined;
7781
8058
  }) | ({
7782
8059
  id: string;
7783
8060
  label: string;
@@ -7793,6 +8070,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7793
8070
  popupUrl?: string | undefined;
7794
8071
  canObtainToken?: boolean | undefined;
7795
8072
  }))[];
8073
+ category: "tuple";
7796
8074
  rirFieldNames?: string[] | null | undefined;
7797
8075
  } & {
7798
8076
  id: string;
@@ -7819,16 +8097,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7819
8097
  hidden?: boolean | null | undefined;
7820
8098
  disablePrediction?: boolean | null | undefined;
7821
8099
  }))[];
8100
+ category: "section";
7822
8101
  icon?: string | null | undefined;
7823
8102
  })[];
7824
8103
  annotationContent: {
7825
- id: number | null;
7826
8104
  url: string | null;
7827
- schemaId: string | null;
7828
- category: "section" | null;
7829
8105
  children: ({
7830
- id: number | null;
7831
8106
  url: string | null;
8107
+ id: number | null;
7832
8108
  schemaId: string | null;
7833
8109
  category: "datapoint" | null;
7834
8110
  content?: {
@@ -7850,14 +8126,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7850
8126
  validationSources?: string[] | null | undefined;
7851
8127
  timeSpent?: number | null | undefined;
7852
8128
  timeSpentOverall?: number | null | undefined;
8129
+ noRecalculation?: boolean | undefined;
7853
8130
  } | {
7854
- id: number | null;
7855
8131
  url: string | null;
7856
- schemaId: string | null;
7857
- category: "multivalue" | null;
7858
8132
  children: (({
7859
- id: number | null;
7860
8133
  url: string | null;
8134
+ id: number | null;
7861
8135
  schemaId: string | null;
7862
8136
  category: "datapoint" | null;
7863
8137
  content?: {
@@ -7879,14 +8153,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7879
8153
  validationSources?: string[] | null | undefined;
7880
8154
  timeSpent?: number | null | undefined;
7881
8155
  timeSpentOverall?: number | null | undefined;
8156
+ noRecalculation?: boolean | undefined;
7882
8157
  }[] | {
7883
- id: number | null;
7884
8158
  url: string | null;
7885
- schemaId: string;
7886
- category: "tuple" | null;
7887
8159
  children: ({
7888
- id: number | null;
7889
8160
  url: string | null;
8161
+ id: number | null;
7890
8162
  schemaId: string | null;
7891
8163
  category: "datapoint" | null;
7892
8164
  content?: {
@@ -7908,10 +8180,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7908
8180
  validationSources?: string[] | null | undefined;
7909
8181
  timeSpent?: number | null | undefined;
7910
8182
  timeSpentOverall?: number | null | undefined;
8183
+ noRecalculation?: boolean | undefined;
7911
8184
  } | null)[];
7912
- }[]) & ({
7913
8185
  id: number | null;
8186
+ schemaId: string;
8187
+ category: "tuple" | null;
8188
+ }[]) & ({
7914
8189
  url: string | null;
8190
+ id: number | null;
7915
8191
  schemaId: string | null;
7916
8192
  category: "datapoint" | null;
7917
8193
  content?: {
@@ -7933,14 +8209,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7933
8209
  validationSources?: string[] | null | undefined;
7934
8210
  timeSpent?: number | null | undefined;
7935
8211
  timeSpentOverall?: number | null | undefined;
8212
+ noRecalculation?: boolean | undefined;
7936
8213
  }[] | {
7937
- id: number | null;
7938
8214
  url: string | null;
7939
- schemaId: string;
7940
- category: "tuple" | null;
7941
8215
  children: ({
7942
- id: number | null;
7943
8216
  url: string | null;
8217
+ id: number | null;
7944
8218
  schemaId: string | null;
7945
8219
  category: "datapoint" | null;
7946
8220
  content?: {
@@ -7962,8 +8236,15 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
7962
8236
  validationSources?: string[] | null | undefined;
7963
8237
  timeSpent?: number | null | undefined;
7964
8238
  timeSpentOverall?: number | null | undefined;
8239
+ noRecalculation?: boolean | undefined;
7965
8240
  } | null)[];
8241
+ id: number | null;
8242
+ schemaId: string;
8243
+ category: "tuple" | null;
7966
8244
  }[] | undefined)) | null;
8245
+ id: number | null;
8246
+ schemaId: string | null;
8247
+ category: "multivalue" | null;
7967
8248
  content?: {
7968
8249
  value?: string | null | undefined;
7969
8250
  normalizedValue?: string | null | undefined;
@@ -8002,6 +8283,9 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8002
8283
  timeSpentGrid?: number | null | undefined;
8003
8284
  timeSpentGridOverall?: number | null | undefined;
8004
8285
  })[] | null;
8286
+ id: number | null;
8287
+ schemaId: string | null;
8288
+ category: "section" | null;
8005
8289
  }[];
8006
8290
  schemaRules: {
8007
8291
  id?: number | undefined;
@@ -8014,16 +8298,16 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8014
8298
  triggerCondition?: string | undefined;
8015
8299
  triggerConditionSummary?: string | undefined;
8016
8300
  synchronizedFromTemplate?: boolean | undefined;
8017
- ruleActions?: {
8301
+ actions?: ({
8018
8302
  id: string;
8019
8303
  enabled: boolean;
8020
8304
  name?: string | undefined;
8021
8305
  description?: string | undefined;
8022
- action?: {
8023
- type: string;
8024
- payload?: unknown;
8025
- } | undefined;
8026
- }[] | undefined;
8306
+ } & {
8307
+ type: string;
8308
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
8309
+ payload?: unknown;
8310
+ })[] | undefined;
8027
8311
  }[];
8028
8312
  }, {
8029
8313
  schemaContent: ({
@@ -8033,7 +8317,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8033
8317
  hidden?: boolean | null | undefined;
8034
8318
  disablePrediction?: boolean | null | undefined;
8035
8319
  } & {
8036
- category: "section";
8037
8320
  children: (({
8038
8321
  type: "string";
8039
8322
  } & {
@@ -8062,7 +8345,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8062
8345
  required?: boolean | null | undefined;
8063
8346
  } | null | undefined;
8064
8347
  uiConfiguration?: {
8065
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8348
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8066
8349
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8067
8350
  } | null | undefined;
8068
8351
  width?: number | null | undefined;
@@ -8070,6 +8353,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8070
8353
  widthChars?: number | null | undefined;
8071
8354
  scoreThreshold?: number | null | undefined;
8072
8355
  formula?: string | null | undefined;
8356
+ context?: string[] | null | undefined;
8357
+ prompt?: string | null | undefined;
8073
8358
  }) | ({
8074
8359
  type: "date";
8075
8360
  format?: string | null | undefined;
@@ -8099,7 +8384,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8099
8384
  required?: boolean | null | undefined;
8100
8385
  } | null | undefined;
8101
8386
  uiConfiguration?: {
8102
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8387
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8103
8388
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8104
8389
  } | null | undefined;
8105
8390
  width?: number | null | undefined;
@@ -8107,6 +8392,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8107
8392
  widthChars?: number | null | undefined;
8108
8393
  scoreThreshold?: number | null | undefined;
8109
8394
  formula?: string | null | undefined;
8395
+ context?: string[] | null | undefined;
8396
+ prompt?: string | null | undefined;
8110
8397
  }) | ({
8111
8398
  type: "number";
8112
8399
  format?: string | null | undefined;
@@ -8141,7 +8428,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8141
8428
  required?: boolean | null | undefined;
8142
8429
  } | null | undefined;
8143
8430
  uiConfiguration?: {
8144
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8431
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8145
8432
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8146
8433
  } | null | undefined;
8147
8434
  width?: number | null | undefined;
@@ -8149,6 +8436,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8149
8436
  widthChars?: number | null | undefined;
8150
8437
  scoreThreshold?: number | null | undefined;
8151
8438
  formula?: string | null | undefined;
8439
+ context?: string[] | null | undefined;
8440
+ prompt?: string | null | undefined;
8152
8441
  }) | ({
8153
8442
  options: {
8154
8443
  value: string;
@@ -8182,7 +8471,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8182
8471
  required?: boolean | null | undefined;
8183
8472
  } | null | undefined;
8184
8473
  uiConfiguration?: {
8185
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8474
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8186
8475
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8187
8476
  } | null | undefined;
8188
8477
  width?: number | null | undefined;
@@ -8190,6 +8479,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8190
8479
  widthChars?: number | null | undefined;
8191
8480
  scoreThreshold?: number | null | undefined;
8192
8481
  formula?: string | null | undefined;
8482
+ context?: string[] | null | undefined;
8483
+ prompt?: string | null | undefined;
8193
8484
  }) | ({
8194
8485
  id: string;
8195
8486
  label: string;
@@ -8205,7 +8496,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8205
8496
  popupUrl?: string | undefined;
8206
8497
  canObtainToken?: boolean | undefined;
8207
8498
  }) | ({
8208
- category: "tuple";
8209
8499
  children: (({
8210
8500
  type: "string";
8211
8501
  } & {
@@ -8234,7 +8524,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8234
8524
  required?: boolean | null | undefined;
8235
8525
  } | null | undefined;
8236
8526
  uiConfiguration?: {
8237
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8527
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8238
8528
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8239
8529
  } | null | undefined;
8240
8530
  width?: number | null | undefined;
@@ -8242,6 +8532,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8242
8532
  widthChars?: number | null | undefined;
8243
8533
  scoreThreshold?: number | null | undefined;
8244
8534
  formula?: string | null | undefined;
8535
+ context?: string[] | null | undefined;
8536
+ prompt?: string | null | undefined;
8245
8537
  }) | ({
8246
8538
  type: "date";
8247
8539
  format?: string | null | undefined;
@@ -8271,7 +8563,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8271
8563
  required?: boolean | null | undefined;
8272
8564
  } | null | undefined;
8273
8565
  uiConfiguration?: {
8274
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8566
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8275
8567
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8276
8568
  } | null | undefined;
8277
8569
  width?: number | null | undefined;
@@ -8279,6 +8571,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8279
8571
  widthChars?: number | null | undefined;
8280
8572
  scoreThreshold?: number | null | undefined;
8281
8573
  formula?: string | null | undefined;
8574
+ context?: string[] | null | undefined;
8575
+ prompt?: string | null | undefined;
8282
8576
  }) | ({
8283
8577
  type: "number";
8284
8578
  format?: string | null | undefined;
@@ -8313,7 +8607,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8313
8607
  required?: boolean | null | undefined;
8314
8608
  } | null | undefined;
8315
8609
  uiConfiguration?: {
8316
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8610
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8317
8611
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8318
8612
  } | null | undefined;
8319
8613
  width?: number | null | undefined;
@@ -8321,6 +8615,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8321
8615
  widthChars?: number | null | undefined;
8322
8616
  scoreThreshold?: number | null | undefined;
8323
8617
  formula?: string | null | undefined;
8618
+ context?: string[] | null | undefined;
8619
+ prompt?: string | null | undefined;
8324
8620
  }) | ({
8325
8621
  options: {
8326
8622
  value: string;
@@ -8354,7 +8650,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8354
8650
  required?: boolean | null | undefined;
8355
8651
  } | null | undefined;
8356
8652
  uiConfiguration?: {
8357
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8653
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8358
8654
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8359
8655
  } | null | undefined;
8360
8656
  width?: number | null | undefined;
@@ -8362,6 +8658,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8362
8658
  widthChars?: number | null | undefined;
8363
8659
  scoreThreshold?: number | null | undefined;
8364
8660
  formula?: string | null | undefined;
8661
+ context?: string[] | null | undefined;
8662
+ prompt?: string | null | undefined;
8365
8663
  }) | ({
8366
8664
  id: string;
8367
8665
  label: string;
@@ -8377,6 +8675,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8377
8675
  popupUrl?: string | undefined;
8378
8676
  canObtainToken?: boolean | undefined;
8379
8677
  }))[];
8678
+ category: "tuple";
8380
8679
  rirFieldNames?: string[] | null | undefined;
8381
8680
  } & {
8382
8681
  id: string;
@@ -8413,7 +8712,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8413
8712
  required?: boolean | null | undefined;
8414
8713
  } | null | undefined;
8415
8714
  uiConfiguration?: {
8416
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8715
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8417
8716
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8418
8717
  } | null | undefined;
8419
8718
  width?: number | null | undefined;
@@ -8421,6 +8720,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8421
8720
  widthChars?: number | null | undefined;
8422
8721
  scoreThreshold?: number | null | undefined;
8423
8722
  formula?: string | null | undefined;
8723
+ context?: string[] | null | undefined;
8724
+ prompt?: string | null | undefined;
8424
8725
  }) | ({
8425
8726
  type: "date";
8426
8727
  format?: string | null | undefined;
@@ -8450,7 +8751,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8450
8751
  required?: boolean | null | undefined;
8451
8752
  } | null | undefined;
8452
8753
  uiConfiguration?: {
8453
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8754
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8454
8755
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8455
8756
  } | null | undefined;
8456
8757
  width?: number | null | undefined;
@@ -8458,6 +8759,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8458
8759
  widthChars?: number | null | undefined;
8459
8760
  scoreThreshold?: number | null | undefined;
8460
8761
  formula?: string | null | undefined;
8762
+ context?: string[] | null | undefined;
8763
+ prompt?: string | null | undefined;
8461
8764
  }) | ({
8462
8765
  type: "number";
8463
8766
  format?: string | null | undefined;
@@ -8492,7 +8795,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8492
8795
  required?: boolean | null | undefined;
8493
8796
  } | null | undefined;
8494
8797
  uiConfiguration?: {
8495
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8798
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8496
8799
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8497
8800
  } | null | undefined;
8498
8801
  width?: number | null | undefined;
@@ -8500,6 +8803,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8500
8803
  widthChars?: number | null | undefined;
8501
8804
  scoreThreshold?: number | null | undefined;
8502
8805
  formula?: string | null | undefined;
8806
+ context?: string[] | null | undefined;
8807
+ prompt?: string | null | undefined;
8503
8808
  }) | ({
8504
8809
  options: {
8505
8810
  value: string;
@@ -8533,7 +8838,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8533
8838
  required?: boolean | null | undefined;
8534
8839
  } | null | undefined;
8535
8840
  uiConfiguration?: {
8536
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8841
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8537
8842
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8538
8843
  } | null | undefined;
8539
8844
  width?: number | null | undefined;
@@ -8541,6 +8846,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8541
8846
  widthChars?: number | null | undefined;
8542
8847
  scoreThreshold?: number | null | undefined;
8543
8848
  formula?: string | null | undefined;
8849
+ context?: string[] | null | undefined;
8850
+ prompt?: string | null | undefined;
8544
8851
  }) | ({
8545
8852
  id: string;
8546
8853
  label: string;
@@ -8575,7 +8882,6 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8575
8882
  disablePrediction?: boolean | null | undefined;
8576
8883
  }) | ({
8577
8884
  children: {
8578
- category: "tuple";
8579
8885
  children: (({
8580
8886
  type: "string";
8581
8887
  } & {
@@ -8604,7 +8910,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8604
8910
  required?: boolean | null | undefined;
8605
8911
  } | null | undefined;
8606
8912
  uiConfiguration?: {
8607
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8913
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8608
8914
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8609
8915
  } | null | undefined;
8610
8916
  width?: number | null | undefined;
@@ -8612,6 +8918,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8612
8918
  widthChars?: number | null | undefined;
8613
8919
  scoreThreshold?: number | null | undefined;
8614
8920
  formula?: string | null | undefined;
8921
+ context?: string[] | null | undefined;
8922
+ prompt?: string | null | undefined;
8615
8923
  }) | ({
8616
8924
  type: "date";
8617
8925
  format?: string | null | undefined;
@@ -8641,7 +8949,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8641
8949
  required?: boolean | null | undefined;
8642
8950
  } | null | undefined;
8643
8951
  uiConfiguration?: {
8644
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8952
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8645
8953
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8646
8954
  } | null | undefined;
8647
8955
  width?: number | null | undefined;
@@ -8649,6 +8957,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8649
8957
  widthChars?: number | null | undefined;
8650
8958
  scoreThreshold?: number | null | undefined;
8651
8959
  formula?: string | null | undefined;
8960
+ context?: string[] | null | undefined;
8961
+ prompt?: string | null | undefined;
8652
8962
  }) | ({
8653
8963
  type: "number";
8654
8964
  format?: string | null | undefined;
@@ -8683,7 +8993,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8683
8993
  required?: boolean | null | undefined;
8684
8994
  } | null | undefined;
8685
8995
  uiConfiguration?: {
8686
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
8996
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8687
8997
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8688
8998
  } | null | undefined;
8689
8999
  width?: number | null | undefined;
@@ -8691,6 +9001,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8691
9001
  widthChars?: number | null | undefined;
8692
9002
  scoreThreshold?: number | null | undefined;
8693
9003
  formula?: string | null | undefined;
9004
+ context?: string[] | null | undefined;
9005
+ prompt?: string | null | undefined;
8694
9006
  }) | ({
8695
9007
  options: {
8696
9008
  value: string;
@@ -8724,7 +9036,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8724
9036
  required?: boolean | null | undefined;
8725
9037
  } | null | undefined;
8726
9038
  uiConfiguration?: {
8727
- type?: "data" | "manual" | "captured" | "formula" | null | undefined;
9039
+ type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
8728
9040
  edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
8729
9041
  } | null | undefined;
8730
9042
  width?: number | null | undefined;
@@ -8732,6 +9044,8 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8732
9044
  widthChars?: number | null | undefined;
8733
9045
  scoreThreshold?: number | null | undefined;
8734
9046
  formula?: string | null | undefined;
9047
+ context?: string[] | null | undefined;
9048
+ prompt?: string | null | undefined;
8735
9049
  }) | ({
8736
9050
  id: string;
8737
9051
  label: string;
@@ -8747,6 +9061,7 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8747
9061
  popupUrl?: string | undefined;
8748
9062
  canObtainToken?: boolean | undefined;
8749
9063
  }))[];
9064
+ category: "tuple";
8750
9065
  rirFieldNames?: string[] | null | undefined;
8751
9066
  } & {
8752
9067
  id: string;
@@ -8773,16 +9088,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8773
9088
  hidden?: boolean | null | undefined;
8774
9089
  disablePrediction?: boolean | null | undefined;
8775
9090
  }))[];
9091
+ category: "section";
8776
9092
  icon?: string | null | undefined;
8777
9093
  })[];
8778
9094
  annotationContent: {
8779
- id: number | null;
8780
9095
  url: string | null;
8781
- schemaId: string | null;
8782
- category: "section" | null;
8783
9096
  children: ({
8784
- id: number | null;
8785
9097
  url: string | null;
9098
+ id: number | null;
8786
9099
  schemaId: string | null;
8787
9100
  category: "datapoint" | null;
8788
9101
  content?: {
@@ -8804,14 +9117,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8804
9117
  validationSources?: string[] | null | undefined;
8805
9118
  timeSpent?: number | null | undefined;
8806
9119
  timeSpentOverall?: number | null | undefined;
9120
+ noRecalculation?: boolean | undefined;
8807
9121
  } | {
8808
- id: number | null;
8809
9122
  url: string | null;
8810
- schemaId: string | null;
8811
- category: "multivalue" | null;
8812
9123
  children: (({
8813
- id: number | null;
8814
9124
  url: string | null;
9125
+ id: number | null;
8815
9126
  schemaId: string | null;
8816
9127
  category: "datapoint" | null;
8817
9128
  content?: {
@@ -8833,14 +9144,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8833
9144
  validationSources?: string[] | null | undefined;
8834
9145
  timeSpent?: number | null | undefined;
8835
9146
  timeSpentOverall?: number | null | undefined;
9147
+ noRecalculation?: boolean | undefined;
8836
9148
  }[] | {
8837
- id: number | null;
8838
9149
  url: string | null;
8839
- schemaId: string;
8840
- category: "tuple" | null;
8841
9150
  children: ({
8842
- id: number | null;
8843
9151
  url: string | null;
9152
+ id: number | null;
8844
9153
  schemaId: string | null;
8845
9154
  category: "datapoint" | null;
8846
9155
  content?: {
@@ -8862,10 +9171,14 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8862
9171
  validationSources?: string[] | null | undefined;
8863
9172
  timeSpent?: number | null | undefined;
8864
9173
  timeSpentOverall?: number | null | undefined;
9174
+ noRecalculation?: boolean | undefined;
8865
9175
  } | null)[];
8866
- }[]) & ({
8867
9176
  id: number | null;
9177
+ schemaId: string;
9178
+ category: "tuple" | null;
9179
+ }[]) & ({
8868
9180
  url: string | null;
9181
+ id: number | null;
8869
9182
  schemaId: string | null;
8870
9183
  category: "datapoint" | null;
8871
9184
  content?: {
@@ -8887,14 +9200,12 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8887
9200
  validationSources?: string[] | null | undefined;
8888
9201
  timeSpent?: number | null | undefined;
8889
9202
  timeSpentOverall?: number | null | undefined;
9203
+ noRecalculation?: boolean | undefined;
8890
9204
  }[] | {
8891
- id: number | null;
8892
9205
  url: string | null;
8893
- schemaId: string;
8894
- category: "tuple" | null;
8895
9206
  children: ({
8896
- id: number | null;
8897
9207
  url: string | null;
9208
+ id: number | null;
8898
9209
  schemaId: string | null;
8899
9210
  category: "datapoint" | null;
8900
9211
  content?: {
@@ -8916,8 +9227,15 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8916
9227
  validationSources?: string[] | null | undefined;
8917
9228
  timeSpent?: number | null | undefined;
8918
9229
  timeSpentOverall?: number | null | undefined;
9230
+ noRecalculation?: boolean | undefined;
8919
9231
  } | null)[];
9232
+ id: number | null;
9233
+ schemaId: string;
9234
+ category: "tuple" | null;
8920
9235
  }[] | undefined)) | null;
9236
+ id: number | null;
9237
+ schemaId: string | null;
9238
+ category: "multivalue" | null;
8921
9239
  content?: {
8922
9240
  value?: string | null | undefined;
8923
9241
  normalizedValue?: string | null | undefined;
@@ -8956,6 +9274,9 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8956
9274
  timeSpentGrid?: number | null | undefined;
8957
9275
  timeSpentGridOverall?: number | null | undefined;
8958
9276
  })[] | null;
9277
+ id: number | null;
9278
+ schemaId: string | null;
9279
+ category: "section" | null;
8959
9280
  }[];
8960
9281
  schemaRules: {
8961
9282
  id?: number | undefined;
@@ -8968,20 +9289,20 @@ export declare const evaluateRulesPayloadSchema: z.ZodObject<{
8968
9289
  triggerCondition?: string | undefined;
8969
9290
  triggerConditionSummary?: string | undefined;
8970
9291
  synchronizedFromTemplate?: boolean | undefined;
8971
- ruleActions?: {
9292
+ actions?: ({
8972
9293
  id: string;
8973
9294
  enabled: boolean;
8974
9295
  name?: string | undefined;
8975
9296
  description?: string | undefined;
8976
- action?: {
8977
- type: string;
8978
- payload?: unknown;
8979
- } | undefined;
8980
- }[] | undefined;
9297
+ } & {
9298
+ type: string;
9299
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9300
+ payload?: unknown;
9301
+ })[] | undefined;
8981
9302
  }[];
8982
9303
  }>;
8983
9304
  export declare const evaluateRulesResponseSchema: z.ZodObject<{
8984
- conditionValues: z.ZodArray<z.ZodBoolean, "many">;
9305
+ conditionValues: z.ZodArray<z.ZodArray<z.ZodBoolean, "many">, "many">;
8985
9306
  messages: z.ZodArray<z.ZodObject<{
8986
9307
  type: z.ZodUnion<[z.ZodLiteral<"error">, z.ZodLiteral<"warning">, z.ZodLiteral<"info">]>;
8987
9308
  content: z.ZodString;
@@ -9034,13 +9355,16 @@ export declare const evaluateRulesResponseSchema: z.ZodObject<{
9034
9355
  } | null | undefined;
9035
9356
  }>, "many">;
9036
9357
  actions: z.ZodArray<z.ZodObject<{
9037
- type: z.ZodUnion<[z.ZodLiteral<"add_automation_blocker">, z.ZodLiteral<"show_message">, z.ZodLiteral<"send_email">, z.ZodLiteral<"hide_field">, z.ZodLiteral<"change_queue">, z.ZodLiteral<"show_field">, z.ZodLiteral<"change_status">, z.ZodLiteral<"add_label">, z.ZodLiteral<"remove_label">, z.ZodString]>;
9358
+ type: z.ZodString;
9359
+ event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
9038
9360
  payload: z.ZodOptional<z.ZodUnknown>;
9039
9361
  }, "strip", z.ZodTypeAny, {
9040
9362
  type: string;
9363
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9041
9364
  payload?: unknown;
9042
9365
  }, {
9043
9366
  type: string;
9367
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9044
9368
  payload?: unknown;
9045
9369
  }>, "many">;
9046
9370
  }, "strip", z.ZodTypeAny, {
@@ -9059,9 +9383,10 @@ export declare const evaluateRulesResponseSchema: z.ZodObject<{
9059
9383
  }[];
9060
9384
  actions: {
9061
9385
  type: string;
9386
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9062
9387
  payload?: unknown;
9063
9388
  }[];
9064
- conditionValues: boolean[];
9389
+ conditionValues: boolean[][];
9065
9390
  }, {
9066
9391
  messages: {
9067
9392
  type: "error" | "warning" | "info";
@@ -9078,7 +9403,8 @@ export declare const evaluateRulesResponseSchema: z.ZodObject<{
9078
9403
  }[];
9079
9404
  actions: {
9080
9405
  type: string;
9406
+ event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
9081
9407
  payload?: unknown;
9082
9408
  }[];
9083
- conditionValues: boolean[];
9409
+ conditionValues: boolean[][];
9084
9410
  }>;