@wirecat/cli-core 0.265.0 → 0.266.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (469) hide show
  1. package/dist/cli/command-contract.d.ts.map +1 -1
  2. package/dist/cli/command-contract.js +0 -126
  3. package/dist/cli/command-contract.js.map +1 -1
  4. package/dist/cli/envelope.d.ts +5 -0
  5. package/dist/cli/envelope.d.ts.map +1 -1
  6. package/dist/cli/envelope.js +12 -0
  7. package/dist/cli/envelope.js.map +1 -1
  8. package/dist/cli/list-query.d.ts +9 -3
  9. package/dist/cli/list-query.d.ts.map +1 -1
  10. package/dist/cli/list-query.js +6 -2
  11. package/dist/cli/list-query.js.map +1 -1
  12. package/dist/cli/messenger/admin-contacts-command.d.ts.map +1 -1
  13. package/dist/cli/messenger/admin-contacts-command.js +1 -2
  14. package/dist/cli/messenger/admin-contacts-command.js.map +1 -1
  15. package/dist/cli/messenger/admin-moderation-command.js +2 -2
  16. package/dist/cli/messenger/admin-moderation-command.js.map +1 -1
  17. package/dist/cli/messenger/admin-statistics-command.d.ts.map +1 -1
  18. package/dist/cli/messenger/admin-statistics-command.js +5 -5
  19. package/dist/cli/messenger/admin-statistics-command.js.map +1 -1
  20. package/dist/cli/messenger/archive-summary.d.ts +1 -1
  21. package/dist/cli/messenger/archive-summary.d.ts.map +1 -1
  22. package/dist/cli/messenger/archive-summary.js +2 -3
  23. package/dist/cli/messenger/archive-summary.js.map +1 -1
  24. package/dist/cli/messenger/attachments-command.d.ts.map +1 -1
  25. package/dist/cli/messenger/attachments-command.js +10 -16
  26. package/dist/cli/messenger/attachments-command.js.map +1 -1
  27. package/dist/cli/messenger/backfill-command.d.ts.map +1 -1
  28. package/dist/cli/messenger/backfill-command.js +11 -9
  29. package/dist/cli/messenger/backfill-command.js.map +1 -1
  30. package/dist/cli/messenger/backfill-jobs.d.ts +1 -1
  31. package/dist/cli/messenger/backfill-jobs.d.ts.map +1 -1
  32. package/dist/cli/messenger/backfill-jobs.js +1 -1
  33. package/dist/cli/messenger/backfill-jobs.js.map +1 -1
  34. package/dist/cli/messenger/catch-up-answers.d.ts +94 -0
  35. package/dist/cli/messenger/catch-up-answers.d.ts.map +1 -0
  36. package/dist/cli/messenger/catch-up-answers.js +96 -0
  37. package/dist/cli/messenger/catch-up-answers.js.map +1 -0
  38. package/dist/cli/messenger/chat-answers.d.ts +0 -5
  39. package/dist/cli/messenger/chat-answers.d.ts.map +1 -1
  40. package/dist/cli/messenger/chat-answers.js +1 -13
  41. package/dist/cli/messenger/chat-answers.js.map +1 -1
  42. package/dist/cli/messenger/chat-lists.d.ts +7 -6
  43. package/dist/cli/messenger/chat-lists.d.ts.map +1 -1
  44. package/dist/cli/messenger/chat-lists.js +10 -10
  45. package/dist/cli/messenger/chat-lists.js.map +1 -1
  46. package/dist/cli/messenger/chat-queries.d.ts +5 -2
  47. package/dist/cli/messenger/chat-queries.d.ts.map +1 -1
  48. package/dist/cli/messenger/chat-queries.js +21 -4
  49. package/dist/cli/messenger/chat-queries.js.map +1 -1
  50. package/dist/cli/messenger/chats-bots-command.d.ts.map +1 -1
  51. package/dist/cli/messenger/chats-bots-command.js +1 -2
  52. package/dist/cli/messenger/chats-bots-command.js.map +1 -1
  53. package/dist/cli/messenger/chats-command.d.ts.map +1 -1
  54. package/dist/cli/messenger/chats-command.js +4 -3
  55. package/dist/cli/messenger/chats-command.js.map +1 -1
  56. package/dist/cli/messenger/chats-members-command.js +2 -2
  57. package/dist/cli/messenger/chats-members-command.js.map +1 -1
  58. package/dist/cli/messenger/chats-read-command.d.ts.map +1 -1
  59. package/dist/cli/messenger/chats-read-command.js +1 -2
  60. package/dist/cli/messenger/chats-read-command.js.map +1 -1
  61. package/dist/cli/messenger/chats-stats-command.d.ts.map +1 -1
  62. package/dist/cli/messenger/chats-stats-command.js +1 -2
  63. package/dist/cli/messenger/chats-stats-command.js.map +1 -1
  64. package/dist/cli/messenger/chats-tracking-command.js +2 -2
  65. package/dist/cli/messenger/chats-tracking-command.js.map +1 -1
  66. package/dist/cli/messenger/contacts-command.d.ts.map +1 -1
  67. package/dist/cli/messenger/contacts-command.js +10 -5
  68. package/dist/cli/messenger/contacts-command.js.map +1 -1
  69. package/dist/cli/messenger/counters-command.d.ts.map +1 -1
  70. package/dist/cli/messenger/counters-command.js +9 -7
  71. package/dist/cli/messenger/counters-command.js.map +1 -1
  72. package/dist/cli/messenger/download-command.d.ts.map +1 -1
  73. package/dist/cli/messenger/download-command.js +12 -14
  74. package/dist/cli/messenger/download-command.js.map +1 -1
  75. package/dist/cli/messenger/history-query.d.ts +1 -1
  76. package/dist/cli/messenger/history-query.d.ts.map +1 -1
  77. package/dist/cli/messenger/history-query.js +2 -2
  78. package/dist/cli/messenger/history-query.js.map +1 -1
  79. package/dist/cli/messenger/inbox.d.ts +1 -1
  80. package/dist/cli/messenger/inbox.d.ts.map +1 -1
  81. package/dist/cli/messenger/inbox.js +34 -49
  82. package/dist/cli/messenger/inbox.js.map +1 -1
  83. package/dist/cli/messenger/mentions-command.d.ts.map +1 -1
  84. package/dist/cli/messenger/mentions-command.js +2 -2
  85. package/dist/cli/messenger/mentions-command.js.map +1 -1
  86. package/dist/cli/messenger/message-answers.d.ts +10 -0
  87. package/dist/cli/messenger/message-answers.d.ts.map +1 -0
  88. package/dist/cli/messenger/message-answers.js +22 -0
  89. package/dist/cli/messenger/message-answers.js.map +1 -0
  90. package/dist/cli/messenger/message-writes.d.ts +196 -0
  91. package/dist/cli/messenger/message-writes.d.ts.map +1 -0
  92. package/dist/cli/messenger/message-writes.js +15 -0
  93. package/dist/cli/messenger/message-writes.js.map +1 -0
  94. package/dist/cli/messenger/messages-command.d.ts.map +1 -1
  95. package/dist/cli/messenger/messages-command.js +1 -1
  96. package/dist/cli/messenger/messages-command.js.map +1 -1
  97. package/dist/cli/messenger/messages-comments-command.d.ts.map +1 -1
  98. package/dist/cli/messenger/messages-comments-command.js +1 -1
  99. package/dist/cli/messenger/messages-comments-command.js.map +1 -1
  100. package/dist/cli/messenger/messages-delete-command.d.ts.map +1 -1
  101. package/dist/cli/messenger/messages-delete-command.js +3 -5
  102. package/dist/cli/messenger/messages-delete-command.js.map +1 -1
  103. package/dist/cli/messenger/messages-edit-command.d.ts.map +1 -1
  104. package/dist/cli/messenger/messages-edit-command.js +13 -7
  105. package/dist/cli/messenger/messages-edit-command.js.map +1 -1
  106. package/dist/cli/messenger/messages-evidence-command.d.ts.map +1 -1
  107. package/dist/cli/messenger/messages-evidence-command.js +9 -13
  108. package/dist/cli/messenger/messages-evidence-command.js.map +1 -1
  109. package/dist/cli/messenger/messages-forward-command.d.ts.map +1 -1
  110. package/dist/cli/messenger/messages-forward-command.js +15 -9
  111. package/dist/cli/messenger/messages-forward-command.js.map +1 -1
  112. package/dist/cli/messenger/messages-pin-command.d.ts.map +1 -1
  113. package/dist/cli/messenger/messages-pin-command.js +5 -2
  114. package/dist/cli/messenger/messages-pin-command.js.map +1 -1
  115. package/dist/cli/messenger/messages-press-command.d.ts.map +1 -1
  116. package/dist/cli/messenger/messages-press-command.js +3 -1
  117. package/dist/cli/messenger/messages-press-command.js.map +1 -1
  118. package/dist/cli/messenger/messages-search-command.d.ts.map +1 -1
  119. package/dist/cli/messenger/messages-search-command.js +45 -39
  120. package/dist/cli/messenger/messages-search-command.js.map +1 -1
  121. package/dist/cli/messenger/messages-send-command.d.ts.map +1 -1
  122. package/dist/cli/messenger/messages-send-command.js +23 -23
  123. package/dist/cli/messenger/messages-send-command.js.map +1 -1
  124. package/dist/cli/messenger/messages-stats-command.d.ts.map +1 -1
  125. package/dist/cli/messenger/messages-stats-command.js +9 -13
  126. package/dist/cli/messenger/messages-stats-command.js.map +1 -1
  127. package/dist/cli/messenger/models-command.d.ts +0 -5
  128. package/dist/cli/messenger/models-command.d.ts.map +1 -1
  129. package/dist/cli/messenger/models-command.js +27 -39
  130. package/dist/cli/messenger/models-command.js.map +1 -1
  131. package/dist/cli/messenger/observed.js +3 -3
  132. package/dist/cli/messenger/observed.js.map +1 -1
  133. package/dist/cli/messenger/official-stats-command.d.ts.map +1 -1
  134. package/dist/cli/messenger/official-stats-command.js +5 -5
  135. package/dist/cli/messenger/official-stats-command.js.map +1 -1
  136. package/dist/cli/messenger/people-queries.d.ts +8 -2
  137. package/dist/cli/messenger/people-queries.d.ts.map +1 -1
  138. package/dist/cli/messenger/people-queries.js +25 -3
  139. package/dist/cli/messenger/people-queries.js.map +1 -1
  140. package/dist/cli/messenger/polls-command.d.ts.map +1 -1
  141. package/dist/cli/messenger/polls-command.js +27 -19
  142. package/dist/cli/messenger/polls-command.js.map +1 -1
  143. package/dist/cli/messenger/rankings-command.d.ts.map +1 -1
  144. package/dist/cli/messenger/rankings-command.js +17 -22
  145. package/dist/cli/messenger/rankings-command.js.map +1 -1
  146. package/dist/cli/messenger/reactions-command.d.ts.map +1 -1
  147. package/dist/cli/messenger/reactions-command.js +1 -2
  148. package/dist/cli/messenger/reactions-command.js.map +1 -1
  149. package/dist/cli/messenger/retention-command.d.ts.map +1 -1
  150. package/dist/cli/messenger/retention-command.js +7 -12
  151. package/dist/cli/messenger/retention-command.js.map +1 -1
  152. package/dist/cli/messenger/review.d.ts.map +1 -1
  153. package/dist/cli/messenger/review.js +44 -62
  154. package/dist/cli/messenger/review.js.map +1 -1
  155. package/dist/cli/messenger/search-answers.d.ts +34 -0
  156. package/dist/cli/messenger/search-answers.d.ts.map +1 -0
  157. package/dist/cli/messenger/search-answers.js +220 -0
  158. package/dist/cli/messenger/search-answers.js.map +1 -0
  159. package/dist/cli/messenger/search-command.d.ts.map +1 -1
  160. package/dist/cli/messenger/search-command.js +49 -33
  161. package/dist/cli/messenger/search-command.js.map +1 -1
  162. package/dist/cli/messenger/searches-command.d.ts.map +1 -1
  163. package/dist/cli/messenger/searches-command.js +25 -42
  164. package/dist/cli/messenger/searches-command.js.map +1 -1
  165. package/dist/cli/messenger/stats-answers.d.ts +65 -0
  166. package/dist/cli/messenger/stats-answers.d.ts.map +1 -0
  167. package/dist/cli/messenger/stats-answers.js +326 -0
  168. package/dist/cli/messenger/stats-answers.js.map +1 -0
  169. package/dist/cli/messenger/stats-command.d.ts.map +1 -1
  170. package/dist/cli/messenger/stats-command.js +5 -3
  171. package/dist/cli/messenger/stats-command.js.map +1 -1
  172. package/dist/cli/messenger/tasks-command.d.ts.map +1 -1
  173. package/dist/cli/messenger/tasks-command.js +8 -11
  174. package/dist/cli/messenger/tasks-command.js.map +1 -1
  175. package/dist/cli/messenger/topics-command.js +2 -2
  176. package/dist/cli/messenger/topics-command.js.map +1 -1
  177. package/dist/cli/messenger/transcribe-command.d.ts.map +1 -1
  178. package/dist/cli/messenger/transcribe-command.js +4 -7
  179. package/dist/cli/messenger/transcribe-command.js.map +1 -1
  180. package/dist/cli/steps.d.ts.map +1 -1
  181. package/dist/cli/steps.js +81 -0
  182. package/dist/cli/steps.js.map +1 -1
  183. package/dist/domain/meeting-reference.d.ts +1 -11
  184. package/dist/domain/meeting-reference.d.ts.map +1 -1
  185. package/dist/domain/meeting-reference.js +1 -36
  186. package/dist/domain/meeting-reference.js.map +1 -1
  187. package/dist/entities/admin-report.d.ts +94 -0
  188. package/dist/entities/admin-report.d.ts.map +1 -0
  189. package/dist/entities/admin-report.js +57 -0
  190. package/dist/entities/admin-report.js.map +1 -0
  191. package/dist/entities/agenda.d.ts +61 -0
  192. package/dist/entities/agenda.d.ts.map +1 -0
  193. package/dist/entities/agenda.js +42 -0
  194. package/dist/entities/agenda.js.map +1 -0
  195. package/dist/entities/attachment.d.ts +3 -1
  196. package/dist/entities/attachment.d.ts.map +1 -1
  197. package/dist/entities/attachment.js +4 -2
  198. package/dist/entities/attachment.js.map +1 -1
  199. package/dist/entities/chart.d.ts +27 -0
  200. package/dist/entities/chart.d.ts.map +1 -0
  201. package/dist/entities/chart.js +17 -0
  202. package/dist/entities/chart.js.map +1 -0
  203. package/dist/entities/counter-reading.d.ts +14 -0
  204. package/dist/entities/counter-reading.d.ts.map +1 -0
  205. package/dist/entities/counter-reading.js +15 -0
  206. package/dist/entities/counter-reading.js.map +1 -0
  207. package/dist/entities/counters.d.ts +42 -0
  208. package/dist/entities/counters.d.ts.map +1 -0
  209. package/dist/entities/counters.js +34 -0
  210. package/dist/entities/counters.js.map +1 -0
  211. package/dist/entities/evidence.d.ts +1617 -0
  212. package/dist/entities/evidence.d.ts.map +1 -0
  213. package/dist/entities/evidence.js +35 -0
  214. package/dist/entities/evidence.js.map +1 -0
  215. package/dist/entities/hit.d.ts +21 -0
  216. package/dist/entities/hit.d.ts.map +1 -0
  217. package/dist/entities/hit.js +22 -0
  218. package/dist/entities/hit.js.map +1 -0
  219. package/dist/entities/index.d.ts +1817 -17
  220. package/dist/entities/index.d.ts.map +1 -1
  221. package/dist/entities/index.js +63 -3
  222. package/dist/entities/index.js.map +1 -1
  223. package/dist/entities/job.d.ts +28 -0
  224. package/dist/entities/job.d.ts.map +1 -0
  225. package/dist/entities/job.js +25 -0
  226. package/dist/entities/job.js.map +1 -0
  227. package/dist/entities/meeting.d.ts +1 -19
  228. package/dist/entities/meeting.d.ts.map +1 -1
  229. package/dist/entities/meeting.js +1 -20
  230. package/dist/entities/meeting.js.map +1 -1
  231. package/dist/entities/message-counts.d.ts +14 -0
  232. package/dist/entities/message-counts.d.ts.map +1 -0
  233. package/dist/entities/message-counts.js +15 -0
  234. package/dist/entities/message-counts.js.map +1 -0
  235. package/dist/entities/message.d.ts +21 -1
  236. package/dist/entities/message.d.ts.map +1 -1
  237. package/dist/entities/message.js +13 -1
  238. package/dist/entities/message.js.map +1 -1
  239. package/dist/entities/model.d.ts +16 -0
  240. package/dist/entities/model.d.ts.map +1 -0
  241. package/dist/entities/model.js +17 -0
  242. package/dist/entities/model.js.map +1 -0
  243. package/dist/entities/note.d.ts +11 -0
  244. package/dist/entities/note.d.ts.map +1 -1
  245. package/dist/entities/note.js +11 -0
  246. package/dist/entities/note.js.map +1 -1
  247. package/dist/entities/official-stats.d.ts +63 -0
  248. package/dist/entities/official-stats.d.ts.map +1 -0
  249. package/dist/entities/official-stats.js +36 -0
  250. package/dist/entities/official-stats.js.map +1 -0
  251. package/dist/entities/ranking.d.ts +95 -0
  252. package/dist/entities/ranking.d.ts.map +1 -0
  253. package/dist/entities/ranking.js +49 -0
  254. package/dist/entities/ranking.js.map +1 -0
  255. package/dist/entities/retention.d.ts +86 -0
  256. package/dist/entities/retention.d.ts.map +1 -0
  257. package/dist/entities/retention.js +51 -0
  258. package/dist/entities/retention.js.map +1 -0
  259. package/dist/entities/saved-search.d.ts +17 -0
  260. package/dist/entities/saved-search.d.ts.map +1 -0
  261. package/dist/entities/saved-search.js +18 -0
  262. package/dist/entities/saved-search.js.map +1 -0
  263. package/dist/mcp/prompts.js +1 -1
  264. package/dist/mcp/prompts.js.map +1 -1
  265. package/dist/mcp/tools/admin-statistics.d.ts.map +1 -1
  266. package/dist/mcp/tools/admin-statistics.js +17 -8
  267. package/dist/mcp/tools/admin-statistics.js.map +1 -1
  268. package/dist/mcp/tools/admin.d.ts.map +1 -1
  269. package/dist/mcp/tools/admin.js +1 -2
  270. package/dist/mcp/tools/admin.js.map +1 -1
  271. package/dist/mcp/tools/attachments.d.ts.map +1 -1
  272. package/dist/mcp/tools/attachments.js +15 -18
  273. package/dist/mcp/tools/attachments.js.map +1 -1
  274. package/dist/mcp/tools/chats-read.d.ts.map +1 -1
  275. package/dist/mcp/tools/chats-read.js +1 -2
  276. package/dist/mcp/tools/chats-read.js.map +1 -1
  277. package/dist/mcp/tools/chats.d.ts.map +1 -1
  278. package/dist/mcp/tools/chats.js +4 -3
  279. package/dist/mcp/tools/chats.js.map +1 -1
  280. package/dist/mcp/tools/contacts-write.d.ts.map +1 -1
  281. package/dist/mcp/tools/contacts-write.js +1 -2
  282. package/dist/mcp/tools/contacts-write.js.map +1 -1
  283. package/dist/mcp/tools/contacts.d.ts.map +1 -1
  284. package/dist/mcp/tools/contacts.js +15 -6
  285. package/dist/mcp/tools/contacts.js.map +1 -1
  286. package/dist/mcp/tools/folders.js +2 -2
  287. package/dist/mcp/tools/folders.js.map +1 -1
  288. package/dist/mcp/tools/inbox.d.ts.map +1 -1
  289. package/dist/mcp/tools/inbox.js +15 -17
  290. package/dist/mcp/tools/inbox.js.map +1 -1
  291. package/dist/mcp/tools/messages-actions.d.ts.map +1 -1
  292. package/dist/mcp/tools/messages-actions.js +31 -18
  293. package/dist/mcp/tools/messages-actions.js.map +1 -1
  294. package/dist/mcp/tools/messages-delete.d.ts.map +1 -1
  295. package/dist/mcp/tools/messages-delete.js +3 -2
  296. package/dist/mcp/tools/messages-delete.js.map +1 -1
  297. package/dist/mcp/tools/messages-photo.js +1 -1
  298. package/dist/mcp/tools/messages-photo.js.map +1 -1
  299. package/dist/mcp/tools/messages-send.d.ts.map +1 -1
  300. package/dist/mcp/tools/messages-send.js +5 -7
  301. package/dist/mcp/tools/messages-send.js.map +1 -1
  302. package/dist/mcp/tools/messages-transcribe.d.ts.map +1 -1
  303. package/dist/mcp/tools/messages-transcribe.js +4 -3
  304. package/dist/mcp/tools/messages-transcribe.js.map +1 -1
  305. package/dist/mcp/tools/messages.d.ts.map +1 -1
  306. package/dist/mcp/tools/messages.js +11 -9
  307. package/dist/mcp/tools/messages.js.map +1 -1
  308. package/dist/mcp/tools/moderation.d.ts.map +1 -1
  309. package/dist/mcp/tools/moderation.js +1 -2
  310. package/dist/mcp/tools/moderation.js.map +1 -1
  311. package/dist/mcp/tools/polls.d.ts.map +1 -1
  312. package/dist/mcp/tools/polls.js +6 -3
  313. package/dist/mcp/tools/polls.js.map +1 -1
  314. package/dist/mcp/tools/rankings.d.ts.map +1 -1
  315. package/dist/mcp/tools/rankings.js +13 -7
  316. package/dist/mcp/tools/rankings.js.map +1 -1
  317. package/dist/mcp/tools/reactions.d.ts.map +1 -1
  318. package/dist/mcp/tools/reactions.js +1 -2
  319. package/dist/mcp/tools/reactions.js.map +1 -1
  320. package/dist/mcp/tools/review.d.ts.map +1 -1
  321. package/dist/mcp/tools/review.js +15 -18
  322. package/dist/mcp/tools/review.js.map +1 -1
  323. package/dist/mcp/tools/search-tools.d.ts.map +1 -1
  324. package/dist/mcp/tools/search-tools.js +63 -42
  325. package/dist/mcp/tools/search-tools.js.map +1 -1
  326. package/dist/mcp/tools/search.d.ts +69 -48
  327. package/dist/mcp/tools/search.d.ts.map +1 -1
  328. package/dist/mcp/tools/search.js +30 -27
  329. package/dist/mcp/tools/search.js.map +1 -1
  330. package/dist/mcp/tools/searches.d.ts.map +1 -1
  331. package/dist/mcp/tools/searches.js +31 -15
  332. package/dist/mcp/tools/searches.js.map +1 -1
  333. package/dist/mcp/tools/stats.d.ts.map +1 -1
  334. package/dist/mcp/tools/stats.js +6 -6
  335. package/dist/mcp/tools/stats.js.map +1 -1
  336. package/dist/mcp/tools/store.d.ts.map +1 -1
  337. package/dist/mcp/tools/store.js +8 -6
  338. package/dist/mcp/tools/store.js.map +1 -1
  339. package/dist/mcp/tools/tasks.js +12 -10
  340. package/dist/mcp/tools/tasks.js.map +1 -1
  341. package/dist/mcp/tools/topics.js +2 -2
  342. package/dist/mcp/tools/topics.js.map +1 -1
  343. package/dist/meetings/cli/index.d.ts.map +1 -1
  344. package/dist/meetings/cli/index.js +15 -6
  345. package/dist/meetings/cli/index.js.map +1 -1
  346. package/dist/meetings/index.d.ts +2 -0
  347. package/dist/meetings/index.d.ts.map +1 -1
  348. package/dist/meetings/index.js +2 -0
  349. package/dist/meetings/index.js.map +1 -1
  350. package/dist/meetings/item.d.ts +35 -0
  351. package/dist/meetings/item.d.ts.map +1 -0
  352. package/dist/meetings/item.js +59 -0
  353. package/dist/meetings/item.js.map +1 -0
  354. package/dist/meetings/mcp/index.d.ts +90 -25
  355. package/dist/meetings/mcp/index.d.ts.map +1 -1
  356. package/dist/meetings/mcp/index.js +17 -15
  357. package/dist/meetings/mcp/index.js.map +1 -1
  358. package/dist/meetings/reads.d.ts +10 -6
  359. package/dist/meetings/reads.d.ts.map +1 -1
  360. package/dist/meetings/reads.js +37 -1
  361. package/dist/meetings/reads.js.map +1 -1
  362. package/dist/meetings/reference.d.ts +12 -0
  363. package/dist/meetings/reference.d.ts.map +1 -0
  364. package/dist/meetings/reference.js +37 -0
  365. package/dist/meetings/reference.js.map +1 -0
  366. package/dist/meetings/store.d.ts +6 -0
  367. package/dist/meetings/store.d.ts.map +1 -1
  368. package/dist/meetings/testing/contract.d.ts.map +1 -1
  369. package/dist/meetings/testing/contract.js +14 -0
  370. package/dist/meetings/testing/contract.js.map +1 -1
  371. package/dist/meetings/testing/memory.d.ts.map +1 -1
  372. package/dist/meetings/testing/memory.js +10 -1
  373. package/dist/meetings/testing/memory.js.map +1 -1
  374. package/dist/render/markdown.d.ts.map +1 -1
  375. package/dist/render/markdown.js +4 -2
  376. package/dist/render/markdown.js.map +1 -1
  377. package/dist/render/messages.js +4 -2
  378. package/dist/render/messages.js.map +1 -1
  379. package/dist/sends/upload.d.ts.map +1 -1
  380. package/dist/sends/upload.js +7 -1
  381. package/dist/sends/upload.js.map +1 -1
  382. package/dist/services/agenda.d.ts +14 -2
  383. package/dist/services/agenda.d.ts.map +1 -1
  384. package/dist/services/agenda.js +59 -7
  385. package/dist/services/agenda.js.map +1 -1
  386. package/dist/services/attachments.d.ts +18 -21
  387. package/dist/services/attachments.d.ts.map +1 -1
  388. package/dist/services/attachments.js +45 -14
  389. package/dist/services/attachments.js.map +1 -1
  390. package/dist/services/backfill-jobs.d.ts +22 -0
  391. package/dist/services/backfill-jobs.d.ts.map +1 -1
  392. package/dist/services/backfill-jobs.js +19 -0
  393. package/dist/services/backfill-jobs.js.map +1 -1
  394. package/dist/services/chats.d.ts +4 -3
  395. package/dist/services/chats.d.ts.map +1 -1
  396. package/dist/services/chats.js +12 -4
  397. package/dist/services/chats.js.map +1 -1
  398. package/dist/services/inbox.d.ts.map +1 -1
  399. package/dist/services/inbox.js +5 -5
  400. package/dist/services/inbox.js.map +1 -1
  401. package/dist/services/messages-search.js +3 -2
  402. package/dist/services/messages-search.js.map +1 -1
  403. package/dist/services/messages.d.ts +2 -0
  404. package/dist/services/messages.d.ts.map +1 -1
  405. package/dist/services/messages.js.map +1 -1
  406. package/dist/services/people.d.ts +6 -1
  407. package/dist/services/people.d.ts.map +1 -1
  408. package/dist/services/people.js +10 -3
  409. package/dist/services/people.js.map +1 -1
  410. package/dist/services/pictures.d.ts +4 -0
  411. package/dist/services/pictures.d.ts.map +1 -1
  412. package/dist/services/pictures.js +26 -17
  413. package/dist/services/pictures.js.map +1 -1
  414. package/dist/services/retention.d.ts +1 -0
  415. package/dist/services/retention.d.ts.map +1 -1
  416. package/dist/services/retention.js +1 -0
  417. package/dist/services/retention.js.map +1 -1
  418. package/dist/services/search-refresh.d.ts.map +1 -1
  419. package/dist/services/search-refresh.js +7 -6
  420. package/dist/services/search-refresh.js.map +1 -1
  421. package/dist/services/searches.d.ts +7 -2
  422. package/dist/services/searches.d.ts.map +1 -1
  423. package/dist/services/searches.js +16 -3
  424. package/dist/services/searches.js.map +1 -1
  425. package/dist/services/server-search.js +1 -1
  426. package/dist/services/server-search.js.map +1 -1
  427. package/dist/store/sqlite/attachment-texts.d.ts +10 -2
  428. package/dist/store/sqlite/attachment-texts.d.ts.map +1 -1
  429. package/dist/store/sqlite/attachment-texts.js +27 -10
  430. package/dist/store/sqlite/attachment-texts.js.map +1 -1
  431. package/dist/store/sqlite/chats.d.ts +34 -0
  432. package/dist/store/sqlite/chats.d.ts.map +1 -1
  433. package/dist/store/sqlite/chats.js +23 -8
  434. package/dist/store/sqlite/chats.js.map +1 -1
  435. package/dist/store/sqlite/completeness.js +2 -2
  436. package/dist/store/sqlite/completeness.js.map +1 -1
  437. package/dist/store/sqlite/conversations.d.ts +1 -1
  438. package/dist/store/sqlite/conversations.d.ts.map +1 -1
  439. package/dist/store/sqlite/conversations.js +1 -2
  440. package/dist/store/sqlite/conversations.js.map +1 -1
  441. package/dist/store/sqlite/identities.d.ts +10 -4
  442. package/dist/store/sqlite/identities.d.ts.map +1 -1
  443. package/dist/store/sqlite/identities.js +8 -7
  444. package/dist/store/sqlite/identities.js.map +1 -1
  445. package/dist/store/sqlite/meetings.d.ts.map +1 -1
  446. package/dist/store/sqlite/meetings.js +20 -0
  447. package/dist/store/sqlite/meetings.js.map +1 -1
  448. package/dist/store/sqlite/query-filter.d.ts +3 -0
  449. package/dist/store/sqlite/query-filter.d.ts.map +1 -1
  450. package/dist/store/sqlite/query-filter.js +3 -0
  451. package/dist/store/sqlite/query-filter.js.map +1 -1
  452. package/dist/store/sqlite/reads.d.ts +9 -1
  453. package/dist/store/sqlite/reads.d.ts.map +1 -1
  454. package/dist/store/sqlite/reads.js +6 -3
  455. package/dist/store/sqlite/reads.js.map +1 -1
  456. package/dist/store/sqlite/searches.d.ts +1 -1
  457. package/dist/store/sqlite/searches.d.ts.map +1 -1
  458. package/dist/store/sqlite/searches.js +3 -3
  459. package/dist/store/sqlite/searches.js.map +1 -1
  460. package/dist/store/store.d.ts +17 -15
  461. package/dist/store/store.d.ts.map +1 -1
  462. package/dist/store/store.js +10 -6
  463. package/dist/store/store.js.map +1 -1
  464. package/package.json +1 -1
  465. package/parity.json +31 -51
  466. package/dist/cli/messenger/list-query.d.ts +0 -13
  467. package/dist/cli/messenger/list-query.d.ts.map +0 -1
  468. package/dist/cli/messenger/list-query.js +0 -23
  469. package/dist/cli/messenger/list-query.js.map +0 -1
@@ -1,25 +1,38 @@
1
1
  import * as v from "valibot";
2
2
  import { account } from "./account.js";
3
+ import { adminReport } from "./admin-report.js";
4
+ import { agenda } from "./agenda.js";
3
5
  import { attachment } from "./attachment.js";
6
+ import { chart } from "./chart.js";
4
7
  import { chat } from "./chat.js";
5
8
  import { chatEvent } from "./chat-event.js";
6
9
  import { contact } from "./contact.js";
7
10
  import { conversation } from "./conversation.js";
11
+ import { counterRefresh, counters } from "./counters.js";
8
12
  import { document } from "./document.js";
13
+ import { evidence } from "./evidence.js";
9
14
  import { fact } from "./fact.js";
10
15
  import { reference } from "./fields.js";
11
16
  import { folder } from "./folder.js";
17
+ import { hit } from "./hit.js";
12
18
  import { identity } from "./identity.js";
13
19
  import { inviteLink } from "./invite-link.js";
20
+ import { job } from "./job.js";
14
21
  import { joinRequest } from "./join-request.js";
15
22
  import { meeting } from "./meeting.js";
16
23
  import { member } from "./member.js";
17
24
  import { memory } from "./memory.js";
18
25
  import { message } from "./message.js";
26
+ import { messageCounts } from "./message-counts.js";
19
27
  import { messageLink } from "./message-link.js";
28
+ import { model } from "./model.js";
20
29
  import { note } from "./note.js";
30
+ import { officialStats } from "./official-stats.js";
21
31
  import { person } from "./person.js";
22
32
  import { pollVote } from "./poll-vote.js";
33
+ import { ranking } from "./ranking.js";
34
+ import { retention } from "./retention.js";
35
+ import { savedSearch } from "./saved-search.js";
23
36
  import { tagging } from "./tagging.js";
24
37
  import { task } from "./task.js";
25
38
  import { topic } from "./topic.js";
@@ -28,7 +41,7 @@ import { topic } from "./topic.js";
28
41
  * subset of its fields, never a renamed one. Commands move onto these one by one; until then, a schema
29
42
  * is the target, not a description of today's output.
30
43
  */
31
- export { account, attachment, chat, chatEvent, contact, conversation, document, fact, folder, identity, inviteLink, joinRequest, meeting, member, memory, message, messageLink, note, person, pollVote, reference, tagging, task, topic, };
44
+ export { account, adminReport, agenda, attachment, chart, chat, chatEvent, contact, conversation, counterRefresh, counters, document, evidence, fact, folder, hit, identity, inviteLink, job, joinRequest, meeting, member, memory, message, messageCounts, messageLink, model, note, officialStats, person, pollVote, ranking, reference, retention, savedSearch, tagging, task, topic, };
32
45
  export declare const ENTITIES: {
33
46
  readonly message: v.StrictObjectSchema<{
34
47
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
@@ -48,10 +61,24 @@ export declare const ENTITIES: {
48
61
  readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
49
62
  readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
50
63
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
51
- readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
64
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
52
65
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
66
+ readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
67
+ readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
68
+ readonly coverage: v.NumberSchema<undefined>;
69
+ readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
70
+ readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
71
+ readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
72
+ }, undefined>, undefined>;
73
+ readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
74
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
75
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
76
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
77
+ readonly text: v.StringSchema<undefined>;
78
+ }, undefined>, undefined>, undefined>;
53
79
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
54
80
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
81
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
55
82
  readonly kind: v.StringSchema<undefined>;
56
83
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
57
84
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -83,6 +110,7 @@ export declare const ENTITIES: {
83
110
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
84
111
  readonly text: v.StringSchema<undefined>;
85
112
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
113
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
86
114
  readonly kind: v.StringSchema<undefined>;
87
115
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
88
116
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -117,6 +145,7 @@ export declare const ENTITIES: {
117
145
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
118
146
  readonly text: v.StringSchema<undefined>;
119
147
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
148
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
120
149
  readonly kind: v.StringSchema<undefined>;
121
150
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
122
151
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -206,10 +235,24 @@ export declare const ENTITIES: {
206
235
  readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
207
236
  readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
208
237
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
209
- readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
238
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
210
239
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
240
+ readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
241
+ readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
242
+ readonly coverage: v.NumberSchema<undefined>;
243
+ readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
244
+ readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
245
+ readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
246
+ }, undefined>, undefined>;
247
+ readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
248
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
249
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
250
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
251
+ readonly text: v.StringSchema<undefined>;
252
+ }, undefined>, undefined>, undefined>;
211
253
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
212
254
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
255
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
213
256
  readonly kind: v.StringSchema<undefined>;
214
257
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
215
258
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -241,6 +284,7 @@ export declare const ENTITIES: {
241
284
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
242
285
  readonly text: v.StringSchema<undefined>;
243
286
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
287
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
244
288
  readonly kind: v.StringSchema<undefined>;
245
289
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
246
290
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -275,6 +319,7 @@ export declare const ENTITIES: {
275
319
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
276
320
  readonly text: v.StringSchema<undefined>;
277
321
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
322
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
278
323
  readonly kind: v.StringSchema<undefined>;
279
324
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
280
325
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -364,10 +409,24 @@ export declare const ENTITIES: {
364
409
  readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
365
410
  readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
366
411
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
367
- readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
412
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
368
413
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
414
+ readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
415
+ readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
416
+ readonly coverage: v.NumberSchema<undefined>;
417
+ readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
418
+ readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
419
+ readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
420
+ }, undefined>, undefined>;
421
+ readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
422
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
423
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
424
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
425
+ readonly text: v.StringSchema<undefined>;
426
+ }, undefined>, undefined>, undefined>;
369
427
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
370
428
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
429
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
371
430
  readonly kind: v.StringSchema<undefined>;
372
431
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
373
432
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -399,6 +458,7 @@ export declare const ENTITIES: {
399
458
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
400
459
  readonly text: v.StringSchema<undefined>;
401
460
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
461
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
402
462
  readonly kind: v.StringSchema<undefined>;
403
463
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
404
464
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -433,6 +493,7 @@ export declare const ENTITIES: {
433
493
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
434
494
  readonly text: v.StringSchema<undefined>;
435
495
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
496
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
436
497
  readonly kind: v.StringSchema<undefined>;
437
498
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
438
499
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -503,23 +564,113 @@ export declare const ENTITIES: {
503
564
  readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
504
565
  }, undefined>, undefined>;
505
566
  readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
506
- }, "chat_title" | "excerpt" | "matched_in" | "ref" | "score" | "sender_name" | "timestamp">;
567
+ }, "chat_title" | "context" | "discovery" | "email" | "excerpt" | "found_in" | "matched_in" | "ref" | "score" | "sender_name" | "timestamp">;
507
568
  readonly "~standard": v.StandardProps<{
508
569
  ref: string;
509
570
  chat_title?: string | null | undefined;
510
571
  sender_name: string | null;
511
572
  timestamp: string;
512
573
  excerpt?: string | undefined;
513
- matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
574
+ matched_in?: "context" | "file" | "filename" | "picture" | "text" | "transcript" | undefined;
514
575
  score?: number | undefined;
576
+ found_in?: "archive" | "both" | "server" | undefined;
577
+ discovery?: {
578
+ coverage: number;
579
+ matched_terms: string[];
580
+ missing_terms: string[];
581
+ parent?: string | undefined;
582
+ } | undefined;
583
+ context?: {
584
+ ref: string;
585
+ timestamp: string;
586
+ sender_name: string | null;
587
+ text: string;
588
+ }[] | undefined;
589
+ email?: {
590
+ subject: string | null;
591
+ from: {
592
+ name: string | null;
593
+ address: string;
594
+ ref: string | null;
595
+ } | null;
596
+ to: {
597
+ name: string | null;
598
+ address: string;
599
+ ref: string | null;
600
+ }[];
601
+ cc: {
602
+ name: string | null;
603
+ address: string;
604
+ ref: string | null;
605
+ }[];
606
+ bcc: {
607
+ name: string | null;
608
+ address: string;
609
+ ref: string | null;
610
+ }[];
611
+ reply_addresses: {
612
+ name: string | null;
613
+ address: string;
614
+ ref: string | null;
615
+ }[];
616
+ labels: string[];
617
+ thread: string;
618
+ read: boolean | null;
619
+ flagged: boolean | null;
620
+ } | undefined;
515
621
  }, {
516
622
  ref: string;
517
623
  chat_title?: string | null | undefined;
518
624
  sender_name: string | null;
519
625
  timestamp: string;
520
626
  excerpt?: string | undefined;
521
- matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
627
+ matched_in?: "context" | "file" | "filename" | "picture" | "text" | "transcript" | undefined;
522
628
  score?: number | undefined;
629
+ found_in?: "archive" | "both" | "server" | undefined;
630
+ discovery?: {
631
+ coverage: number;
632
+ matched_terms: string[];
633
+ missing_terms: string[];
634
+ parent?: string | undefined;
635
+ } | undefined;
636
+ context?: {
637
+ ref: string;
638
+ timestamp: string;
639
+ sender_name: string | null;
640
+ text: string;
641
+ }[] | undefined;
642
+ email?: {
643
+ subject: string | null;
644
+ from: {
645
+ name: string | null;
646
+ address: string;
647
+ ref: string | null;
648
+ } | null;
649
+ to: {
650
+ name: string | null;
651
+ address: string;
652
+ ref: string | null;
653
+ }[];
654
+ cc: {
655
+ name: string | null;
656
+ address: string;
657
+ ref: string | null;
658
+ }[];
659
+ bcc: {
660
+ name: string | null;
661
+ address: string;
662
+ ref: string | null;
663
+ }[];
664
+ reply_addresses: {
665
+ name: string | null;
666
+ address: string;
667
+ ref: string | null;
668
+ }[];
669
+ labels: string[];
670
+ thread: string;
671
+ read: boolean | null;
672
+ flagged: boolean | null;
673
+ } | undefined;
523
674
  }>;
524
675
  readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
525
676
  ref: string;
@@ -527,9 +678,54 @@ export declare const ENTITIES: {
527
678
  sender_name: string | null;
528
679
  timestamp: string;
529
680
  excerpt?: string | undefined;
530
- matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
681
+ matched_in?: "context" | "file" | "filename" | "picture" | "text" | "transcript" | undefined;
531
682
  score?: number | undefined;
532
- }, v.IsoTimestampIssue<string> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
683
+ found_in?: "archive" | "both" | "server" | undefined;
684
+ discovery?: {
685
+ coverage: number;
686
+ matched_terms: string[];
687
+ missing_terms: string[];
688
+ parent?: string | undefined;
689
+ } | undefined;
690
+ context?: {
691
+ ref: string;
692
+ timestamp: string;
693
+ sender_name: string | null;
694
+ text: string;
695
+ }[] | undefined;
696
+ email?: {
697
+ subject: string | null;
698
+ from: {
699
+ name: string | null;
700
+ address: string;
701
+ ref: string | null;
702
+ } | null;
703
+ to: {
704
+ name: string | null;
705
+ address: string;
706
+ ref: string | null;
707
+ }[];
708
+ cc: {
709
+ name: string | null;
710
+ address: string;
711
+ ref: string | null;
712
+ }[];
713
+ bcc: {
714
+ name: string | null;
715
+ address: string;
716
+ ref: string | null;
717
+ }[];
718
+ reply_addresses: {
719
+ name: string | null;
720
+ address: string;
721
+ ref: string | null;
722
+ }[];
723
+ labels: string[];
724
+ thread: string;
725
+ read: boolean | null;
726
+ flagged: boolean | null;
727
+ } | undefined;
728
+ }, v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
533
729
  readonly "~types"?: {
534
730
  readonly input: {
535
731
  ref: string;
@@ -537,8 +733,53 @@ export declare const ENTITIES: {
537
733
  sender_name: string | null;
538
734
  timestamp: string;
539
735
  excerpt?: string | undefined;
540
- matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
736
+ matched_in?: "context" | "file" | "filename" | "picture" | "text" | "transcript" | undefined;
541
737
  score?: number | undefined;
738
+ found_in?: "archive" | "both" | "server" | undefined;
739
+ discovery?: {
740
+ coverage: number;
741
+ matched_terms: string[];
742
+ missing_terms: string[];
743
+ parent?: string | undefined;
744
+ } | undefined;
745
+ context?: {
746
+ ref: string;
747
+ timestamp: string;
748
+ sender_name: string | null;
749
+ text: string;
750
+ }[] | undefined;
751
+ email?: {
752
+ subject: string | null;
753
+ from: {
754
+ name: string | null;
755
+ address: string;
756
+ ref: string | null;
757
+ } | null;
758
+ to: {
759
+ name: string | null;
760
+ address: string;
761
+ ref: string | null;
762
+ }[];
763
+ cc: {
764
+ name: string | null;
765
+ address: string;
766
+ ref: string | null;
767
+ }[];
768
+ bcc: {
769
+ name: string | null;
770
+ address: string;
771
+ ref: string | null;
772
+ }[];
773
+ reply_addresses: {
774
+ name: string | null;
775
+ address: string;
776
+ ref: string | null;
777
+ }[];
778
+ labels: string[];
779
+ thread: string;
780
+ read: boolean | null;
781
+ flagged: boolean | null;
782
+ } | undefined;
542
783
  };
543
784
  readonly output: {
544
785
  ref: string;
@@ -546,10 +787,55 @@ export declare const ENTITIES: {
546
787
  sender_name: string | null;
547
788
  timestamp: string;
548
789
  excerpt?: string | undefined;
549
- matched_in?: "context" | "file" | "filename" | "text" | "transcript" | undefined;
790
+ matched_in?: "context" | "file" | "filename" | "picture" | "text" | "transcript" | undefined;
550
791
  score?: number | undefined;
792
+ found_in?: "archive" | "both" | "server" | undefined;
793
+ discovery?: {
794
+ coverage: number;
795
+ matched_terms: string[];
796
+ missing_terms: string[];
797
+ parent?: string | undefined;
798
+ } | undefined;
799
+ context?: {
800
+ ref: string;
801
+ timestamp: string;
802
+ sender_name: string | null;
803
+ text: string;
804
+ }[] | undefined;
805
+ email?: {
806
+ subject: string | null;
807
+ from: {
808
+ name: string | null;
809
+ address: string;
810
+ ref: string | null;
811
+ } | null;
812
+ to: {
813
+ name: string | null;
814
+ address: string;
815
+ ref: string | null;
816
+ }[];
817
+ cc: {
818
+ name: string | null;
819
+ address: string;
820
+ ref: string | null;
821
+ }[];
822
+ bcc: {
823
+ name: string | null;
824
+ address: string;
825
+ ref: string | null;
826
+ }[];
827
+ reply_addresses: {
828
+ name: string | null;
829
+ address: string;
830
+ ref: string | null;
831
+ }[];
832
+ labels: string[];
833
+ thread: string;
834
+ read: boolean | null;
835
+ flagged: boolean | null;
836
+ } | undefined;
551
837
  };
552
- readonly issue: v.IsoTimestampIssue<string> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
838
+ readonly issue: v.ArrayIssue | v.BooleanIssue | v.IsoTimestampIssue<string> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
553
839
  } | undefined;
554
840
  };
555
841
  readonly "message.summary": Omit<v.StrictObjectSchema<{
@@ -570,10 +856,24 @@ export declare const ENTITIES: {
570
856
  readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
571
857
  readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
572
858
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
573
- readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
859
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
574
860
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
861
+ readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
862
+ readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
863
+ readonly coverage: v.NumberSchema<undefined>;
864
+ readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
865
+ readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
866
+ readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
867
+ }, undefined>, undefined>;
868
+ readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
869
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
870
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
871
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
872
+ readonly text: v.StringSchema<undefined>;
873
+ }, undefined>, undefined>, undefined>;
575
874
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
576
875
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
876
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
577
877
  readonly kind: v.StringSchema<undefined>;
578
878
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
579
879
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -605,6 +905,7 @@ export declare const ENTITIES: {
605
905
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
606
906
  readonly text: v.StringSchema<undefined>;
607
907
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
908
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
608
909
  readonly kind: v.StringSchema<undefined>;
609
910
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
610
911
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -639,6 +940,7 @@ export declare const ENTITIES: {
639
940
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
640
941
  readonly text: v.StringSchema<undefined>;
641
942
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
943
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
642
944
  readonly kind: v.StringSchema<undefined>;
643
945
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
644
946
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -728,10 +1030,24 @@ export declare const ENTITIES: {
728
1030
  readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
729
1031
  readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
730
1032
  readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
731
- readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
1033
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
732
1034
  readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1035
+ readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
1036
+ readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
1037
+ readonly coverage: v.NumberSchema<undefined>;
1038
+ readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1039
+ readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1040
+ readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1041
+ }, undefined>, undefined>;
1042
+ readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1043
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1044
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1045
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1046
+ readonly text: v.StringSchema<undefined>;
1047
+ }, undefined>, undefined>, undefined>;
733
1048
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
734
1049
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
1050
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
735
1051
  readonly kind: v.StringSchema<undefined>;
736
1052
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
737
1053
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -763,6 +1079,7 @@ export declare const ENTITIES: {
763
1079
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
764
1080
  readonly text: v.StringSchema<undefined>;
765
1081
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
1082
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
766
1083
  readonly kind: v.StringSchema<undefined>;
767
1084
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
768
1085
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -797,6 +1114,7 @@ export declare const ENTITIES: {
797
1114
  readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
798
1115
  readonly text: v.StringSchema<undefined>;
799
1116
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
1117
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
800
1118
  readonly kind: v.StringSchema<undefined>;
801
1119
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
802
1120
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -867,38 +1185,188 @@ export declare const ENTITIES: {
867
1185
  readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
868
1186
  }, undefined>, undefined>;
869
1187
  readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
870
- }, "ref" | "sender_name" | "text" | "timestamp">;
1188
+ }, "attachments" | "chat_id" | "chat_title" | "outgoing" | "ref" | "sender_name" | "text" | "timestamp" | "transcript">;
871
1189
  readonly "~standard": v.StandardProps<{
872
1190
  ref: string;
1191
+ chat_id: string;
1192
+ chat_title?: string | null | undefined;
873
1193
  sender_name: string | null;
874
1194
  timestamp: string;
875
1195
  text: string;
1196
+ transcript?: string | undefined;
1197
+ outgoing: boolean | null;
1198
+ attachments: {
1199
+ message?: string | undefined;
1200
+ kind: string;
1201
+ position?: number | undefined;
1202
+ url?: string | undefined;
1203
+ name?: string | undefined;
1204
+ title?: string | undefined;
1205
+ mime?: string | undefined;
1206
+ size?: number | undefined;
1207
+ width?: number | undefined;
1208
+ height?: number | undefined;
1209
+ duration?: number | undefined;
1210
+ text?: string | undefined;
1211
+ extraction?: {
1212
+ origin: string;
1213
+ extractor: string;
1214
+ chars: number;
1215
+ error?: string | undefined;
1216
+ } | undefined;
1217
+ local_path?: string | undefined;
1218
+ buttons?: {
1219
+ kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
1220
+ text: string;
1221
+ url?: string | undefined;
1222
+ }[][] | undefined;
1223
+ }[];
876
1224
  }, {
877
1225
  ref: string;
1226
+ chat_id: string;
1227
+ chat_title?: string | null | undefined;
878
1228
  sender_name: string | null;
879
1229
  timestamp: string;
880
1230
  text: string;
1231
+ transcript?: string | undefined;
1232
+ outgoing: boolean | null;
1233
+ attachments: {
1234
+ message?: string | undefined;
1235
+ kind: string;
1236
+ position?: number | undefined;
1237
+ url?: string | undefined;
1238
+ name?: string | undefined;
1239
+ title?: string | undefined;
1240
+ mime?: string | undefined;
1241
+ size?: number | undefined;
1242
+ width?: number | undefined;
1243
+ height?: number | undefined;
1244
+ duration?: number | undefined;
1245
+ text?: string | undefined;
1246
+ extraction?: {
1247
+ origin: string;
1248
+ extractor: string;
1249
+ chars: number;
1250
+ error?: string | undefined;
1251
+ } | undefined;
1252
+ local_path?: string | undefined;
1253
+ buttons?: {
1254
+ kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
1255
+ text: string;
1256
+ url?: string | undefined;
1257
+ }[][] | undefined;
1258
+ }[];
881
1259
  }>;
882
1260
  readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
883
1261
  ref: string;
1262
+ chat_id: string;
1263
+ chat_title?: string | null | undefined;
884
1264
  sender_name: string | null;
885
1265
  timestamp: string;
886
1266
  text: string;
887
- }, v.IsoTimestampIssue<string> | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
1267
+ transcript?: string | undefined;
1268
+ outgoing: boolean | null;
1269
+ attachments: {
1270
+ message?: string | undefined;
1271
+ kind: string;
1272
+ position?: number | undefined;
1273
+ url?: string | undefined;
1274
+ name?: string | undefined;
1275
+ title?: string | undefined;
1276
+ mime?: string | undefined;
1277
+ size?: number | undefined;
1278
+ width?: number | undefined;
1279
+ height?: number | undefined;
1280
+ duration?: number | undefined;
1281
+ text?: string | undefined;
1282
+ extraction?: {
1283
+ origin: string;
1284
+ extractor: string;
1285
+ chars: number;
1286
+ error?: string | undefined;
1287
+ } | undefined;
1288
+ local_path?: string | undefined;
1289
+ buttons?: {
1290
+ kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
1291
+ text: string;
1292
+ url?: string | undefined;
1293
+ }[][] | undefined;
1294
+ }[];
1295
+ }, v.ArrayIssue | v.BooleanIssue | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
888
1296
  readonly "~types"?: {
889
1297
  readonly input: {
890
1298
  ref: string;
1299
+ chat_id: string;
1300
+ chat_title?: string | null | undefined;
891
1301
  sender_name: string | null;
892
1302
  timestamp: string;
893
1303
  text: string;
1304
+ transcript?: string | undefined;
1305
+ outgoing: boolean | null;
1306
+ attachments: {
1307
+ message?: string | undefined;
1308
+ kind: string;
1309
+ position?: number | undefined;
1310
+ url?: string | undefined;
1311
+ name?: string | undefined;
1312
+ title?: string | undefined;
1313
+ mime?: string | undefined;
1314
+ size?: number | undefined;
1315
+ width?: number | undefined;
1316
+ height?: number | undefined;
1317
+ duration?: number | undefined;
1318
+ text?: string | undefined;
1319
+ extraction?: {
1320
+ origin: string;
1321
+ extractor: string;
1322
+ chars: number;
1323
+ error?: string | undefined;
1324
+ } | undefined;
1325
+ local_path?: string | undefined;
1326
+ buttons?: {
1327
+ kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
1328
+ text: string;
1329
+ url?: string | undefined;
1330
+ }[][] | undefined;
1331
+ }[];
894
1332
  };
895
1333
  readonly output: {
896
1334
  ref: string;
1335
+ chat_id: string;
1336
+ chat_title?: string | null | undefined;
897
1337
  sender_name: string | null;
898
1338
  timestamp: string;
899
1339
  text: string;
1340
+ transcript?: string | undefined;
1341
+ outgoing: boolean | null;
1342
+ attachments: {
1343
+ message?: string | undefined;
1344
+ kind: string;
1345
+ position?: number | undefined;
1346
+ url?: string | undefined;
1347
+ name?: string | undefined;
1348
+ title?: string | undefined;
1349
+ mime?: string | undefined;
1350
+ size?: number | undefined;
1351
+ width?: number | undefined;
1352
+ height?: number | undefined;
1353
+ duration?: number | undefined;
1354
+ text?: string | undefined;
1355
+ extraction?: {
1356
+ origin: string;
1357
+ extractor: string;
1358
+ chars: number;
1359
+ error?: string | undefined;
1360
+ } | undefined;
1361
+ local_path?: string | undefined;
1362
+ buttons?: {
1363
+ kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
1364
+ text: string;
1365
+ url?: string | undefined;
1366
+ }[][] | undefined;
1367
+ }[];
900
1368
  };
901
- readonly issue: v.IsoTimestampIssue<string> | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
1369
+ readonly issue: v.ArrayIssue | v.BooleanIssue | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
902
1370
  } | undefined;
903
1371
  };
904
1372
  readonly message_link: v.StrictObjectSchema<{
@@ -1138,6 +1606,150 @@ export declare const ENTITIES: {
1138
1606
  readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1139
1607
  readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1140
1608
  readonly deleted_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
1609
+ readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1610
+ readonly found_by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
1611
+ readonly links: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1612
+ readonly to: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1613
+ readonly target_text: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1614
+ readonly kind: v.StringSchema<undefined>;
1615
+ readonly anchor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1616
+ }, undefined>, undefined>, undefined>;
1617
+ }, undefined>;
1618
+ readonly "note.hit": Omit<v.StrictObjectSchema<{
1619
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1620
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1621
+ readonly source: v.PicklistSchema<["file", "internal"], undefined>;
1622
+ readonly folder_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1623
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1624
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1625
+ readonly text: v.StringSchema<undefined>;
1626
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1627
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1628
+ readonly deleted_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
1629
+ readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1630
+ readonly found_by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
1631
+ readonly links: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1632
+ readonly to: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1633
+ readonly target_text: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1634
+ readonly kind: v.StringSchema<undefined>;
1635
+ readonly anchor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1636
+ }, undefined>, undefined>, undefined>;
1637
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
1638
+ readonly entries: Pick<{
1639
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1640
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1641
+ readonly source: v.PicklistSchema<["file", "internal"], undefined>;
1642
+ readonly folder_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1643
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1644
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1645
+ readonly text: v.StringSchema<undefined>;
1646
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1647
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1648
+ readonly deleted_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
1649
+ readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1650
+ readonly found_by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
1651
+ readonly links: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1652
+ readonly to: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1653
+ readonly target_text: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1654
+ readonly kind: v.StringSchema<undefined>;
1655
+ readonly anchor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1656
+ }, undefined>, undefined>, undefined>;
1657
+ }, "excerpt" | "folder_id" | "found_by" | "links" | "path" | "ref" | "source" | "title" | "updated_at">;
1658
+ readonly "~standard": v.StandardProps<{
1659
+ ref: string;
1660
+ source: "file" | "internal";
1661
+ folder_id: string | null;
1662
+ path: string | null;
1663
+ title: string | null;
1664
+ updated_at: string;
1665
+ excerpt?: string | undefined;
1666
+ found_by?: ("meaning" | "words")[] | undefined;
1667
+ links?: {
1668
+ to: string | null;
1669
+ target_text: string | null;
1670
+ kind: string;
1671
+ anchor: string | null;
1672
+ }[] | undefined;
1673
+ }, {
1674
+ ref: string;
1675
+ source: "file" | "internal";
1676
+ folder_id: string | null;
1677
+ path: string | null;
1678
+ title: string | null;
1679
+ updated_at: string;
1680
+ excerpt?: string | undefined;
1681
+ found_by?: ("meaning" | "words")[] | undefined;
1682
+ links?: {
1683
+ to: string | null;
1684
+ target_text: string | null;
1685
+ kind: string;
1686
+ anchor: string | null;
1687
+ }[] | undefined;
1688
+ }>;
1689
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
1690
+ ref: string;
1691
+ source: "file" | "internal";
1692
+ folder_id: string | null;
1693
+ path: string | null;
1694
+ title: string | null;
1695
+ updated_at: string;
1696
+ excerpt?: string | undefined;
1697
+ found_by?: ("meaning" | "words")[] | undefined;
1698
+ links?: {
1699
+ to: string | null;
1700
+ target_text: string | null;
1701
+ kind: string;
1702
+ anchor: string | null;
1703
+ }[] | undefined;
1704
+ }, v.ArrayIssue | v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
1705
+ readonly "~types"?: {
1706
+ readonly input: {
1707
+ ref: string;
1708
+ source: "file" | "internal";
1709
+ folder_id: string | null;
1710
+ path: string | null;
1711
+ title: string | null;
1712
+ updated_at: string;
1713
+ excerpt?: string | undefined;
1714
+ found_by?: ("meaning" | "words")[] | undefined;
1715
+ links?: {
1716
+ to: string | null;
1717
+ target_text: string | null;
1718
+ kind: string;
1719
+ anchor: string | null;
1720
+ }[] | undefined;
1721
+ };
1722
+ readonly output: {
1723
+ ref: string;
1724
+ source: "file" | "internal";
1725
+ folder_id: string | null;
1726
+ path: string | null;
1727
+ title: string | null;
1728
+ updated_at: string;
1729
+ excerpt?: string | undefined;
1730
+ found_by?: ("meaning" | "words")[] | undefined;
1731
+ links?: {
1732
+ to: string | null;
1733
+ target_text: string | null;
1734
+ kind: string;
1735
+ anchor: string | null;
1736
+ }[] | undefined;
1737
+ };
1738
+ readonly issue: v.ArrayIssue | v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
1739
+ } | undefined;
1740
+ };
1741
+ readonly hit: v.StrictObjectSchema<{
1742
+ readonly kind: v.PicklistSchema<["message", "mail", "note", "meeting"], undefined>;
1743
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1744
+ readonly provider: v.StringSchema<undefined>;
1745
+ readonly account: v.StringSchema<undefined>;
1746
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1747
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
1748
+ readonly excerpt: v.StringSchema<undefined>;
1749
+ readonly sender_name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1750
+ readonly sender_ref: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
1751
+ readonly found_by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
1752
+ readonly offset_ms: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
1141
1753
  }, undefined>;
1142
1754
  readonly document: v.StrictObjectSchema<{
1143
1755
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
@@ -1151,6 +1763,7 @@ export declare const ENTITIES: {
1151
1763
  readonly owners: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1152
1764
  }, undefined>;
1153
1765
  readonly attachment: v.StrictObjectSchema<{
1766
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1154
1767
  readonly kind: v.StringSchema<undefined>;
1155
1768
  readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1156
1769
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -1275,6 +1888,93 @@ export declare const ENTITIES: {
1275
1888
  readonly built_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1276
1889
  readonly rules_version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1277
1890
  }, undefined>;
1891
+ readonly saved_search: v.StrictObjectSchema<{
1892
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1893
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1894
+ readonly command: v.PicklistSchema<["search", "stats", "message-top", "author-top", "admin-statistics"], undefined>;
1895
+ readonly params: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
1896
+ readonly language: v.StringSchema<undefined>;
1897
+ readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1898
+ readonly fields_version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1899
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1900
+ readonly last_run_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
1901
+ readonly runs: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1902
+ }, undefined>;
1903
+ readonly job: v.StrictObjectSchema<{
1904
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1905
+ readonly chat: v.StringSchema<undefined>;
1906
+ readonly state: v.PicklistSchema<readonly ["running", "done", "partial", "failed", "cancelled", "died"], undefined>;
1907
+ readonly pid: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1908
+ readonly started_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1909
+ readonly finished_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
1910
+ readonly fetched: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1911
+ readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1912
+ readonly page_size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1913
+ readonly last: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1914
+ readonly complete: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1915
+ readonly issue: v.OptionalSchema<v.StrictObjectSchema<{
1916
+ readonly code: v.StringSchema<undefined>;
1917
+ readonly message: v.StringSchema<undefined>;
1918
+ }, undefined>, undefined>;
1919
+ readonly error: v.OptionalSchema<v.StrictObjectSchema<{
1920
+ readonly code: v.StringSchema<undefined>;
1921
+ readonly message: v.StringSchema<undefined>;
1922
+ }, undefined>, undefined>;
1923
+ }, undefined>;
1924
+ readonly agenda: v.StrictObjectSchema<{
1925
+ readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1926
+ readonly account: v.StringSchema<undefined>;
1927
+ readonly stored_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
1928
+ readonly stale: v.BooleanSchema<undefined>;
1929
+ readonly tasks: v.ArraySchema<v.StrictObjectSchema<{
1930
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1931
+ readonly key: v.StringSchema<undefined>;
1932
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1933
+ readonly kind: v.PicklistSchema<readonly ["bug", "feature", "chore", "question", "request", "mention", "promise"], undefined>;
1934
+ readonly source: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1935
+ readonly due_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
1936
+ readonly next_check_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
1937
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1938
+ readonly reasons: v.ArraySchema<v.PicklistSchema<["overdue", "due", "check", "unplanned"], undefined>, undefined>;
1939
+ }, undefined>, undefined>;
1940
+ readonly owed: v.ArraySchema<v.StrictObjectSchema<{
1941
+ readonly chat: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1942
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1943
+ readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
1944
+ readonly last_message: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1945
+ readonly last_message_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1946
+ readonly last_from_owner: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1947
+ readonly open_tasks: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1948
+ }, undefined>, undefined>;
1949
+ readonly waiting: v.ArraySchema<v.StrictObjectSchema<{
1950
+ readonly chat: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1951
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1952
+ readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
1953
+ readonly last_message: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1954
+ readonly last_message_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1955
+ readonly last_from_owner: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1956
+ readonly open_tasks: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1957
+ }, undefined>, undefined>;
1958
+ readonly unsynced: v.ArraySchema<v.StrictObjectSchema<{
1959
+ readonly chat: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1960
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1961
+ readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
1962
+ readonly last_message: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1963
+ readonly last_message_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
1964
+ readonly last_from_owner: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1965
+ readonly open_tasks: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1966
+ }, undefined>, undefined>;
1967
+ }, undefined>;
1968
+ readonly model: v.StrictObjectSchema<{
1969
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1970
+ readonly kind: v.PicklistSchema<["audio", "text", "image"], undefined>;
1971
+ readonly title: v.StringSchema<undefined>;
1972
+ readonly languages: v.StringSchema<undefined>;
1973
+ readonly licence: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1974
+ readonly size_bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1975
+ readonly downloaded: v.BooleanSchema<undefined>;
1976
+ readonly default: v.BooleanSchema<undefined>;
1977
+ }, undefined>;
1278
1978
  readonly chat_event: v.StrictObjectSchema<{
1279
1979
  readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1280
1980
  readonly time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
@@ -1372,6 +2072,1106 @@ export declare const ENTITIES: {
1372
2072
  readonly kind: v.NullableSchema<v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>, undefined>;
1373
2073
  }, undefined>, undefined>, undefined>;
1374
2074
  }, undefined>;
2075
+ readonly message_counts: v.StrictObjectSchema<{
2076
+ readonly by: v.PicklistSchema<["chat", "sender", "day", "hour"], undefined>;
2077
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2078
+ readonly rows: v.ArraySchema<v.StrictObjectSchema<{
2079
+ readonly key: v.StringSchema<undefined>;
2080
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2081
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2082
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2083
+ }, undefined>, undefined>;
2084
+ }, undefined>;
2085
+ readonly ranking: v.StrictObjectSchema<{
2086
+ readonly target: v.PicklistSchema<["messages", "contacts"], undefined>;
2087
+ readonly measure: v.StringSchema<undefined>;
2088
+ readonly order: v.PicklistSchema<["ascending", "descending"], undefined>;
2089
+ readonly preset: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2090
+ readonly weights: v.NullableSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
2091
+ readonly min_messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2092
+ readonly message_kind: v.StringSchema<undefined>;
2093
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2094
+ readonly population: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2095
+ readonly eligible: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2096
+ readonly excluded: v.StrictObjectSchema<{
2097
+ readonly minimum: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2098
+ readonly missing: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2099
+ readonly unknown_sender: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2100
+ readonly unknown_kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2101
+ }, undefined>;
2102
+ readonly maxima: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
2103
+ readonly counter_freshness: v.PicklistSchema<["fresh", "stale", "partial", "unknown"], undefined>;
2104
+ readonly expanded_discussion_chats: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
2105
+ readonly rows: v.ArraySchema<v.StrictObjectSchema<{
2106
+ readonly rank: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2107
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2108
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2109
+ readonly chat_ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2110
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2111
+ readonly kind: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2112
+ readonly value: v.NumberSchema<undefined>;
2113
+ readonly components: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2114
+ readonly messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2115
+ readonly known_reactions: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2116
+ readonly unknown_reactions: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2117
+ readonly score: v.NullableSchema<v.StrictObjectSchema<{
2118
+ readonly score: v.NumberSchema<undefined>;
2119
+ readonly normalized: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
2120
+ readonly contributions: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
2121
+ }, undefined>, undefined>;
2122
+ readonly quality: v.StrictObjectSchema<{
2123
+ readonly reactions: v.PicklistSchema<["known", "partial", "unknown"], undefined>;
2124
+ readonly graph: v.PicklistSchema<["complete", "partial", "not_used"], undefined>;
2125
+ readonly counter_freshness: v.PicklistSchema<["fresh", "stale", "partial", "unknown"], undefined>;
2126
+ }, undefined>;
2127
+ readonly counters: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
2128
+ readonly counter: v.PicklistSchema<["views", "reactions", "comments"], undefined>;
2129
+ readonly value: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
2130
+ readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2131
+ readonly source: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2132
+ readonly age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2133
+ readonly freshness: v.PicklistSchema<["fresh", "stale", "unknown"], undefined>;
2134
+ }, undefined>, undefined>, undefined>;
2135
+ readonly selection: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
2136
+ }, undefined>, undefined>;
2137
+ }, undefined>;
2138
+ readonly admin_report: v.StrictObjectSchema<{
2139
+ readonly report: v.PicklistSchema<["unanswered", "responses", "newcomers", "discussion"], undefined>;
2140
+ readonly cutoff: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2141
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2142
+ readonly summary: v.StrictObjectSchema<{
2143
+ readonly questions: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2144
+ readonly answered: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2145
+ readonly no_observed_answer: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2146
+ readonly excluded_future: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2147
+ readonly unknown_join: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2148
+ readonly missing_views: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2149
+ }, undefined>;
2150
+ readonly quality: v.StrictObjectSchema<{
2151
+ readonly graph: v.StrictObjectSchema<{
2152
+ readonly unknown_links: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2153
+ readonly unknown_authors: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2154
+ readonly missing_parents: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2155
+ readonly cycles: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2156
+ readonly complete: v.BooleanSchema<undefined>;
2157
+ }, undefined>;
2158
+ readonly archives: v.ArraySchema<v.StrictObjectSchema<{
2159
+ readonly chat_ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2160
+ readonly state: v.StringSchema<undefined>;
2161
+ readonly fetched_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2162
+ }, undefined>, undefined>;
2163
+ readonly archives_total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2164
+ readonly membership: v.StringSchema<undefined>;
2165
+ readonly counter_freshness: v.StringSchema<undefined>;
2166
+ readonly answerer_roles: v.StringSchema<undefined>;
2167
+ }, undefined>;
2168
+ readonly rows: v.ArraySchema<v.StrictObjectSchema<{
2169
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2170
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2171
+ readonly status: v.PicklistSchema<["observed", "no-observed-answer", "partial", "unknown"], undefined>;
2172
+ readonly chat_ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2173
+ readonly person_ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2174
+ readonly identity_known: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2175
+ readonly questions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2176
+ readonly answered: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2177
+ readonly median_ms: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
2178
+ readonly p90_ms: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
2179
+ readonly age_ms: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2180
+ readonly joined_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2181
+ readonly window_end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2182
+ readonly pending: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2183
+ readonly views: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2184
+ readonly observed_replies: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2185
+ readonly comment_snapshot: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
2186
+ readonly counters: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
2187
+ readonly counter: v.PicklistSchema<["views", "reactions", "comments"], undefined>;
2188
+ readonly value: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
2189
+ readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2190
+ readonly source: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2191
+ readonly age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2192
+ readonly freshness: v.PicklistSchema<["fresh", "stale", "unknown"], undefined>;
2193
+ }, undefined>, undefined>, undefined>;
2194
+ readonly selection: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
2195
+ }, undefined>, undefined>;
2196
+ }, undefined>;
2197
+ readonly retention: v.StrictObjectSchema<{
2198
+ readonly chat_ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2199
+ readonly cutoff: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2200
+ readonly since: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2201
+ readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2202
+ readonly checkpoints_ms: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2203
+ readonly within_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
2204
+ readonly by: v.PicklistSchema<["day", "week"], undefined>;
2205
+ readonly timezone: v.StringSchema<undefined>;
2206
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2207
+ readonly unknown_join: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2208
+ readonly eligible_stays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2209
+ readonly quality: v.StrictObjectSchema<{
2210
+ readonly membership: v.StringSchema<undefined>;
2211
+ readonly tolerance_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
2212
+ readonly archive: v.NullableSchema<v.StrictObjectSchema<{
2213
+ readonly state: v.StringSchema<undefined>;
2214
+ readonly up_to_date: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2215
+ readonly gaps: v.BooleanSchema<undefined>;
2216
+ readonly reaches_start: v.BooleanSchema<undefined>;
2217
+ readonly fetched_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2218
+ }, undefined>, undefined>;
2219
+ readonly continuous_survival: v.BooleanSchema<undefined>;
2220
+ readonly group_silent_rate: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
2221
+ }, undefined>;
2222
+ readonly rows: v.ArraySchema<v.StrictObjectSchema<{
2223
+ readonly cohort: v.StringSchema<undefined>;
2224
+ readonly stays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2225
+ readonly checkpoints: v.ArraySchema<v.StrictObjectSchema<{
2226
+ readonly age_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
2227
+ readonly eligible: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2228
+ readonly observable: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2229
+ readonly present: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2230
+ readonly absent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2231
+ readonly unknown: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2232
+ readonly pending: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2233
+ readonly rate: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
2234
+ }, undefined>, undefined>;
2235
+ readonly activity: v.StrictObjectSchema<{
2236
+ readonly observed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2237
+ readonly no_observed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2238
+ readonly pending: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2239
+ readonly archive_covered: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2240
+ }, undefined>;
2241
+ readonly early_departure: v.StrictObjectSchema<{
2242
+ readonly observed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2243
+ readonly not_observed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2244
+ readonly unknown: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2245
+ readonly pending: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2246
+ }, undefined>;
2247
+ readonly selection: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
2248
+ }, undefined>, undefined>;
2249
+ }, undefined>;
2250
+ readonly evidence: v.UnionSchema<[v.StrictObjectSchema<{
2251
+ readonly message: Omit<v.StrictObjectSchema<{
2252
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2253
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2254
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2255
+ readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2256
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2257
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2258
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2259
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2260
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2261
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2262
+ readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
2263
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2264
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2265
+ readonly text: v.StringSchema<undefined>;
2266
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2267
+ readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2268
+ readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2269
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
2270
+ readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2271
+ readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
2272
+ readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
2273
+ readonly coverage: v.NumberSchema<undefined>;
2274
+ readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2275
+ readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2276
+ readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2277
+ }, undefined>, undefined>;
2278
+ readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
2279
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2280
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2281
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2282
+ readonly text: v.StringSchema<undefined>;
2283
+ }, undefined>, undefined>, undefined>;
2284
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2285
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2286
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2287
+ readonly kind: v.StringSchema<undefined>;
2288
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2289
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2290
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2291
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2292
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2293
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2294
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2295
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2296
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2297
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2298
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2299
+ readonly origin: v.StringSchema<undefined>;
2300
+ readonly extractor: v.StringSchema<undefined>;
2301
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2302
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2303
+ }, undefined>, undefined>;
2304
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2305
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2306
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2307
+ readonly text: v.StringSchema<undefined>;
2308
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2309
+ }, undefined>, undefined>, undefined>, undefined>;
2310
+ }, undefined>, undefined>;
2311
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
2312
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2313
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2314
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2315
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2316
+ readonly text: v.StringSchema<undefined>;
2317
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2318
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2319
+ readonly kind: v.StringSchema<undefined>;
2320
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2321
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2322
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2323
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2324
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2325
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2326
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2327
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2328
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2329
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2330
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2331
+ readonly origin: v.StringSchema<undefined>;
2332
+ readonly extractor: v.StringSchema<undefined>;
2333
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2334
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2335
+ }, undefined>, undefined>;
2336
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2337
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2338
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2339
+ readonly text: v.StringSchema<undefined>;
2340
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2341
+ }, undefined>, undefined>, undefined>, undefined>;
2342
+ }, undefined>, undefined>;
2343
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2344
+ }, undefined>, undefined>;
2345
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2346
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
2347
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2348
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2349
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2350
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2351
+ readonly text: v.StringSchema<undefined>;
2352
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2353
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2354
+ readonly kind: v.StringSchema<undefined>;
2355
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2356
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2357
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2358
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2359
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2360
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2361
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2362
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2363
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2364
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2365
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2366
+ readonly origin: v.StringSchema<undefined>;
2367
+ readonly extractor: v.StringSchema<undefined>;
2368
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2369
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2370
+ }, undefined>, undefined>;
2371
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2372
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2373
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2374
+ readonly text: v.StringSchema<undefined>;
2375
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2376
+ }, undefined>, undefined>, undefined>, undefined>;
2377
+ }, undefined>, undefined>;
2378
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2379
+ }, undefined>, undefined>;
2380
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2381
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2382
+ readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
2383
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
2384
+ readonly reaction: v.StringSchema<undefined>;
2385
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2386
+ }, undefined>, undefined>;
2387
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2388
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2389
+ }, undefined>, undefined>, undefined>;
2390
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2391
+ readonly email: v.OptionalSchema<v.StrictObjectSchema<{
2392
+ readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2393
+ readonly from: v.NullableSchema<v.StrictObjectSchema<{
2394
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2395
+ readonly address: v.StringSchema<undefined>;
2396
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2397
+ }, undefined>, undefined>;
2398
+ readonly to: v.ArraySchema<v.StrictObjectSchema<{
2399
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2400
+ readonly address: v.StringSchema<undefined>;
2401
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2402
+ }, undefined>, undefined>;
2403
+ readonly cc: v.ArraySchema<v.StrictObjectSchema<{
2404
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2405
+ readonly address: v.StringSchema<undefined>;
2406
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2407
+ }, undefined>, undefined>;
2408
+ readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
2409
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2410
+ readonly address: v.StringSchema<undefined>;
2411
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2412
+ }, undefined>, undefined>;
2413
+ readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
2414
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2415
+ readonly address: v.StringSchema<undefined>;
2416
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2417
+ }, undefined>, undefined>;
2418
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2419
+ readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2420
+ readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2421
+ readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2422
+ }, undefined>, undefined>;
2423
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2424
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
2425
+ readonly entries: Pick<{
2426
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2427
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2428
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2429
+ readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2430
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2431
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2432
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2433
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2434
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2435
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2436
+ readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
2437
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2438
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2439
+ readonly text: v.StringSchema<undefined>;
2440
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2441
+ readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2442
+ readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2443
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
2444
+ readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2445
+ readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
2446
+ readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
2447
+ readonly coverage: v.NumberSchema<undefined>;
2448
+ readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2449
+ readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2450
+ readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2451
+ }, undefined>, undefined>;
2452
+ readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
2453
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2454
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2455
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2456
+ readonly text: v.StringSchema<undefined>;
2457
+ }, undefined>, undefined>, undefined>;
2458
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2459
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2460
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2461
+ readonly kind: v.StringSchema<undefined>;
2462
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2463
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2464
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2465
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2466
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2467
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2468
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2469
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2470
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2471
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2472
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2473
+ readonly origin: v.StringSchema<undefined>;
2474
+ readonly extractor: v.StringSchema<undefined>;
2475
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2476
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2477
+ }, undefined>, undefined>;
2478
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2479
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2480
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2481
+ readonly text: v.StringSchema<undefined>;
2482
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2483
+ }, undefined>, undefined>, undefined>, undefined>;
2484
+ }, undefined>, undefined>;
2485
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
2486
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2487
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2488
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2489
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2490
+ readonly text: v.StringSchema<undefined>;
2491
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2492
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2493
+ readonly kind: v.StringSchema<undefined>;
2494
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2495
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2496
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2497
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2498
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2499
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2500
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2501
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2502
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2503
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2504
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2505
+ readonly origin: v.StringSchema<undefined>;
2506
+ readonly extractor: v.StringSchema<undefined>;
2507
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2508
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2509
+ }, undefined>, undefined>;
2510
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2511
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2512
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2513
+ readonly text: v.StringSchema<undefined>;
2514
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2515
+ }, undefined>, undefined>, undefined>, undefined>;
2516
+ }, undefined>, undefined>;
2517
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2518
+ }, undefined>, undefined>;
2519
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2520
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
2521
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2522
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2523
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2524
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2525
+ readonly text: v.StringSchema<undefined>;
2526
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2527
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2528
+ readonly kind: v.StringSchema<undefined>;
2529
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2530
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2531
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2532
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2533
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2534
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2535
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2536
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2537
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2538
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2539
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2540
+ readonly origin: v.StringSchema<undefined>;
2541
+ readonly extractor: v.StringSchema<undefined>;
2542
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2543
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2544
+ }, undefined>, undefined>;
2545
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2546
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2547
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2548
+ readonly text: v.StringSchema<undefined>;
2549
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2550
+ }, undefined>, undefined>, undefined>, undefined>;
2551
+ }, undefined>, undefined>;
2552
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2553
+ }, undefined>, undefined>;
2554
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2555
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2556
+ readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
2557
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
2558
+ readonly reaction: v.StringSchema<undefined>;
2559
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2560
+ }, undefined>, undefined>;
2561
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2562
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2563
+ }, undefined>, undefined>, undefined>;
2564
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2565
+ readonly email: v.OptionalSchema<v.StrictObjectSchema<{
2566
+ readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2567
+ readonly from: v.NullableSchema<v.StrictObjectSchema<{
2568
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2569
+ readonly address: v.StringSchema<undefined>;
2570
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2571
+ }, undefined>, undefined>;
2572
+ readonly to: v.ArraySchema<v.StrictObjectSchema<{
2573
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2574
+ readonly address: v.StringSchema<undefined>;
2575
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2576
+ }, undefined>, undefined>;
2577
+ readonly cc: v.ArraySchema<v.StrictObjectSchema<{
2578
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2579
+ readonly address: v.StringSchema<undefined>;
2580
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2581
+ }, undefined>, undefined>;
2582
+ readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
2583
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2584
+ readonly address: v.StringSchema<undefined>;
2585
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2586
+ }, undefined>, undefined>;
2587
+ readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
2588
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2589
+ readonly address: v.StringSchema<undefined>;
2590
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2591
+ }, undefined>, undefined>;
2592
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2593
+ readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2594
+ readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2595
+ readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2596
+ }, undefined>, undefined>;
2597
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2598
+ }, "chat_title" | "ref" | "sender_name" | "text" | "timestamp">;
2599
+ readonly "~standard": v.StandardProps<{
2600
+ ref: string;
2601
+ chat_title?: string | null | undefined;
2602
+ sender_name: string | null;
2603
+ timestamp: string;
2604
+ text: string;
2605
+ }, {
2606
+ ref: string;
2607
+ chat_title?: string | null | undefined;
2608
+ sender_name: string | null;
2609
+ timestamp: string;
2610
+ text: string;
2611
+ }>;
2612
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
2613
+ ref: string;
2614
+ chat_title?: string | null | undefined;
2615
+ sender_name: string | null;
2616
+ timestamp: string;
2617
+ text: string;
2618
+ }, v.IsoTimestampIssue<string> | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
2619
+ readonly "~types"?: {
2620
+ readonly input: {
2621
+ ref: string;
2622
+ chat_title?: string | null | undefined;
2623
+ sender_name: string | null;
2624
+ timestamp: string;
2625
+ text: string;
2626
+ };
2627
+ readonly output: {
2628
+ ref: string;
2629
+ chat_title?: string | null | undefined;
2630
+ sender_name: string | null;
2631
+ timestamp: string;
2632
+ text: string;
2633
+ };
2634
+ readonly issue: v.IsoTimestampIssue<string> | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
2635
+ } | undefined;
2636
+ };
2637
+ readonly related: v.OptionalSchema<Omit<v.StrictObjectSchema<{
2638
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2639
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2640
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2641
+ readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2642
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2643
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2644
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2645
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2646
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2647
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2648
+ readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
2649
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2650
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2651
+ readonly text: v.StringSchema<undefined>;
2652
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2653
+ readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2654
+ readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2655
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
2656
+ readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2657
+ readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
2658
+ readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
2659
+ readonly coverage: v.NumberSchema<undefined>;
2660
+ readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2661
+ readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2662
+ readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2663
+ }, undefined>, undefined>;
2664
+ readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
2665
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2666
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2667
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2668
+ readonly text: v.StringSchema<undefined>;
2669
+ }, undefined>, undefined>, undefined>;
2670
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2671
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2672
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2673
+ readonly kind: v.StringSchema<undefined>;
2674
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2675
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2676
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2677
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2678
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2679
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2680
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2681
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2682
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2683
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2684
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2685
+ readonly origin: v.StringSchema<undefined>;
2686
+ readonly extractor: v.StringSchema<undefined>;
2687
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2688
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2689
+ }, undefined>, undefined>;
2690
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2691
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2692
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2693
+ readonly text: v.StringSchema<undefined>;
2694
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2695
+ }, undefined>, undefined>, undefined>, undefined>;
2696
+ }, undefined>, undefined>;
2697
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
2698
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2699
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2700
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2701
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2702
+ readonly text: v.StringSchema<undefined>;
2703
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2704
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2705
+ readonly kind: v.StringSchema<undefined>;
2706
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2707
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2708
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2709
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2710
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2711
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2712
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2713
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2714
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2715
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2716
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2717
+ readonly origin: v.StringSchema<undefined>;
2718
+ readonly extractor: v.StringSchema<undefined>;
2719
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2720
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2721
+ }, undefined>, undefined>;
2722
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2723
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2724
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2725
+ readonly text: v.StringSchema<undefined>;
2726
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2727
+ }, undefined>, undefined>, undefined>, undefined>;
2728
+ }, undefined>, undefined>;
2729
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2730
+ }, undefined>, undefined>;
2731
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2732
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
2733
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2734
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2735
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2736
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2737
+ readonly text: v.StringSchema<undefined>;
2738
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2739
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2740
+ readonly kind: v.StringSchema<undefined>;
2741
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2742
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2743
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2744
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2745
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2746
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2747
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2748
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2749
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2750
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2751
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2752
+ readonly origin: v.StringSchema<undefined>;
2753
+ readonly extractor: v.StringSchema<undefined>;
2754
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2755
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2756
+ }, undefined>, undefined>;
2757
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2758
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2759
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2760
+ readonly text: v.StringSchema<undefined>;
2761
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2762
+ }, undefined>, undefined>, undefined>, undefined>;
2763
+ }, undefined>, undefined>;
2764
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2765
+ }, undefined>, undefined>;
2766
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2767
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2768
+ readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
2769
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
2770
+ readonly reaction: v.StringSchema<undefined>;
2771
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2772
+ }, undefined>, undefined>;
2773
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2774
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2775
+ }, undefined>, undefined>, undefined>;
2776
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2777
+ readonly email: v.OptionalSchema<v.StrictObjectSchema<{
2778
+ readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2779
+ readonly from: v.NullableSchema<v.StrictObjectSchema<{
2780
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2781
+ readonly address: v.StringSchema<undefined>;
2782
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2783
+ }, undefined>, undefined>;
2784
+ readonly to: v.ArraySchema<v.StrictObjectSchema<{
2785
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2786
+ readonly address: v.StringSchema<undefined>;
2787
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2788
+ }, undefined>, undefined>;
2789
+ readonly cc: v.ArraySchema<v.StrictObjectSchema<{
2790
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2791
+ readonly address: v.StringSchema<undefined>;
2792
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2793
+ }, undefined>, undefined>;
2794
+ readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
2795
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2796
+ readonly address: v.StringSchema<undefined>;
2797
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2798
+ }, undefined>, undefined>;
2799
+ readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
2800
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2801
+ readonly address: v.StringSchema<undefined>;
2802
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2803
+ }, undefined>, undefined>;
2804
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2805
+ readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2806
+ readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2807
+ readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2808
+ }, undefined>, undefined>;
2809
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2810
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
2811
+ readonly entries: Pick<{
2812
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2813
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2814
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2815
+ readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2816
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2817
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2818
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2819
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2820
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2821
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2822
+ readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
2823
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2824
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2825
+ readonly text: v.StringSchema<undefined>;
2826
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2827
+ readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2828
+ readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2829
+ readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
2830
+ readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2831
+ readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
2832
+ readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
2833
+ readonly coverage: v.NumberSchema<undefined>;
2834
+ readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2835
+ readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2836
+ readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2837
+ }, undefined>, undefined>;
2838
+ readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
2839
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2840
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
2841
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2842
+ readonly text: v.StringSchema<undefined>;
2843
+ }, undefined>, undefined>, undefined>;
2844
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2845
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2846
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2847
+ readonly kind: v.StringSchema<undefined>;
2848
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2849
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2850
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2851
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2852
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2853
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2854
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2855
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2856
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2857
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2858
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2859
+ readonly origin: v.StringSchema<undefined>;
2860
+ readonly extractor: v.StringSchema<undefined>;
2861
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2862
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2863
+ }, undefined>, undefined>;
2864
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2865
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2866
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2867
+ readonly text: v.StringSchema<undefined>;
2868
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2869
+ }, undefined>, undefined>, undefined>, undefined>;
2870
+ }, undefined>, undefined>;
2871
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
2872
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2873
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2874
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2875
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2876
+ readonly text: v.StringSchema<undefined>;
2877
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2878
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2879
+ readonly kind: v.StringSchema<undefined>;
2880
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2881
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2882
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2883
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2884
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2885
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2886
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2887
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2888
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2889
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2890
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2891
+ readonly origin: v.StringSchema<undefined>;
2892
+ readonly extractor: v.StringSchema<undefined>;
2893
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2894
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2895
+ }, undefined>, undefined>;
2896
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2897
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2898
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2899
+ readonly text: v.StringSchema<undefined>;
2900
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2901
+ }, undefined>, undefined>, undefined>, undefined>;
2902
+ }, undefined>, undefined>;
2903
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2904
+ }, undefined>, undefined>;
2905
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2906
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
2907
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
2908
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2909
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2910
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2911
+ readonly text: v.StringSchema<undefined>;
2912
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
2913
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2914
+ readonly kind: v.StringSchema<undefined>;
2915
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2916
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2917
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2918
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2919
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2920
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2921
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2922
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
2923
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2924
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2925
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
2926
+ readonly origin: v.StringSchema<undefined>;
2927
+ readonly extractor: v.StringSchema<undefined>;
2928
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2929
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2930
+ }, undefined>, undefined>;
2931
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2932
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
2933
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
2934
+ readonly text: v.StringSchema<undefined>;
2935
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2936
+ }, undefined>, undefined>, undefined>, undefined>;
2937
+ }, undefined>, undefined>;
2938
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2939
+ }, undefined>, undefined>;
2940
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2941
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
2942
+ readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
2943
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
2944
+ readonly reaction: v.StringSchema<undefined>;
2945
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2946
+ }, undefined>, undefined>;
2947
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2948
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
2949
+ }, undefined>, undefined>, undefined>;
2950
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
2951
+ readonly email: v.OptionalSchema<v.StrictObjectSchema<{
2952
+ readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2953
+ readonly from: v.NullableSchema<v.StrictObjectSchema<{
2954
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2955
+ readonly address: v.StringSchema<undefined>;
2956
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2957
+ }, undefined>, undefined>;
2958
+ readonly to: v.ArraySchema<v.StrictObjectSchema<{
2959
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2960
+ readonly address: v.StringSchema<undefined>;
2961
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2962
+ }, undefined>, undefined>;
2963
+ readonly cc: v.ArraySchema<v.StrictObjectSchema<{
2964
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2965
+ readonly address: v.StringSchema<undefined>;
2966
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2967
+ }, undefined>, undefined>;
2968
+ readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
2969
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2970
+ readonly address: v.StringSchema<undefined>;
2971
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2972
+ }, undefined>, undefined>;
2973
+ readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
2974
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2975
+ readonly address: v.StringSchema<undefined>;
2976
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
2977
+ }, undefined>, undefined>;
2978
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2979
+ readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2980
+ readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2981
+ readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
2982
+ }, undefined>, undefined>;
2983
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2984
+ }, "chat_title" | "ref" | "sender_name" | "text" | "timestamp">;
2985
+ readonly "~standard": v.StandardProps<{
2986
+ ref: string;
2987
+ chat_title?: string | null | undefined;
2988
+ sender_name: string | null;
2989
+ timestamp: string;
2990
+ text: string;
2991
+ }, {
2992
+ ref: string;
2993
+ chat_title?: string | null | undefined;
2994
+ sender_name: string | null;
2995
+ timestamp: string;
2996
+ text: string;
2997
+ }>;
2998
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
2999
+ ref: string;
3000
+ chat_title?: string | null | undefined;
3001
+ sender_name: string | null;
3002
+ timestamp: string;
3003
+ text: string;
3004
+ }, v.IsoTimestampIssue<string> | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
3005
+ readonly "~types"?: {
3006
+ readonly input: {
3007
+ ref: string;
3008
+ chat_title?: string | null | undefined;
3009
+ sender_name: string | null;
3010
+ timestamp: string;
3011
+ text: string;
3012
+ };
3013
+ readonly output: {
3014
+ ref: string;
3015
+ chat_title?: string | null | undefined;
3016
+ sender_name: string | null;
3017
+ timestamp: string;
3018
+ text: string;
3019
+ };
3020
+ readonly issue: v.IsoTimestampIssue<string> | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
3021
+ } | undefined;
3022
+ }, undefined>;
3023
+ readonly contribution: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
3024
+ readonly counters: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
3025
+ readonly counter: v.PicklistSchema<["views", "reactions", "comments"], undefined>;
3026
+ readonly value: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
3027
+ readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
3028
+ readonly source: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3029
+ readonly age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
3030
+ readonly freshness: v.PicklistSchema<["fresh", "stale", "unknown"], undefined>;
3031
+ }, undefined>, undefined>, undefined>;
3032
+ }, undefined>, v.StrictObjectSchema<{
3033
+ readonly person_ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
3034
+ readonly joined_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
3035
+ readonly cohort: v.StringSchema<undefined>;
3036
+ readonly checkpoints: v.ArraySchema<v.StrictObjectSchema<{
3037
+ readonly checkpoint_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
3038
+ readonly target_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
3039
+ readonly state: v.StringSchema<undefined>;
3040
+ readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
3041
+ readonly lag_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
3042
+ readonly complete: v.BooleanSchema<undefined>;
3043
+ }, undefined>, undefined>;
3044
+ readonly activity: v.StrictObjectSchema<{
3045
+ readonly state: v.StringSchema<undefined>;
3046
+ readonly first_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
3047
+ readonly window_end: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
3048
+ readonly archive_covered: v.BooleanSchema<undefined>;
3049
+ }, undefined>;
3050
+ readonly departure: v.StrictObjectSchema<{
3051
+ readonly after: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
3052
+ readonly at_or_before: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
3053
+ readonly early: v.StringSchema<undefined>;
3054
+ }, undefined>;
3055
+ }, undefined>], undefined>;
3056
+ readonly counters: v.StrictObjectSchema<{
3057
+ readonly cutoff: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
3058
+ readonly max_age_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
3059
+ readonly selection: v.StrictObjectSchema<{
3060
+ readonly kind: v.LiteralSchema<"counter-targets", undefined>;
3061
+ readonly version: v.LiteralSchema<1, undefined>;
3062
+ readonly locators: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
3063
+ }, undefined>;
3064
+ readonly rows: v.ArraySchema<v.StrictObjectSchema<{
3065
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
3066
+ readonly counters: v.ArraySchema<v.StrictObjectSchema<{
3067
+ readonly counter: v.PicklistSchema<["views", "reactions", "comments"], undefined>;
3068
+ readonly value: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
3069
+ readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
3070
+ readonly source: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3071
+ readonly age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
3072
+ readonly freshness: v.PicklistSchema<["fresh", "stale", "unknown"], undefined>;
3073
+ }, undefined>, undefined>;
3074
+ }, undefined>, undefined>;
3075
+ }, undefined>;
3076
+ readonly counter_refresh: v.StrictObjectSchema<{
3077
+ readonly dry_run: v.BooleanSchema<undefined>;
3078
+ readonly targets: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
3079
+ readonly counters: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3080
+ readonly supported: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3081
+ readonly unsupported: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3082
+ readonly max_messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3083
+ readonly time_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
3084
+ readonly results: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
3085
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
3086
+ readonly updated: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3087
+ readonly missing: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3088
+ readonly status: v.StringSchema<undefined>;
3089
+ }, undefined>, undefined>, undefined>;
3090
+ readonly stopped: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3091
+ readonly complete: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3092
+ }, undefined>;
3093
+ readonly official_stats: v.StrictObjectSchema<{
3094
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3095
+ readonly title: v.StringSchema<undefined>;
3096
+ readonly kind: v.PicklistSchema<["group", "channel"], undefined>;
3097
+ readonly since: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
3098
+ readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
3099
+ readonly totals: v.RecordSchema<v.StringSchema<undefined>, v.StrictObjectSchema<{
3100
+ readonly current: v.NumberSchema<undefined>;
3101
+ readonly previous: v.NumberSchema<undefined>;
3102
+ }, undefined>, undefined>;
3103
+ readonly top: v.OptionalSchema<v.StrictObjectSchema<{
3104
+ readonly posters: v.ArraySchema<v.StrictObjectSchema<{
3105
+ readonly person_ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
3106
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3107
+ readonly messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3108
+ readonly average_chars: v.NumberSchema<undefined>;
3109
+ }, undefined>, undefined>;
3110
+ readonly admins: v.ArraySchema<v.StrictObjectSchema<{
3111
+ readonly person_ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
3112
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3113
+ readonly deleted: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3114
+ readonly removed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3115
+ readonly banned: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3116
+ }, undefined>, undefined>;
3117
+ readonly inviters: v.ArraySchema<v.StrictObjectSchema<{
3118
+ readonly person_ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
3119
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3120
+ readonly invited: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3121
+ }, undefined>, undefined>;
3122
+ }, undefined>, undefined>;
3123
+ readonly notifications: v.OptionalSchema<v.StrictObjectSchema<{
3124
+ readonly enabled: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3125
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3126
+ }, undefined>, undefined>;
3127
+ readonly recent_posts: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
3128
+ readonly kind: v.PicklistSchema<["message", "story"], undefined>;
3129
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
3130
+ readonly views: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3131
+ readonly forwards: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3132
+ readonly reactions: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3133
+ }, undefined>, undefined>, undefined>;
3134
+ readonly graphs: v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StrictObjectSchema<{
3135
+ readonly kind: v.StringSchema<undefined>;
3136
+ readonly x: v.StrictObjectSchema<{
3137
+ readonly type: v.PicklistSchema<["date", "time", "number"], undefined>;
3138
+ readonly values: v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
3139
+ }, undefined>;
3140
+ readonly series: v.ArraySchema<v.StrictObjectSchema<{
3141
+ readonly key: v.StringSchema<undefined>;
3142
+ readonly name: v.StringSchema<undefined>;
3143
+ readonly kind: v.StringSchema<undefined>;
3144
+ readonly values: v.ArraySchema<v.NumberSchema<undefined>, undefined>;
3145
+ }, undefined>, undefined>;
3146
+ readonly stacked: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3147
+ readonly percentage: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3148
+ }, undefined>, v.StrictObjectSchema<{
3149
+ readonly error: v.StringSchema<undefined>;
3150
+ }, undefined>], undefined>, undefined>;
3151
+ }, undefined>;
3152
+ readonly chart: v.StrictObjectSchema<{
3153
+ readonly version: v.LiteralSchema<1, undefined>;
3154
+ readonly kind: v.PicklistSchema<["bar", "line", "grouped-bar"], undefined>;
3155
+ readonly title: v.StringSchema<undefined>;
3156
+ readonly x: v.StrictObjectSchema<{
3157
+ readonly type: v.PicklistSchema<["day", "week"], undefined>;
3158
+ readonly values: v.ArraySchema<v.StringSchema<undefined>, undefined>;
3159
+ }, undefined>;
3160
+ readonly series: v.ArraySchema<v.StrictObjectSchema<{
3161
+ readonly name: v.StringSchema<undefined>;
3162
+ readonly values: v.ArraySchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
3163
+ }, undefined>, undefined>;
3164
+ readonly unit: v.PicklistSchema<["messages", "people"], undefined>;
3165
+ readonly timezone: v.StringSchema<undefined>;
3166
+ readonly partial: v.BooleanSchema<undefined>;
3167
+ readonly reasons: v.ArraySchema<v.PicklistSchema<["store-incomplete", "events-incomplete"], undefined>, undefined>;
3168
+ readonly file: v.OptionalSchema<v.StrictObjectSchema<{
3169
+ readonly path: v.StringSchema<undefined>;
3170
+ readonly format: v.PicklistSchema<["svg", "png"], undefined>;
3171
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3172
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
3173
+ }, undefined>, undefined>;
3174
+ }, undefined>;
1375
3175
  };
1376
3176
  export type EntityName = keyof typeof ENTITIES;
1377
3177
  /** Every entity as a JSON Schema 2020-12 `$defs` entry, for bundling into an MCP tool's `outputSchema`. */