@wirecat/cli-core 0.399.0 → 0.400.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 (221) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/dist/analysis/consents.d.ts +11 -6
  3. package/dist/analysis/consents.js +5 -2
  4. package/dist/cli/bot/mcp.js +2 -1
  5. package/dist/cli/config-command.js +20 -1
  6. package/dist/cli/context.d.ts +2 -0
  7. package/dist/cli/context.js +1 -1
  8. package/dist/cli/effects.d.ts +4 -1
  9. package/dist/cli/effects.js +10 -2
  10. package/dist/cli/index.d.ts +1 -1
  11. package/dist/cli/index.js +1 -1
  12. package/dist/cli/json-fields.js +12 -1
  13. package/dist/cli/messenger/account-command.js +15 -6
  14. package/dist/cli/messenger/account-profile-query.d.ts +2 -0
  15. package/dist/cli/messenger/account-profile-query.js +13 -0
  16. package/dist/cli/messenger/account-sessions-command.js +1 -0
  17. package/dist/cli/messenger/admin-commands.js +12 -12
  18. package/dist/cli/messenger/admin-contacts-command.js +6 -3
  19. package/dist/cli/messenger/admin-folders-command.js +5 -5
  20. package/dist/cli/messenger/admin-moderation-command.js +4 -4
  21. package/dist/cli/messenger/admin-statistics-command.js +6 -14
  22. package/dist/cli/messenger/analysis-consents-query.d.ts +5 -0
  23. package/dist/cli/messenger/analysis-consents-query.js +20 -0
  24. package/dist/cli/messenger/archive-commands.js +3 -3
  25. package/dist/cli/messenger/attachments-command.js +3 -0
  26. package/dist/cli/messenger/backfill-command.js +5 -4
  27. package/dist/cli/messenger/chat-queries.d.ts +1 -0
  28. package/dist/cli/messenger/chat-queries.js +12 -2
  29. package/dist/cli/messenger/chats-command.js +2 -2
  30. package/dist/cli/messenger/chats-documents-command.js +7 -5
  31. package/dist/cli/messenger/chats-members-command.js +7 -3
  32. package/dist/cli/messenger/chats-read-command.js +1 -1
  33. package/dist/cli/messenger/chats-tracking-command.js +14 -6
  34. package/dist/cli/messenger/contacts-command.js +9 -5
  35. package/dist/cli/messenger/conversations-command.js +20 -16
  36. package/dist/cli/messenger/doctor-command.js +5 -1
  37. package/dist/cli/messenger/document-links-query.d.ts +2 -0
  38. package/dist/cli/messenger/document-links-query.js +9 -0
  39. package/dist/cli/messenger/download-command.js +1 -0
  40. package/dist/cli/messenger/flood-command.d.ts +2 -2
  41. package/dist/cli/messenger/flood-command.js +3 -3
  42. package/dist/cli/messenger/gaps-command.js +2 -2
  43. package/dist/cli/messenger/guard-commands.js +35 -13
  44. package/dist/cli/messenger/images-command.js +1 -0
  45. package/dist/cli/messenger/media-archive-command.js +2 -0
  46. package/dist/cli/messenger/media-archive-move-command.js +1 -0
  47. package/dist/cli/messenger/media-archive-timer-command.js +1 -1
  48. package/dist/cli/messenger/mentions-command.js +15 -2
  49. package/dist/cli/messenger/messages-command.js +2 -0
  50. package/dist/cli/messenger/messages-delete-command.js +1 -0
  51. package/dist/cli/messenger/messages-edit-command.js +1 -0
  52. package/dist/cli/messenger/messages-evidence-command.js +3 -1
  53. package/dist/cli/messenger/messages-forward-command.js +1 -0
  54. package/dist/cli/messenger/messages-pin-command.js +3 -0
  55. package/dist/cli/messenger/messages-send-command.js +1 -0
  56. package/dist/cli/messenger/metadata-command.js +6 -1
  57. package/dist/cli/messenger/models-command.js +10 -2
  58. package/dist/cli/messenger/polls-command.js +4 -0
  59. package/dist/cli/messenger/private-people-command.js +3 -3
  60. package/dist/cli/messenger/rankings-command.js +6 -11
  61. package/dist/cli/messenger/reactions-command.js +2 -0
  62. package/dist/cli/messenger/recipients-query.d.ts +5 -0
  63. package/dist/cli/messenger/recipients-query.js +18 -0
  64. package/dist/cli/messenger/records-command.js +13 -6
  65. package/dist/cli/messenger/search-command.js +3 -1
  66. package/dist/cli/messenger/searches-command.js +5 -1
  67. package/dist/cli/messenger/sends-query.d.ts +5 -0
  68. package/dist/cli/messenger/sends-query.js +33 -0
  69. package/dist/cli/messenger/serve-command.js +1 -0
  70. package/dist/cli/messenger/statistics-query.d.ts +14 -0
  71. package/dist/cli/messenger/statistics-query.js +143 -0
  72. package/dist/cli/messenger/stats-command.js +5 -5
  73. package/dist/cli/messenger/store-maintenance-command.d.ts +1 -1
  74. package/dist/cli/messenger/store-maintenance-command.js +10 -10
  75. package/dist/cli/messenger/tags-command.js +7 -1
  76. package/dist/cli/messenger/tasks-command.js +47 -8
  77. package/dist/cli/messenger/transcribe-command.js +1 -0
  78. package/dist/cli/messenger/watch-answers.d.ts +6 -0
  79. package/dist/cli/messenger/watch-answers.js +69 -0
  80. package/dist/cli/messenger/watch-command.d.ts +1 -1
  81. package/dist/cli/messenger/watch-command.js +56 -7
  82. package/dist/cli/program.js +5 -1
  83. package/dist/cli/runs/command.js +25 -38
  84. package/dist/cli/runs/query.d.ts +5 -0
  85. package/dist/cli/runs/query.js +32 -0
  86. package/dist/cli/runs/search-command.d.ts +4 -0
  87. package/dist/cli/runs/search-command.js +27 -0
  88. package/dist/cli/runs/search-query.d.ts +4 -0
  89. package/dist/cli/runs/search-query.js +50 -0
  90. package/dist/cli/runs/search.d.ts +2 -1
  91. package/dist/cli/runs/search.js +6 -6
  92. package/dist/domain/attachments.js +9 -1
  93. package/dist/domain/rankings-options.js +3 -3
  94. package/dist/entities/account-change.d.ts +89 -0
  95. package/dist/entities/account-change.js +20 -0
  96. package/dist/entities/account-profile.d.ts +7 -0
  97. package/dist/entities/account-profile.js +8 -0
  98. package/dist/entities/analysis-consent.d.ts +9 -0
  99. package/dist/entities/analysis-consent.js +4 -0
  100. package/dist/entities/attachment-results.d.ts +96 -0
  101. package/dist/entities/attachment-results.js +31 -0
  102. package/dist/entities/batch-result.d.ts +27 -0
  103. package/dist/entities/batch-result.js +18 -0
  104. package/dist/entities/chat-admin.d.ts +234 -0
  105. package/dist/entities/chat-admin.js +84 -0
  106. package/dist/entities/chat-change.d.ts +25 -0
  107. package/dist/entities/chat-change.js +11 -0
  108. package/dist/entities/chat-metadata.d.ts +34 -0
  109. package/dist/entities/chat-metadata.js +15 -0
  110. package/dist/entities/chat-moderation.d.ts +44 -0
  111. package/dist/entities/chat-moderation.js +37 -0
  112. package/dist/entities/chat-tracking.d.ts +26 -0
  113. package/dist/entities/chat-tracking.js +23 -0
  114. package/dist/entities/contact-activity.d.ts +52 -0
  115. package/dist/entities/contact-activity.js +42 -0
  116. package/dist/entities/contact-context.d.ts +1568 -0
  117. package/dist/entities/contact-context.js +191 -0
  118. package/dist/entities/contact-write.d.ts +22 -0
  119. package/dist/entities/contact-write.js +6 -0
  120. package/dist/entities/conversation-preparation.d.ts +63 -0
  121. package/dist/entities/conversation-preparation.js +23 -0
  122. package/dist/entities/conversation-results.d.ts +567 -0
  123. package/dist/entities/conversation-results.js +94 -0
  124. package/dist/entities/document-link.d.ts +13 -0
  125. package/dist/entities/document-link.js +11 -0
  126. package/dist/entities/extraction-report.d.ts +95 -0
  127. package/dist/entities/extraction-report.js +34 -0
  128. package/dist/entities/image-embedding.d.ts +9 -0
  129. package/dist/entities/image-embedding.js +10 -0
  130. package/dist/entities/index.d.ts +8006 -1928
  131. package/dist/entities/index.js +174 -3
  132. package/dist/entities/listener.d.ts +2150 -0
  133. package/dist/entities/listener.js +46 -0
  134. package/dist/entities/media-archive.d.ts +43 -0
  135. package/dist/entities/media-archive.js +32 -0
  136. package/dist/entities/meeting-task-proposal.d.ts +14 -0
  137. package/dist/entities/meeting-task-proposal.js +19 -0
  138. package/dist/entities/meeting.d.ts +1 -1
  139. package/dist/entities/meeting.js +1 -1
  140. package/dist/entities/mention.d.ts +63 -0
  141. package/dist/entities/mention.js +44 -0
  142. package/dist/entities/message-change.d.ts +19 -0
  143. package/dist/entities/message-change.js +6 -0
  144. package/dist/entities/message-context.d.ts +617 -0
  145. package/dist/entities/message-context.js +20 -0
  146. package/dist/entities/message-read.d.ts +73 -0
  147. package/dist/entities/message-read.js +58 -0
  148. package/dist/entities/message-transfer.d.ts +379 -0
  149. package/dist/entities/message-transfer.js +83 -0
  150. package/dist/entities/message-write.d.ts +191 -0
  151. package/dist/entities/message-write.js +8 -0
  152. package/dist/entities/model-key.d.ts +14 -0
  153. package/dist/entities/model-key.js +10 -0
  154. package/dist/entities/poll.d.ts +40 -0
  155. package/dist/entities/poll.js +16 -0
  156. package/dist/entities/private-contact.d.ts +10 -0
  157. package/dist/entities/private-contact.js +4 -0
  158. package/dist/entities/reaction-change.d.ts +7 -0
  159. package/dist/entities/reaction-change.js +8 -0
  160. package/dist/entities/recipient.d.ts +29 -0
  161. package/dist/entities/recipient.js +11 -0
  162. package/dist/entities/recorded-run.d.ts +103 -0
  163. package/dist/entities/recorded-run.js +44 -0
  164. package/dist/entities/saved-search.d.ts +4 -0
  165. package/dist/entities/saved-search.js +2 -0
  166. package/dist/entities/send-attempt.d.ts +31 -0
  167. package/dist/entities/send-attempt.js +29 -0
  168. package/dist/entities/store-maintenance.d.ts +319 -0
  169. package/dist/entities/store-maintenance.js +145 -0
  170. package/dist/entities/store-records.d.ts +442 -0
  171. package/dist/entities/store-records.js +99 -0
  172. package/dist/entities/tag-change.d.ts +74 -0
  173. package/dist/entities/tag-change.js +31 -0
  174. package/dist/entities/task-pair.d.ts +31 -0
  175. package/dist/entities/task-pair.js +23 -0
  176. package/dist/entities/task-results.d.ts +524 -0
  177. package/dist/entities/task-results.js +142 -0
  178. package/dist/errors/reasons.js +1 -0
  179. package/dist/mcp/agent.d.ts +3 -1
  180. package/dist/mcp/agent.js +9 -6
  181. package/dist/mcp/bot/server.d.ts +2 -0
  182. package/dist/mcp/bot/server.js +1 -0
  183. package/dist/mcp/server.js +3 -1
  184. package/dist/mcp/tools/attachments.js +1 -0
  185. package/dist/meetings/cli/index.js +1 -1
  186. package/dist/meetings/cli/passage.js +1 -0
  187. package/dist/meetings/index.d.ts +2 -1
  188. package/dist/meetings/index.js +1 -0
  189. package/dist/meetings/links.d.ts +16 -0
  190. package/dist/meetings/mcp/index.d.ts +15 -15
  191. package/dist/meetings/read-answers.d.ts +167 -0
  192. package/dist/meetings/read-answers.js +183 -0
  193. package/dist/runs/run.d.ts +10 -2
  194. package/dist/runs/run.js +11 -3
  195. package/dist/sends/journal.d.ts +8 -1
  196. package/dist/sends/journal.js +9 -2
  197. package/dist/sends/permissions.d.ts +5 -1
  198. package/dist/sends/permissions.js +11 -1
  199. package/dist/sends/recipients.d.ts +8 -0
  200. package/dist/sends/recipients.js +9 -0
  201. package/dist/services/admin-statistics.js +3 -3
  202. package/dist/services/chat-documents.d.ts +1 -0
  203. package/dist/services/chat-documents.js +9 -3
  204. package/dist/services/chats.d.ts +1 -1
  205. package/dist/services/chats.js +5 -2
  206. package/dist/services/meeting-links.d.ts +2 -17
  207. package/dist/store/exports.d.ts +1 -1
  208. package/dist/store/exports.js +1 -1
  209. package/dist/store/messages.d.ts +3 -1
  210. package/dist/store/messages.js +2 -2
  211. package/dist/store/roster.d.ts +4 -1
  212. package/dist/store/roster.js +2 -2
  213. package/dist/store/sqlite/chats.d.ts +12 -0
  214. package/dist/store/sqlite/chats.js +1 -0
  215. package/dist/store/sqlite/document-links.d.ts +1 -1
  216. package/dist/store/sqlite/document-links.js +5 -5
  217. package/dist/store/sqlite/involvements.js +2 -1
  218. package/dist/store/sqlite/roster.d.ts +2 -1
  219. package/dist/store/sqlite/roster.js +3 -2
  220. package/package.json +1 -1
  221. package/parity.json +8 -66
@@ -0,0 +1,1568 @@
1
+ import * as v from "valibot";
2
+ export declare const contactMessages: v.StrictObjectSchema<{
3
+ readonly person: v.StrictObjectSchema<{
4
+ readonly uid: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
5
+ readonly provider: v.StringSchema<undefined>;
6
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
7
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
8
+ }, undefined>;
9
+ readonly chats: v.ArraySchema<v.StrictObjectSchema<{
10
+ readonly chat: Omit<v.StrictObjectSchema<{
11
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
12
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
13
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
14
+ readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
15
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
16
+ readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
17
+ readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
18
+ readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
19
+ readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
20
+ readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
21
+ readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
22
+ readonly muted_until: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
23
+ readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
24
+ readonly marked_unread: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
25
+ readonly membership_state: v.OptionalSchema<v.PicklistSchema<["joined", "left", "public", "imported", "archived", "external"], undefined>, undefined>;
26
+ readonly parent_chat_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
27
+ readonly scope: v.OptionalSchema<v.PicklistSchema<["personal", "work"], undefined>, undefined>;
28
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
29
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
30
+ readonly invite_link: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
31
+ readonly settings: v.OptionalSchema<v.StrictObjectSchema<{
32
+ readonly all_can_pin: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
33
+ readonly only_admins_add: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
34
+ readonly only_admins_call: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
35
+ readonly only_owner_edits_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
36
+ readonly members_see_link: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
37
+ readonly join_approval: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
38
+ readonly only_admins_send: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
39
+ readonly only_admins_edit_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
40
+ readonly disappearing_seconds: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
41
+ }, undefined>, undefined>;
42
+ readonly members: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StrictObjectSchema<{
43
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
44
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
45
+ readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
46
+ readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
47
+ readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
48
+ readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
49
+ readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
50
+ readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
51
+ readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
52
+ readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
53
+ readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
54
+ readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
55
+ readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
56
+ readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
57
+ readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
58
+ }, undefined>, undefined>, undefined>, undefined>;
59
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
60
+ readonly entries: Pick<{
61
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
62
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
63
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
64
+ readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
65
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
66
+ readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
67
+ readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
68
+ readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
69
+ readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
70
+ readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
71
+ readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
72
+ readonly muted_until: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
73
+ readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
74
+ readonly marked_unread: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
75
+ readonly membership_state: v.OptionalSchema<v.PicklistSchema<["joined", "left", "public", "imported", "archived", "external"], undefined>, undefined>;
76
+ readonly parent_chat_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
77
+ readonly scope: v.OptionalSchema<v.PicklistSchema<["personal", "work"], undefined>, undefined>;
78
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
79
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
80
+ readonly invite_link: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
81
+ readonly settings: v.OptionalSchema<v.StrictObjectSchema<{
82
+ readonly all_can_pin: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
83
+ readonly only_admins_add: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
84
+ readonly only_admins_call: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
85
+ readonly only_owner_edits_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
86
+ readonly members_see_link: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
87
+ readonly join_approval: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
88
+ readonly only_admins_send: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
89
+ readonly only_admins_edit_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
90
+ readonly disappearing_seconds: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
91
+ }, undefined>, undefined>;
92
+ readonly members: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StrictObjectSchema<{
93
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
94
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
95
+ readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
96
+ readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
97
+ readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
98
+ readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
99
+ readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
100
+ readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
101
+ readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
102
+ readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
103
+ readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
104
+ readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
105
+ readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
106
+ readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
107
+ readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
108
+ }, undefined>, undefined>, undefined>, undefined>;
109
+ }, "id" | "kind" | "title">;
110
+ readonly "~standard": v.StandardProps<{
111
+ id: string;
112
+ title: string | null;
113
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
114
+ }, {
115
+ id: string;
116
+ title: string | null;
117
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
118
+ }>;
119
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
120
+ id: string;
121
+ title: string | null;
122
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
123
+ }, v.MinLengthIssue<string, 1> | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue>;
124
+ readonly "~types"?: {
125
+ readonly input: {
126
+ id: string;
127
+ title: string | null;
128
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
129
+ };
130
+ readonly output: {
131
+ id: string;
132
+ title: string | null;
133
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
134
+ };
135
+ readonly issue: v.MinLengthIssue<string, 1> | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue;
136
+ } | undefined;
137
+ };
138
+ readonly messages: v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
139
+ readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
140
+ readonly text: v.StringSchema<undefined>;
141
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
142
+ }, undefined>, v.StrictObjectSchema<{
143
+ readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
144
+ readonly text: v.StringSchema<undefined>;
145
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
146
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
147
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
148
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
149
+ readonly reply_to: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
150
+ }, undefined>, v.StrictObjectSchema<{
151
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
152
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
153
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
154
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
155
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
156
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
157
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
158
+ readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
159
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
160
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
161
+ readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
162
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
163
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
164
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
165
+ readonly kind: v.StringSchema<undefined>;
166
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
167
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
168
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
169
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
170
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
171
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
172
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
173
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
174
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
175
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
176
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
177
+ readonly origin: v.StringSchema<undefined>;
178
+ readonly extractor: v.StringSchema<undefined>;
179
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
180
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
181
+ }, undefined>, undefined>;
182
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
183
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
184
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
185
+ readonly text: v.StringSchema<undefined>;
186
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
187
+ }, undefined>, undefined>, undefined>, undefined>;
188
+ }, undefined>, undefined>;
189
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
190
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
191
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
192
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
193
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
194
+ readonly text: v.StringSchema<undefined>;
195
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
196
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
197
+ readonly kind: v.StringSchema<undefined>;
198
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
199
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
200
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
201
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
202
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
203
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
204
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
205
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
206
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
207
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
208
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
209
+ readonly origin: v.StringSchema<undefined>;
210
+ readonly extractor: v.StringSchema<undefined>;
211
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
212
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
213
+ }, undefined>, undefined>;
214
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
215
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
216
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
217
+ readonly text: v.StringSchema<undefined>;
218
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
219
+ }, undefined>, undefined>, undefined>, undefined>;
220
+ }, undefined>, undefined>;
221
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
222
+ }, undefined>, undefined>;
223
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
224
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
225
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
226
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
227
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
228
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
229
+ readonly text: v.StringSchema<undefined>;
230
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
231
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
232
+ readonly kind: v.StringSchema<undefined>;
233
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
234
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
235
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
236
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
237
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
238
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
239
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
240
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
241
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
242
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
243
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
244
+ readonly origin: v.StringSchema<undefined>;
245
+ readonly extractor: v.StringSchema<undefined>;
246
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
247
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
248
+ }, undefined>, undefined>;
249
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
250
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
251
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
252
+ readonly text: v.StringSchema<undefined>;
253
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
254
+ }, undefined>, undefined>, undefined>, undefined>;
255
+ }, undefined>, undefined>;
256
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
257
+ }, undefined>, undefined>;
258
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
259
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
260
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
261
+ readonly delivery: v.OptionalSchema<v.PicklistSchema<["delivered", "read"], undefined>, undefined>;
262
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
263
+ readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
264
+ readonly text: v.StringSchema<undefined>;
265
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
266
+ readonly reactions: v.NullableSchema<v.StrictObjectSchema<{
267
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
268
+ readonly reaction: v.StringSchema<undefined>;
269
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
270
+ }, undefined>, undefined>;
271
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
272
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
273
+ }, undefined>, undefined>;
274
+ readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
275
+ readonly email: v.OptionalSchema<v.StrictObjectSchema<{
276
+ readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
277
+ readonly from: v.NullableSchema<v.StrictObjectSchema<{
278
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
279
+ readonly address: v.StringSchema<undefined>;
280
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
281
+ }, undefined>, undefined>;
282
+ readonly to: v.ArraySchema<v.StrictObjectSchema<{
283
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
284
+ readonly address: v.StringSchema<undefined>;
285
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
286
+ }, undefined>, undefined>;
287
+ readonly cc: v.ArraySchema<v.StrictObjectSchema<{
288
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
289
+ readonly address: v.StringSchema<undefined>;
290
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
291
+ }, undefined>, undefined>;
292
+ readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
293
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
294
+ readonly address: v.StringSchema<undefined>;
295
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
296
+ }, undefined>, undefined>;
297
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
298
+ readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
299
+ readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
300
+ readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
301
+ readonly sender_score: v.OptionalSchema<v.StrictObjectSchema<{
302
+ readonly score: v.NumberSchema<undefined>;
303
+ readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
304
+ readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
305
+ }, undefined>, undefined>;
306
+ readonly reply_to: v.ArraySchema<v.StrictObjectSchema<{
307
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
308
+ readonly address: v.StringSchema<undefined>;
309
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
310
+ }, undefined>, undefined>;
311
+ }, undefined>, undefined>;
312
+ readonly counter_observations: v.OptionalSchema<Omit<v.StrictObjectSchema<{
313
+ readonly views: v.StrictObjectSchema<{
314
+ readonly value: v.NumberSchema<undefined>;
315
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
316
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
317
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
318
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
319
+ readonly reaction: v.StringSchema<undefined>;
320
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
321
+ }, undefined>, undefined>;
322
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
323
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
324
+ }, undefined>, undefined>;
325
+ }, undefined>;
326
+ readonly reactions: v.StrictObjectSchema<{
327
+ readonly value: v.NumberSchema<undefined>;
328
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
329
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
330
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
331
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
332
+ readonly reaction: v.StringSchema<undefined>;
333
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
334
+ }, undefined>, undefined>;
335
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
336
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
337
+ }, undefined>, undefined>;
338
+ }, undefined>;
339
+ readonly comments: v.StrictObjectSchema<{
340
+ readonly value: v.NumberSchema<undefined>;
341
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
342
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
343
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
344
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
345
+ readonly reaction: v.StringSchema<undefined>;
346
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
347
+ }, undefined>, undefined>;
348
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
349
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
350
+ }, undefined>, undefined>;
351
+ }, undefined>;
352
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
353
+ readonly entries: {
354
+ readonly views: v.OptionalSchema<v.StrictObjectSchema<{
355
+ readonly value: v.NumberSchema<undefined>;
356
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
357
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
358
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
359
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
360
+ readonly reaction: v.StringSchema<undefined>;
361
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
362
+ }, undefined>, undefined>;
363
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
364
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
365
+ }, undefined>, undefined>;
366
+ }, undefined>, undefined>;
367
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
368
+ readonly value: v.NumberSchema<undefined>;
369
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
370
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
371
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
372
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
373
+ readonly reaction: v.StringSchema<undefined>;
374
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
375
+ }, undefined>, undefined>;
376
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
377
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
378
+ }, undefined>, undefined>;
379
+ }, undefined>, undefined>;
380
+ readonly comments: v.OptionalSchema<v.StrictObjectSchema<{
381
+ readonly value: v.NumberSchema<undefined>;
382
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
383
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
384
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
385
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
386
+ readonly reaction: v.StringSchema<undefined>;
387
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
388
+ }, undefined>, undefined>;
389
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
390
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
391
+ }, undefined>, undefined>;
392
+ }, undefined>, undefined>;
393
+ };
394
+ readonly "~standard": v.StandardProps<{
395
+ views?: {
396
+ value: number;
397
+ observed_at: string;
398
+ source: "remote_fetch" | "remote_update";
399
+ reactions?: {
400
+ counts: {
401
+ reaction: string;
402
+ count: number;
403
+ }[];
404
+ mine: string | null;
405
+ total: number;
406
+ } | undefined;
407
+ } | undefined;
408
+ reactions?: {
409
+ value: number;
410
+ observed_at: string;
411
+ source: "remote_fetch" | "remote_update";
412
+ reactions?: {
413
+ counts: {
414
+ reaction: string;
415
+ count: number;
416
+ }[];
417
+ mine: string | null;
418
+ total: number;
419
+ } | undefined;
420
+ } | undefined;
421
+ comments?: {
422
+ value: number;
423
+ observed_at: string;
424
+ source: "remote_fetch" | "remote_update";
425
+ reactions?: {
426
+ counts: {
427
+ reaction: string;
428
+ count: number;
429
+ }[];
430
+ mine: string | null;
431
+ total: number;
432
+ } | undefined;
433
+ } | undefined;
434
+ }, {
435
+ views?: {
436
+ value: number;
437
+ observed_at: string;
438
+ source: "remote_fetch" | "remote_update";
439
+ reactions?: {
440
+ counts: {
441
+ reaction: string;
442
+ count: number;
443
+ }[];
444
+ mine: string | null;
445
+ total: number;
446
+ } | undefined;
447
+ } | undefined;
448
+ reactions?: {
449
+ value: number;
450
+ observed_at: string;
451
+ source: "remote_fetch" | "remote_update";
452
+ reactions?: {
453
+ counts: {
454
+ reaction: string;
455
+ count: number;
456
+ }[];
457
+ mine: string | null;
458
+ total: number;
459
+ } | undefined;
460
+ } | undefined;
461
+ comments?: {
462
+ value: number;
463
+ observed_at: string;
464
+ source: "remote_fetch" | "remote_update";
465
+ reactions?: {
466
+ counts: {
467
+ reaction: string;
468
+ count: number;
469
+ }[];
470
+ mine: string | null;
471
+ total: number;
472
+ } | undefined;
473
+ } | undefined;
474
+ }>;
475
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
476
+ views?: {
477
+ value: number;
478
+ observed_at: string;
479
+ source: "remote_fetch" | "remote_update";
480
+ reactions?: {
481
+ counts: {
482
+ reaction: string;
483
+ count: number;
484
+ }[];
485
+ mine: string | null;
486
+ total: number;
487
+ } | undefined;
488
+ } | undefined;
489
+ reactions?: {
490
+ value: number;
491
+ observed_at: string;
492
+ source: "remote_fetch" | "remote_update";
493
+ reactions?: {
494
+ counts: {
495
+ reaction: string;
496
+ count: number;
497
+ }[];
498
+ mine: string | null;
499
+ total: number;
500
+ } | undefined;
501
+ } | undefined;
502
+ comments?: {
503
+ value: number;
504
+ observed_at: string;
505
+ source: "remote_fetch" | "remote_update";
506
+ reactions?: {
507
+ counts: {
508
+ reaction: string;
509
+ count: number;
510
+ }[];
511
+ mine: string | null;
512
+ total: number;
513
+ } | undefined;
514
+ } | undefined;
515
+ }, v.ArrayIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue>;
516
+ readonly "~types"?: {
517
+ readonly input: {
518
+ views?: {
519
+ value: number;
520
+ observed_at: string;
521
+ source: "remote_fetch" | "remote_update";
522
+ reactions?: {
523
+ counts: {
524
+ reaction: string;
525
+ count: number;
526
+ }[];
527
+ mine: string | null;
528
+ total: number;
529
+ } | undefined;
530
+ } | undefined;
531
+ reactions?: {
532
+ value: number;
533
+ observed_at: string;
534
+ source: "remote_fetch" | "remote_update";
535
+ reactions?: {
536
+ counts: {
537
+ reaction: string;
538
+ count: number;
539
+ }[];
540
+ mine: string | null;
541
+ total: number;
542
+ } | undefined;
543
+ } | undefined;
544
+ comments?: {
545
+ value: number;
546
+ observed_at: string;
547
+ source: "remote_fetch" | "remote_update";
548
+ reactions?: {
549
+ counts: {
550
+ reaction: string;
551
+ count: number;
552
+ }[];
553
+ mine: string | null;
554
+ total: number;
555
+ } | undefined;
556
+ } | undefined;
557
+ };
558
+ readonly output: {
559
+ views?: {
560
+ value: number;
561
+ observed_at: string;
562
+ source: "remote_fetch" | "remote_update";
563
+ reactions?: {
564
+ counts: {
565
+ reaction: string;
566
+ count: number;
567
+ }[];
568
+ mine: string | null;
569
+ total: number;
570
+ } | undefined;
571
+ } | undefined;
572
+ reactions?: {
573
+ value: number;
574
+ observed_at: string;
575
+ source: "remote_fetch" | "remote_update";
576
+ reactions?: {
577
+ counts: {
578
+ reaction: string;
579
+ count: number;
580
+ }[];
581
+ mine: string | null;
582
+ total: number;
583
+ } | undefined;
584
+ } | undefined;
585
+ comments?: {
586
+ value: number;
587
+ observed_at: string;
588
+ source: "remote_fetch" | "remote_update";
589
+ reactions?: {
590
+ counts: {
591
+ reaction: string;
592
+ count: number;
593
+ }[];
594
+ mine: string | null;
595
+ total: number;
596
+ } | undefined;
597
+ } | undefined;
598
+ };
599
+ readonly issue: v.ArrayIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue;
600
+ } | undefined;
601
+ }, undefined>;
602
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
603
+ }, undefined>], undefined>, undefined>;
604
+ readonly complete: v.BooleanSchema<undefined>;
605
+ readonly more: v.BooleanSchema<undefined>;
606
+ }, undefined>, undefined>;
607
+ readonly limits: v.StrictObjectSchema<{
608
+ readonly messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
609
+ }, undefined>;
610
+ }, undefined>;
611
+ /** --chat returns selected message windows; without it the result is the cross-account context. */
612
+ export declare const contactContext: v.UnionSchema<[v.StrictObjectSchema<{
613
+ readonly person: v.StrictObjectSchema<{
614
+ readonly uid: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
615
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
616
+ readonly identities: v.ArraySchema<v.StrictObjectSchema<{
617
+ readonly provider: v.StringSchema<undefined>;
618
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
619
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
620
+ readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
621
+ readonly is_bot: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
622
+ readonly accounts: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
623
+ readonly method: v.StringSchema<undefined>;
624
+ readonly linked_by: v.StringSchema<undefined>;
625
+ readonly linked_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
626
+ }, undefined>, undefined>;
627
+ readonly provider: v.StringSchema<undefined>;
628
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
629
+ }, undefined>;
630
+ readonly shared: v.ArraySchema<v.StrictObjectSchema<{
631
+ readonly provider: v.StringSchema<undefined>;
632
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
633
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
634
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
635
+ readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
636
+ readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
637
+ }, undefined>, undefined>;
638
+ readonly last: v.StrictObjectSchema<{
639
+ readonly from_them: v.NullableSchema<v.StrictObjectSchema<{
640
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
641
+ readonly provider: v.StringSchema<undefined>;
642
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
643
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
644
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
645
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
646
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
647
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
648
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
649
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
650
+ readonly text: v.StringSchema<undefined>;
651
+ }, undefined>, undefined>;
652
+ readonly from_me: v.NullableSchema<v.StrictObjectSchema<{
653
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
654
+ readonly provider: v.StringSchema<undefined>;
655
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
656
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
657
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
658
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
659
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
660
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
661
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
662
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
663
+ readonly text: v.StringSchema<undefined>;
664
+ }, undefined>, undefined>;
665
+ readonly from_them_anywhere: v.NullableSchema<v.StrictObjectSchema<{
666
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
667
+ readonly provider: v.StringSchema<undefined>;
668
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
669
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
670
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
671
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
672
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
673
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
674
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
675
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
676
+ readonly text: v.StringSchema<undefined>;
677
+ }, undefined>, undefined>;
678
+ }, undefined>;
679
+ readonly recent: v.StrictObjectSchema<{
680
+ readonly direct: v.ArraySchema<v.StrictObjectSchema<{
681
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
682
+ readonly provider: v.StringSchema<undefined>;
683
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
684
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
685
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
686
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
687
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
688
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
689
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
690
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
691
+ readonly text: v.StringSchema<undefined>;
692
+ }, undefined>, undefined>;
693
+ readonly groups: v.ArraySchema<v.StrictObjectSchema<{
694
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
695
+ readonly provider: v.StringSchema<undefined>;
696
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
697
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
698
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
699
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
700
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
701
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
702
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
703
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
704
+ readonly text: v.StringSchema<undefined>;
705
+ }, undefined>, undefined>;
706
+ }, undefined>;
707
+ readonly mentions: v.ArraySchema<v.StrictObjectSchema<{
708
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
709
+ readonly provider: v.StringSchema<undefined>;
710
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
711
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
712
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
713
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
714
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
715
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
716
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
717
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
718
+ readonly text: v.StringSchema<undefined>;
719
+ }, undefined>, undefined>;
720
+ readonly limits: v.StrictObjectSchema<{
721
+ readonly messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
722
+ readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
723
+ }, undefined>;
724
+ readonly complete: v.BooleanSchema<undefined>;
725
+ readonly not_read: v.ArraySchema<v.StrictObjectSchema<{
726
+ readonly provider: v.StringSchema<undefined>;
727
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
728
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
729
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
730
+ readonly reason: v.PicklistSchema<["not_fetched", "partial"], undefined>;
731
+ }, undefined>, undefined>;
732
+ }, undefined>, v.StrictObjectSchema<{
733
+ readonly person: v.StrictObjectSchema<{
734
+ readonly uid: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
735
+ readonly provider: v.StringSchema<undefined>;
736
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
737
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
738
+ }, undefined>;
739
+ readonly chats: v.ArraySchema<v.StrictObjectSchema<{
740
+ readonly chat: Omit<v.StrictObjectSchema<{
741
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
742
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
743
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
744
+ readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
745
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
746
+ readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
747
+ readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
748
+ readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
749
+ readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
750
+ readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
751
+ readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
752
+ readonly muted_until: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
753
+ readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
754
+ readonly marked_unread: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
755
+ readonly membership_state: v.OptionalSchema<v.PicklistSchema<["joined", "left", "public", "imported", "archived", "external"], undefined>, undefined>;
756
+ readonly parent_chat_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
757
+ readonly scope: v.OptionalSchema<v.PicklistSchema<["personal", "work"], undefined>, undefined>;
758
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
759
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
760
+ readonly invite_link: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
761
+ readonly settings: v.OptionalSchema<v.StrictObjectSchema<{
762
+ readonly all_can_pin: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
763
+ readonly only_admins_add: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
764
+ readonly only_admins_call: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
765
+ readonly only_owner_edits_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
766
+ readonly members_see_link: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
767
+ readonly join_approval: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
768
+ readonly only_admins_send: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
769
+ readonly only_admins_edit_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
770
+ readonly disappearing_seconds: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
771
+ }, undefined>, undefined>;
772
+ readonly members: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StrictObjectSchema<{
773
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
774
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
775
+ readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
776
+ readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
777
+ readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
778
+ readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
779
+ readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
780
+ readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
781
+ readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
782
+ readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
783
+ readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
784
+ readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
785
+ readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
786
+ readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
787
+ readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
788
+ }, undefined>, undefined>, undefined>, undefined>;
789
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
790
+ readonly entries: Pick<{
791
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
792
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
793
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
794
+ readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
795
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
796
+ readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
797
+ readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
798
+ readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
799
+ readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
800
+ readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
801
+ readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
802
+ readonly muted_until: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
803
+ readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
804
+ readonly marked_unread: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
805
+ readonly membership_state: v.OptionalSchema<v.PicklistSchema<["joined", "left", "public", "imported", "archived", "external"], undefined>, undefined>;
806
+ readonly parent_chat_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
807
+ readonly scope: v.OptionalSchema<v.PicklistSchema<["personal", "work"], undefined>, undefined>;
808
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
809
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
810
+ readonly invite_link: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
811
+ readonly settings: v.OptionalSchema<v.StrictObjectSchema<{
812
+ readonly all_can_pin: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
813
+ readonly only_admins_add: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
814
+ readonly only_admins_call: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
815
+ readonly only_owner_edits_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
816
+ readonly members_see_link: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
817
+ readonly join_approval: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
818
+ readonly only_admins_send: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
819
+ readonly only_admins_edit_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
820
+ readonly disappearing_seconds: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
821
+ }, undefined>, undefined>;
822
+ readonly members: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StrictObjectSchema<{
823
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
824
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
825
+ readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
826
+ readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
827
+ readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
828
+ readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
829
+ readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
830
+ readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
831
+ readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
832
+ readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
833
+ readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
834
+ readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
835
+ readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
836
+ readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
837
+ readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
838
+ }, undefined>, undefined>, undefined>, undefined>;
839
+ }, "id" | "kind" | "title">;
840
+ readonly "~standard": v.StandardProps<{
841
+ id: string;
842
+ title: string | null;
843
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
844
+ }, {
845
+ id: string;
846
+ title: string | null;
847
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
848
+ }>;
849
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
850
+ id: string;
851
+ title: string | null;
852
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
853
+ }, v.MinLengthIssue<string, 1> | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue>;
854
+ readonly "~types"?: {
855
+ readonly input: {
856
+ id: string;
857
+ title: string | null;
858
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
859
+ };
860
+ readonly output: {
861
+ id: string;
862
+ title: string | null;
863
+ kind: "channel" | "dialog" | "group" | "saved" | "unknown";
864
+ };
865
+ readonly issue: v.MinLengthIssue<string, 1> | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue;
866
+ } | undefined;
867
+ };
868
+ readonly messages: v.ArraySchema<v.UnionSchema<[v.StrictObjectSchema<{
869
+ readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
870
+ readonly text: v.StringSchema<undefined>;
871
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
872
+ }, undefined>, v.StrictObjectSchema<{
873
+ readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
874
+ readonly text: v.StringSchema<undefined>;
875
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
876
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
877
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
878
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
879
+ readonly reply_to: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
880
+ }, undefined>, v.StrictObjectSchema<{
881
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
882
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
883
+ readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
884
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
885
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
886
+ readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
887
+ readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
888
+ readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
889
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
890
+ readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
891
+ readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
892
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
893
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
894
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
895
+ readonly kind: v.StringSchema<undefined>;
896
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
897
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
898
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
899
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
900
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
901
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
902
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
903
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
904
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
905
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
906
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
907
+ readonly origin: v.StringSchema<undefined>;
908
+ readonly extractor: v.StringSchema<undefined>;
909
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
910
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
911
+ }, undefined>, undefined>;
912
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
913
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
914
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
915
+ readonly text: v.StringSchema<undefined>;
916
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
917
+ }, undefined>, undefined>, undefined>, undefined>;
918
+ }, undefined>, undefined>;
919
+ readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
920
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
921
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
922
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
923
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
924
+ readonly text: v.StringSchema<undefined>;
925
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
926
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
927
+ readonly kind: v.StringSchema<undefined>;
928
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
929
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
930
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
931
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
932
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
933
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
934
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
935
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
936
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
937
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
938
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
939
+ readonly origin: v.StringSchema<undefined>;
940
+ readonly extractor: v.StringSchema<undefined>;
941
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
942
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
943
+ }, undefined>, undefined>;
944
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
945
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
946
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
947
+ readonly text: v.StringSchema<undefined>;
948
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
949
+ }, undefined>, undefined>, undefined>, undefined>;
950
+ }, undefined>, undefined>;
951
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
952
+ }, undefined>, undefined>;
953
+ readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
954
+ readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
955
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
956
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
957
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
958
+ readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
959
+ readonly text: v.StringSchema<undefined>;
960
+ readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
961
+ readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
962
+ readonly kind: v.StringSchema<undefined>;
963
+ readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
964
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
965
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
966
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
967
+ readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
968
+ readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
969
+ readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
970
+ readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
971
+ readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
972
+ readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
973
+ readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
974
+ readonly origin: v.StringSchema<undefined>;
975
+ readonly extractor: v.StringSchema<undefined>;
976
+ readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
977
+ readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
978
+ }, undefined>, undefined>;
979
+ readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
980
+ readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
981
+ readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
982
+ readonly text: v.StringSchema<undefined>;
983
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
984
+ }, undefined>, undefined>, undefined>, undefined>;
985
+ }, undefined>, undefined>;
986
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
987
+ }, undefined>, undefined>;
988
+ readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
989
+ readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
990
+ readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
991
+ readonly delivery: v.OptionalSchema<v.PicklistSchema<["delivered", "read"], undefined>, undefined>;
992
+ readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
993
+ readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
994
+ readonly text: v.StringSchema<undefined>;
995
+ readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
996
+ readonly reactions: v.NullableSchema<v.StrictObjectSchema<{
997
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
998
+ readonly reaction: v.StringSchema<undefined>;
999
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1000
+ }, undefined>, undefined>;
1001
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1002
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1003
+ }, undefined>, undefined>;
1004
+ readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1005
+ readonly email: v.OptionalSchema<v.StrictObjectSchema<{
1006
+ readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1007
+ readonly from: v.NullableSchema<v.StrictObjectSchema<{
1008
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1009
+ readonly address: v.StringSchema<undefined>;
1010
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1011
+ }, undefined>, undefined>;
1012
+ readonly to: v.ArraySchema<v.StrictObjectSchema<{
1013
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1014
+ readonly address: v.StringSchema<undefined>;
1015
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1016
+ }, undefined>, undefined>;
1017
+ readonly cc: v.ArraySchema<v.StrictObjectSchema<{
1018
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1019
+ readonly address: v.StringSchema<undefined>;
1020
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1021
+ }, undefined>, undefined>;
1022
+ readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
1023
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1024
+ readonly address: v.StringSchema<undefined>;
1025
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1026
+ }, undefined>, undefined>;
1027
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1028
+ readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1029
+ readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1030
+ readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1031
+ readonly sender_score: v.OptionalSchema<v.StrictObjectSchema<{
1032
+ readonly score: v.NumberSchema<undefined>;
1033
+ readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1034
+ readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
1035
+ }, undefined>, undefined>;
1036
+ readonly reply_to: v.ArraySchema<v.StrictObjectSchema<{
1037
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1038
+ readonly address: v.StringSchema<undefined>;
1039
+ readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1040
+ }, undefined>, undefined>;
1041
+ }, undefined>, undefined>;
1042
+ readonly counter_observations: v.OptionalSchema<Omit<v.StrictObjectSchema<{
1043
+ readonly views: v.StrictObjectSchema<{
1044
+ readonly value: v.NumberSchema<undefined>;
1045
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1046
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
1047
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
1048
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
1049
+ readonly reaction: v.StringSchema<undefined>;
1050
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1051
+ }, undefined>, undefined>;
1052
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1053
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1054
+ }, undefined>, undefined>;
1055
+ }, undefined>;
1056
+ readonly reactions: v.StrictObjectSchema<{
1057
+ readonly value: v.NumberSchema<undefined>;
1058
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1059
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
1060
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
1061
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
1062
+ readonly reaction: v.StringSchema<undefined>;
1063
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1064
+ }, undefined>, undefined>;
1065
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1066
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1067
+ }, undefined>, undefined>;
1068
+ }, undefined>;
1069
+ readonly comments: v.StrictObjectSchema<{
1070
+ readonly value: v.NumberSchema<undefined>;
1071
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1072
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
1073
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
1074
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
1075
+ readonly reaction: v.StringSchema<undefined>;
1076
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1077
+ }, undefined>, undefined>;
1078
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1079
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1080
+ }, undefined>, undefined>;
1081
+ }, undefined>;
1082
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
1083
+ readonly entries: {
1084
+ readonly views: v.OptionalSchema<v.StrictObjectSchema<{
1085
+ readonly value: v.NumberSchema<undefined>;
1086
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1087
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
1088
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
1089
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
1090
+ readonly reaction: v.StringSchema<undefined>;
1091
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1092
+ }, undefined>, undefined>;
1093
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1094
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1095
+ }, undefined>, undefined>;
1096
+ }, undefined>, undefined>;
1097
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
1098
+ readonly value: v.NumberSchema<undefined>;
1099
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1100
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
1101
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
1102
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
1103
+ readonly reaction: v.StringSchema<undefined>;
1104
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1105
+ }, undefined>, undefined>;
1106
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1107
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1108
+ }, undefined>, undefined>;
1109
+ }, undefined>, undefined>;
1110
+ readonly comments: v.OptionalSchema<v.StrictObjectSchema<{
1111
+ readonly value: v.NumberSchema<undefined>;
1112
+ readonly observed_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1113
+ readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
1114
+ readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
1115
+ readonly counts: v.ArraySchema<v.StrictObjectSchema<{
1116
+ readonly reaction: v.StringSchema<undefined>;
1117
+ readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1118
+ }, undefined>, undefined>;
1119
+ readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1120
+ readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1121
+ }, undefined>, undefined>;
1122
+ }, undefined>, undefined>;
1123
+ };
1124
+ readonly "~standard": v.StandardProps<{
1125
+ views?: {
1126
+ value: number;
1127
+ observed_at: string;
1128
+ source: "remote_fetch" | "remote_update";
1129
+ reactions?: {
1130
+ counts: {
1131
+ reaction: string;
1132
+ count: number;
1133
+ }[];
1134
+ mine: string | null;
1135
+ total: number;
1136
+ } | undefined;
1137
+ } | undefined;
1138
+ reactions?: {
1139
+ value: number;
1140
+ observed_at: string;
1141
+ source: "remote_fetch" | "remote_update";
1142
+ reactions?: {
1143
+ counts: {
1144
+ reaction: string;
1145
+ count: number;
1146
+ }[];
1147
+ mine: string | null;
1148
+ total: number;
1149
+ } | undefined;
1150
+ } | undefined;
1151
+ comments?: {
1152
+ value: number;
1153
+ observed_at: string;
1154
+ source: "remote_fetch" | "remote_update";
1155
+ reactions?: {
1156
+ counts: {
1157
+ reaction: string;
1158
+ count: number;
1159
+ }[];
1160
+ mine: string | null;
1161
+ total: number;
1162
+ } | undefined;
1163
+ } | undefined;
1164
+ }, {
1165
+ views?: {
1166
+ value: number;
1167
+ observed_at: string;
1168
+ source: "remote_fetch" | "remote_update";
1169
+ reactions?: {
1170
+ counts: {
1171
+ reaction: string;
1172
+ count: number;
1173
+ }[];
1174
+ mine: string | null;
1175
+ total: number;
1176
+ } | undefined;
1177
+ } | undefined;
1178
+ reactions?: {
1179
+ value: number;
1180
+ observed_at: string;
1181
+ source: "remote_fetch" | "remote_update";
1182
+ reactions?: {
1183
+ counts: {
1184
+ reaction: string;
1185
+ count: number;
1186
+ }[];
1187
+ mine: string | null;
1188
+ total: number;
1189
+ } | undefined;
1190
+ } | undefined;
1191
+ comments?: {
1192
+ value: number;
1193
+ observed_at: string;
1194
+ source: "remote_fetch" | "remote_update";
1195
+ reactions?: {
1196
+ counts: {
1197
+ reaction: string;
1198
+ count: number;
1199
+ }[];
1200
+ mine: string | null;
1201
+ total: number;
1202
+ } | undefined;
1203
+ } | undefined;
1204
+ }>;
1205
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
1206
+ views?: {
1207
+ value: number;
1208
+ observed_at: string;
1209
+ source: "remote_fetch" | "remote_update";
1210
+ reactions?: {
1211
+ counts: {
1212
+ reaction: string;
1213
+ count: number;
1214
+ }[];
1215
+ mine: string | null;
1216
+ total: number;
1217
+ } | undefined;
1218
+ } | undefined;
1219
+ reactions?: {
1220
+ value: number;
1221
+ observed_at: string;
1222
+ source: "remote_fetch" | "remote_update";
1223
+ reactions?: {
1224
+ counts: {
1225
+ reaction: string;
1226
+ count: number;
1227
+ }[];
1228
+ mine: string | null;
1229
+ total: number;
1230
+ } | undefined;
1231
+ } | undefined;
1232
+ comments?: {
1233
+ value: number;
1234
+ observed_at: string;
1235
+ source: "remote_fetch" | "remote_update";
1236
+ reactions?: {
1237
+ counts: {
1238
+ reaction: string;
1239
+ count: number;
1240
+ }[];
1241
+ mine: string | null;
1242
+ total: number;
1243
+ } | undefined;
1244
+ } | undefined;
1245
+ }, v.ArrayIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue>;
1246
+ readonly "~types"?: {
1247
+ readonly input: {
1248
+ views?: {
1249
+ value: number;
1250
+ observed_at: string;
1251
+ source: "remote_fetch" | "remote_update";
1252
+ reactions?: {
1253
+ counts: {
1254
+ reaction: string;
1255
+ count: number;
1256
+ }[];
1257
+ mine: string | null;
1258
+ total: number;
1259
+ } | undefined;
1260
+ } | undefined;
1261
+ reactions?: {
1262
+ value: number;
1263
+ observed_at: string;
1264
+ source: "remote_fetch" | "remote_update";
1265
+ reactions?: {
1266
+ counts: {
1267
+ reaction: string;
1268
+ count: number;
1269
+ }[];
1270
+ mine: string | null;
1271
+ total: number;
1272
+ } | undefined;
1273
+ } | undefined;
1274
+ comments?: {
1275
+ value: number;
1276
+ observed_at: string;
1277
+ source: "remote_fetch" | "remote_update";
1278
+ reactions?: {
1279
+ counts: {
1280
+ reaction: string;
1281
+ count: number;
1282
+ }[];
1283
+ mine: string | null;
1284
+ total: number;
1285
+ } | undefined;
1286
+ } | undefined;
1287
+ };
1288
+ readonly output: {
1289
+ views?: {
1290
+ value: number;
1291
+ observed_at: string;
1292
+ source: "remote_fetch" | "remote_update";
1293
+ reactions?: {
1294
+ counts: {
1295
+ reaction: string;
1296
+ count: number;
1297
+ }[];
1298
+ mine: string | null;
1299
+ total: number;
1300
+ } | undefined;
1301
+ } | undefined;
1302
+ reactions?: {
1303
+ value: number;
1304
+ observed_at: string;
1305
+ source: "remote_fetch" | "remote_update";
1306
+ reactions?: {
1307
+ counts: {
1308
+ reaction: string;
1309
+ count: number;
1310
+ }[];
1311
+ mine: string | null;
1312
+ total: number;
1313
+ } | undefined;
1314
+ } | undefined;
1315
+ comments?: {
1316
+ value: number;
1317
+ observed_at: string;
1318
+ source: "remote_fetch" | "remote_update";
1319
+ reactions?: {
1320
+ counts: {
1321
+ reaction: string;
1322
+ count: number;
1323
+ }[];
1324
+ mine: string | null;
1325
+ total: number;
1326
+ } | undefined;
1327
+ } | undefined;
1328
+ };
1329
+ readonly issue: v.ArrayIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue;
1330
+ } | undefined;
1331
+ }, undefined>;
1332
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1333
+ }, undefined>], undefined>, undefined>;
1334
+ readonly complete: v.BooleanSchema<undefined>;
1335
+ readonly more: v.BooleanSchema<undefined>;
1336
+ }, undefined>, undefined>;
1337
+ readonly limits: v.StrictObjectSchema<{
1338
+ readonly messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1339
+ }, undefined>;
1340
+ }, undefined>], undefined>;
1341
+ export declare const contactPreparation: v.StrictObjectSchema<{
1342
+ readonly person: v.StrictObjectSchema<{
1343
+ readonly uid: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1344
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1345
+ readonly identities: v.ArraySchema<v.StrictObjectSchema<{
1346
+ readonly provider: v.StringSchema<undefined>;
1347
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1348
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1349
+ readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1350
+ readonly is_bot: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1351
+ readonly accounts: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1352
+ readonly method: v.StringSchema<undefined>;
1353
+ readonly linked_by: v.StringSchema<undefined>;
1354
+ readonly linked_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1355
+ }, undefined>, undefined>;
1356
+ readonly provider: v.StringSchema<undefined>;
1357
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1358
+ }, undefined>;
1359
+ readonly shared: v.ArraySchema<v.StrictObjectSchema<{
1360
+ readonly provider: v.StringSchema<undefined>;
1361
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1362
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1363
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1364
+ readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
1365
+ readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
1366
+ }, undefined>, undefined>;
1367
+ readonly last: v.StrictObjectSchema<{
1368
+ readonly from_them: v.NullableSchema<v.StrictObjectSchema<{
1369
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1370
+ readonly provider: v.StringSchema<undefined>;
1371
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1372
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1373
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1374
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1375
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1376
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1377
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1378
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1379
+ readonly text: v.StringSchema<undefined>;
1380
+ }, undefined>, undefined>;
1381
+ readonly from_me: v.NullableSchema<v.StrictObjectSchema<{
1382
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1383
+ readonly provider: v.StringSchema<undefined>;
1384
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1385
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1386
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1387
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1388
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1389
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1390
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1391
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1392
+ readonly text: v.StringSchema<undefined>;
1393
+ }, undefined>, undefined>;
1394
+ readonly from_them_anywhere: v.NullableSchema<v.StrictObjectSchema<{
1395
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1396
+ readonly provider: v.StringSchema<undefined>;
1397
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1398
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1399
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1400
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1401
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1402
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1403
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1404
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1405
+ readonly text: v.StringSchema<undefined>;
1406
+ }, undefined>, undefined>;
1407
+ }, undefined>;
1408
+ readonly recent: v.StrictObjectSchema<{
1409
+ readonly direct: v.ArraySchema<v.StrictObjectSchema<{
1410
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1411
+ readonly provider: v.StringSchema<undefined>;
1412
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1413
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1414
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1415
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1416
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1417
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1418
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1419
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1420
+ readonly text: v.StringSchema<undefined>;
1421
+ }, undefined>, undefined>;
1422
+ readonly groups: v.ArraySchema<v.StrictObjectSchema<{
1423
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1424
+ readonly provider: v.StringSchema<undefined>;
1425
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1426
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1427
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1428
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1429
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1430
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1431
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1432
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1433
+ readonly text: v.StringSchema<undefined>;
1434
+ }, undefined>, undefined>;
1435
+ }, undefined>;
1436
+ readonly mentions: v.ArraySchema<v.StrictObjectSchema<{
1437
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1438
+ readonly provider: v.StringSchema<undefined>;
1439
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1440
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1441
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1442
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1443
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1444
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1445
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1446
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1447
+ readonly text: v.StringSchema<undefined>;
1448
+ }, undefined>, undefined>;
1449
+ readonly limits: v.StrictObjectSchema<{
1450
+ readonly messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1451
+ readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1452
+ }, undefined>;
1453
+ readonly complete: v.BooleanSchema<undefined>;
1454
+ readonly not_read: v.ArraySchema<v.StrictObjectSchema<{
1455
+ readonly provider: v.StringSchema<undefined>;
1456
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1457
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1458
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1459
+ readonly reason: v.PicklistSchema<["not_fetched", "partial"], undefined>;
1460
+ }, undefined>, undefined>;
1461
+ readonly prepare: v.StrictObjectSchema<{
1462
+ readonly waiting: v.ArraySchema<v.StrictObjectSchema<{
1463
+ readonly provider: v.StringSchema<undefined>;
1464
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1465
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1466
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1467
+ readonly message: v.StrictObjectSchema<{
1468
+ readonly locator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1469
+ readonly provider: v.StringSchema<undefined>;
1470
+ readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1471
+ readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1472
+ readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1473
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1474
+ readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1475
+ readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1476
+ readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1477
+ readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1478
+ readonly text: v.StringSchema<undefined>;
1479
+ }, undefined>;
1480
+ readonly partial: v.BooleanSchema<undefined>;
1481
+ }, undefined>, undefined>;
1482
+ readonly tasks: v.ArraySchema<v.StrictObjectSchema<{
1483
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1484
+ readonly title: v.StringSchema<undefined>;
1485
+ readonly role: v.StringSchema<undefined>;
1486
+ readonly due_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
1487
+ readonly project: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1488
+ readonly source: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1489
+ readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1490
+ }, undefined>, undefined>;
1491
+ readonly facts: v.ArraySchema<v.StrictObjectSchema<{
1492
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1493
+ readonly type: v.StringSchema<undefined>;
1494
+ readonly statement: v.StringSchema<undefined>;
1495
+ readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1496
+ readonly project: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1497
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1498
+ }, undefined>, undefined>;
1499
+ readonly notes: v.ArraySchema<v.StrictObjectSchema<{
1500
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1501
+ readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1502
+ readonly text: v.StringSchema<undefined>;
1503
+ readonly revision: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1504
+ readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
1505
+ }, undefined>, undefined>;
1506
+ readonly meetings: v.ArraySchema<v.StrictObjectSchema<{
1507
+ readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1508
+ readonly cues: v.ArraySchema<v.StrictObjectSchema<{
1509
+ readonly reference: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1510
+ readonly fingerprint: v.StringSchema<undefined>;
1511
+ readonly transcript_id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1512
+ readonly content_hash: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1513
+ readonly position: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1514
+ readonly start_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1515
+ readonly end_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1516
+ readonly speaker_participant_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1517
+ readonly speaker_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1518
+ readonly text: v.StringSchema<undefined>;
1519
+ readonly revision: v.PicklistSchema<["current", "superseded"], undefined>;
1520
+ }, undefined>, undefined>;
1521
+ readonly cue_coverage: v.StrictObjectSchema<{
1522
+ readonly included: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1523
+ readonly omitted: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1524
+ readonly has_more: v.BooleanSchema<undefined>;
1525
+ }, undefined>;
1526
+ }, undefined>, undefined>;
1527
+ readonly limits: v.StrictObjectSchema<{
1528
+ readonly items: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1529
+ readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1530
+ }, undefined>;
1531
+ readonly coverage: v.StrictObjectSchema<{
1532
+ readonly waiting: v.StrictObjectSchema<{
1533
+ readonly included: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1534
+ readonly has_more: v.BooleanSchema<undefined>;
1535
+ readonly cut_by: v.NullableSchema<v.PicklistSchema<["limit", "bytes"], undefined>, undefined>;
1536
+ readonly rule: v.LiteralSchema<"their message is the newest the store holds in a one-to-one chat", undefined>;
1537
+ }, undefined>;
1538
+ readonly tasks: v.StrictObjectSchema<{
1539
+ readonly included: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1540
+ readonly has_more: v.BooleanSchema<undefined>;
1541
+ readonly cut_by: v.NullableSchema<v.PicklistSchema<["limit", "bytes"], undefined>, undefined>;
1542
+ readonly selection: v.LiteralSchema<"open, assigned to them in any role", undefined>;
1543
+ readonly accounts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1544
+ }, undefined>;
1545
+ readonly facts: v.StrictObjectSchema<{
1546
+ readonly included: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1547
+ readonly has_more: v.BooleanSchema<undefined>;
1548
+ readonly cut_by: v.NullableSchema<v.PicklistSchema<["limit", "bytes"], undefined>, undefined>;
1549
+ readonly selection: v.LiteralSchema<"accepted, about them or a project they are a member of", undefined>;
1550
+ }, undefined>;
1551
+ readonly notes: v.StrictObjectSchema<{
1552
+ readonly included: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1553
+ readonly has_more: v.BooleanSchema<undefined>;
1554
+ readonly cut_by: v.NullableSchema<v.PicklistSchema<["limit", "bytes"], undefined>, undefined>;
1555
+ readonly selection: v.LiteralSchema<"written by you, about them", undefined>;
1556
+ readonly withheld: v.OptionalSchema<v.LiteralSchema<"contacts.notes.list", undefined>, undefined>;
1557
+ }, undefined>;
1558
+ readonly meetings: v.StrictObjectSchema<{
1559
+ readonly included: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1560
+ readonly has_more: v.BooleanSchema<undefined>;
1561
+ readonly cut_by: v.NullableSchema<v.PicklistSchema<["limit", "bytes"], undefined>, undefined>;
1562
+ readonly read: v.LiteralSchema<"every account of the store that saw them", undefined>;
1563
+ readonly accounts: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1564
+ readonly pending: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1565
+ }, undefined>;
1566
+ }, undefined>;
1567
+ }, undefined>;
1568
+ }, undefined>;