@wirecat/cli-core 0.264.0 → 0.265.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/dist/cli/envelope.d.ts +2 -0
- package/dist/cli/envelope.d.ts.map +1 -1
- package/dist/cli/envelope.js +2 -2
- package/dist/cli/envelope.js.map +1 -1
- package/dist/cli/list-query.d.ts +14 -2
- package/dist/cli/list-query.d.ts.map +1 -1
- package/dist/cli/list-query.js +59 -8
- package/dist/cli/list-query.js.map +1 -1
- package/dist/cli/messenger/admin-commands.d.ts.map +1 -1
- package/dist/cli/messenger/admin-commands.js +34 -46
- package/dist/cli/messenger/admin-commands.js.map +1 -1
- package/dist/cli/messenger/admin-contacts-command.d.ts.map +1 -1
- package/dist/cli/messenger/admin-contacts-command.js +7 -3
- package/dist/cli/messenger/admin-contacts-command.js.map +1 -1
- package/dist/cli/messenger/admin-folders-command.d.ts.map +1 -1
- package/dist/cli/messenger/admin-folders-command.js +21 -21
- package/dist/cli/messenger/admin-folders-command.js.map +1 -1
- package/dist/cli/messenger/admin-moderation-command.d.ts.map +1 -1
- package/dist/cli/messenger/admin-moderation-command.js +11 -13
- package/dist/cli/messenger/admin-moderation-command.js.map +1 -1
- package/dist/cli/messenger/chat-answers.d.ts +155 -0
- package/dist/cli/messenger/chat-answers.d.ts.map +1 -0
- package/dist/cli/messenger/chat-answers.js +243 -0
- package/dist/cli/messenger/chat-answers.js.map +1 -0
- package/dist/cli/messenger/chat-lists.d.ts +161 -0
- package/dist/cli/messenger/chat-lists.d.ts.map +1 -0
- package/dist/cli/messenger/chat-lists.js +82 -0
- package/dist/cli/messenger/chat-lists.js.map +1 -0
- package/dist/cli/messenger/chat-queries.d.ts +14 -0
- package/dist/cli/messenger/chat-queries.d.ts.map +1 -0
- package/dist/cli/messenger/chat-queries.js +48 -0
- package/dist/cli/messenger/chat-queries.js.map +1 -0
- package/dist/cli/messenger/chats-bots-command.d.ts.map +1 -1
- package/dist/cli/messenger/chats-bots-command.js +7 -2
- package/dist/cli/messenger/chats-bots-command.js.map +1 -1
- package/dist/cli/messenger/chats-command.d.ts.map +1 -1
- package/dist/cli/messenger/chats-command.js +33 -71
- package/dist/cli/messenger/chats-command.js.map +1 -1
- package/dist/cli/messenger/chats-documents-command.d.ts.map +1 -1
- package/dist/cli/messenger/chats-documents-command.js +10 -5
- package/dist/cli/messenger/chats-documents-command.js.map +1 -1
- package/dist/cli/messenger/chats-members-command.d.ts.map +1 -1
- package/dist/cli/messenger/chats-members-command.js +38 -64
- package/dist/cli/messenger/chats-members-command.js.map +1 -1
- package/dist/cli/messenger/chats-read-command.d.ts.map +1 -1
- package/dist/cli/messenger/chats-read-command.js +4 -2
- package/dist/cli/messenger/chats-read-command.js.map +1 -1
- package/dist/cli/messenger/chats-stats-command.d.ts.map +1 -1
- package/dist/cli/messenger/chats-stats-command.js +24 -17
- package/dist/cli/messenger/chats-stats-command.js.map +1 -1
- package/dist/cli/messenger/chats-tracking-command.d.ts.map +1 -1
- package/dist/cli/messenger/chats-tracking-command.js +11 -17
- package/dist/cli/messenger/chats-tracking-command.js.map +1 -1
- package/dist/cli/messenger/contacts-command.d.ts.map +1 -1
- package/dist/cli/messenger/contacts-command.js +61 -43
- package/dist/cli/messenger/contacts-command.js.map +1 -1
- package/dist/cli/messenger/hearing-command.d.ts +1 -1
- package/dist/cli/messenger/hearing-command.d.ts.map +1 -1
- package/dist/cli/messenger/hearing-command.js +1 -1
- package/dist/cli/messenger/hearing-command.js.map +1 -1
- package/dist/cli/messenger/history-query.d.ts +18 -0
- package/dist/cli/messenger/history-query.d.ts.map +1 -0
- package/dist/cli/messenger/history-query.js +63 -0
- package/dist/cli/messenger/history-query.js.map +1 -0
- package/dist/cli/messenger/list-query.d.ts +13 -0
- package/dist/cli/messenger/list-query.d.ts.map +1 -0
- package/dist/cli/messenger/list-query.js +23 -0
- package/dist/cli/messenger/list-query.js.map +1 -0
- package/dist/cli/messenger/message-items.d.ts +31 -0
- package/dist/cli/messenger/message-items.d.ts.map +1 -0
- package/dist/cli/messenger/message-items.js +95 -0
- package/dist/cli/messenger/message-items.js.map +1 -0
- package/dist/cli/messenger/messages-command.d.ts.map +1 -1
- package/dist/cli/messenger/messages-command.js +52 -77
- package/dist/cli/messenger/messages-command.js.map +1 -1
- package/dist/cli/messenger/messages-comments-command.d.ts.map +1 -1
- package/dist/cli/messenger/messages-comments-command.js +39 -28
- package/dist/cli/messenger/messages-comments-command.js.map +1 -1
- package/dist/cli/messenger/messages-link-command.d.ts.map +1 -1
- package/dist/cli/messenger/messages-link-command.js +16 -14
- package/dist/cli/messenger/messages-link-command.js.map +1 -1
- package/dist/cli/messenger/messages-scheduled-command.d.ts.map +1 -1
- package/dist/cli/messenger/messages-scheduled-command.js +23 -26
- package/dist/cli/messenger/messages-scheduled-command.js.map +1 -1
- package/dist/cli/messenger/people-queries.d.ts +6 -0
- package/dist/cli/messenger/people-queries.d.ts.map +1 -0
- package/dist/cli/messenger/people-queries.js +15 -0
- package/dist/cli/messenger/people-queries.js.map +1 -0
- package/dist/cli/messenger/polls-command.d.ts.map +1 -1
- package/dist/cli/messenger/polls-command.js +29 -23
- package/dist/cli/messenger/polls-command.js.map +1 -1
- package/dist/cli/messenger/reactions-command.d.ts.map +1 -1
- package/dist/cli/messenger/reactions-command.js +6 -2
- package/dist/cli/messenger/reactions-command.js.map +1 -1
- package/dist/cli/messenger/topics-command.d.ts.map +1 -1
- package/dist/cli/messenger/topics-command.js +21 -9
- package/dist/cli/messenger/topics-command.js.map +1 -1
- package/dist/cli/steps.d.ts.map +1 -1
- package/dist/cli/steps.js +24 -0
- package/dist/cli/steps.js.map +1 -1
- package/dist/entities/attachment.d.ts +6 -0
- package/dist/entities/attachment.d.ts.map +1 -1
- package/dist/entities/attachment.js +6 -0
- package/dist/entities/attachment.js.map +1 -1
- package/dist/entities/chat-event.d.ts +28 -0
- package/dist/entities/chat-event.d.ts.map +1 -0
- package/dist/entities/chat-event.js +19 -0
- package/dist/entities/chat-event.js.map +1 -0
- package/dist/entities/chat.d.ts +29 -0
- package/dist/entities/chat.d.ts.map +1 -1
- package/dist/entities/chat.js +15 -0
- package/dist/entities/chat.js.map +1 -1
- package/dist/entities/contact.d.ts +137 -0
- package/dist/entities/contact.d.ts.map +1 -1
- package/dist/entities/contact.js +6 -1
- package/dist/entities/contact.js.map +1 -1
- package/dist/entities/folder.d.ts +31 -0
- package/dist/entities/folder.d.ts.map +1 -0
- package/dist/entities/folder.js +25 -0
- package/dist/entities/folder.js.map +1 -0
- package/dist/entities/index.d.ts +364 -1
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +17 -1
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/invite-link.d.ts +17 -0
- package/dist/entities/invite-link.d.ts.map +1 -0
- package/dist/entities/invite-link.js +18 -0
- package/dist/entities/invite-link.js.map +1 -0
- package/dist/entities/join-request.d.ts +12 -0
- package/dist/entities/join-request.d.ts.map +1 -0
- package/dist/entities/join-request.js +13 -0
- package/dist/entities/join-request.js.map +1 -0
- package/dist/entities/member.d.ts +24 -0
- package/dist/entities/member.d.ts.map +1 -0
- package/dist/entities/member.js +25 -0
- package/dist/entities/member.js.map +1 -0
- package/dist/entities/message-link.d.ts +10 -0
- package/dist/entities/message-link.d.ts.map +1 -0
- package/dist/entities/message-link.js +11 -0
- package/dist/entities/message-link.js.map +1 -0
- package/dist/entities/message.d.ts +19 -0
- package/dist/entities/message.d.ts.map +1 -1
- package/dist/entities/message.js +4 -0
- package/dist/entities/message.js.map +1 -1
- package/dist/entities/poll-vote.d.ts +11 -0
- package/dist/entities/poll-vote.d.ts.map +1 -0
- package/dist/entities/poll-vote.js +12 -0
- package/dist/entities/poll-vote.js.map +1 -0
- package/dist/entities/topic.d.ts +14 -0
- package/dist/entities/topic.d.ts.map +1 -0
- package/dist/entities/topic.js +15 -0
- package/dist/entities/topic.js.map +1 -0
- package/dist/mcp/instructions.d.ts.map +1 -1
- package/dist/mcp/instructions.js +3 -2
- package/dist/mcp/instructions.js.map +1 -1
- package/dist/mcp/tools/admin.d.ts.map +1 -1
- package/dist/mcp/tools/admin.js +41 -39
- package/dist/mcp/tools/admin.js.map +1 -1
- package/dist/mcp/tools/chats-read.d.ts.map +1 -1
- package/dist/mcp/tools/chats-read.js +4 -2
- package/dist/mcp/tools/chats-read.js.map +1 -1
- package/dist/mcp/tools/chats.d.ts.map +1 -1
- package/dist/mcp/tools/chats.js +77 -84
- package/dist/mcp/tools/chats.js.map +1 -1
- package/dist/mcp/tools/contacts-write.d.ts.map +1 -1
- package/dist/mcp/tools/contacts-write.js +4 -2
- package/dist/mcp/tools/contacts-write.js.map +1 -1
- package/dist/mcp/tools/contacts.d.ts.map +1 -1
- package/dist/mcp/tools/contacts.js +55 -30
- package/dist/mcp/tools/contacts.js.map +1 -1
- package/dist/mcp/tools/folders.d.ts.map +1 -1
- package/dist/mcp/tools/folders.js +12 -11
- package/dist/mcp/tools/folders.js.map +1 -1
- package/dist/mcp/tools/messages.d.ts.map +1 -1
- package/dist/mcp/tools/messages.js +74 -59
- package/dist/mcp/tools/messages.js.map +1 -1
- package/dist/mcp/tools/moderation.d.ts.map +1 -1
- package/dist/mcp/tools/moderation.js +5 -3
- package/dist/mcp/tools/moderation.js.map +1 -1
- package/dist/mcp/tools/polls.d.ts.map +1 -1
- package/dist/mcp/tools/polls.js +31 -14
- package/dist/mcp/tools/polls.js.map +1 -1
- package/dist/mcp/tools/reactions.d.ts.map +1 -1
- package/dist/mcp/tools/reactions.js +4 -2
- package/dist/mcp/tools/reactions.js.map +1 -1
- package/dist/mcp/tools/topics.d.ts.map +1 -1
- package/dist/mcp/tools/topics.js +30 -20
- package/dist/mcp/tools/topics.js.map +1 -1
- package/dist/services/admin.js +2 -2
- package/dist/services/admin.js.map +1 -1
- package/dist/services/chats.d.ts +6 -20
- package/dist/services/chats.d.ts.map +1 -1
- package/dist/services/chats.js +6 -43
- package/dist/services/chats.js.map +1 -1
- package/dist/services/document-pictures.d.ts +26 -0
- package/dist/services/document-pictures.d.ts.map +1 -0
- package/dist/services/document-pictures.js +37 -0
- package/dist/services/document-pictures.js.map +1 -0
- package/dist/services/index.d.ts +3 -2
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +2 -1
- package/dist/services/index.js.map +1 -1
- package/dist/services/messages.d.ts +2 -0
- package/dist/services/messages.d.ts.map +1 -1
- package/dist/services/messages.js +1 -0
- package/dist/services/messages.js.map +1 -1
- package/dist/services/notes-search.d.ts +14 -1
- package/dist/services/notes-search.d.ts.map +1 -1
- package/dist/services/notes-search.js +46 -1
- package/dist/services/notes-search.js.map +1 -1
- package/dist/services/people.d.ts +1 -1
- package/dist/services/people.d.ts.map +1 -1
- package/dist/services/people.js +0 -18
- package/dist/services/people.js.map +1 -1
- package/dist/speech/hearing.d.ts +3 -0
- package/dist/speech/hearing.d.ts.map +1 -1
- package/dist/speech/hearing.js +16 -0
- package/dist/speech/hearing.js.map +1 -1
- package/dist/store/sqlite/document-pictures.d.ts +29 -0
- package/dist/store/sqlite/document-pictures.d.ts.map +1 -0
- package/dist/store/sqlite/document-pictures.js +81 -0
- package/dist/store/sqlite/document-pictures.js.map +1 -0
- package/dist/store/sqlite/entity-types.d.ts +1 -0
- package/dist/store/sqlite/entity-types.d.ts.map +1 -1
- package/dist/store/sqlite/entity-types.js +1 -0
- package/dist/store/sqlite/entity-types.js.map +1 -1
- package/dist/store/sqlite/note-index.d.ts.map +1 -1
- package/dist/store/sqlite/note-index.js +3 -0
- package/dist/store/sqlite/note-index.js.map +1 -1
- package/dist/store/sqlite/note-search.d.ts +2 -1
- package/dist/store/sqlite/note-search.d.ts.map +1 -1
- package/dist/store/sqlite/note-search.js +2 -0
- package/dist/store/sqlite/note-search.js.map +1 -1
- package/package.json +1 -1
- package/parity.json +10 -77
- package/dist/cli/messenger/after.d.ts +0 -20
- package/dist/cli/messenger/after.d.ts.map +0 -1
- package/dist/cli/messenger/after.js +0 -27
- package/dist/cli/messenger/after.js.map +0 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -2,25 +2,33 @@ import * as v from "valibot";
|
|
|
2
2
|
import { account } from "./account.js";
|
|
3
3
|
import { attachment } from "./attachment.js";
|
|
4
4
|
import { chat } from "./chat.js";
|
|
5
|
+
import { chatEvent } from "./chat-event.js";
|
|
5
6
|
import { contact } from "./contact.js";
|
|
6
7
|
import { conversation } from "./conversation.js";
|
|
7
8
|
import { document } from "./document.js";
|
|
8
9
|
import { fact } from "./fact.js";
|
|
9
10
|
import { reference } from "./fields.js";
|
|
11
|
+
import { folder } from "./folder.js";
|
|
10
12
|
import { identity } from "./identity.js";
|
|
13
|
+
import { inviteLink } from "./invite-link.js";
|
|
14
|
+
import { joinRequest } from "./join-request.js";
|
|
11
15
|
import { meeting } from "./meeting.js";
|
|
16
|
+
import { member } from "./member.js";
|
|
12
17
|
import { memory } from "./memory.js";
|
|
13
18
|
import { message } from "./message.js";
|
|
19
|
+
import { messageLink } from "./message-link.js";
|
|
14
20
|
import { note } from "./note.js";
|
|
15
21
|
import { person } from "./person.js";
|
|
22
|
+
import { pollVote } from "./poll-vote.js";
|
|
16
23
|
import { tagging } from "./tagging.js";
|
|
17
24
|
import { task } from "./task.js";
|
|
25
|
+
import { topic } from "./topic.js";
|
|
18
26
|
/**
|
|
19
27
|
* One schema per thing a command can answer with. A command returns an entity or one of its views — a
|
|
20
28
|
* subset of its fields, never a renamed one. Commands move onto these one by one; until then, a schema
|
|
21
29
|
* is the target, not a description of today's output.
|
|
22
30
|
*/
|
|
23
|
-
export { account, attachment, chat, contact, conversation, document, fact, identity, meeting, memory, message, note, person, reference, tagging, task, };
|
|
31
|
+
export { account, attachment, chat, chatEvent, contact, conversation, document, fact, folder, identity, inviteLink, joinRequest, meeting, member, memory, message, messageLink, note, person, pollVote, reference, tagging, task, topic, };
|
|
24
32
|
export declare const ENTITIES: {
|
|
25
33
|
readonly message: v.StrictObjectSchema<{
|
|
26
34
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
@@ -37,6 +45,8 @@ export declare const ENTITIES: {
|
|
|
37
45
|
readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
38
46
|
readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
39
47
|
readonly text: v.StringSchema<undefined>;
|
|
48
|
+
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
49
|
+
readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
40
50
|
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
41
51
|
readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
|
|
42
52
|
readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -60,6 +70,11 @@ export declare const ENTITIES: {
|
|
|
60
70
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
61
71
|
}, undefined>, undefined>;
|
|
62
72
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
73
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
74
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
75
|
+
readonly text: v.StringSchema<undefined>;
|
|
76
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
77
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
63
78
|
}, undefined>, undefined>;
|
|
64
79
|
readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
|
|
65
80
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -86,6 +101,11 @@ export declare const ENTITIES: {
|
|
|
86
101
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
87
102
|
}, undefined>, undefined>;
|
|
88
103
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
104
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
105
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
106
|
+
readonly text: v.StringSchema<undefined>;
|
|
107
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
108
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
89
109
|
}, undefined>, undefined>;
|
|
90
110
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
91
111
|
}, undefined>, undefined>;
|
|
@@ -115,6 +135,11 @@ export declare const ENTITIES: {
|
|
|
115
135
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
116
136
|
}, undefined>, undefined>;
|
|
117
137
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
138
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
139
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
140
|
+
readonly text: v.StringSchema<undefined>;
|
|
141
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
142
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
118
143
|
}, undefined>, undefined>;
|
|
119
144
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
120
145
|
}, undefined>, undefined>;
|
|
@@ -178,6 +203,8 @@ export declare const ENTITIES: {
|
|
|
178
203
|
readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
179
204
|
readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
180
205
|
readonly text: v.StringSchema<undefined>;
|
|
206
|
+
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
207
|
+
readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
181
208
|
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
182
209
|
readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
|
|
183
210
|
readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -201,6 +228,11 @@ export declare const ENTITIES: {
|
|
|
201
228
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
202
229
|
}, undefined>, undefined>;
|
|
203
230
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
231
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
232
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
233
|
+
readonly text: v.StringSchema<undefined>;
|
|
234
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
235
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
204
236
|
}, undefined>, undefined>;
|
|
205
237
|
readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
|
|
206
238
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -227,6 +259,11 @@ export declare const ENTITIES: {
|
|
|
227
259
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
228
260
|
}, undefined>, undefined>;
|
|
229
261
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
262
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
263
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
264
|
+
readonly text: v.StringSchema<undefined>;
|
|
265
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
266
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
230
267
|
}, undefined>, undefined>;
|
|
231
268
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
232
269
|
}, undefined>, undefined>;
|
|
@@ -256,6 +293,11 @@ export declare const ENTITIES: {
|
|
|
256
293
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
257
294
|
}, undefined>, undefined>;
|
|
258
295
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
296
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
297
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
298
|
+
readonly text: v.StringSchema<undefined>;
|
|
299
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
300
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
259
301
|
}, undefined>, undefined>;
|
|
260
302
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
261
303
|
}, undefined>, undefined>;
|
|
@@ -319,6 +361,8 @@ export declare const ENTITIES: {
|
|
|
319
361
|
readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
320
362
|
readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
321
363
|
readonly text: v.StringSchema<undefined>;
|
|
364
|
+
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
365
|
+
readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
322
366
|
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
323
367
|
readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
|
|
324
368
|
readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -342,6 +386,11 @@ export declare const ENTITIES: {
|
|
|
342
386
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
343
387
|
}, undefined>, undefined>;
|
|
344
388
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
389
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
390
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
391
|
+
readonly text: v.StringSchema<undefined>;
|
|
392
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
393
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
345
394
|
}, undefined>, undefined>;
|
|
346
395
|
readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
|
|
347
396
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -368,6 +417,11 @@ export declare const ENTITIES: {
|
|
|
368
417
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
369
418
|
}, undefined>, undefined>;
|
|
370
419
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
420
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
421
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
422
|
+
readonly text: v.StringSchema<undefined>;
|
|
423
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
424
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
371
425
|
}, undefined>, undefined>;
|
|
372
426
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
373
427
|
}, undefined>, undefined>;
|
|
@@ -397,6 +451,11 @@ export declare const ENTITIES: {
|
|
|
397
451
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
398
452
|
}, undefined>, undefined>;
|
|
399
453
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
454
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
455
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
456
|
+
readonly text: v.StringSchema<undefined>;
|
|
457
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
458
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
400
459
|
}, undefined>, undefined>;
|
|
401
460
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
402
461
|
}, undefined>, undefined>;
|
|
@@ -508,6 +567,8 @@ export declare const ENTITIES: {
|
|
|
508
567
|
readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
509
568
|
readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
510
569
|
readonly text: v.StringSchema<undefined>;
|
|
570
|
+
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
571
|
+
readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
511
572
|
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
512
573
|
readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
|
|
513
574
|
readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -531,6 +592,11 @@ export declare const ENTITIES: {
|
|
|
531
592
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
532
593
|
}, undefined>, undefined>;
|
|
533
594
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
595
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
596
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
597
|
+
readonly text: v.StringSchema<undefined>;
|
|
598
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
599
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
534
600
|
}, undefined>, undefined>;
|
|
535
601
|
readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
|
|
536
602
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -557,6 +623,11 @@ export declare const ENTITIES: {
|
|
|
557
623
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
558
624
|
}, undefined>, undefined>;
|
|
559
625
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
626
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
627
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
628
|
+
readonly text: v.StringSchema<undefined>;
|
|
629
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
630
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
560
631
|
}, undefined>, undefined>;
|
|
561
632
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
562
633
|
}, undefined>, undefined>;
|
|
@@ -586,6 +657,11 @@ export declare const ENTITIES: {
|
|
|
586
657
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
587
658
|
}, undefined>, undefined>;
|
|
588
659
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
660
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
661
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
662
|
+
readonly text: v.StringSchema<undefined>;
|
|
663
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
664
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
589
665
|
}, undefined>, undefined>;
|
|
590
666
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
591
667
|
}, undefined>, undefined>;
|
|
@@ -649,6 +725,8 @@ export declare const ENTITIES: {
|
|
|
649
725
|
readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
650
726
|
readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
651
727
|
readonly text: v.StringSchema<undefined>;
|
|
728
|
+
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
729
|
+
readonly anchor: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
652
730
|
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
653
731
|
readonly matched_in: v.OptionalSchema<v.PicklistSchema<["text", "transcript", "filename", "file", "context"], undefined>, undefined>;
|
|
654
732
|
readonly score: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -672,6 +750,11 @@ export declare const ENTITIES: {
|
|
|
672
750
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
673
751
|
}, undefined>, undefined>;
|
|
674
752
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
753
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
754
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
755
|
+
readonly text: v.StringSchema<undefined>;
|
|
756
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
757
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
675
758
|
}, undefined>, undefined>;
|
|
676
759
|
readonly reply_to: v.NullableSchema<v.StrictObjectSchema<{
|
|
677
760
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -698,6 +781,11 @@ export declare const ENTITIES: {
|
|
|
698
781
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
699
782
|
}, undefined>, undefined>;
|
|
700
783
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
784
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
785
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
786
|
+
readonly text: v.StringSchema<undefined>;
|
|
787
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
788
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
701
789
|
}, undefined>, undefined>;
|
|
702
790
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
703
791
|
}, undefined>, undefined>;
|
|
@@ -727,6 +815,11 @@ export declare const ENTITIES: {
|
|
|
727
815
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
728
816
|
}, undefined>, undefined>;
|
|
729
817
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
818
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
819
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
820
|
+
readonly text: v.StringSchema<undefined>;
|
|
821
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
822
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
730
823
|
}, undefined>, undefined>;
|
|
731
824
|
readonly outgoing: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
732
825
|
}, undefined>, undefined>;
|
|
@@ -808,6 +901,12 @@ export declare const ENTITIES: {
|
|
|
808
901
|
readonly issue: v.IsoTimestampIssue<string> | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
|
|
809
902
|
} | undefined;
|
|
810
903
|
};
|
|
904
|
+
readonly message_link: v.StrictObjectSchema<{
|
|
905
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
906
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
907
|
+
readonly access: v.PicklistSchema<["public", "restricted", "unknown", "unavailable"], undefined>;
|
|
908
|
+
readonly reason: v.NullableSchema<v.PicklistSchema<["unsupported_chat", "unsupported_provider", "offline"], undefined>, undefined>;
|
|
909
|
+
}, undefined>;
|
|
811
910
|
readonly chat: v.StrictObjectSchema<{
|
|
812
911
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
813
912
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -825,6 +924,33 @@ export declare const ENTITIES: {
|
|
|
825
924
|
readonly parent_chat_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
826
925
|
readonly scope: v.OptionalSchema<v.PicklistSchema<["personal", "work"], undefined>, undefined>;
|
|
827
926
|
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
927
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
928
|
+
readonly invite_link: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
929
|
+
readonly settings: v.OptionalSchema<v.StrictObjectSchema<{
|
|
930
|
+
readonly all_can_pin: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
931
|
+
readonly only_admins_add: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
932
|
+
readonly only_admins_call: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
933
|
+
readonly only_owner_edits_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
934
|
+
readonly members_see_link: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
935
|
+
readonly join_approval: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
936
|
+
}, undefined>, undefined>;
|
|
937
|
+
readonly members: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
938
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
939
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
940
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
941
|
+
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
942
|
+
readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
943
|
+
readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
944
|
+
readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
945
|
+
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
946
|
+
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
947
|
+
readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
948
|
+
readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
|
|
949
|
+
readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
950
|
+
readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
951
|
+
readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
952
|
+
readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
953
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
828
954
|
}, undefined>;
|
|
829
955
|
readonly person: v.StrictObjectSchema<{
|
|
830
956
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
@@ -857,6 +983,141 @@ export declare const ENTITIES: {
|
|
|
857
983
|
readonly display_name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
858
984
|
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
859
985
|
readonly last_messaged_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
986
|
+
readonly chats: v.OptionalSchema<v.ArraySchema<Omit<v.StrictObjectSchema<{
|
|
987
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
988
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
989
|
+
readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
990
|
+
readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
991
|
+
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
992
|
+
readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
|
|
993
|
+
readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
994
|
+
readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
995
|
+
readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
996
|
+
readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
997
|
+
readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
998
|
+
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
999
|
+
readonly membership_state: v.OptionalSchema<v.PicklistSchema<["joined", "left", "public", "imported", "archived", "external"], undefined>, undefined>;
|
|
1000
|
+
readonly parent_chat_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1001
|
+
readonly scope: v.OptionalSchema<v.PicklistSchema<["personal", "work"], undefined>, undefined>;
|
|
1002
|
+
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1003
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1004
|
+
readonly invite_link: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1005
|
+
readonly settings: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1006
|
+
readonly all_can_pin: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1007
|
+
readonly only_admins_add: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1008
|
+
readonly only_admins_call: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1009
|
+
readonly only_owner_edits_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1010
|
+
readonly members_see_link: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1011
|
+
readonly join_approval: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1012
|
+
}, undefined>, undefined>;
|
|
1013
|
+
readonly members: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1014
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1015
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1016
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1017
|
+
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
1018
|
+
readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
1019
|
+
readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
1020
|
+
readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
1021
|
+
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
1022
|
+
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1023
|
+
readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1024
|
+
readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
|
|
1025
|
+
readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1026
|
+
readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1027
|
+
readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1028
|
+
readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1029
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1030
|
+
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1031
|
+
readonly entries: Pick<{
|
|
1032
|
+
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
1033
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1034
|
+
readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1035
|
+
readonly account: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1036
|
+
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1037
|
+
readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
|
|
1038
|
+
readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1039
|
+
readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1040
|
+
readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
1041
|
+
readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1042
|
+
readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1043
|
+
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1044
|
+
readonly membership_state: v.OptionalSchema<v.PicklistSchema<["joined", "left", "public", "imported", "archived", "external"], undefined>, undefined>;
|
|
1045
|
+
readonly parent_chat_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1046
|
+
readonly scope: v.OptionalSchema<v.PicklistSchema<["personal", "work"], undefined>, undefined>;
|
|
1047
|
+
readonly provider_metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1048
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1049
|
+
readonly invite_link: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1050
|
+
readonly settings: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1051
|
+
readonly all_can_pin: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1052
|
+
readonly only_admins_add: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1053
|
+
readonly only_admins_call: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1054
|
+
readonly only_owner_edits_info: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1055
|
+
readonly members_see_link: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1056
|
+
readonly join_approval: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1057
|
+
}, undefined>, undefined>;
|
|
1058
|
+
readonly members: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1059
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1060
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1061
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1062
|
+
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
1063
|
+
readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
1064
|
+
readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
1065
|
+
readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
1066
|
+
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
1067
|
+
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1068
|
+
readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1069
|
+
readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
|
|
1070
|
+
readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1071
|
+
readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1072
|
+
readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1073
|
+
readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1074
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1075
|
+
}, "id" | "kind" | "last_message_at" | "ref" | "title">;
|
|
1076
|
+
readonly "~standard": v.StandardProps<{
|
|
1077
|
+
ref: string;
|
|
1078
|
+
id: string;
|
|
1079
|
+
title: string | null;
|
|
1080
|
+
kind: "channel" | "dialog" | "group" | "saved" | "unknown";
|
|
1081
|
+
last_message_at: string | null;
|
|
1082
|
+
}, {
|
|
1083
|
+
ref: string;
|
|
1084
|
+
id: string;
|
|
1085
|
+
title: string | null;
|
|
1086
|
+
kind: "channel" | "dialog" | "group" | "saved" | "unknown";
|
|
1087
|
+
last_message_at: string | null;
|
|
1088
|
+
}>;
|
|
1089
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1090
|
+
ref: string;
|
|
1091
|
+
id: string;
|
|
1092
|
+
title: string | null;
|
|
1093
|
+
kind: "channel" | "dialog" | "group" | "saved" | "unknown";
|
|
1094
|
+
last_message_at: string | null;
|
|
1095
|
+
}, v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
|
|
1096
|
+
readonly "~types"?: {
|
|
1097
|
+
readonly input: {
|
|
1098
|
+
ref: string;
|
|
1099
|
+
id: string;
|
|
1100
|
+
title: string | null;
|
|
1101
|
+
kind: "channel" | "dialog" | "group" | "saved" | "unknown";
|
|
1102
|
+
last_message_at: string | null;
|
|
1103
|
+
};
|
|
1104
|
+
readonly output: {
|
|
1105
|
+
ref: string;
|
|
1106
|
+
id: string;
|
|
1107
|
+
title: string | null;
|
|
1108
|
+
kind: "channel" | "dialog" | "group" | "saved" | "unknown";
|
|
1109
|
+
last_message_at: string | null;
|
|
1110
|
+
};
|
|
1111
|
+
readonly issue: v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
|
|
1112
|
+
} | undefined;
|
|
1113
|
+
}, undefined>, undefined>;
|
|
1114
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1115
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1116
|
+
readonly text: v.StringSchema<undefined>;
|
|
1117
|
+
readonly revision: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1118
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
1119
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
1120
|
+
}, undefined>, undefined>, undefined>;
|
|
860
1121
|
}, undefined>;
|
|
861
1122
|
readonly account: v.StrictObjectSchema<{
|
|
862
1123
|
readonly provider: v.StringSchema<undefined>;
|
|
@@ -908,6 +1169,11 @@ export declare const ENTITIES: {
|
|
|
908
1169
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
909
1170
|
}, undefined>, undefined>;
|
|
910
1171
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1172
|
+
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1173
|
+
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1174
|
+
readonly text: v.StringSchema<undefined>;
|
|
1175
|
+
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1176
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
911
1177
|
}, undefined>;
|
|
912
1178
|
readonly task: v.StrictObjectSchema<{
|
|
913
1179
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
@@ -1009,6 +1275,103 @@ export declare const ENTITIES: {
|
|
|
1009
1275
|
readonly built_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
1010
1276
|
readonly rules_version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1011
1277
|
}, undefined>;
|
|
1278
|
+
readonly chat_event: v.StrictObjectSchema<{
|
|
1279
|
+
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1280
|
+
readonly time: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
1281
|
+
readonly type: v.StringSchema<undefined>;
|
|
1282
|
+
readonly message_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1283
|
+
readonly by: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1284
|
+
readonly id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1285
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1286
|
+
readonly username: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1287
|
+
}, undefined>, undefined>;
|
|
1288
|
+
readonly people: v.ArraySchema<v.StrictObjectSchema<{
|
|
1289
|
+
readonly id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1290
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1291
|
+
readonly username: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1292
|
+
}, undefined>, undefined>;
|
|
1293
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1294
|
+
readonly before: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1295
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1296
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1297
|
+
}, undefined>, undefined>;
|
|
1298
|
+
}, undefined>;
|
|
1299
|
+
readonly invite_link: v.StrictObjectSchema<{
|
|
1300
|
+
readonly link: v.StringSchema<undefined>;
|
|
1301
|
+
readonly approval: v.BooleanSchema<undefined>;
|
|
1302
|
+
readonly expires_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
1303
|
+
readonly max_uses: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1304
|
+
readonly primary: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1305
|
+
readonly revoked: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1306
|
+
readonly pending_count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1307
|
+
readonly joined_count: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1308
|
+
}, undefined>;
|
|
1309
|
+
readonly join_request: v.StrictObjectSchema<{
|
|
1310
|
+
readonly person_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1311
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1312
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1313
|
+
readonly requested_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
1314
|
+
readonly about: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1315
|
+
}, undefined>;
|
|
1316
|
+
readonly member: v.StrictObjectSchema<{
|
|
1317
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1318
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1319
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1320
|
+
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
1321
|
+
readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
1322
|
+
readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
1323
|
+
readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>, undefined>;
|
|
1324
|
+
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
1325
|
+
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1326
|
+
readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1327
|
+
readonly flagged: v.OptionalSchema<v.PicklistSchema<["scam", "fake"], undefined>, undefined>;
|
|
1328
|
+
readonly has_photo: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1329
|
+
readonly score: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1330
|
+
readonly reasons: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1331
|
+
readonly check: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1332
|
+
}, undefined>;
|
|
1333
|
+
readonly poll_vote: v.StrictObjectSchema<{
|
|
1334
|
+
readonly person_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1335
|
+
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1336
|
+
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1337
|
+
readonly answers: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1338
|
+
readonly voted_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>;
|
|
1339
|
+
}, undefined>;
|
|
1340
|
+
readonly topic: v.StrictObjectSchema<{
|
|
1341
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1342
|
+
readonly title: v.StringSchema<undefined>;
|
|
1343
|
+
readonly closed: v.BooleanSchema<undefined>;
|
|
1344
|
+
readonly pinned: v.BooleanSchema<undefined>;
|
|
1345
|
+
readonly hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1346
|
+
readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1347
|
+
readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
1348
|
+
readonly created_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time with a zone">]>, undefined>;
|
|
1349
|
+
}, undefined>;
|
|
1350
|
+
readonly folder: v.StrictObjectSchema<{
|
|
1351
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1352
|
+
readonly title: v.StringSchema<undefined>;
|
|
1353
|
+
readonly chat_ids: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1354
|
+
readonly emoji: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1355
|
+
readonly include: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["contacts", "non-contacts", "groups", "channels", "bots"], undefined>, undefined>, undefined>;
|
|
1356
|
+
readonly skip: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["muted", "read", "archived"], undefined>, undefined>, undefined>;
|
|
1357
|
+
readonly excluded_chat_ids: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
1358
|
+
readonly pinned_chat_ids: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
1359
|
+
readonly chats: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1360
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1361
|
+
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1362
|
+
readonly kind: v.NullableSchema<v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>, undefined>;
|
|
1363
|
+
}, undefined>, undefined>, undefined>;
|
|
1364
|
+
readonly pinned_chats: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1365
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1366
|
+
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1367
|
+
readonly kind: v.NullableSchema<v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>, undefined>;
|
|
1368
|
+
}, undefined>, undefined>, undefined>;
|
|
1369
|
+
readonly excluded_chats: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1370
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1371
|
+
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1372
|
+
readonly kind: v.NullableSchema<v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>, undefined>;
|
|
1373
|
+
}, undefined>, undefined>, undefined>;
|
|
1374
|
+
}, undefined>;
|
|
1012
1375
|
};
|
|
1013
1376
|
export type EntityName = keyof typeof ENTITIES;
|
|
1014
1377
|
/** Every entity as a JSON Schema 2020-12 `$defs` entry, for bundling into an MCP tool's `outputSchema`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"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"}
|