@wirecat/cli-core 0.398.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.
- package/CHANGELOG.md +106 -0
- package/dist/analysis/consents.d.ts +11 -6
- package/dist/analysis/consents.js +5 -2
- package/dist/cli/analysis-choice.d.ts +1 -0
- package/dist/cli/analysis-choice.js +3 -0
- package/dist/cli/bot/admins.js +14 -4
- package/dist/cli/bot/command.js +38 -16
- package/dist/cli/bot/examples.d.ts +3 -0
- package/dist/cli/bot/examples.js +2 -0
- package/dist/cli/bot/mcp.js +6 -2
- package/dist/cli/bot/messages.js +17 -6
- package/dist/cli/bot/moderation.js +16 -4
- package/dist/cli/bot/people.js +16 -4
- package/dist/cli/bot/setup.js +27 -8
- package/dist/cli/bot/watch.js +7 -1
- package/dist/cli/config-command.js +20 -1
- package/dist/cli/context.d.ts +2 -0
- package/dist/cli/context.js +1 -1
- package/dist/cli/effects.d.ts +4 -1
- package/dist/cli/effects.js +10 -2
- package/dist/cli/embedding-choice.d.ts +2 -1
- package/dist/cli/embedding-choice.js +4 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/json-fields.js +12 -1
- package/dist/cli/messenger/account-command.js +15 -6
- package/dist/cli/messenger/account-profile-query.d.ts +2 -0
- package/dist/cli/messenger/account-profile-query.js +13 -0
- package/dist/cli/messenger/account-sessions-command.js +1 -0
- package/dist/cli/messenger/admin-commands.js +30 -21
- package/dist/cli/messenger/admin-contacts-command.js +6 -3
- package/dist/cli/messenger/admin-folders-command.js +5 -5
- package/dist/cli/messenger/admin-moderation-command.js +4 -4
- package/dist/cli/messenger/admin-statistics-command.js +6 -14
- package/dist/cli/messenger/analysis-consents-query.d.ts +5 -0
- package/dist/cli/messenger/analysis-consents-query.js +20 -0
- package/dist/cli/messenger/archive-commands.js +3 -3
- package/dist/cli/messenger/attachments-command.js +3 -0
- package/dist/cli/messenger/backfill-command.js +5 -4
- package/dist/cli/messenger/catch-up-answers.d.ts +2 -1
- package/dist/cli/messenger/catch-up-answers.js +6 -2
- package/dist/cli/messenger/chat-queries.d.ts +1 -0
- package/dist/cli/messenger/chat-queries.js +12 -2
- package/dist/cli/messenger/chats-command.js +2 -2
- package/dist/cli/messenger/chats-documents-command.js +7 -5
- package/dist/cli/messenger/chats-members-command.js +7 -3
- package/dist/cli/messenger/chats-read-command.js +1 -1
- package/dist/cli/messenger/chats-stats-command.js +1 -1
- package/dist/cli/messenger/chats-tracking-command.js +14 -6
- package/dist/cli/messenger/contacts-command.js +11 -7
- package/dist/cli/messenger/context.d.ts +2 -0
- package/dist/cli/messenger/conversations-command.js +47 -29
- package/dist/cli/messenger/doctor-command.js +5 -1
- package/dist/cli/messenger/document-links-query.d.ts +2 -0
- package/dist/cli/messenger/document-links-query.js +9 -0
- package/dist/cli/messenger/download-command.js +1 -0
- package/dist/cli/messenger/flood-command.d.ts +2 -2
- package/dist/cli/messenger/flood-command.js +3 -3
- package/dist/cli/messenger/gaps-command.js +2 -2
- package/dist/cli/messenger/guard-commands.js +35 -13
- package/dist/cli/messenger/hearing-command.d.ts +1 -1
- package/dist/cli/messenger/hearing-command.js +1 -1
- package/dist/cli/messenger/images-command.js +1 -0
- package/dist/cli/messenger/inbox.js +6 -4
- package/dist/cli/messenger/media-archive-command.js +2 -0
- package/dist/cli/messenger/media-archive-move-command.js +1 -0
- package/dist/cli/messenger/media-archive-timer-command.js +1 -1
- package/dist/cli/messenger/mentions-command.js +15 -2
- package/dist/cli/messenger/messages-command.js +2 -0
- package/dist/cli/messenger/messages-delete-command.js +1 -0
- package/dist/cli/messenger/messages-edit-command.js +1 -0
- package/dist/cli/messenger/messages-evidence-command.js +3 -1
- package/dist/cli/messenger/messages-forward-command.js +1 -0
- package/dist/cli/messenger/messages-pin-command.js +3 -0
- package/dist/cli/messenger/messages-send-command.js +1 -0
- package/dist/cli/messenger/messages-stats-command.js +1 -1
- package/dist/cli/messenger/metadata-command.js +7 -2
- package/dist/cli/messenger/models-command.js +10 -2
- package/dist/cli/messenger/polls-command.js +4 -0
- package/dist/cli/messenger/private-people-command.js +8 -6
- package/dist/cli/messenger/rankings-command.js +6 -11
- package/dist/cli/messenger/reactions-command.js +2 -0
- package/dist/cli/messenger/recipients-query.d.ts +5 -0
- package/dist/cli/messenger/recipients-query.js +18 -0
- package/dist/cli/messenger/records-command.js +13 -6
- package/dist/cli/messenger/replies-edit-command.d.ts +1 -1
- package/dist/cli/messenger/replies-edit-command.js +13 -5
- package/dist/cli/messenger/retention-command.js +1 -1
- package/dist/cli/messenger/review.js +6 -4
- package/dist/cli/messenger/search-command.js +3 -1
- package/dist/cli/messenger/searches-command.js +6 -2
- package/dist/cli/messenger/sends-query.d.ts +5 -0
- package/dist/cli/messenger/sends-query.js +33 -0
- package/dist/cli/messenger/serve-command.js +1 -0
- package/dist/cli/messenger/serve-relay.d.ts +1 -0
- package/dist/cli/messenger/statistics-query.d.ts +14 -0
- package/dist/cli/messenger/statistics-query.js +143 -0
- package/dist/cli/messenger/stats-command.js +6 -6
- package/dist/cli/messenger/store-maintenance-command.d.ts +1 -1
- package/dist/cli/messenger/store-maintenance-command.js +10 -10
- package/dist/cli/messenger/tags-command.js +18 -6
- package/dist/cli/messenger/tasks-command.js +47 -8
- package/dist/cli/messenger/transcribe-command.js +2 -1
- package/dist/cli/messenger/watch-answers.d.ts +6 -0
- package/dist/cli/messenger/watch-answers.js +69 -0
- package/dist/cli/messenger/watch-command.d.ts +1 -1
- package/dist/cli/messenger/watch-command.js +56 -7
- package/dist/cli/program.js +5 -1
- package/dist/cli/runs/command.js +25 -38
- package/dist/cli/runs/query.d.ts +5 -0
- package/dist/cli/runs/query.js +32 -0
- package/dist/cli/runs/search-command.d.ts +4 -0
- package/dist/cli/runs/search-command.js +27 -0
- package/dist/cli/runs/search-query.d.ts +4 -0
- package/dist/cli/runs/search-query.js +50 -0
- package/dist/cli/runs/search.d.ts +2 -1
- package/dist/cli/runs/search.js +6 -6
- package/dist/domain/attachments.js +9 -1
- package/dist/domain/rankings-options.js +3 -3
- package/dist/entities/account-change.d.ts +89 -0
- package/dist/entities/account-change.js +20 -0
- package/dist/entities/account-profile.d.ts +7 -0
- package/dist/entities/account-profile.js +8 -0
- package/dist/entities/analysis-consent.d.ts +9 -0
- package/dist/entities/analysis-consent.js +4 -0
- package/dist/entities/attachment-results.d.ts +96 -0
- package/dist/entities/attachment-results.js +31 -0
- package/dist/entities/batch-result.d.ts +27 -0
- package/dist/entities/batch-result.js +18 -0
- package/dist/entities/chat-admin.d.ts +234 -0
- package/dist/entities/chat-admin.js +84 -0
- package/dist/entities/chat-change.d.ts +25 -0
- package/dist/entities/chat-change.js +11 -0
- package/dist/entities/chat-metadata.d.ts +34 -0
- package/dist/entities/chat-metadata.js +15 -0
- package/dist/entities/chat-moderation.d.ts +44 -0
- package/dist/entities/chat-moderation.js +37 -0
- package/dist/entities/chat-tracking.d.ts +26 -0
- package/dist/entities/chat-tracking.js +23 -0
- package/dist/entities/contact-activity.d.ts +52 -0
- package/dist/entities/contact-activity.js +42 -0
- package/dist/entities/contact-context.d.ts +1568 -0
- package/dist/entities/contact-context.js +191 -0
- package/dist/entities/contact-write.d.ts +22 -0
- package/dist/entities/contact-write.js +6 -0
- package/dist/entities/conversation-preparation.d.ts +63 -0
- package/dist/entities/conversation-preparation.js +23 -0
- package/dist/entities/conversation-results.d.ts +567 -0
- package/dist/entities/conversation-results.js +94 -0
- package/dist/entities/document-link.d.ts +13 -0
- package/dist/entities/document-link.js +11 -0
- package/dist/entities/extraction-report.d.ts +95 -0
- package/dist/entities/extraction-report.js +34 -0
- package/dist/entities/image-embedding.d.ts +9 -0
- package/dist/entities/image-embedding.js +10 -0
- package/dist/entities/index.d.ts +8006 -1928
- package/dist/entities/index.js +174 -3
- package/dist/entities/listener.d.ts +2150 -0
- package/dist/entities/listener.js +46 -0
- package/dist/entities/media-archive.d.ts +43 -0
- package/dist/entities/media-archive.js +32 -0
- package/dist/entities/meeting-task-proposal.d.ts +14 -0
- package/dist/entities/meeting-task-proposal.js +19 -0
- package/dist/entities/meeting.d.ts +1 -1
- package/dist/entities/meeting.js +1 -1
- package/dist/entities/mention.d.ts +63 -0
- package/dist/entities/mention.js +44 -0
- package/dist/entities/message-change.d.ts +19 -0
- package/dist/entities/message-change.js +6 -0
- package/dist/entities/message-context.d.ts +617 -0
- package/dist/entities/message-context.js +20 -0
- package/dist/entities/message-read.d.ts +73 -0
- package/dist/entities/message-read.js +58 -0
- package/dist/entities/message-transfer.d.ts +379 -0
- package/dist/entities/message-transfer.js +83 -0
- package/dist/entities/message-write.d.ts +191 -0
- package/dist/entities/message-write.js +8 -0
- package/dist/entities/model-key.d.ts +14 -0
- package/dist/entities/model-key.js +10 -0
- package/dist/entities/poll.d.ts +40 -0
- package/dist/entities/poll.js +16 -0
- package/dist/entities/private-contact.d.ts +10 -0
- package/dist/entities/private-contact.js +4 -0
- package/dist/entities/reaction-change.d.ts +7 -0
- package/dist/entities/reaction-change.js +8 -0
- package/dist/entities/recipient.d.ts +29 -0
- package/dist/entities/recipient.js +11 -0
- package/dist/entities/recorded-run.d.ts +103 -0
- package/dist/entities/recorded-run.js +44 -0
- package/dist/entities/saved-search.d.ts +4 -0
- package/dist/entities/saved-search.js +2 -0
- package/dist/entities/send-attempt.d.ts +31 -0
- package/dist/entities/send-attempt.js +29 -0
- package/dist/entities/store-maintenance.d.ts +319 -0
- package/dist/entities/store-maintenance.js +145 -0
- package/dist/entities/store-records.d.ts +442 -0
- package/dist/entities/store-records.js +99 -0
- package/dist/entities/tag-change.d.ts +74 -0
- package/dist/entities/tag-change.js +31 -0
- package/dist/entities/task-pair.d.ts +31 -0
- package/dist/entities/task-pair.js +23 -0
- package/dist/entities/task-results.d.ts +524 -0
- package/dist/entities/task-results.js +142 -0
- package/dist/errors/reasons.js +1 -0
- package/dist/mcp/agent.d.ts +3 -1
- package/dist/mcp/agent.js +9 -6
- package/dist/mcp/bot/server.d.ts +2 -0
- package/dist/mcp/bot/server.js +1 -0
- package/dist/mcp/prompts.js +8 -2
- package/dist/mcp/server.js +3 -1
- package/dist/mcp/tools/attachments.js +1 -0
- package/dist/meetings/cli/index.js +1 -1
- package/dist/meetings/cli/passage.js +1 -0
- package/dist/meetings/index.d.ts +2 -1
- package/dist/meetings/index.js +1 -0
- package/dist/meetings/links.d.ts +16 -0
- package/dist/meetings/mcp/index.d.ts +15 -15
- package/dist/meetings/read-answers.d.ts +167 -0
- package/dist/meetings/read-answers.js +183 -0
- package/dist/runs/run.d.ts +10 -2
- package/dist/runs/run.js +11 -3
- package/dist/sends/journal.d.ts +8 -1
- package/dist/sends/journal.js +9 -2
- package/dist/sends/permissions.d.ts +5 -1
- package/dist/sends/permissions.js +11 -1
- package/dist/sends/recipients.d.ts +8 -0
- package/dist/sends/recipients.js +9 -0
- package/dist/services/admin-statistics.js +3 -3
- package/dist/services/chat-documents.d.ts +1 -0
- package/dist/services/chat-documents.js +9 -3
- package/dist/services/chats.d.ts +1 -1
- package/dist/services/chats.js +5 -2
- package/dist/services/meeting-links.d.ts +2 -17
- package/dist/store/exports.d.ts +1 -1
- package/dist/store/exports.js +1 -1
- package/dist/store/messages.d.ts +3 -1
- package/dist/store/messages.js +2 -2
- package/dist/store/roster.d.ts +4 -1
- package/dist/store/roster.js +2 -2
- package/dist/store/sqlite/chats.d.ts +12 -0
- package/dist/store/sqlite/chats.js +1 -0
- package/dist/store/sqlite/document-links.d.ts +1 -1
- package/dist/store/sqlite/document-links.js +5 -5
- package/dist/store/sqlite/involvements.js +2 -1
- package/dist/store/sqlite/roster.d.ts +2 -1
- package/dist/store/sqlite/roster.js +3 -2
- package/package.json +3 -3
- package/parity.json +76 -108
|
@@ -0,0 +1,2150 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
/** Live messages retain counter observations and an explicit false star when the source supplies them. */
|
|
3
|
+
export declare const watchedMessage: v.StrictObjectSchema<{
|
|
4
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
5
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6
|
+
readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
9
|
+
readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
10
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
+
readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
14
|
+
readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
15
|
+
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`">]>;
|
|
16
|
+
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>;
|
|
17
|
+
readonly text: v.StringSchema<undefined>;
|
|
18
|
+
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
+
readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
20
|
+
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
21
|
+
readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
|
|
22
|
+
readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
23
|
+
readonly match: v.OptionalSchema<v.PicklistSchema<["words", "beginnings", "corrected"], undefined>, undefined>;
|
|
24
|
+
readonly corrections: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
25
|
+
readonly from: v.StringSchema<undefined>;
|
|
26
|
+
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
27
|
+
}, undefined>, undefined>, undefined>;
|
|
28
|
+
readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
|
|
29
|
+
readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
|
|
30
|
+
readonly coverage: v.NumberSchema<undefined>;
|
|
31
|
+
readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
32
|
+
readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
33
|
+
readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
34
|
+
}, undefined>, undefined>;
|
|
35
|
+
readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
36
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
37
|
+
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`">]>;
|
|
38
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
39
|
+
readonly text: v.StringSchema<undefined>;
|
|
40
|
+
}, undefined>, undefined>, undefined>;
|
|
41
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
42
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
43
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
44
|
+
readonly kind: v.StringSchema<undefined>;
|
|
45
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
46
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
47
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
48
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
49
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
50
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
51
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
52
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
53
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
54
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
55
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
56
|
+
readonly origin: v.StringSchema<undefined>;
|
|
57
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
58
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
59
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
60
|
+
}, undefined>, undefined>;
|
|
61
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
62
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
63
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
64
|
+
readonly text: v.StringSchema<undefined>;
|
|
65
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
66
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
67
|
+
}, undefined>, undefined>;
|
|
68
|
+
readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
|
|
69
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
70
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
71
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
72
|
+
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>;
|
|
73
|
+
readonly text: v.StringSchema<undefined>;
|
|
74
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
75
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
76
|
+
readonly kind: v.StringSchema<undefined>;
|
|
77
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
78
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
79
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
80
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
81
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
83
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
84
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
85
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
86
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
87
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
88
|
+
readonly origin: v.StringSchema<undefined>;
|
|
89
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
90
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
91
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
92
|
+
}, undefined>, undefined>;
|
|
93
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
94
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
95
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
96
|
+
readonly text: v.StringSchema<undefined>;
|
|
97
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
99
|
+
}, undefined>, undefined>;
|
|
100
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
101
|
+
}, undefined>, undefined>;
|
|
102
|
+
readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
103
|
+
readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
|
|
104
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
105
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
106
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
107
|
+
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>;
|
|
108
|
+
readonly text: v.StringSchema<undefined>;
|
|
109
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
110
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
111
|
+
readonly kind: v.StringSchema<undefined>;
|
|
112
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
113
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
114
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
115
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
116
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
117
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
118
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
119
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
120
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
121
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
122
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
123
|
+
readonly origin: v.StringSchema<undefined>;
|
|
124
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
125
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
126
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
127
|
+
}, undefined>, undefined>;
|
|
128
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
129
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
130
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
131
|
+
readonly text: v.StringSchema<undefined>;
|
|
132
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
133
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
134
|
+
}, undefined>, undefined>;
|
|
135
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
136
|
+
}, undefined>, undefined>;
|
|
137
|
+
readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
138
|
+
readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
139
|
+
readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
|
|
140
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
141
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
142
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
143
|
+
}, undefined>, undefined>;
|
|
144
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
145
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
146
|
+
}, undefined>, undefined>, undefined>;
|
|
147
|
+
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>;
|
|
148
|
+
readonly delivery: v.OptionalSchema<v.PicklistSchema<["delivered", "read"], undefined>, undefined>;
|
|
149
|
+
readonly email: v.OptionalSchema<v.StrictObjectSchema<{
|
|
150
|
+
readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
151
|
+
readonly from: v.NullableSchema<v.StrictObjectSchema<{
|
|
152
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
153
|
+
readonly address: v.StringSchema<undefined>;
|
|
154
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
155
|
+
}, undefined>, undefined>;
|
|
156
|
+
readonly to: v.ArraySchema<v.StrictObjectSchema<{
|
|
157
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
158
|
+
readonly address: v.StringSchema<undefined>;
|
|
159
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
160
|
+
}, undefined>, undefined>;
|
|
161
|
+
readonly cc: v.ArraySchema<v.StrictObjectSchema<{
|
|
162
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
163
|
+
readonly address: v.StringSchema<undefined>;
|
|
164
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
165
|
+
}, undefined>, undefined>;
|
|
166
|
+
readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
|
|
167
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
168
|
+
readonly address: v.StringSchema<undefined>;
|
|
169
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
170
|
+
}, undefined>, undefined>;
|
|
171
|
+
readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
|
|
172
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
173
|
+
readonly address: v.StringSchema<undefined>;
|
|
174
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
175
|
+
}, undefined>, undefined>;
|
|
176
|
+
readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
177
|
+
readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
178
|
+
readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
179
|
+
readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
180
|
+
readonly sender_score: v.OptionalSchema<v.StrictObjectSchema<{
|
|
181
|
+
readonly score: v.NumberSchema<undefined>;
|
|
182
|
+
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
183
|
+
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
184
|
+
}, undefined>, undefined>;
|
|
185
|
+
}, undefined>, undefined>;
|
|
186
|
+
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
187
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
188
|
+
readonly counter_observations: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
189
|
+
readonly views: v.StrictObjectSchema<{
|
|
190
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
191
|
+
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`">]>;
|
|
192
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
193
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
194
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
195
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
196
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
197
|
+
}, undefined>, undefined>;
|
|
198
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
199
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
200
|
+
}, undefined>, undefined>;
|
|
201
|
+
}, undefined>;
|
|
202
|
+
readonly reactions: v.StrictObjectSchema<{
|
|
203
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
204
|
+
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`">]>;
|
|
205
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
206
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
207
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
208
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
209
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
210
|
+
}, undefined>, undefined>;
|
|
211
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
212
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
213
|
+
}, undefined>, undefined>;
|
|
214
|
+
}, undefined>;
|
|
215
|
+
readonly comments: v.StrictObjectSchema<{
|
|
216
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
217
|
+
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`">]>;
|
|
218
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
219
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
220
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
221
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
222
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
223
|
+
}, undefined>, undefined>;
|
|
224
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
225
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
226
|
+
}, undefined>, undefined>;
|
|
227
|
+
}, undefined>;
|
|
228
|
+
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
229
|
+
readonly entries: {
|
|
230
|
+
readonly views: v.OptionalSchema<v.StrictObjectSchema<{
|
|
231
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
232
|
+
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`">]>;
|
|
233
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
234
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
235
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
236
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
237
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
238
|
+
}, undefined>, undefined>;
|
|
239
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
240
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
241
|
+
}, undefined>, undefined>;
|
|
242
|
+
}, undefined>, undefined>;
|
|
243
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
244
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
245
|
+
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`">]>;
|
|
246
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
247
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
248
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
249
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
250
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
251
|
+
}, undefined>, undefined>;
|
|
252
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
253
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
254
|
+
}, undefined>, undefined>;
|
|
255
|
+
}, undefined>, undefined>;
|
|
256
|
+
readonly comments: v.OptionalSchema<v.StrictObjectSchema<{
|
|
257
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
258
|
+
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`">]>;
|
|
259
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
260
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
261
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
262
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
263
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
264
|
+
}, undefined>, undefined>;
|
|
265
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
266
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
267
|
+
}, undefined>, undefined>;
|
|
268
|
+
}, undefined>, undefined>;
|
|
269
|
+
};
|
|
270
|
+
readonly "~standard": v.StandardProps<{
|
|
271
|
+
views?: {
|
|
272
|
+
value: number;
|
|
273
|
+
observed_at: string;
|
|
274
|
+
source: "remote_fetch" | "remote_update";
|
|
275
|
+
reactions?: {
|
|
276
|
+
counts: {
|
|
277
|
+
reaction: string;
|
|
278
|
+
count: number;
|
|
279
|
+
}[];
|
|
280
|
+
mine: string | null;
|
|
281
|
+
total: number;
|
|
282
|
+
} | undefined;
|
|
283
|
+
} | undefined;
|
|
284
|
+
reactions?: {
|
|
285
|
+
value: number;
|
|
286
|
+
observed_at: string;
|
|
287
|
+
source: "remote_fetch" | "remote_update";
|
|
288
|
+
reactions?: {
|
|
289
|
+
counts: {
|
|
290
|
+
reaction: string;
|
|
291
|
+
count: number;
|
|
292
|
+
}[];
|
|
293
|
+
mine: string | null;
|
|
294
|
+
total: number;
|
|
295
|
+
} | undefined;
|
|
296
|
+
} | undefined;
|
|
297
|
+
comments?: {
|
|
298
|
+
value: number;
|
|
299
|
+
observed_at: string;
|
|
300
|
+
source: "remote_fetch" | "remote_update";
|
|
301
|
+
reactions?: {
|
|
302
|
+
counts: {
|
|
303
|
+
reaction: string;
|
|
304
|
+
count: number;
|
|
305
|
+
}[];
|
|
306
|
+
mine: string | null;
|
|
307
|
+
total: number;
|
|
308
|
+
} | undefined;
|
|
309
|
+
} | undefined;
|
|
310
|
+
}, {
|
|
311
|
+
views?: {
|
|
312
|
+
value: number;
|
|
313
|
+
observed_at: string;
|
|
314
|
+
source: "remote_fetch" | "remote_update";
|
|
315
|
+
reactions?: {
|
|
316
|
+
counts: {
|
|
317
|
+
reaction: string;
|
|
318
|
+
count: number;
|
|
319
|
+
}[];
|
|
320
|
+
mine: string | null;
|
|
321
|
+
total: number;
|
|
322
|
+
} | undefined;
|
|
323
|
+
} | undefined;
|
|
324
|
+
reactions?: {
|
|
325
|
+
value: number;
|
|
326
|
+
observed_at: string;
|
|
327
|
+
source: "remote_fetch" | "remote_update";
|
|
328
|
+
reactions?: {
|
|
329
|
+
counts: {
|
|
330
|
+
reaction: string;
|
|
331
|
+
count: number;
|
|
332
|
+
}[];
|
|
333
|
+
mine: string | null;
|
|
334
|
+
total: number;
|
|
335
|
+
} | undefined;
|
|
336
|
+
} | undefined;
|
|
337
|
+
comments?: {
|
|
338
|
+
value: number;
|
|
339
|
+
observed_at: string;
|
|
340
|
+
source: "remote_fetch" | "remote_update";
|
|
341
|
+
reactions?: {
|
|
342
|
+
counts: {
|
|
343
|
+
reaction: string;
|
|
344
|
+
count: number;
|
|
345
|
+
}[];
|
|
346
|
+
mine: string | null;
|
|
347
|
+
total: number;
|
|
348
|
+
} | undefined;
|
|
349
|
+
} | undefined;
|
|
350
|
+
}>;
|
|
351
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
352
|
+
views?: {
|
|
353
|
+
value: number;
|
|
354
|
+
observed_at: string;
|
|
355
|
+
source: "remote_fetch" | "remote_update";
|
|
356
|
+
reactions?: {
|
|
357
|
+
counts: {
|
|
358
|
+
reaction: string;
|
|
359
|
+
count: number;
|
|
360
|
+
}[];
|
|
361
|
+
mine: string | null;
|
|
362
|
+
total: number;
|
|
363
|
+
} | undefined;
|
|
364
|
+
} | undefined;
|
|
365
|
+
reactions?: {
|
|
366
|
+
value: number;
|
|
367
|
+
observed_at: string;
|
|
368
|
+
source: "remote_fetch" | "remote_update";
|
|
369
|
+
reactions?: {
|
|
370
|
+
counts: {
|
|
371
|
+
reaction: string;
|
|
372
|
+
count: number;
|
|
373
|
+
}[];
|
|
374
|
+
mine: string | null;
|
|
375
|
+
total: number;
|
|
376
|
+
} | undefined;
|
|
377
|
+
} | undefined;
|
|
378
|
+
comments?: {
|
|
379
|
+
value: number;
|
|
380
|
+
observed_at: string;
|
|
381
|
+
source: "remote_fetch" | "remote_update";
|
|
382
|
+
reactions?: {
|
|
383
|
+
counts: {
|
|
384
|
+
reaction: string;
|
|
385
|
+
count: number;
|
|
386
|
+
}[];
|
|
387
|
+
mine: string | null;
|
|
388
|
+
total: number;
|
|
389
|
+
} | undefined;
|
|
390
|
+
} | undefined;
|
|
391
|
+
}, v.ArrayIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue>;
|
|
392
|
+
readonly "~types"?: {
|
|
393
|
+
readonly input: {
|
|
394
|
+
views?: {
|
|
395
|
+
value: number;
|
|
396
|
+
observed_at: string;
|
|
397
|
+
source: "remote_fetch" | "remote_update";
|
|
398
|
+
reactions?: {
|
|
399
|
+
counts: {
|
|
400
|
+
reaction: string;
|
|
401
|
+
count: number;
|
|
402
|
+
}[];
|
|
403
|
+
mine: string | null;
|
|
404
|
+
total: number;
|
|
405
|
+
} | undefined;
|
|
406
|
+
} | undefined;
|
|
407
|
+
reactions?: {
|
|
408
|
+
value: number;
|
|
409
|
+
observed_at: string;
|
|
410
|
+
source: "remote_fetch" | "remote_update";
|
|
411
|
+
reactions?: {
|
|
412
|
+
counts: {
|
|
413
|
+
reaction: string;
|
|
414
|
+
count: number;
|
|
415
|
+
}[];
|
|
416
|
+
mine: string | null;
|
|
417
|
+
total: number;
|
|
418
|
+
} | undefined;
|
|
419
|
+
} | undefined;
|
|
420
|
+
comments?: {
|
|
421
|
+
value: number;
|
|
422
|
+
observed_at: string;
|
|
423
|
+
source: "remote_fetch" | "remote_update";
|
|
424
|
+
reactions?: {
|
|
425
|
+
counts: {
|
|
426
|
+
reaction: string;
|
|
427
|
+
count: number;
|
|
428
|
+
}[];
|
|
429
|
+
mine: string | null;
|
|
430
|
+
total: number;
|
|
431
|
+
} | undefined;
|
|
432
|
+
} | undefined;
|
|
433
|
+
};
|
|
434
|
+
readonly output: {
|
|
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 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;
|
|
476
|
+
} | undefined;
|
|
477
|
+
}, undefined>;
|
|
478
|
+
}, undefined>;
|
|
479
|
+
export declare const messageEvent: v.VariantSchema<"event", [v.StrictObjectSchema<{
|
|
480
|
+
readonly event: v.PicklistSchema<["message", "edit"], undefined>;
|
|
481
|
+
readonly message: v.StrictObjectSchema<{
|
|
482
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
483
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
484
|
+
readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
485
|
+
readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
486
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
487
|
+
readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
488
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
489
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
490
|
+
readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
491
|
+
readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
492
|
+
readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
493
|
+
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`">]>;
|
|
494
|
+
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>;
|
|
495
|
+
readonly text: v.StringSchema<undefined>;
|
|
496
|
+
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
497
|
+
readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
498
|
+
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
499
|
+
readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
|
|
500
|
+
readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
501
|
+
readonly match: v.OptionalSchema<v.PicklistSchema<["words", "beginnings", "corrected"], undefined>, undefined>;
|
|
502
|
+
readonly corrections: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
503
|
+
readonly from: v.StringSchema<undefined>;
|
|
504
|
+
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
505
|
+
}, undefined>, undefined>, undefined>;
|
|
506
|
+
readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
|
|
507
|
+
readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
|
|
508
|
+
readonly coverage: v.NumberSchema<undefined>;
|
|
509
|
+
readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
510
|
+
readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
511
|
+
readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
512
|
+
}, undefined>, undefined>;
|
|
513
|
+
readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
514
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
515
|
+
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`">]>;
|
|
516
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
517
|
+
readonly text: v.StringSchema<undefined>;
|
|
518
|
+
}, undefined>, undefined>, undefined>;
|
|
519
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
520
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
521
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
522
|
+
readonly kind: v.StringSchema<undefined>;
|
|
523
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
524
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
525
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
526
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
527
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
528
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
529
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
530
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
531
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
532
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
533
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
534
|
+
readonly origin: v.StringSchema<undefined>;
|
|
535
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
536
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
537
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
538
|
+
}, undefined>, undefined>;
|
|
539
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
540
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
541
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
542
|
+
readonly text: v.StringSchema<undefined>;
|
|
543
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
544
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
545
|
+
}, undefined>, undefined>;
|
|
546
|
+
readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
|
|
547
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
548
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
549
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
550
|
+
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>;
|
|
551
|
+
readonly text: v.StringSchema<undefined>;
|
|
552
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
553
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
554
|
+
readonly kind: v.StringSchema<undefined>;
|
|
555
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
556
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
557
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
558
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
559
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
560
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
561
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
562
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
563
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
564
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
565
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
566
|
+
readonly origin: v.StringSchema<undefined>;
|
|
567
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
568
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
569
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
570
|
+
}, undefined>, undefined>;
|
|
571
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
572
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
573
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
574
|
+
readonly text: v.StringSchema<undefined>;
|
|
575
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
576
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
577
|
+
}, undefined>, undefined>;
|
|
578
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
579
|
+
}, undefined>, undefined>;
|
|
580
|
+
readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
581
|
+
readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
|
|
582
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
583
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
584
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
585
|
+
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>;
|
|
586
|
+
readonly text: v.StringSchema<undefined>;
|
|
587
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
588
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
589
|
+
readonly kind: v.StringSchema<undefined>;
|
|
590
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
591
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
592
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
593
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
594
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
595
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
596
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
597
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
598
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
599
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
600
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
601
|
+
readonly origin: v.StringSchema<undefined>;
|
|
602
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
603
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
604
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
605
|
+
}, undefined>, undefined>;
|
|
606
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
607
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
608
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
609
|
+
readonly text: v.StringSchema<undefined>;
|
|
610
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
611
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
612
|
+
}, undefined>, undefined>;
|
|
613
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
614
|
+
}, undefined>, undefined>;
|
|
615
|
+
readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
616
|
+
readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
617
|
+
readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
|
|
618
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
619
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
620
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
621
|
+
}, undefined>, undefined>;
|
|
622
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
623
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
624
|
+
}, undefined>, undefined>, undefined>;
|
|
625
|
+
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>;
|
|
626
|
+
readonly delivery: v.OptionalSchema<v.PicklistSchema<["delivered", "read"], undefined>, undefined>;
|
|
627
|
+
readonly email: v.OptionalSchema<v.StrictObjectSchema<{
|
|
628
|
+
readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
629
|
+
readonly from: v.NullableSchema<v.StrictObjectSchema<{
|
|
630
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
631
|
+
readonly address: v.StringSchema<undefined>;
|
|
632
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
633
|
+
}, undefined>, undefined>;
|
|
634
|
+
readonly to: v.ArraySchema<v.StrictObjectSchema<{
|
|
635
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
636
|
+
readonly address: v.StringSchema<undefined>;
|
|
637
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
638
|
+
}, undefined>, undefined>;
|
|
639
|
+
readonly cc: v.ArraySchema<v.StrictObjectSchema<{
|
|
640
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
641
|
+
readonly address: v.StringSchema<undefined>;
|
|
642
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
643
|
+
}, undefined>, undefined>;
|
|
644
|
+
readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
|
|
645
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
646
|
+
readonly address: v.StringSchema<undefined>;
|
|
647
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
648
|
+
}, undefined>, undefined>;
|
|
649
|
+
readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
|
|
650
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
651
|
+
readonly address: v.StringSchema<undefined>;
|
|
652
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
653
|
+
}, undefined>, undefined>;
|
|
654
|
+
readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
655
|
+
readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
656
|
+
readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
657
|
+
readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
658
|
+
readonly sender_score: v.OptionalSchema<v.StrictObjectSchema<{
|
|
659
|
+
readonly score: v.NumberSchema<undefined>;
|
|
660
|
+
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
661
|
+
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
662
|
+
}, undefined>, undefined>;
|
|
663
|
+
}, undefined>, undefined>;
|
|
664
|
+
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
665
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
666
|
+
readonly counter_observations: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
667
|
+
readonly views: v.StrictObjectSchema<{
|
|
668
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
669
|
+
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`">]>;
|
|
670
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
671
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
672
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
673
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
674
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
675
|
+
}, undefined>, undefined>;
|
|
676
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
677
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
678
|
+
}, undefined>, undefined>;
|
|
679
|
+
}, undefined>;
|
|
680
|
+
readonly reactions: v.StrictObjectSchema<{
|
|
681
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
682
|
+
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`">]>;
|
|
683
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
684
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
685
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
686
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
687
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
688
|
+
}, undefined>, undefined>;
|
|
689
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
690
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
691
|
+
}, undefined>, undefined>;
|
|
692
|
+
}, undefined>;
|
|
693
|
+
readonly comments: v.StrictObjectSchema<{
|
|
694
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
695
|
+
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`">]>;
|
|
696
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
697
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
698
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
699
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
700
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
701
|
+
}, undefined>, undefined>;
|
|
702
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
703
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
704
|
+
}, undefined>, undefined>;
|
|
705
|
+
}, undefined>;
|
|
706
|
+
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
707
|
+
readonly entries: {
|
|
708
|
+
readonly views: v.OptionalSchema<v.StrictObjectSchema<{
|
|
709
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
710
|
+
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`">]>;
|
|
711
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
712
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
713
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
714
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
715
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
716
|
+
}, undefined>, undefined>;
|
|
717
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
718
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
719
|
+
}, undefined>, undefined>;
|
|
720
|
+
}, undefined>, undefined>;
|
|
721
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
722
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
723
|
+
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`">]>;
|
|
724
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
725
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
726
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
727
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
728
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
729
|
+
}, undefined>, undefined>;
|
|
730
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
731
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
732
|
+
}, undefined>, undefined>;
|
|
733
|
+
}, undefined>, undefined>;
|
|
734
|
+
readonly comments: v.OptionalSchema<v.StrictObjectSchema<{
|
|
735
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
736
|
+
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`">]>;
|
|
737
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
738
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
739
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
740
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
741
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
742
|
+
}, undefined>, undefined>;
|
|
743
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
744
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
745
|
+
}, undefined>, undefined>;
|
|
746
|
+
}, undefined>, undefined>;
|
|
747
|
+
};
|
|
748
|
+
readonly "~standard": v.StandardProps<{
|
|
749
|
+
views?: {
|
|
750
|
+
value: number;
|
|
751
|
+
observed_at: string;
|
|
752
|
+
source: "remote_fetch" | "remote_update";
|
|
753
|
+
reactions?: {
|
|
754
|
+
counts: {
|
|
755
|
+
reaction: string;
|
|
756
|
+
count: number;
|
|
757
|
+
}[];
|
|
758
|
+
mine: string | null;
|
|
759
|
+
total: number;
|
|
760
|
+
} | undefined;
|
|
761
|
+
} | undefined;
|
|
762
|
+
reactions?: {
|
|
763
|
+
value: number;
|
|
764
|
+
observed_at: string;
|
|
765
|
+
source: "remote_fetch" | "remote_update";
|
|
766
|
+
reactions?: {
|
|
767
|
+
counts: {
|
|
768
|
+
reaction: string;
|
|
769
|
+
count: number;
|
|
770
|
+
}[];
|
|
771
|
+
mine: string | null;
|
|
772
|
+
total: number;
|
|
773
|
+
} | undefined;
|
|
774
|
+
} | undefined;
|
|
775
|
+
comments?: {
|
|
776
|
+
value: number;
|
|
777
|
+
observed_at: string;
|
|
778
|
+
source: "remote_fetch" | "remote_update";
|
|
779
|
+
reactions?: {
|
|
780
|
+
counts: {
|
|
781
|
+
reaction: string;
|
|
782
|
+
count: number;
|
|
783
|
+
}[];
|
|
784
|
+
mine: string | null;
|
|
785
|
+
total: number;
|
|
786
|
+
} | undefined;
|
|
787
|
+
} | undefined;
|
|
788
|
+
}, {
|
|
789
|
+
views?: {
|
|
790
|
+
value: number;
|
|
791
|
+
observed_at: string;
|
|
792
|
+
source: "remote_fetch" | "remote_update";
|
|
793
|
+
reactions?: {
|
|
794
|
+
counts: {
|
|
795
|
+
reaction: string;
|
|
796
|
+
count: number;
|
|
797
|
+
}[];
|
|
798
|
+
mine: string | null;
|
|
799
|
+
total: number;
|
|
800
|
+
} | undefined;
|
|
801
|
+
} | undefined;
|
|
802
|
+
reactions?: {
|
|
803
|
+
value: number;
|
|
804
|
+
observed_at: string;
|
|
805
|
+
source: "remote_fetch" | "remote_update";
|
|
806
|
+
reactions?: {
|
|
807
|
+
counts: {
|
|
808
|
+
reaction: string;
|
|
809
|
+
count: number;
|
|
810
|
+
}[];
|
|
811
|
+
mine: string | null;
|
|
812
|
+
total: number;
|
|
813
|
+
} | undefined;
|
|
814
|
+
} | undefined;
|
|
815
|
+
comments?: {
|
|
816
|
+
value: number;
|
|
817
|
+
observed_at: string;
|
|
818
|
+
source: "remote_fetch" | "remote_update";
|
|
819
|
+
reactions?: {
|
|
820
|
+
counts: {
|
|
821
|
+
reaction: string;
|
|
822
|
+
count: number;
|
|
823
|
+
}[];
|
|
824
|
+
mine: string | null;
|
|
825
|
+
total: number;
|
|
826
|
+
} | undefined;
|
|
827
|
+
} | undefined;
|
|
828
|
+
}>;
|
|
829
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
830
|
+
views?: {
|
|
831
|
+
value: number;
|
|
832
|
+
observed_at: string;
|
|
833
|
+
source: "remote_fetch" | "remote_update";
|
|
834
|
+
reactions?: {
|
|
835
|
+
counts: {
|
|
836
|
+
reaction: string;
|
|
837
|
+
count: number;
|
|
838
|
+
}[];
|
|
839
|
+
mine: string | null;
|
|
840
|
+
total: number;
|
|
841
|
+
} | undefined;
|
|
842
|
+
} | undefined;
|
|
843
|
+
reactions?: {
|
|
844
|
+
value: number;
|
|
845
|
+
observed_at: string;
|
|
846
|
+
source: "remote_fetch" | "remote_update";
|
|
847
|
+
reactions?: {
|
|
848
|
+
counts: {
|
|
849
|
+
reaction: string;
|
|
850
|
+
count: number;
|
|
851
|
+
}[];
|
|
852
|
+
mine: string | null;
|
|
853
|
+
total: number;
|
|
854
|
+
} | undefined;
|
|
855
|
+
} | undefined;
|
|
856
|
+
comments?: {
|
|
857
|
+
value: number;
|
|
858
|
+
observed_at: string;
|
|
859
|
+
source: "remote_fetch" | "remote_update";
|
|
860
|
+
reactions?: {
|
|
861
|
+
counts: {
|
|
862
|
+
reaction: string;
|
|
863
|
+
count: number;
|
|
864
|
+
}[];
|
|
865
|
+
mine: string | null;
|
|
866
|
+
total: number;
|
|
867
|
+
} | undefined;
|
|
868
|
+
} | undefined;
|
|
869
|
+
}, v.ArrayIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue>;
|
|
870
|
+
readonly "~types"?: {
|
|
871
|
+
readonly input: {
|
|
872
|
+
views?: {
|
|
873
|
+
value: number;
|
|
874
|
+
observed_at: string;
|
|
875
|
+
source: "remote_fetch" | "remote_update";
|
|
876
|
+
reactions?: {
|
|
877
|
+
counts: {
|
|
878
|
+
reaction: string;
|
|
879
|
+
count: number;
|
|
880
|
+
}[];
|
|
881
|
+
mine: string | null;
|
|
882
|
+
total: number;
|
|
883
|
+
} | undefined;
|
|
884
|
+
} | undefined;
|
|
885
|
+
reactions?: {
|
|
886
|
+
value: number;
|
|
887
|
+
observed_at: string;
|
|
888
|
+
source: "remote_fetch" | "remote_update";
|
|
889
|
+
reactions?: {
|
|
890
|
+
counts: {
|
|
891
|
+
reaction: string;
|
|
892
|
+
count: number;
|
|
893
|
+
}[];
|
|
894
|
+
mine: string | null;
|
|
895
|
+
total: number;
|
|
896
|
+
} | undefined;
|
|
897
|
+
} | undefined;
|
|
898
|
+
comments?: {
|
|
899
|
+
value: number;
|
|
900
|
+
observed_at: string;
|
|
901
|
+
source: "remote_fetch" | "remote_update";
|
|
902
|
+
reactions?: {
|
|
903
|
+
counts: {
|
|
904
|
+
reaction: string;
|
|
905
|
+
count: number;
|
|
906
|
+
}[];
|
|
907
|
+
mine: string | null;
|
|
908
|
+
total: number;
|
|
909
|
+
} | undefined;
|
|
910
|
+
} | undefined;
|
|
911
|
+
};
|
|
912
|
+
readonly output: {
|
|
913
|
+
views?: {
|
|
914
|
+
value: number;
|
|
915
|
+
observed_at: string;
|
|
916
|
+
source: "remote_fetch" | "remote_update";
|
|
917
|
+
reactions?: {
|
|
918
|
+
counts: {
|
|
919
|
+
reaction: string;
|
|
920
|
+
count: number;
|
|
921
|
+
}[];
|
|
922
|
+
mine: string | null;
|
|
923
|
+
total: number;
|
|
924
|
+
} | undefined;
|
|
925
|
+
} | undefined;
|
|
926
|
+
reactions?: {
|
|
927
|
+
value: number;
|
|
928
|
+
observed_at: string;
|
|
929
|
+
source: "remote_fetch" | "remote_update";
|
|
930
|
+
reactions?: {
|
|
931
|
+
counts: {
|
|
932
|
+
reaction: string;
|
|
933
|
+
count: number;
|
|
934
|
+
}[];
|
|
935
|
+
mine: string | null;
|
|
936
|
+
total: number;
|
|
937
|
+
} | undefined;
|
|
938
|
+
} | undefined;
|
|
939
|
+
comments?: {
|
|
940
|
+
value: number;
|
|
941
|
+
observed_at: string;
|
|
942
|
+
source: "remote_fetch" | "remote_update";
|
|
943
|
+
reactions?: {
|
|
944
|
+
counts: {
|
|
945
|
+
reaction: string;
|
|
946
|
+
count: number;
|
|
947
|
+
}[];
|
|
948
|
+
mine: string | null;
|
|
949
|
+
total: number;
|
|
950
|
+
} | undefined;
|
|
951
|
+
} | undefined;
|
|
952
|
+
};
|
|
953
|
+
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;
|
|
954
|
+
} | undefined;
|
|
955
|
+
}, undefined>;
|
|
956
|
+
}, undefined>;
|
|
957
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
958
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
959
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
960
|
+
readonly event: v.LiteralSchema<"delete", undefined>;
|
|
961
|
+
readonly chat_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
962
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
963
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
964
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
965
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
966
|
+
readonly event: v.LiteralSchema<"reaction", undefined>;
|
|
967
|
+
readonly reactions: v.StrictObjectSchema<{
|
|
968
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
969
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
970
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
971
|
+
}, undefined>, undefined>;
|
|
972
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
973
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
974
|
+
}, undefined>;
|
|
975
|
+
readonly counter_observation: v.OptionalSchema<v.StrictObjectSchema<{
|
|
976
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
977
|
+
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`">]>;
|
|
978
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
979
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
980
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
981
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
982
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
983
|
+
}, undefined>, undefined>;
|
|
984
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
985
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
986
|
+
}, undefined>, undefined>;
|
|
987
|
+
}, undefined>, undefined>;
|
|
988
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
989
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
990
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
991
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
992
|
+
readonly event: v.LiteralSchema<"vote", undefined>;
|
|
993
|
+
readonly vote: v.StrictObjectSchema<{
|
|
994
|
+
readonly person_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
995
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
996
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
997
|
+
readonly answers: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
998
|
+
readonly voted_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`">]>;
|
|
999
|
+
}, undefined>;
|
|
1000
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1001
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1002
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1003
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1004
|
+
readonly event: v.LiteralSchema<"person_reaction", undefined>;
|
|
1005
|
+
readonly reaction: v.StrictObjectSchema<{
|
|
1006
|
+
readonly person: v.StrictObjectSchema<{
|
|
1007
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1008
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1009
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1010
|
+
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
1011
|
+
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>;
|
|
1012
|
+
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>;
|
|
1013
|
+
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>;
|
|
1014
|
+
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
1015
|
+
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1016
|
+
readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1017
|
+
readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
|
|
1018
|
+
readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1019
|
+
readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1020
|
+
readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1021
|
+
readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1022
|
+
}, undefined>;
|
|
1023
|
+
readonly own: v.BooleanSchema<undefined>;
|
|
1024
|
+
readonly reaction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1025
|
+
readonly reacted_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`">]>;
|
|
1026
|
+
}, undefined>;
|
|
1027
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1028
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1029
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1030
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1031
|
+
readonly event: v.LiteralSchema<"star", undefined>;
|
|
1032
|
+
readonly starred: v.BooleanSchema<undefined>;
|
|
1033
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1034
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1035
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1036
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1037
|
+
readonly event: v.LiteralSchema<"delivery", undefined>;
|
|
1038
|
+
readonly delivery: v.PicklistSchema<["delivered", "read"], undefined>;
|
|
1039
|
+
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`">]>;
|
|
1040
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
1041
|
+
readonly event: v.LiteralSchema<"chat_event", undefined>;
|
|
1042
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1043
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1044
|
+
readonly change: v.StrictObjectSchema<{
|
|
1045
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1046
|
+
readonly time: 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`">]>;
|
|
1047
|
+
readonly type: v.StringSchema<undefined>;
|
|
1048
|
+
readonly message_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1049
|
+
readonly by: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1050
|
+
readonly id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1051
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1052
|
+
readonly username: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1053
|
+
}, undefined>, undefined>;
|
|
1054
|
+
readonly people: v.ArraySchema<v.StrictObjectSchema<{
|
|
1055
|
+
readonly id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1056
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1057
|
+
readonly username: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1058
|
+
}, undefined>, undefined>;
|
|
1059
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1060
|
+
readonly before: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1061
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1062
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1063
|
+
}, undefined>, undefined>;
|
|
1064
|
+
}, undefined>;
|
|
1065
|
+
}, undefined>], undefined>;
|
|
1066
|
+
export declare const watchItem: v.UnionSchema<[v.StrictObjectSchema<{
|
|
1067
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
1068
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1069
|
+
readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1070
|
+
readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1071
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1072
|
+
readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1073
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1074
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1075
|
+
readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1076
|
+
readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1077
|
+
readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
1078
|
+
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`">]>;
|
|
1079
|
+
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>;
|
|
1080
|
+
readonly text: v.StringSchema<undefined>;
|
|
1081
|
+
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1082
|
+
readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1083
|
+
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1084
|
+
readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
|
|
1085
|
+
readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1086
|
+
readonly match: v.OptionalSchema<v.PicklistSchema<["words", "beginnings", "corrected"], undefined>, undefined>;
|
|
1087
|
+
readonly corrections: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1088
|
+
readonly from: v.StringSchema<undefined>;
|
|
1089
|
+
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1090
|
+
}, undefined>, undefined>, undefined>;
|
|
1091
|
+
readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
|
|
1092
|
+
readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1093
|
+
readonly coverage: v.NumberSchema<undefined>;
|
|
1094
|
+
readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1095
|
+
readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1096
|
+
readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1097
|
+
}, undefined>, undefined>;
|
|
1098
|
+
readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1099
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
1100
|
+
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`">]>;
|
|
1101
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1102
|
+
readonly text: v.StringSchema<undefined>;
|
|
1103
|
+
}, undefined>, undefined>, undefined>;
|
|
1104
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1105
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
1106
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1107
|
+
readonly kind: v.StringSchema<undefined>;
|
|
1108
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1109
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1110
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1111
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1112
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1113
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1114
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1115
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1116
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1117
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1118
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1119
|
+
readonly origin: v.StringSchema<undefined>;
|
|
1120
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
1121
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1122
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1123
|
+
}, undefined>, undefined>;
|
|
1124
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1125
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1126
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1127
|
+
readonly text: v.StringSchema<undefined>;
|
|
1128
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1129
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1130
|
+
}, undefined>, undefined>;
|
|
1131
|
+
readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
|
|
1132
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1133
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1134
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1135
|
+
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>;
|
|
1136
|
+
readonly text: v.StringSchema<undefined>;
|
|
1137
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
1138
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1139
|
+
readonly kind: v.StringSchema<undefined>;
|
|
1140
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1141
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1142
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1143
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1144
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1145
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1146
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1147
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1148
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1149
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1150
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1151
|
+
readonly origin: v.StringSchema<undefined>;
|
|
1152
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
1153
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1154
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1155
|
+
}, undefined>, undefined>;
|
|
1156
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1157
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1158
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1159
|
+
readonly text: v.StringSchema<undefined>;
|
|
1160
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1161
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1162
|
+
}, undefined>, undefined>;
|
|
1163
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1164
|
+
}, undefined>, undefined>;
|
|
1165
|
+
readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1166
|
+
readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
|
|
1167
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1168
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1169
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1170
|
+
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>;
|
|
1171
|
+
readonly text: v.StringSchema<undefined>;
|
|
1172
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
1173
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1174
|
+
readonly kind: v.StringSchema<undefined>;
|
|
1175
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1176
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1177
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1178
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1179
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1180
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1181
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1182
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1183
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1184
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1185
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1186
|
+
readonly origin: v.StringSchema<undefined>;
|
|
1187
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
1188
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1189
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1190
|
+
}, undefined>, undefined>;
|
|
1191
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1192
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1193
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1194
|
+
readonly text: v.StringSchema<undefined>;
|
|
1195
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1196
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1197
|
+
}, undefined>, undefined>;
|
|
1198
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1199
|
+
}, undefined>, undefined>;
|
|
1200
|
+
readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1201
|
+
readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1202
|
+
readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
|
|
1203
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1204
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1205
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1206
|
+
}, undefined>, undefined>;
|
|
1207
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1208
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1209
|
+
}, undefined>, undefined>, undefined>;
|
|
1210
|
+
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>;
|
|
1211
|
+
readonly delivery: v.OptionalSchema<v.PicklistSchema<["delivered", "read"], undefined>, undefined>;
|
|
1212
|
+
readonly email: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1213
|
+
readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1214
|
+
readonly from: v.NullableSchema<v.StrictObjectSchema<{
|
|
1215
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1216
|
+
readonly address: v.StringSchema<undefined>;
|
|
1217
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1218
|
+
}, undefined>, undefined>;
|
|
1219
|
+
readonly to: v.ArraySchema<v.StrictObjectSchema<{
|
|
1220
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1221
|
+
readonly address: v.StringSchema<undefined>;
|
|
1222
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1223
|
+
}, undefined>, undefined>;
|
|
1224
|
+
readonly cc: v.ArraySchema<v.StrictObjectSchema<{
|
|
1225
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1226
|
+
readonly address: v.StringSchema<undefined>;
|
|
1227
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1228
|
+
}, undefined>, undefined>;
|
|
1229
|
+
readonly bcc: v.ArraySchema<v.StrictObjectSchema<{
|
|
1230
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1231
|
+
readonly address: v.StringSchema<undefined>;
|
|
1232
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1233
|
+
}, undefined>, undefined>;
|
|
1234
|
+
readonly reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
|
|
1235
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1236
|
+
readonly address: v.StringSchema<undefined>;
|
|
1237
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1238
|
+
}, undefined>, undefined>;
|
|
1239
|
+
readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1240
|
+
readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
1241
|
+
readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1242
|
+
readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1243
|
+
readonly sender_score: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1244
|
+
readonly score: v.NumberSchema<undefined>;
|
|
1245
|
+
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1246
|
+
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
1247
|
+
}, undefined>, undefined>;
|
|
1248
|
+
}, undefined>, undefined>;
|
|
1249
|
+
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1250
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1251
|
+
readonly counter_observations: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1252
|
+
readonly views: v.StrictObjectSchema<{
|
|
1253
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1254
|
+
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`">]>;
|
|
1255
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1256
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1257
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1258
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1259
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1260
|
+
}, undefined>, undefined>;
|
|
1261
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1262
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1263
|
+
}, undefined>, undefined>;
|
|
1264
|
+
}, undefined>;
|
|
1265
|
+
readonly reactions: v.StrictObjectSchema<{
|
|
1266
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1267
|
+
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`">]>;
|
|
1268
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1269
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1270
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1271
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1272
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1273
|
+
}, undefined>, undefined>;
|
|
1274
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1275
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1276
|
+
}, undefined>, undefined>;
|
|
1277
|
+
}, undefined>;
|
|
1278
|
+
readonly comments: v.StrictObjectSchema<{
|
|
1279
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1280
|
+
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`">]>;
|
|
1281
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1282
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1283
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1284
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1285
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1286
|
+
}, undefined>, undefined>;
|
|
1287
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1288
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1289
|
+
}, undefined>, undefined>;
|
|
1290
|
+
}, undefined>;
|
|
1291
|
+
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1292
|
+
readonly entries: {
|
|
1293
|
+
readonly views: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1294
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1295
|
+
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`">]>;
|
|
1296
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1297
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1298
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1299
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1300
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1301
|
+
}, undefined>, undefined>;
|
|
1302
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1303
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1304
|
+
}, undefined>, undefined>;
|
|
1305
|
+
}, undefined>, undefined>;
|
|
1306
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1307
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1308
|
+
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`">]>;
|
|
1309
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1310
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1311
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1312
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1313
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1314
|
+
}, undefined>, undefined>;
|
|
1315
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1316
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1317
|
+
}, undefined>, undefined>;
|
|
1318
|
+
}, undefined>, undefined>;
|
|
1319
|
+
readonly comments: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1320
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1321
|
+
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`">]>;
|
|
1322
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1323
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1324
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1325
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1326
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1327
|
+
}, undefined>, undefined>;
|
|
1328
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1329
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1330
|
+
}, undefined>, undefined>;
|
|
1331
|
+
}, undefined>, undefined>;
|
|
1332
|
+
};
|
|
1333
|
+
readonly "~standard": v.StandardProps<{
|
|
1334
|
+
views?: {
|
|
1335
|
+
value: number;
|
|
1336
|
+
observed_at: string;
|
|
1337
|
+
source: "remote_fetch" | "remote_update";
|
|
1338
|
+
reactions?: {
|
|
1339
|
+
counts: {
|
|
1340
|
+
reaction: string;
|
|
1341
|
+
count: number;
|
|
1342
|
+
}[];
|
|
1343
|
+
mine: string | null;
|
|
1344
|
+
total: number;
|
|
1345
|
+
} | undefined;
|
|
1346
|
+
} | undefined;
|
|
1347
|
+
reactions?: {
|
|
1348
|
+
value: number;
|
|
1349
|
+
observed_at: string;
|
|
1350
|
+
source: "remote_fetch" | "remote_update";
|
|
1351
|
+
reactions?: {
|
|
1352
|
+
counts: {
|
|
1353
|
+
reaction: string;
|
|
1354
|
+
count: number;
|
|
1355
|
+
}[];
|
|
1356
|
+
mine: string | null;
|
|
1357
|
+
total: number;
|
|
1358
|
+
} | undefined;
|
|
1359
|
+
} | undefined;
|
|
1360
|
+
comments?: {
|
|
1361
|
+
value: number;
|
|
1362
|
+
observed_at: string;
|
|
1363
|
+
source: "remote_fetch" | "remote_update";
|
|
1364
|
+
reactions?: {
|
|
1365
|
+
counts: {
|
|
1366
|
+
reaction: string;
|
|
1367
|
+
count: number;
|
|
1368
|
+
}[];
|
|
1369
|
+
mine: string | null;
|
|
1370
|
+
total: number;
|
|
1371
|
+
} | undefined;
|
|
1372
|
+
} | undefined;
|
|
1373
|
+
}, {
|
|
1374
|
+
views?: {
|
|
1375
|
+
value: number;
|
|
1376
|
+
observed_at: string;
|
|
1377
|
+
source: "remote_fetch" | "remote_update";
|
|
1378
|
+
reactions?: {
|
|
1379
|
+
counts: {
|
|
1380
|
+
reaction: string;
|
|
1381
|
+
count: number;
|
|
1382
|
+
}[];
|
|
1383
|
+
mine: string | null;
|
|
1384
|
+
total: number;
|
|
1385
|
+
} | undefined;
|
|
1386
|
+
} | undefined;
|
|
1387
|
+
reactions?: {
|
|
1388
|
+
value: number;
|
|
1389
|
+
observed_at: string;
|
|
1390
|
+
source: "remote_fetch" | "remote_update";
|
|
1391
|
+
reactions?: {
|
|
1392
|
+
counts: {
|
|
1393
|
+
reaction: string;
|
|
1394
|
+
count: number;
|
|
1395
|
+
}[];
|
|
1396
|
+
mine: string | null;
|
|
1397
|
+
total: number;
|
|
1398
|
+
} | undefined;
|
|
1399
|
+
} | undefined;
|
|
1400
|
+
comments?: {
|
|
1401
|
+
value: number;
|
|
1402
|
+
observed_at: string;
|
|
1403
|
+
source: "remote_fetch" | "remote_update";
|
|
1404
|
+
reactions?: {
|
|
1405
|
+
counts: {
|
|
1406
|
+
reaction: string;
|
|
1407
|
+
count: number;
|
|
1408
|
+
}[];
|
|
1409
|
+
mine: string | null;
|
|
1410
|
+
total: number;
|
|
1411
|
+
} | undefined;
|
|
1412
|
+
} | undefined;
|
|
1413
|
+
}>;
|
|
1414
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1415
|
+
views?: {
|
|
1416
|
+
value: number;
|
|
1417
|
+
observed_at: string;
|
|
1418
|
+
source: "remote_fetch" | "remote_update";
|
|
1419
|
+
reactions?: {
|
|
1420
|
+
counts: {
|
|
1421
|
+
reaction: string;
|
|
1422
|
+
count: number;
|
|
1423
|
+
}[];
|
|
1424
|
+
mine: string | null;
|
|
1425
|
+
total: number;
|
|
1426
|
+
} | undefined;
|
|
1427
|
+
} | undefined;
|
|
1428
|
+
reactions?: {
|
|
1429
|
+
value: number;
|
|
1430
|
+
observed_at: string;
|
|
1431
|
+
source: "remote_fetch" | "remote_update";
|
|
1432
|
+
reactions?: {
|
|
1433
|
+
counts: {
|
|
1434
|
+
reaction: string;
|
|
1435
|
+
count: number;
|
|
1436
|
+
}[];
|
|
1437
|
+
mine: string | null;
|
|
1438
|
+
total: number;
|
|
1439
|
+
} | undefined;
|
|
1440
|
+
} | undefined;
|
|
1441
|
+
comments?: {
|
|
1442
|
+
value: number;
|
|
1443
|
+
observed_at: string;
|
|
1444
|
+
source: "remote_fetch" | "remote_update";
|
|
1445
|
+
reactions?: {
|
|
1446
|
+
counts: {
|
|
1447
|
+
reaction: string;
|
|
1448
|
+
count: number;
|
|
1449
|
+
}[];
|
|
1450
|
+
mine: string | null;
|
|
1451
|
+
total: number;
|
|
1452
|
+
} | undefined;
|
|
1453
|
+
} | undefined;
|
|
1454
|
+
}, v.ArrayIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue>;
|
|
1455
|
+
readonly "~types"?: {
|
|
1456
|
+
readonly input: {
|
|
1457
|
+
views?: {
|
|
1458
|
+
value: number;
|
|
1459
|
+
observed_at: string;
|
|
1460
|
+
source: "remote_fetch" | "remote_update";
|
|
1461
|
+
reactions?: {
|
|
1462
|
+
counts: {
|
|
1463
|
+
reaction: string;
|
|
1464
|
+
count: number;
|
|
1465
|
+
}[];
|
|
1466
|
+
mine: string | null;
|
|
1467
|
+
total: number;
|
|
1468
|
+
} | undefined;
|
|
1469
|
+
} | undefined;
|
|
1470
|
+
reactions?: {
|
|
1471
|
+
value: number;
|
|
1472
|
+
observed_at: string;
|
|
1473
|
+
source: "remote_fetch" | "remote_update";
|
|
1474
|
+
reactions?: {
|
|
1475
|
+
counts: {
|
|
1476
|
+
reaction: string;
|
|
1477
|
+
count: number;
|
|
1478
|
+
}[];
|
|
1479
|
+
mine: string | null;
|
|
1480
|
+
total: number;
|
|
1481
|
+
} | undefined;
|
|
1482
|
+
} | undefined;
|
|
1483
|
+
comments?: {
|
|
1484
|
+
value: number;
|
|
1485
|
+
observed_at: string;
|
|
1486
|
+
source: "remote_fetch" | "remote_update";
|
|
1487
|
+
reactions?: {
|
|
1488
|
+
counts: {
|
|
1489
|
+
reaction: string;
|
|
1490
|
+
count: number;
|
|
1491
|
+
}[];
|
|
1492
|
+
mine: string | null;
|
|
1493
|
+
total: number;
|
|
1494
|
+
} | undefined;
|
|
1495
|
+
} | undefined;
|
|
1496
|
+
};
|
|
1497
|
+
readonly output: {
|
|
1498
|
+
views?: {
|
|
1499
|
+
value: number;
|
|
1500
|
+
observed_at: string;
|
|
1501
|
+
source: "remote_fetch" | "remote_update";
|
|
1502
|
+
reactions?: {
|
|
1503
|
+
counts: {
|
|
1504
|
+
reaction: string;
|
|
1505
|
+
count: number;
|
|
1506
|
+
}[];
|
|
1507
|
+
mine: string | null;
|
|
1508
|
+
total: number;
|
|
1509
|
+
} | undefined;
|
|
1510
|
+
} | undefined;
|
|
1511
|
+
reactions?: {
|
|
1512
|
+
value: number;
|
|
1513
|
+
observed_at: string;
|
|
1514
|
+
source: "remote_fetch" | "remote_update";
|
|
1515
|
+
reactions?: {
|
|
1516
|
+
counts: {
|
|
1517
|
+
reaction: string;
|
|
1518
|
+
count: number;
|
|
1519
|
+
}[];
|
|
1520
|
+
mine: string | null;
|
|
1521
|
+
total: number;
|
|
1522
|
+
} | undefined;
|
|
1523
|
+
} | undefined;
|
|
1524
|
+
comments?: {
|
|
1525
|
+
value: number;
|
|
1526
|
+
observed_at: string;
|
|
1527
|
+
source: "remote_fetch" | "remote_update";
|
|
1528
|
+
reactions?: {
|
|
1529
|
+
counts: {
|
|
1530
|
+
reaction: string;
|
|
1531
|
+
count: number;
|
|
1532
|
+
}[];
|
|
1533
|
+
mine: string | null;
|
|
1534
|
+
total: number;
|
|
1535
|
+
} | undefined;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
};
|
|
1538
|
+
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;
|
|
1539
|
+
} | undefined;
|
|
1540
|
+
}, undefined>;
|
|
1541
|
+
}, undefined>, v.VariantSchema<"event", [v.StrictObjectSchema<{
|
|
1542
|
+
readonly event: v.PicklistSchema<["message", "edit"], undefined>;
|
|
1543
|
+
readonly message: v.StrictObjectSchema<{
|
|
1544
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
1545
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1546
|
+
readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1547
|
+
readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1548
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1549
|
+
readonly chat_title: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1550
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1551
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1552
|
+
readonly sender_username: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1553
|
+
readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1554
|
+
readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
1555
|
+
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`">]>;
|
|
1556
|
+
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>;
|
|
1557
|
+
readonly text: v.StringSchema<undefined>;
|
|
1558
|
+
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1559
|
+
readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1560
|
+
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1561
|
+
readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context", "picture"], undefined>, undefined>;
|
|
1562
|
+
readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1563
|
+
readonly match: v.OptionalSchema<v.PicklistSchema<["words", "beginnings", "corrected"], undefined>, undefined>;
|
|
1564
|
+
readonly corrections: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1565
|
+
readonly from: v.StringSchema<undefined>;
|
|
1566
|
+
readonly to: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1567
|
+
}, undefined>, undefined>, undefined>;
|
|
1568
|
+
readonly found_in: v.OptionalSchema<v.PicklistSchema<["archive", "server", "both"], undefined>, undefined>;
|
|
1569
|
+
readonly discovery: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1570
|
+
readonly coverage: v.NumberSchema<undefined>;
|
|
1571
|
+
readonly matched_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1572
|
+
readonly missing_terms: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1573
|
+
readonly parent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1574
|
+
}, undefined>, undefined>;
|
|
1575
|
+
readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1576
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
1577
|
+
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`">]>;
|
|
1578
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1579
|
+
readonly text: v.StringSchema<undefined>;
|
|
1580
|
+
}, undefined>, undefined>, undefined>;
|
|
1581
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1582
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
1583
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1584
|
+
readonly kind: v.StringSchema<undefined>;
|
|
1585
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1586
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1587
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1588
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1589
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1590
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1591
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1592
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1593
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1594
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1595
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1596
|
+
readonly origin: v.StringSchema<undefined>;
|
|
1597
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
1598
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1599
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1600
|
+
}, undefined>, undefined>;
|
|
1601
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1602
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1603
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1604
|
+
readonly text: v.StringSchema<undefined>;
|
|
1605
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1606
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1607
|
+
}, undefined>, undefined>;
|
|
1608
|
+
readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
|
|
1609
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1610
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1611
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1612
|
+
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>;
|
|
1613
|
+
readonly text: v.StringSchema<undefined>;
|
|
1614
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
1615
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1616
|
+
readonly kind: v.StringSchema<undefined>;
|
|
1617
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1618
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1619
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1620
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1621
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1622
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1623
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1624
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1625
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1626
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1627
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1628
|
+
readonly origin: v.StringSchema<undefined>;
|
|
1629
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
1630
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1631
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1632
|
+
}, undefined>, undefined>;
|
|
1633
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1634
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1635
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1636
|
+
readonly text: v.StringSchema<undefined>;
|
|
1637
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1638
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1639
|
+
}, undefined>, undefined>;
|
|
1640
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1641
|
+
}, undefined>, undefined>;
|
|
1642
|
+
readonly reply_to_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1643
|
+
readonly forwarded_from: v.NullableSchema<v.StrictObjectSchema<{
|
|
1644
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1645
|
+
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1646
|
+
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1647
|
+
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>;
|
|
1648
|
+
readonly text: v.StringSchema<undefined>;
|
|
1649
|
+
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
1650
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1651
|
+
readonly kind: v.StringSchema<undefined>;
|
|
1652
|
+
readonly position: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1653
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1654
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1655
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1656
|
+
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1657
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1658
|
+
readonly width: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1659
|
+
readonly height: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1660
|
+
readonly duration: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1661
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1662
|
+
readonly extraction: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1663
|
+
readonly origin: v.StringSchema<undefined>;
|
|
1664
|
+
readonly extractor: v.StringSchema<undefined>;
|
|
1665
|
+
readonly chars: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1666
|
+
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1667
|
+
}, undefined>, undefined>;
|
|
1668
|
+
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1669
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1670
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1671
|
+
readonly text: v.StringSchema<undefined>;
|
|
1672
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1673
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1674
|
+
}, undefined>, undefined>;
|
|
1675
|
+
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1676
|
+
}, undefined>, undefined>;
|
|
1677
|
+
readonly thread_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1678
|
+
readonly thread_root_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1679
|
+
readonly reactions: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
|
|
1680
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1681
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1682
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1683
|
+
}, undefined>, undefined>;
|
|
1684
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1685
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1686
|
+
}, undefined>, undefined>, undefined>;
|
|
1687
|
+
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>;
|
|
1688
|
+
readonly delivery: v.OptionalSchema<v.PicklistSchema<["delivered", "read"], undefined>, undefined>;
|
|
1689
|
+
readonly email: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1690
|
+
readonly subject: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1691
|
+
readonly from: v.NullableSchema<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 to: 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 cc: 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 bcc: 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 reply_addresses: v.ArraySchema<v.StrictObjectSchema<{
|
|
1712
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1713
|
+
readonly address: v.StringSchema<undefined>;
|
|
1714
|
+
readonly ref: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
1715
|
+
}, undefined>, undefined>;
|
|
1716
|
+
readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1717
|
+
readonly thread: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
1718
|
+
readonly read: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1719
|
+
readonly flagged: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1720
|
+
readonly sender_score: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1721
|
+
readonly score: v.NumberSchema<undefined>;
|
|
1722
|
+
readonly signals: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1723
|
+
readonly demoted: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
1724
|
+
}, undefined>, undefined>;
|
|
1725
|
+
}, undefined>, undefined>;
|
|
1726
|
+
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1727
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1728
|
+
readonly counter_observations: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1729
|
+
readonly views: v.StrictObjectSchema<{
|
|
1730
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1731
|
+
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`">]>;
|
|
1732
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1733
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1734
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1735
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1736
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1737
|
+
}, undefined>, undefined>;
|
|
1738
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1739
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1740
|
+
}, undefined>, undefined>;
|
|
1741
|
+
}, undefined>;
|
|
1742
|
+
readonly reactions: v.StrictObjectSchema<{
|
|
1743
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1744
|
+
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`">]>;
|
|
1745
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1746
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1747
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1748
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1749
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1750
|
+
}, undefined>, undefined>;
|
|
1751
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1752
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1753
|
+
}, undefined>, undefined>;
|
|
1754
|
+
}, undefined>;
|
|
1755
|
+
readonly comments: v.StrictObjectSchema<{
|
|
1756
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1757
|
+
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`">]>;
|
|
1758
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1759
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1760
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1761
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1762
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1763
|
+
}, undefined>, undefined>;
|
|
1764
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1765
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1766
|
+
}, undefined>, undefined>;
|
|
1767
|
+
}, undefined>;
|
|
1768
|
+
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1769
|
+
readonly entries: {
|
|
1770
|
+
readonly views: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1771
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1772
|
+
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`">]>;
|
|
1773
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1774
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1775
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1776
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1777
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1778
|
+
}, undefined>, undefined>;
|
|
1779
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1780
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1781
|
+
}, undefined>, undefined>;
|
|
1782
|
+
}, undefined>, undefined>;
|
|
1783
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1784
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1785
|
+
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`">]>;
|
|
1786
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1787
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1788
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1789
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1790
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1791
|
+
}, undefined>, undefined>;
|
|
1792
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1793
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1794
|
+
}, undefined>, undefined>;
|
|
1795
|
+
}, undefined>, undefined>;
|
|
1796
|
+
readonly comments: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1797
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1798
|
+
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`">]>;
|
|
1799
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
1800
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1801
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
1802
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
1803
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1804
|
+
}, undefined>, undefined>;
|
|
1805
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1806
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1807
|
+
}, undefined>, undefined>;
|
|
1808
|
+
}, undefined>, undefined>;
|
|
1809
|
+
};
|
|
1810
|
+
readonly "~standard": v.StandardProps<{
|
|
1811
|
+
views?: {
|
|
1812
|
+
value: number;
|
|
1813
|
+
observed_at: string;
|
|
1814
|
+
source: "remote_fetch" | "remote_update";
|
|
1815
|
+
reactions?: {
|
|
1816
|
+
counts: {
|
|
1817
|
+
reaction: string;
|
|
1818
|
+
count: number;
|
|
1819
|
+
}[];
|
|
1820
|
+
mine: string | null;
|
|
1821
|
+
total: number;
|
|
1822
|
+
} | undefined;
|
|
1823
|
+
} | undefined;
|
|
1824
|
+
reactions?: {
|
|
1825
|
+
value: number;
|
|
1826
|
+
observed_at: string;
|
|
1827
|
+
source: "remote_fetch" | "remote_update";
|
|
1828
|
+
reactions?: {
|
|
1829
|
+
counts: {
|
|
1830
|
+
reaction: string;
|
|
1831
|
+
count: number;
|
|
1832
|
+
}[];
|
|
1833
|
+
mine: string | null;
|
|
1834
|
+
total: number;
|
|
1835
|
+
} | undefined;
|
|
1836
|
+
} | undefined;
|
|
1837
|
+
comments?: {
|
|
1838
|
+
value: number;
|
|
1839
|
+
observed_at: string;
|
|
1840
|
+
source: "remote_fetch" | "remote_update";
|
|
1841
|
+
reactions?: {
|
|
1842
|
+
counts: {
|
|
1843
|
+
reaction: string;
|
|
1844
|
+
count: number;
|
|
1845
|
+
}[];
|
|
1846
|
+
mine: string | null;
|
|
1847
|
+
total: number;
|
|
1848
|
+
} | undefined;
|
|
1849
|
+
} | undefined;
|
|
1850
|
+
}, {
|
|
1851
|
+
views?: {
|
|
1852
|
+
value: number;
|
|
1853
|
+
observed_at: string;
|
|
1854
|
+
source: "remote_fetch" | "remote_update";
|
|
1855
|
+
reactions?: {
|
|
1856
|
+
counts: {
|
|
1857
|
+
reaction: string;
|
|
1858
|
+
count: number;
|
|
1859
|
+
}[];
|
|
1860
|
+
mine: string | null;
|
|
1861
|
+
total: number;
|
|
1862
|
+
} | undefined;
|
|
1863
|
+
} | undefined;
|
|
1864
|
+
reactions?: {
|
|
1865
|
+
value: number;
|
|
1866
|
+
observed_at: string;
|
|
1867
|
+
source: "remote_fetch" | "remote_update";
|
|
1868
|
+
reactions?: {
|
|
1869
|
+
counts: {
|
|
1870
|
+
reaction: string;
|
|
1871
|
+
count: number;
|
|
1872
|
+
}[];
|
|
1873
|
+
mine: string | null;
|
|
1874
|
+
total: number;
|
|
1875
|
+
} | undefined;
|
|
1876
|
+
} | undefined;
|
|
1877
|
+
comments?: {
|
|
1878
|
+
value: number;
|
|
1879
|
+
observed_at: string;
|
|
1880
|
+
source: "remote_fetch" | "remote_update";
|
|
1881
|
+
reactions?: {
|
|
1882
|
+
counts: {
|
|
1883
|
+
reaction: string;
|
|
1884
|
+
count: number;
|
|
1885
|
+
}[];
|
|
1886
|
+
mine: string | null;
|
|
1887
|
+
total: number;
|
|
1888
|
+
} | undefined;
|
|
1889
|
+
} | undefined;
|
|
1890
|
+
}>;
|
|
1891
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1892
|
+
views?: {
|
|
1893
|
+
value: number;
|
|
1894
|
+
observed_at: string;
|
|
1895
|
+
source: "remote_fetch" | "remote_update";
|
|
1896
|
+
reactions?: {
|
|
1897
|
+
counts: {
|
|
1898
|
+
reaction: string;
|
|
1899
|
+
count: number;
|
|
1900
|
+
}[];
|
|
1901
|
+
mine: string | null;
|
|
1902
|
+
total: number;
|
|
1903
|
+
} | undefined;
|
|
1904
|
+
} | undefined;
|
|
1905
|
+
reactions?: {
|
|
1906
|
+
value: number;
|
|
1907
|
+
observed_at: string;
|
|
1908
|
+
source: "remote_fetch" | "remote_update";
|
|
1909
|
+
reactions?: {
|
|
1910
|
+
counts: {
|
|
1911
|
+
reaction: string;
|
|
1912
|
+
count: number;
|
|
1913
|
+
}[];
|
|
1914
|
+
mine: string | null;
|
|
1915
|
+
total: number;
|
|
1916
|
+
} | undefined;
|
|
1917
|
+
} | undefined;
|
|
1918
|
+
comments?: {
|
|
1919
|
+
value: number;
|
|
1920
|
+
observed_at: string;
|
|
1921
|
+
source: "remote_fetch" | "remote_update";
|
|
1922
|
+
reactions?: {
|
|
1923
|
+
counts: {
|
|
1924
|
+
reaction: string;
|
|
1925
|
+
count: number;
|
|
1926
|
+
}[];
|
|
1927
|
+
mine: string | null;
|
|
1928
|
+
total: number;
|
|
1929
|
+
} | undefined;
|
|
1930
|
+
} | undefined;
|
|
1931
|
+
}, v.ArrayIssue | v.EndsWithIssue<string, "Z"> | v.IntegerIssue<number> | v.IsoTimestampIssue<string> | v.MinValueIssue<number, 0> | v.NumberIssue | v.PicklistIssue | v.StrictObjectIssue | v.StringIssue>;
|
|
1932
|
+
readonly "~types"?: {
|
|
1933
|
+
readonly input: {
|
|
1934
|
+
views?: {
|
|
1935
|
+
value: number;
|
|
1936
|
+
observed_at: string;
|
|
1937
|
+
source: "remote_fetch" | "remote_update";
|
|
1938
|
+
reactions?: {
|
|
1939
|
+
counts: {
|
|
1940
|
+
reaction: string;
|
|
1941
|
+
count: number;
|
|
1942
|
+
}[];
|
|
1943
|
+
mine: string | null;
|
|
1944
|
+
total: number;
|
|
1945
|
+
} | undefined;
|
|
1946
|
+
} | undefined;
|
|
1947
|
+
reactions?: {
|
|
1948
|
+
value: number;
|
|
1949
|
+
observed_at: string;
|
|
1950
|
+
source: "remote_fetch" | "remote_update";
|
|
1951
|
+
reactions?: {
|
|
1952
|
+
counts: {
|
|
1953
|
+
reaction: string;
|
|
1954
|
+
count: number;
|
|
1955
|
+
}[];
|
|
1956
|
+
mine: string | null;
|
|
1957
|
+
total: number;
|
|
1958
|
+
} | undefined;
|
|
1959
|
+
} | undefined;
|
|
1960
|
+
comments?: {
|
|
1961
|
+
value: number;
|
|
1962
|
+
observed_at: string;
|
|
1963
|
+
source: "remote_fetch" | "remote_update";
|
|
1964
|
+
reactions?: {
|
|
1965
|
+
counts: {
|
|
1966
|
+
reaction: string;
|
|
1967
|
+
count: number;
|
|
1968
|
+
}[];
|
|
1969
|
+
mine: string | null;
|
|
1970
|
+
total: number;
|
|
1971
|
+
} | undefined;
|
|
1972
|
+
} | undefined;
|
|
1973
|
+
};
|
|
1974
|
+
readonly output: {
|
|
1975
|
+
views?: {
|
|
1976
|
+
value: number;
|
|
1977
|
+
observed_at: string;
|
|
1978
|
+
source: "remote_fetch" | "remote_update";
|
|
1979
|
+
reactions?: {
|
|
1980
|
+
counts: {
|
|
1981
|
+
reaction: string;
|
|
1982
|
+
count: number;
|
|
1983
|
+
}[];
|
|
1984
|
+
mine: string | null;
|
|
1985
|
+
total: number;
|
|
1986
|
+
} | undefined;
|
|
1987
|
+
} | undefined;
|
|
1988
|
+
reactions?: {
|
|
1989
|
+
value: number;
|
|
1990
|
+
observed_at: string;
|
|
1991
|
+
source: "remote_fetch" | "remote_update";
|
|
1992
|
+
reactions?: {
|
|
1993
|
+
counts: {
|
|
1994
|
+
reaction: string;
|
|
1995
|
+
count: number;
|
|
1996
|
+
}[];
|
|
1997
|
+
mine: string | null;
|
|
1998
|
+
total: number;
|
|
1999
|
+
} | undefined;
|
|
2000
|
+
} | undefined;
|
|
2001
|
+
comments?: {
|
|
2002
|
+
value: number;
|
|
2003
|
+
observed_at: string;
|
|
2004
|
+
source: "remote_fetch" | "remote_update";
|
|
2005
|
+
reactions?: {
|
|
2006
|
+
counts: {
|
|
2007
|
+
reaction: string;
|
|
2008
|
+
count: number;
|
|
2009
|
+
}[];
|
|
2010
|
+
mine: string | null;
|
|
2011
|
+
total: number;
|
|
2012
|
+
} | undefined;
|
|
2013
|
+
} | undefined;
|
|
2014
|
+
};
|
|
2015
|
+
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;
|
|
2016
|
+
} | undefined;
|
|
2017
|
+
}, undefined>;
|
|
2018
|
+
}, undefined>;
|
|
2019
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2020
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2021
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2022
|
+
readonly event: v.LiteralSchema<"delete", undefined>;
|
|
2023
|
+
readonly chat_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2024
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2025
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2026
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2027
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2028
|
+
readonly event: v.LiteralSchema<"reaction", undefined>;
|
|
2029
|
+
readonly reactions: v.StrictObjectSchema<{
|
|
2030
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
2031
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
2032
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2033
|
+
}, undefined>, undefined>;
|
|
2034
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2035
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2036
|
+
}, undefined>;
|
|
2037
|
+
readonly counter_observation: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2038
|
+
readonly value: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2039
|
+
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`">]>;
|
|
2040
|
+
readonly source: v.PicklistSchema<["remote_fetch", "remote_update"], undefined>;
|
|
2041
|
+
readonly reactions: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2042
|
+
readonly counts: v.ArraySchema<v.StrictObjectSchema<{
|
|
2043
|
+
readonly reaction: v.StringSchema<undefined>;
|
|
2044
|
+
readonly count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2045
|
+
}, undefined>, undefined>;
|
|
2046
|
+
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2047
|
+
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2048
|
+
}, undefined>, undefined>;
|
|
2049
|
+
}, undefined>, undefined>;
|
|
2050
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2051
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2052
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2053
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2054
|
+
readonly event: v.LiteralSchema<"vote", undefined>;
|
|
2055
|
+
readonly vote: v.StrictObjectSchema<{
|
|
2056
|
+
readonly person_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2057
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2058
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2059
|
+
readonly answers: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2060
|
+
readonly voted_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`">]>;
|
|
2061
|
+
}, undefined>;
|
|
2062
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2063
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2064
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2065
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2066
|
+
readonly event: v.LiteralSchema<"person_reaction", undefined>;
|
|
2067
|
+
readonly reaction: v.StrictObjectSchema<{
|
|
2068
|
+
readonly person: v.StrictObjectSchema<{
|
|
2069
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2070
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2071
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2072
|
+
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
2073
|
+
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>;
|
|
2074
|
+
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>;
|
|
2075
|
+
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>;
|
|
2076
|
+
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
2077
|
+
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2078
|
+
readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2079
|
+
readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
|
|
2080
|
+
readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
2081
|
+
readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2082
|
+
readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2083
|
+
readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
2084
|
+
}, undefined>;
|
|
2085
|
+
readonly own: v.BooleanSchema<undefined>;
|
|
2086
|
+
readonly reaction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2087
|
+
readonly reacted_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`">]>;
|
|
2088
|
+
}, undefined>;
|
|
2089
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2090
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2091
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2092
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2093
|
+
readonly event: v.LiteralSchema<"star", undefined>;
|
|
2094
|
+
readonly starred: v.BooleanSchema<undefined>;
|
|
2095
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2096
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2097
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2098
|
+
readonly message_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2099
|
+
readonly event: v.LiteralSchema<"delivery", undefined>;
|
|
2100
|
+
readonly delivery: v.PicklistSchema<["delivered", "read"], undefined>;
|
|
2101
|
+
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`">]>;
|
|
2102
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
2103
|
+
readonly event: v.LiteralSchema<"chat_event", undefined>;
|
|
2104
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2105
|
+
readonly chat_title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2106
|
+
readonly change: v.StrictObjectSchema<{
|
|
2107
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2108
|
+
readonly time: 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`">]>;
|
|
2109
|
+
readonly type: v.StringSchema<undefined>;
|
|
2110
|
+
readonly message_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2111
|
+
readonly by: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2112
|
+
readonly id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2113
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2114
|
+
readonly username: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2115
|
+
}, undefined>, undefined>;
|
|
2116
|
+
readonly people: v.ArraySchema<v.StrictObjectSchema<{
|
|
2117
|
+
readonly id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2118
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2119
|
+
readonly username: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2120
|
+
}, undefined>, undefined>;
|
|
2121
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2122
|
+
readonly before: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2123
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2124
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2125
|
+
}, undefined>, undefined>;
|
|
2126
|
+
}, undefined>;
|
|
2127
|
+
}, undefined>], undefined>], undefined>;
|
|
2128
|
+
export declare const serveSummary: v.StrictObjectSchema<{
|
|
2129
|
+
readonly profile: v.StringSchema<undefined>;
|
|
2130
|
+
readonly started_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`">]>;
|
|
2131
|
+
readonly stopped_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`">]>;
|
|
2132
|
+
readonly kept: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2133
|
+
readonly replies: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2134
|
+
readonly sent: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2135
|
+
readonly skipped: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2136
|
+
readonly tasks: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
2137
|
+
}, undefined>, undefined>;
|
|
2138
|
+
readonly members: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2139
|
+
readonly fetched: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2140
|
+
readonly failed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2141
|
+
}, undefined>, undefined>;
|
|
2142
|
+
readonly stems: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2143
|
+
readonly stemmed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2144
|
+
}, undefined>, undefined>;
|
|
2145
|
+
readonly tasks: v.OptionalSchema<v.StrictObjectSchema<{
|
|
2146
|
+
readonly added: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2147
|
+
readonly closed: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2148
|
+
readonly review: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2149
|
+
}, undefined>, undefined>;
|
|
2150
|
+
}, undefined>;
|