@wirecat/cli-core 0.562.0 → 0.564.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 (142) hide show
  1. package/CHANGELOG.md +139 -0
  2. package/dist/calendar/mcp/index.d.ts +12 -12
  3. package/dist/cli/config-command.js +18 -1
  4. package/dist/cli/envelope.js +13 -1
  5. package/dist/cli/execution.js +1 -0
  6. package/dist/cli/messenger/archive-commands.js +17 -0
  7. package/dist/cli/messenger/catch-up-answers.d.ts +5 -0
  8. package/dist/cli/messenger/catch-up-answers.js +3 -0
  9. package/dist/cli/messenger/reply-stats-command.d.ts +4 -0
  10. package/dist/cli/messenger/reply-stats-command.js +57 -0
  11. package/dist/cli/messenger/search-answers.d.ts +1 -0
  12. package/dist/cli/messenger/search-answers.js +1 -1
  13. package/dist/cli/messenger/search-command.js +8 -0
  14. package/dist/cli/messenger/stats-answers.d.ts +6 -3
  15. package/dist/cli/messenger/stats-answers.js +39 -9
  16. package/dist/cli/messenger/stats-command.js +5 -0
  17. package/dist/cli/messenger/tasks-command.js +35 -14
  18. package/dist/cli/output-budget.d.ts +26 -0
  19. package/dist/cli/output-budget.js +73 -0
  20. package/dist/cli/program.js +14 -1
  21. package/dist/cli/settings.d.ts +5 -0
  22. package/dist/cli/settings.js +88 -5
  23. package/dist/cli/shared-command-exports.d.ts +8 -0
  24. package/dist/conversations/mail-text.d.ts +6 -0
  25. package/dist/conversations/mail-text.js +73 -0
  26. package/dist/domain/admin-statistics.d.ts +5 -0
  27. package/dist/domain/admin-statistics.js +4 -3
  28. package/dist/domain/calendar.d.ts +2 -0
  29. package/dist/domain/calendar.js +6 -0
  30. package/dist/entities/chat-stats.d.ts +16 -2
  31. package/dist/entities/chat-stats.js +18 -3
  32. package/dist/entities/index.d.ts +80 -802
  33. package/dist/entities/index.js +26 -16
  34. package/dist/entities/mail-counts.d.ts +15 -0
  35. package/dist/entities/mail-counts.js +16 -0
  36. package/dist/entities/meeting.d.ts +1 -1
  37. package/dist/entities/meeting.js +1 -1
  38. package/dist/entities/reply-stats.d.ts +33 -0
  39. package/dist/entities/reply-stats.js +19 -0
  40. package/dist/entities/store-records.d.ts +8 -0
  41. package/dist/entities/store-records.js +8 -0
  42. package/dist/errors/reasons.d.ts +1 -1
  43. package/dist/errors/reasons.js +7 -3
  44. package/dist/mail/attachments.d.ts +15 -2
  45. package/dist/mail/attachments.js +19 -3
  46. package/dist/mail/cli/index.d.ts +22 -1
  47. package/dist/mail/cli/index.js +28 -4
  48. package/dist/mail/cli/review.d.ts +5 -2
  49. package/dist/mail/cli/review.js +58 -43
  50. package/dist/mail/index.d.ts +4 -0
  51. package/dist/mail/index.js +4 -0
  52. package/dist/mail/partial.d.ts +3 -1
  53. package/dist/mail/partial.js +2 -2
  54. package/dist/mail/retry.d.ts +3 -1
  55. package/dist/mail/retry.js +3 -3
  56. package/dist/mail/stats.d.ts +50 -0
  57. package/dist/mail/stats.js +60 -0
  58. package/dist/mail/sync-types.d.ts +3 -0
  59. package/dist/mail/sync.js +5 -3
  60. package/dist/mail/whole.d.ts +28 -0
  61. package/dist/mail/whole.js +70 -0
  62. package/dist/meetings/index.d.ts +2 -2
  63. package/dist/meetings/index.js +2 -2
  64. package/dist/meetings/mcp/index.d.ts +15 -15
  65. package/dist/meetings/read-answers.d.ts +22 -1
  66. package/dist/meetings/read-answers.js +38 -0
  67. package/dist/meetings/stats.d.ts +44 -0
  68. package/dist/meetings/stats.js +77 -7
  69. package/dist/search/lucene/registry.js +2 -1
  70. package/dist/search/question-plan.d.ts +16 -0
  71. package/dist/search/question-plan.js +34 -0
  72. package/dist/services/events-search.d.ts +5 -1
  73. package/dist/services/events-search.js +10 -4
  74. package/dist/services/index.d.ts +3 -1
  75. package/dist/services/index.js +3 -1
  76. package/dist/services/meeting-stats.d.ts +12 -1
  77. package/dist/services/meeting-stats.js +12 -0
  78. package/dist/services/messages-discovery.d.ts +1 -5
  79. package/dist/services/messages-discovery.js +5 -18
  80. package/dist/services/messages-meaning.js +25 -3
  81. package/dist/services/messages.js +4 -3
  82. package/dist/services/notes-search.d.ts +5 -1
  83. package/dist/services/notes-search.js +16 -5
  84. package/dist/services/proposal-tasks.js +3 -12
  85. package/dist/services/proposals/ids.d.ts +2 -2
  86. package/dist/services/proposals/ids.js +5 -3
  87. package/dist/services/proposals/kinds/action.js +3 -2
  88. package/dist/services/proposals/kinds/findings.d.ts +1 -1
  89. package/dist/services/proposals/kinds/findings.js +1 -1
  90. package/dist/services/proposals/kinds/meeting-findings.d.ts +7 -0
  91. package/dist/services/proposals/kinds/meeting-findings.js +73 -0
  92. package/dist/services/proposals/kinds/task-close.d.ts +7 -0
  93. package/dist/services/proposals/kinds/task-close.js +76 -0
  94. package/dist/services/proposals/registry.js +12 -4
  95. package/dist/services/proposals/types.d.ts +2 -0
  96. package/dist/services/reply-stats.d.ts +48 -0
  97. package/dist/services/reply-stats.js +137 -0
  98. package/dist/services/search-all.d.ts +5 -0
  99. package/dist/services/search-all.js +47 -14
  100. package/dist/services/task-stats.d.ts +41 -0
  101. package/dist/services/task-stats.js +126 -0
  102. package/dist/services/tasks.d.ts +17 -4
  103. package/dist/services/tasks.js +31 -14
  104. package/dist/store/chats.d.ts +3 -1
  105. package/dist/store/chats.js +6 -0
  106. package/dist/store/decisions.d.ts +16 -11
  107. package/dist/store/decisions.js +11 -2
  108. package/dist/store/exports.d.ts +1 -1
  109. package/dist/store/exports.js +1 -1
  110. package/dist/store/index.d.ts +5 -4
  111. package/dist/store/index.js +3 -3
  112. package/dist/store/queries.d.ts +4 -0
  113. package/dist/store/queries.js +3 -0
  114. package/dist/store/sqlite/completeness.d.ts +17 -0
  115. package/dist/store/sqlite/completeness.js +49 -13
  116. package/dist/store/sqlite/email-locations.d.ts +4 -0
  117. package/dist/store/sqlite/email-locations.js +26 -11
  118. package/dist/store/sqlite/lucene-fields.d.ts +2 -0
  119. package/dist/store/sqlite/lucene-fields.js +5 -1
  120. package/dist/store/sqlite/lucene-groups.d.ts +15 -0
  121. package/dist/store/sqlite/lucene-groups.js +21 -0
  122. package/dist/store/sqlite/lucene.d.ts +2 -9
  123. package/dist/store/sqlite/lucene.js +1 -12
  124. package/dist/store/sqlite/mail-findings.js +1 -1
  125. package/dist/store/sqlite/meeting-findings.js +1 -1
  126. package/dist/store/sqlite/meeting-stats.d.ts +2 -0
  127. package/dist/store/sqlite/meeting-stats.js +27 -1
  128. package/dist/store/sqlite/proposed-actions.d.ts +2 -0
  129. package/dist/store/sqlite/proposed-actions.js +24 -17
  130. package/dist/store/sqlite/reply-times.d.ts +57 -0
  131. package/dist/store/sqlite/reply-times.js +113 -0
  132. package/dist/store/sqlite/retention.js +2 -7
  133. package/dist/store/sqlite/task-board.js +2 -0
  134. package/dist/store/sqlite/task-stats.d.ts +32 -0
  135. package/dist/store/sqlite/task-stats.js +45 -0
  136. package/dist/store/sqlite/tasks.d.ts +2 -1
  137. package/dist/store/sqlite/tasks.js +2 -0
  138. package/dist/store/sqlite/work-tasks.d.ts +12 -2
  139. package/dist/store/sqlite/work-tasks.js +35 -26
  140. package/dist/store/store.d.ts +1 -0
  141. package/package.json +1 -1
  142. package/parity.json +37 -1
@@ -42,6 +42,7 @@ import { joinRequest } from "./join-request.js";
42
42
  import { organization, project, reminder } from "./knowledge-lists.js";
43
43
  import { botAdmin, botMenuEntry, botProfile, botSeenChat, botTemplate, botWebhook, callRecord, scheduledJob, stickerInventory, topicIcon } from "./list-results.js";
44
44
  import { messageEvent, serveSummary, watchedMessage, watchItem } from "./listener.js";
45
+ import { mailCounts } from "./mail-counts.js";
45
46
  import { mediaArchive, mediaArchiveCheck, mediaArchiveMove, mediaArchiveTimer } from "./media-archive.js";
46
47
  import { meeting } from "./meeting.js";
47
48
  import { meetingProjectCandidates } from "./meeting-project-candidates.js";
@@ -71,11 +72,12 @@ import { reactionChange } from "./reaction-change.js";
71
72
  import { recipient, recipientAdded, recipientChange, recipientOff, recipientRemoved } from "./recipient.js";
72
73
  import { recordedRun, runDetails, runHit, runLocation } from "./recorded-run.js";
73
74
  import { relationship } from "./relationship.js";
75
+ import { responseTimes, waitingChats } from "./reply-stats.js";
74
76
  import { retention } from "./retention.js";
75
77
  import { savedSearch, searchHistoryClear } from "./saved-search.js";
76
78
  import { sendAttempt } from "./send-attempt.js";
77
79
  import { storeBackup, storeCheck, storeCopyRemoval, storeDecrypt, storeInfo, storeMigration, storeReindex, storeRepair, storeReset, storeRestore } from "./store-maintenance.js";
78
- import { storeChatStatus, storeClear, storeExport, storeGapPlan, storeGapRepair, storeJobCancel, storeJobClear, storeJobDetails, storeJobRetry } from "./store-records.js";
80
+ import { chatCoverage, storeChatStatus, storeClear, storeExport, storeGapPlan, storeGapRepair, storeJobCancel, storeJobClear, storeJobDetails, storeJobRetry } from "./store-records.js";
79
81
  import { storeTable } from "./store-table.js";
80
82
  import { automaticTags, tagChange } from "./tag-change.js";
81
83
  import { tagging } from "./tagging.js";
@@ -88,7 +90,7 @@ import { topic } from "./topic.js";
88
90
  * subset of its fields, never a renamed one. Commands move onto these one by one; until then, a schema
89
91
  * is the target, not a description of today's output.
90
92
  */
91
- export { account, accountChange, accountPrivacy, accountPrivacyChange, accountProfile, accountSession, adminReport, agenda, analysisConsent, analysisConsentRevocation, attachment, attachmentBytes, attachmentExtraction, attachmentTextChange, automaticTags, botAdmin, botMenuEntry, botProfile, botSeenChat, botTemplate, botWebhook, cachedChatMetadata, callRecord, chart, chat, chatAdminChange, chatArchive, chatEvent, chatFolderChange, chatFolderOrder, chatFolderRemoval, chatGroupChange, chatInspection, chatInvite, chatInviteChange, chatMembersChange, chatMembersFetch, chatMetadata, chatMetadataRefresh, chatModeration, chatMuting, chatPin, chatRead, chatRemoval, chatRequestChange, chatRules, chatSender, chatStats, chatTracking, chatUnread, contact, contactActivity, contactAlias, contactCheck, contactContext, contactImport, contactLookup, contactNote, contactNoteRemoval, contactPreparation, contactStateChange, contactSync, contactUpdate, conversation, conversationBatch, conversationBatchStatus, conversationBuildResult, conversationChange, conversationDetails, conversationEmbedding, conversationEmbeddingStatus, conversationHit, conversationPreparation, conversationReadiness, counterRefresh, counters, document, documentLink, endedAccountSessions, evidence, evidencePacket, fact, folder, hit, identity, imageEmbedding, inviteLink, job, joinRequest, linkedPerson, mediaArchive, mediaArchiveCheck, mediaArchiveMove, mediaArchiveTimer, meeting, meetingProjectCandidates, meetingSeriesInventory, member, memory, mention, mentionDecision, mentionDetails, mentionDomain, mentionRebuild, message, messageContext, messageCounts, messageDeletion, messageDownload, messageEvent, messageLink, messageLinks, messagePin, messageStar, messageSync, messageTranscript, messageWrite, model, modelKey, note, officialStats, organization, person, place, poll, pollChange, pollVote, project, ranking, reaction, reactionChange, recipient, recipientAdded, recipientChange, recipientOff, recipientRemoved, recordedRun, reference, relationship, reminder, removedModelKey, retention, runDetails, runHit, runLocation, savedSearch, scheduledJob, searchHistoryClear, sendAttempt, serveSummary, stickerInventory, storeBackup, storeChatStatus, storeCheck, storeClear, storeCopyRemoval, storeDecrypt, storedModelKey, storeExport, storeGapPlan, storeGapRepair, storeInfo, storeJobCancel, storeJobClear, storeJobDetails, storeJobRetry, storeMigration, storeReindex, storeRepair, storeReset, storeRestore, storeTable, tagChange, tagging, task, taskAnalysis, taskAnalysisMark, taskCard, taskCategories, taskClosed, taskCreated, taskLinks, taskMerge, taskPair, taskScan, taskSimilar, taskStats, taskUnmerge, topic, topicIcon, trackedChat, trackedChatHistory, watchedMessage, watchItem, };
93
+ export { account, accountChange, accountPrivacy, accountPrivacyChange, accountProfile, accountSession, adminReport, agenda, analysisConsent, analysisConsentRevocation, attachment, attachmentBytes, attachmentExtraction, attachmentTextChange, automaticTags, botAdmin, botMenuEntry, botProfile, botSeenChat, botTemplate, botWebhook, cachedChatMetadata, callRecord, chart, chat, chatAdminChange, chatArchive, chatCoverage, chatEvent, chatFolderChange, chatFolderOrder, chatFolderRemoval, chatGroupChange, chatInspection, chatInvite, chatInviteChange, chatMembersChange, chatMembersFetch, chatMetadata, chatMetadataRefresh, chatModeration, chatMuting, chatPin, chatRead, chatRemoval, chatRequestChange, chatRules, chatSender, chatStats, chatTracking, chatUnread, contact, contactActivity, contactAlias, contactCheck, contactContext, contactImport, contactLookup, contactNote, contactNoteRemoval, contactPreparation, contactStateChange, contactSync, contactUpdate, conversation, conversationBatch, conversationBatchStatus, conversationBuildResult, conversationChange, conversationDetails, conversationEmbedding, conversationEmbeddingStatus, conversationHit, conversationPreparation, conversationReadiness, counterRefresh, counters, document, documentLink, endedAccountSessions, evidence, evidencePacket, fact, folder, hit, identity, imageEmbedding, inviteLink, job, joinRequest, linkedPerson, mailCounts, mediaArchive, mediaArchiveCheck, mediaArchiveMove, mediaArchiveTimer, meeting, meetingProjectCandidates, meetingSeriesInventory, member, memory, mention, mentionDecision, mentionDetails, mentionDomain, mentionRebuild, message, messageContext, messageCounts, messageDeletion, messageDownload, messageEvent, messageLink, messageLinks, messagePin, messageStar, messageSync, messageTranscript, messageWrite, model, modelKey, note, officialStats, organization, person, place, poll, pollChange, pollVote, project, ranking, reaction, reactionChange, recipient, recipientAdded, recipientChange, recipientOff, recipientRemoved, recordedRun, reference, relationship, reminder, removedModelKey, responseTimes, retention, runDetails, runHit, runLocation, savedSearch, scheduledJob, searchHistoryClear, sendAttempt, serveSummary, stickerInventory, storeBackup, storeChatStatus, storeCheck, storeClear, storeCopyRemoval, storeDecrypt, storedModelKey, storeExport, storeGapPlan, storeGapRepair, storeInfo, storeJobCancel, storeJobClear, storeJobDetails, storeJobRetry, storeMigration, storeReindex, storeRepair, storeReset, storeRestore, storeTable, tagChange, tagging, task, taskAnalysis, taskAnalysisMark, taskCard, taskCategories, taskClosed, taskCreated, taskLinks, taskMerge, taskPair, taskScan, taskSimilar, taskStats, taskUnmerge, topic, topicIcon, trackedChat, trackedChatHistory, waitingChats, watchedMessage, watchItem, };
92
94
  export declare const ENTITIES: {
93
95
  readonly meeting_ingestion: v.StrictObjectSchema<{
94
96
  readonly meetings: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -1280,54 +1282,15 @@ export declare const ENTITIES: {
1280
1282
  }, undefined>, undefined>, undefined>;
1281
1283
  readonly untrusted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1282
1284
  }, undefined>;
1283
- readonly "message.summary": Omit<v.StrictObjectSchema<{
1285
+ readonly "message.summary": v.StrictObjectSchema<{
1284
1286
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1285
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1286
- readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1287
- readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1288
1287
  readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1289
1288
  readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1290
- readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1291
1289
  readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1292
- readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1293
- readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1294
1290
  readonly sender_is_me: v.BooleanSchema<undefined>;
1295
- readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1296
1291
  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`">]>;
1297
- 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>;
1298
1292
  readonly text: v.StringSchema<undefined>;
1299
1293
  readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1300
- readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1301
- readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1302
- readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
1303
- readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1304
- readonly match: v.OptionalSchema<v.PicklistSchema<["words", "beginnings", "corrected"], undefined>, undefined>;
1305
- readonly corrections: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1306
- readonly from: v.StringSchema<undefined>;
1307
- readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1308
- }, undefined>, undefined>, undefined>;
1309
- readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
1310
- readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
1311
- readonly coverage: v.NumberSchema<undefined>;
1312
- readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1313
- readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1314
- readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1315
- readonly found_by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
1316
- readonly reranker_score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1317
- }, undefined>, undefined>;
1318
- readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1319
- readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1320
- 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`">]>;
1321
- readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1322
- readonly text: v.StringSchema<undefined>;
1323
- }, undefined>, undefined>, undefined>;
1324
- readonly follow_ups: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1325
- readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1326
- readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1327
- 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`">]>;
1328
- readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1329
- readonly excerpt: v.StringSchema<undefined>;
1330
- }, undefined>, undefined>, undefined>;
1331
1294
  readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1332
1295
  readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
1333
1296
  readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
@@ -1362,102 +1325,6 @@ export declare const ENTITIES: {
1362
1325
  readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1363
1326
  }, undefined>, undefined>, undefined>, undefined>;
1364
1327
  }, undefined>, undefined>;
1365
- readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
1366
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1367
- readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1368
- readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1369
- 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>;
1370
- readonly text: v.StringSchema<undefined>;
1371
- readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
1372
- readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1373
- readonly kind: v.StringSchema<undefined>;
1374
- readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1375
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1376
- readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1377
- readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1378
- readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1379
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1380
- readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1381
- readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1382
- readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1383
- readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1384
- readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
1385
- readonly origin: v.StringSchema<undefined>;
1386
- readonly extractor: v.StringSchema<undefined>;
1387
- readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1388
- readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1389
- }, undefined>, undefined>;
1390
- readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1391
- readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
1392
- readonly name: v.StringSchema<undefined>;
1393
- readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1394
- readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1395
- readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1396
- readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1397
- }, undefined>, undefined>;
1398
- readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
1399
- readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
1400
- readonly text: v.StringSchema<undefined>;
1401
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1402
- }, undefined>, undefined>, undefined>, undefined>;
1403
- }, undefined>, undefined>;
1404
- readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1405
- }, undefined>, undefined>;
1406
- readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1407
- readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
1408
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1409
- readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1410
- readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1411
- 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>;
1412
- readonly text: v.StringSchema<undefined>;
1413
- readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
1414
- readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1415
- readonly kind: v.StringSchema<undefined>;
1416
- readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1417
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1418
- readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1419
- readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1420
- readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1421
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1422
- readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1423
- readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1424
- readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1425
- readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1426
- readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
1427
- readonly origin: v.StringSchema<undefined>;
1428
- readonly extractor: v.StringSchema<undefined>;
1429
- readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1430
- readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1431
- }, undefined>, undefined>;
1432
- readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1433
- readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
1434
- readonly name: v.StringSchema<undefined>;
1435
- readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1436
- readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1437
- readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1438
- readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1439
- }, undefined>, undefined>;
1440
- readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
1441
- readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
1442
- readonly text: v.StringSchema<undefined>;
1443
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1444
- }, undefined>, undefined>, undefined>, undefined>;
1445
- }, undefined>, undefined>;
1446
- readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1447
- }, undefined>, undefined>;
1448
- readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1449
- readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1450
- readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
1451
- readonly counts: v.ArraySchema<v.StrictObjectSchema<{
1452
- readonly reaction: v.StringSchema<undefined>;
1453
- readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1454
- }, undefined>, undefined>;
1455
- readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1456
- readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1457
- }, undefined>, undefined>, undefined>;
1458
- 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>;
1459
- readonly starred: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
1460
- readonly delivery: v.OptionalSchema<v.PicklistSchema<["delivered", "read"], undefined>, undefined>;
1461
1328
  readonly email: v.OptionalSchema<v.StrictObjectSchema<{
1462
1329
  readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1463
1330
  readonly from: v.NullableSchema<v.StrictObjectSchema<{
@@ -1501,669 +1368,8 @@ export declare const ENTITIES: {
1501
1368
  readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1502
1369
  readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1503
1370
  }, undefined>, undefined>;
1504
- readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1505
- }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
1506
- readonly entries: Pick<{
1507
- readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1508
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1509
- readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1510
- readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1511
- readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1512
- readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1513
- readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1514
- readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1515
- readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1516
- readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1517
- readonly sender_is_me: v.BooleanSchema<undefined>;
1518
- readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
1519
- 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`">]>;
1520
- 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>;
1521
- readonly text: v.StringSchema<undefined>;
1522
- readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1523
- readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1524
- readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1525
- readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
1526
- readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1527
- readonly match: v.OptionalSchema<v.PicklistSchema<["words", "beginnings", "corrected"], undefined>, undefined>;
1528
- readonly corrections: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1529
- readonly from: v.StringSchema<undefined>;
1530
- readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1531
- }, undefined>, undefined>, undefined>;
1532
- readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
1533
- readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
1534
- readonly coverage: v.NumberSchema<undefined>;
1535
- readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1536
- readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1537
- readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1538
- readonly found_by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["words", "meaning"], undefined>, undefined>, undefined>;
1539
- readonly reranker_score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1540
- }, undefined>, undefined>;
1541
- readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1542
- readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1543
- 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`">]>;
1544
- readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1545
- readonly text: v.StringSchema<undefined>;
1546
- }, undefined>, undefined>, undefined>;
1547
- readonly follow_ups: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
1548
- readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1549
- readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1550
- 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`">]>;
1551
- readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1552
- readonly excerpt: v.StringSchema<undefined>;
1553
- }, undefined>, undefined>, undefined>;
1554
- readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1555
- readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
1556
- readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1557
- readonly kind: v.StringSchema<undefined>;
1558
- readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1559
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1560
- readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1561
- readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1562
- readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1563
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1564
- readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1565
- readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1566
- readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1567
- readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1568
- readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
1569
- readonly origin: v.StringSchema<undefined>;
1570
- readonly extractor: v.StringSchema<undefined>;
1571
- readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1572
- readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1573
- }, undefined>, undefined>;
1574
- readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1575
- readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
1576
- readonly name: v.StringSchema<undefined>;
1577
- readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1578
- readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1579
- readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1580
- readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1581
- }, undefined>, undefined>;
1582
- readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
1583
- readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
1584
- readonly text: v.StringSchema<undefined>;
1585
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1586
- }, undefined>, undefined>, undefined>, undefined>;
1587
- }, undefined>, undefined>;
1588
- readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
1589
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1590
- readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1591
- readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1592
- 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>;
1593
- readonly text: v.StringSchema<undefined>;
1594
- readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
1595
- readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1596
- readonly kind: v.StringSchema<undefined>;
1597
- readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1598
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1599
- readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1600
- readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1601
- readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1602
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1603
- readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1604
- readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1605
- readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1606
- readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1607
- readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
1608
- readonly origin: v.StringSchema<undefined>;
1609
- readonly extractor: v.StringSchema<undefined>;
1610
- readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1611
- readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1612
- }, undefined>, undefined>;
1613
- readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1614
- readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
1615
- readonly name: v.StringSchema<undefined>;
1616
- readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1617
- readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1618
- readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1619
- readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1620
- }, undefined>, undefined>;
1621
- readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
1622
- readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
1623
- readonly text: v.StringSchema<undefined>;
1624
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1625
- }, undefined>, undefined>, undefined>, undefined>;
1626
- }, undefined>, undefined>;
1627
- readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1628
- }, undefined>, undefined>;
1629
- readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1630
- readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
1631
- readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1632
- readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1633
- readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1634
- 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>;
1635
- readonly text: v.StringSchema<undefined>;
1636
- readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
1637
- readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1638
- readonly kind: v.StringSchema<undefined>;
1639
- readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1640
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1641
- readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1642
- readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1643
- readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1644
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1645
- readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1646
- readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
1647
- readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1648
- readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1649
- readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
1650
- readonly origin: v.StringSchema<undefined>;
1651
- readonly extractor: v.StringSchema<undefined>;
1652
- readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1653
- readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1654
- }, undefined>, undefined>;
1655
- readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1656
- readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
1657
- readonly name: v.StringSchema<undefined>;
1658
- readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1659
- readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1660
- readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1661
- readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1662
- }, undefined>, undefined>;
1663
- readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
1664
- readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
1665
- readonly text: v.StringSchema<undefined>;
1666
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1667
- }, undefined>, undefined>, undefined>, undefined>;
1668
- }, undefined>, undefined>;
1669
- readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1670
- }, undefined>, undefined>;
1671
- readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1672
- readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1673
- readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
1674
- readonly counts: v.ArraySchema<v.StrictObjectSchema<{
1675
- readonly reaction: v.StringSchema<undefined>;
1676
- readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1677
- }, undefined>, undefined>;
1678
- readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1679
- readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1680
- }, undefined>, undefined>, undefined>;
1681
- 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>;
1682
- readonly starred: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
1683
- readonly delivery: v.OptionalSchema<v.PicklistSchema<["delivered", "read"], undefined>, undefined>;
1684
- readonly email: v.OptionalSchema<v.StrictObjectSchema<{
1685
- readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1686
- readonly from: v.NullableSchema<v.StrictObjectSchema<{
1687
- readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1688
- readonly address: v.StringSchema<undefined>;
1689
- readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1690
- }, undefined>, undefined>;
1691
- readonly to: v.ArraySchema<v.StrictObjectSchema<{
1692
- readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1693
- readonly address: v.StringSchema<undefined>;
1694
- readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1695
- }, undefined>, undefined>;
1696
- readonly cc: v.ArraySchema<v.StrictObjectSchema<{
1697
- readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1698
- readonly address: v.StringSchema<undefined>;
1699
- readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1700
- }, undefined>, undefined>;
1701
- readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
1702
- readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1703
- readonly address: v.StringSchema<undefined>;
1704
- readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1705
- }, undefined>, undefined>;
1706
- readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
1707
- readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1708
- readonly address: v.StringSchema<undefined>;
1709
- readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
1710
- }, undefined>, undefined>;
1711
- readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1712
- readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
1713
- readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1714
- readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
1715
- readonly sender_score: v.OptionalSchema<v.StrictObjectSchema<{
1716
- readonly score: v.NumberSchema<undefined>;
1717
- readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1718
- readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
1719
- }, undefined>, undefined>;
1720
- readonly bulk: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1721
- readonly list_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1722
- readonly rule_id: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1723
- readonly fingerprint: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
1724
- readonly new_sender: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1725
- readonly sender_identities: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1726
- }, undefined>, undefined>;
1727
- readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1728
- }, "attachments" | "chat_id" | "chat_title" | "email" | "outgoing" | "ref" | "sender_is_me" | "sender_name" | "text" | "timestamp" | "transcript">;
1729
- readonly "~standard": v.StandardProps<{
1730
- ref: string;
1731
- chat_id: string;
1732
- chat_title?: string | null | undefined;
1733
- sender_name: string | null;
1734
- sender_is_me: boolean;
1735
- timestamp: string;
1736
- text: string;
1737
- transcript?: string | undefined;
1738
- outgoing: boolean | null;
1739
- attachments: {
1740
- message?: string | undefined;
1741
- kind: string;
1742
- position?: number | undefined;
1743
- url?: string | undefined;
1744
- name?: string | undefined;
1745
- title?: string | undefined;
1746
- mime?: string | undefined;
1747
- size?: number | undefined;
1748
- width?: number | undefined;
1749
- height?: number | undefined;
1750
- duration?: number | undefined;
1751
- text?: string | undefined;
1752
- extraction?: {
1753
- origin: string;
1754
- extractor: string;
1755
- chars: number;
1756
- error?: string | undefined;
1757
- } | undefined;
1758
- local_path?: string | undefined;
1759
- contact?: {
1760
- name: string;
1761
- first_name?: string | undefined;
1762
- last_name?: string | undefined;
1763
- phone?: string | undefined;
1764
- user_id?: string | undefined;
1765
- } | undefined;
1766
- buttons?: {
1767
- kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
1768
- text: string;
1769
- url?: string | undefined;
1770
- }[][] | undefined;
1771
- }[];
1772
- email?: {
1773
- subject: string | null;
1774
- from: {
1775
- name: string | null;
1776
- address: string;
1777
- ref: string | null;
1778
- } | null;
1779
- to: {
1780
- name: string | null;
1781
- address: string;
1782
- ref: string | null;
1783
- }[];
1784
- cc: {
1785
- name: string | null;
1786
- address: string;
1787
- ref: string | null;
1788
- }[];
1789
- bcc: {
1790
- name: string | null;
1791
- address: string;
1792
- ref: string | null;
1793
- }[];
1794
- reply_addresses: {
1795
- name: string | null;
1796
- address: string;
1797
- ref: string | null;
1798
- }[];
1799
- labels: string[];
1800
- thread: string;
1801
- read: boolean | null;
1802
- flagged: boolean | null;
1803
- sender_score?: {
1804
- score: number;
1805
- signals: string[];
1806
- demoted?: true | undefined;
1807
- } | undefined;
1808
- bulk?: boolean | undefined;
1809
- list_id?: string | null | undefined;
1810
- rule_id?: number | null | undefined;
1811
- fingerprint?: string | undefined;
1812
- new_sender?: boolean | undefined;
1813
- sender_identities?: number | undefined;
1814
- } | undefined;
1815
- }, {
1816
- ref: string;
1817
- chat_id: string;
1818
- chat_title?: string | null | undefined;
1819
- sender_name: string | null;
1820
- sender_is_me: boolean;
1821
- timestamp: string;
1822
- text: string;
1823
- transcript?: string | undefined;
1824
- outgoing: boolean | null;
1825
- attachments: {
1826
- message?: string | undefined;
1827
- kind: string;
1828
- position?: number | undefined;
1829
- url?: string | undefined;
1830
- name?: string | undefined;
1831
- title?: string | undefined;
1832
- mime?: string | undefined;
1833
- size?: number | undefined;
1834
- width?: number | undefined;
1835
- height?: number | undefined;
1836
- duration?: number | undefined;
1837
- text?: string | undefined;
1838
- extraction?: {
1839
- origin: string;
1840
- extractor: string;
1841
- chars: number;
1842
- error?: string | undefined;
1843
- } | undefined;
1844
- local_path?: string | undefined;
1845
- contact?: {
1846
- name: string;
1847
- first_name?: string | undefined;
1848
- last_name?: string | undefined;
1849
- phone?: string | undefined;
1850
- user_id?: string | undefined;
1851
- } | undefined;
1852
- buttons?: {
1853
- kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
1854
- text: string;
1855
- url?: string | undefined;
1856
- }[][] | undefined;
1857
- }[];
1858
- email?: {
1859
- subject: string | null;
1860
- from: {
1861
- name: string | null;
1862
- address: string;
1863
- ref: string | null;
1864
- } | null;
1865
- to: {
1866
- name: string | null;
1867
- address: string;
1868
- ref: string | null;
1869
- }[];
1870
- cc: {
1871
- name: string | null;
1872
- address: string;
1873
- ref: string | null;
1874
- }[];
1875
- bcc: {
1876
- name: string | null;
1877
- address: string;
1878
- ref: string | null;
1879
- }[];
1880
- reply_addresses: {
1881
- name: string | null;
1882
- address: string;
1883
- ref: string | null;
1884
- }[];
1885
- labels: string[];
1886
- thread: string;
1887
- read: boolean | null;
1888
- flagged: boolean | null;
1889
- sender_score?: {
1890
- score: number;
1891
- signals: string[];
1892
- demoted?: true | undefined;
1893
- } | undefined;
1894
- bulk?: boolean | undefined;
1895
- list_id?: string | null | undefined;
1896
- rule_id?: number | null | undefined;
1897
- fingerprint?: string | undefined;
1898
- new_sender?: boolean | undefined;
1899
- sender_identities?: number | undefined;
1900
- } | undefined;
1901
- }>;
1902
- readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
1903
- ref: string;
1904
- chat_id: string;
1905
- chat_title?: string | null | undefined;
1906
- sender_name: string | null;
1907
- sender_is_me: boolean;
1908
- timestamp: string;
1909
- text: string;
1910
- transcript?: string | undefined;
1911
- outgoing: boolean | null;
1912
- attachments: {
1913
- message?: string | undefined;
1914
- kind: string;
1915
- position?: number | undefined;
1916
- url?: string | undefined;
1917
- name?: string | undefined;
1918
- title?: string | undefined;
1919
- mime?: string | undefined;
1920
- size?: number | undefined;
1921
- width?: number | undefined;
1922
- height?: number | undefined;
1923
- duration?: number | undefined;
1924
- text?: string | undefined;
1925
- extraction?: {
1926
- origin: string;
1927
- extractor: string;
1928
- chars: number;
1929
- error?: string | undefined;
1930
- } | undefined;
1931
- local_path?: string | undefined;
1932
- contact?: {
1933
- name: string;
1934
- first_name?: string | undefined;
1935
- last_name?: string | undefined;
1936
- phone?: string | undefined;
1937
- user_id?: string | undefined;
1938
- } | undefined;
1939
- buttons?: {
1940
- kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
1941
- text: string;
1942
- url?: string | undefined;
1943
- }[][] | undefined;
1944
- }[];
1945
- email?: {
1946
- subject: string | null;
1947
- from: {
1948
- name: string | null;
1949
- address: string;
1950
- ref: string | null;
1951
- } | null;
1952
- to: {
1953
- name: string | null;
1954
- address: string;
1955
- ref: string | null;
1956
- }[];
1957
- cc: {
1958
- name: string | null;
1959
- address: string;
1960
- ref: string | null;
1961
- }[];
1962
- bcc: {
1963
- name: string | null;
1964
- address: string;
1965
- ref: string | null;
1966
- }[];
1967
- reply_addresses: {
1968
- name: string | null;
1969
- address: string;
1970
- ref: string | null;
1971
- }[];
1972
- labels: string[];
1973
- thread: string;
1974
- read: boolean | null;
1975
- flagged: boolean | null;
1976
- sender_score?: {
1977
- score: number;
1978
- signals: string[];
1979
- demoted?: true | undefined;
1980
- } | undefined;
1981
- bulk?: boolean | undefined;
1982
- list_id?: string | null | undefined;
1983
- rule_id?: number | null | undefined;
1984
- fingerprint?: string | undefined;
1985
- new_sender?: boolean | undefined;
1986
- sender_identities?: number | undefined;
1987
- } | undefined;
1988
- }, v.ArrayIssue | v.BooleanIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
1989
- readonly "~types"?: {
1990
- readonly input: {
1991
- ref: string;
1992
- chat_id: string;
1993
- chat_title?: string | null | undefined;
1994
- sender_name: string | null;
1995
- sender_is_me: boolean;
1996
- timestamp: string;
1997
- text: string;
1998
- transcript?: string | undefined;
1999
- outgoing: boolean | null;
2000
- attachments: {
2001
- message?: string | undefined;
2002
- kind: string;
2003
- position?: number | undefined;
2004
- url?: string | undefined;
2005
- name?: string | undefined;
2006
- title?: string | undefined;
2007
- mime?: string | undefined;
2008
- size?: number | undefined;
2009
- width?: number | undefined;
2010
- height?: number | undefined;
2011
- duration?: number | undefined;
2012
- text?: string | undefined;
2013
- extraction?: {
2014
- origin: string;
2015
- extractor: string;
2016
- chars: number;
2017
- error?: string | undefined;
2018
- } | undefined;
2019
- local_path?: string | undefined;
2020
- contact?: {
2021
- name: string;
2022
- first_name?: string | undefined;
2023
- last_name?: string | undefined;
2024
- phone?: string | undefined;
2025
- user_id?: string | undefined;
2026
- } | undefined;
2027
- buttons?: {
2028
- kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
2029
- text: string;
2030
- url?: string | undefined;
2031
- }[][] | undefined;
2032
- }[];
2033
- email?: {
2034
- subject: string | null;
2035
- from: {
2036
- name: string | null;
2037
- address: string;
2038
- ref: string | null;
2039
- } | null;
2040
- to: {
2041
- name: string | null;
2042
- address: string;
2043
- ref: string | null;
2044
- }[];
2045
- cc: {
2046
- name: string | null;
2047
- address: string;
2048
- ref: string | null;
2049
- }[];
2050
- bcc: {
2051
- name: string | null;
2052
- address: string;
2053
- ref: string | null;
2054
- }[];
2055
- reply_addresses: {
2056
- name: string | null;
2057
- address: string;
2058
- ref: string | null;
2059
- }[];
2060
- labels: string[];
2061
- thread: string;
2062
- read: boolean | null;
2063
- flagged: boolean | null;
2064
- sender_score?: {
2065
- score: number;
2066
- signals: string[];
2067
- demoted?: true | undefined;
2068
- } | undefined;
2069
- bulk?: boolean | undefined;
2070
- list_id?: string | null | undefined;
2071
- rule_id?: number | null | undefined;
2072
- fingerprint?: string | undefined;
2073
- new_sender?: boolean | undefined;
2074
- sender_identities?: number | undefined;
2075
- } | undefined;
2076
- };
2077
- readonly output: {
2078
- ref: string;
2079
- chat_id: string;
2080
- chat_title?: string | null | undefined;
2081
- sender_name: string | null;
2082
- sender_is_me: boolean;
2083
- timestamp: string;
2084
- text: string;
2085
- transcript?: string | undefined;
2086
- outgoing: boolean | null;
2087
- attachments: {
2088
- message?: string | undefined;
2089
- kind: string;
2090
- position?: number | undefined;
2091
- url?: string | undefined;
2092
- name?: string | undefined;
2093
- title?: string | undefined;
2094
- mime?: string | undefined;
2095
- size?: number | undefined;
2096
- width?: number | undefined;
2097
- height?: number | undefined;
2098
- duration?: number | undefined;
2099
- text?: string | undefined;
2100
- extraction?: {
2101
- origin: string;
2102
- extractor: string;
2103
- chars: number;
2104
- error?: string | undefined;
2105
- } | undefined;
2106
- local_path?: string | undefined;
2107
- contact?: {
2108
- name: string;
2109
- first_name?: string | undefined;
2110
- last_name?: string | undefined;
2111
- phone?: string | undefined;
2112
- user_id?: string | undefined;
2113
- } | undefined;
2114
- buttons?: {
2115
- kind: "app" | "callback" | "chat" | "clipboard" | "contact" | "link" | "location" | "message" | "other";
2116
- text: string;
2117
- url?: string | undefined;
2118
- }[][] | undefined;
2119
- }[];
2120
- email?: {
2121
- subject: string | null;
2122
- from: {
2123
- name: string | null;
2124
- address: string;
2125
- ref: string | null;
2126
- } | null;
2127
- to: {
2128
- name: string | null;
2129
- address: string;
2130
- ref: string | null;
2131
- }[];
2132
- cc: {
2133
- name: string | null;
2134
- address: string;
2135
- ref: string | null;
2136
- }[];
2137
- bcc: {
2138
- name: string | null;
2139
- address: string;
2140
- ref: string | null;
2141
- }[];
2142
- reply_addresses: {
2143
- name: string | null;
2144
- address: string;
2145
- ref: string | null;
2146
- }[];
2147
- labels: string[];
2148
- thread: string;
2149
- read: boolean | null;
2150
- flagged: boolean | null;
2151
- sender_score?: {
2152
- score: number;
2153
- signals: string[];
2154
- demoted?: true | undefined;
2155
- } | undefined;
2156
- bulk?: boolean | undefined;
2157
- list_id?: string | null | undefined;
2158
- rule_id?: number | null | undefined;
2159
- fingerprint?: string | undefined;
2160
- new_sender?: boolean | undefined;
2161
- sender_identities?: number | undefined;
2162
- } | undefined;
2163
- };
2164
- readonly issue: v.ArrayIssue | v.BooleanIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.LiteralIssue | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
2165
- } | undefined;
2166
- };
1371
+ readonly untrusted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1372
+ }, undefined>;
2167
1373
  readonly message_link: v.StrictObjectSchema<{
2168
1374
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
2169
1375
  readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -6992,6 +6198,22 @@ export declare const ENTITIES: {
6992
6198
  readonly share: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
6993
6199
  }, undefined>, undefined>;
6994
6200
  }, undefined>;
6201
+ readonly meeting_counts: v.StrictObjectSchema<{
6202
+ readonly by: v.PicklistSchema<["day", "week", "series"], undefined>;
6203
+ readonly meetings: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
6204
+ readonly minutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
6205
+ readonly mean_minutes: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
6206
+ readonly transcripts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
6207
+ readonly rows: v.ArraySchema<v.StrictObjectSchema<{
6208
+ readonly key: v.StringSchema<undefined>;
6209
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
6210
+ readonly meetings: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
6211
+ readonly minutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
6212
+ readonly mean_minutes: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
6213
+ readonly transcripts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
6214
+ }, undefined>, undefined>;
6215
+ readonly has_more: v.BooleanSchema<undefined>;
6216
+ }, undefined>;
6995
6217
  readonly meeting_speaker: v.StrictObjectSchema<{
6996
6218
  readonly key: v.StringSchema<undefined>;
6997
6219
  readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -9361,6 +8583,13 @@ export declare const ENTITIES: {
9361
8583
  readonly messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
9362
8584
  }, undefined>, undefined>;
9363
8585
  }, undefined>;
8586
+ readonly chat_coverage: v.StrictObjectSchema<{
8587
+ readonly chats: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
8588
+ readonly fetched: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
8589
+ readonly partial: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
8590
+ readonly never: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
8591
+ readonly oldest_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>;
8592
+ }, undefined>;
9364
8593
  readonly store_export: v.UnionSchema<[v.StrictObjectSchema<{
9365
8594
  readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
9366
8595
  readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
@@ -10860,6 +10089,46 @@ export declare const ENTITIES: {
10860
10089
  readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10861
10090
  }, undefined>, undefined>;
10862
10091
  }, undefined>;
10092
+ readonly response_times: v.StrictObjectSchema<{
10093
+ readonly replies: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10094
+ readonly median_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
10095
+ readonly p90_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
10096
+ readonly mean_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
10097
+ readonly who: v.PicklistSchema<["me", "others"], undefined>;
10098
+ readonly buckets: v.StrictObjectSchema<{
10099
+ readonly under_5m: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10100
+ readonly under_1h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10101
+ readonly under_1d: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10102
+ readonly over_1d: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10103
+ }, undefined>;
10104
+ readonly rows: v.ArraySchema<v.StrictObjectSchema<{
10105
+ readonly replies: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10106
+ readonly median_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
10107
+ readonly p90_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
10108
+ readonly mean_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
10109
+ readonly key: v.StringSchema<undefined>;
10110
+ }, undefined>, undefined>;
10111
+ }, undefined>;
10112
+ readonly waiting_chats: v.StrictObjectSchema<{
10113
+ readonly chats: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10114
+ readonly messages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10115
+ readonly oldest_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>;
10116
+ readonly by_kind: v.StrictObjectSchema<{
10117
+ readonly private: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10118
+ readonly group: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10119
+ }, undefined>;
10120
+ }, undefined>;
10121
+ readonly mail_counts: v.StrictObjectSchema<{
10122
+ readonly by: v.PicklistSchema<["day", "week", "sender"], undefined>;
10123
+ readonly received: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10124
+ readonly sent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10125
+ readonly rows: v.ArraySchema<v.StrictObjectSchema<{
10126
+ readonly key: v.StringSchema<undefined>;
10127
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
10128
+ readonly received: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10129
+ readonly sent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
10130
+ }, undefined>, undefined>;
10131
+ }, undefined>;
10863
10132
  readonly ranking: v.StrictObjectSchema<{
10864
10133
  readonly target: v.PicklistSchema<["messages", "contacts"], undefined>;
10865
10134
  readonly measure: v.StringSchema<undefined>;
@@ -12241,11 +11510,20 @@ export declare const ENTITIES: {
12241
11510
  }, undefined>;
12242
11511
  readonly task_stats: v.StrictObjectSchema<{
12243
11512
  readonly open: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
11513
+ readonly created: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
11514
+ readonly closed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
11515
+ readonly median_close_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
11516
+ readonly mean_open_age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
12244
11517
  readonly rows: v.ArraySchema<v.StrictObjectSchema<{
12245
- readonly chat: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
11518
+ readonly chat: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
11519
+ readonly key: v.StringSchema<undefined>;
11520
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
12246
11521
  readonly open: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
11522
+ readonly created: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
11523
+ readonly closed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
12247
11524
  readonly oldest_open_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>;
12248
11525
  readonly median_close_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
11526
+ readonly mean_open_age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
12249
11527
  }, undefined>, undefined>;
12250
11528
  }, undefined>;
12251
11529
  };