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