@wirecat/max-cli 0.0.0-stage → 0.42.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/LICENSE +21 -0
- package/README.md +530 -2
- package/dist/adapter/max-adapter.d.ts +17 -0
- package/dist/adapter/max-adapter.d.ts.map +1 -0
- package/dist/adapter/max-adapter.js +364 -0
- package/dist/adapter/max-adapter.js.map +1 -0
- package/dist/app.d.ts +3 -0
- package/dist/app.d.ts.map +1 -0
- package/dist/app.js +9 -0
- package/dist/app.js.map +1 -0
- package/dist/bin/max.d.ts +3 -0
- package/dist/bin/max.d.ts.map +1 -0
- package/dist/bin/max.js +20 -0
- package/dist/bin/max.js.map +1 -0
- package/dist/bot/adapter.d.ts +25 -0
- package/dist/bot/adapter.d.ts.map +1 -0
- package/dist/bot/adapter.js +404 -0
- package/dist/bot/adapter.js.map +1 -0
- package/dist/bot/auth.d.ts +13 -0
- package/dist/bot/auth.d.ts.map +1 -0
- package/dist/bot/auth.js +9 -0
- package/dist/bot/auth.js.map +1 -0
- package/dist/bot/client.d.ts +26 -0
- package/dist/bot/client.d.ts.map +1 -0
- package/dist/bot/client.js +105 -0
- package/dist/bot/client.js.map +1 -0
- package/dist/bot/generated/manifest.d.ts +3 -0
- package/dist/bot/generated/manifest.d.ts.map +1 -0
- package/dist/bot/generated/manifest.js +1232 -0
- package/dist/bot/generated/manifest.js.map +1 -0
- package/dist/bot/generated/schemas.d.ts +271 -0
- package/dist/bot/generated/schemas.d.ts.map +1 -0
- package/dist/bot/generated/schemas.js +869 -0
- package/dist/bot/generated/schemas.js.map +1 -0
- package/dist/bot/generated/types.d.ts +1088 -0
- package/dist/bot/generated/types.d.ts.map +1 -0
- package/dist/bot/generated/types.js +5 -0
- package/dist/bot/generated/types.js.map +1 -0
- package/dist/bot/input.d.ts +6 -0
- package/dist/bot/input.d.ts.map +1 -0
- package/dist/bot/input.js +6 -0
- package/dist/bot/input.js.map +1 -0
- package/dist/bot/joins.d.ts +26 -0
- package/dist/bot/joins.d.ts.map +1 -0
- package/dist/bot/joins.js +56 -0
- package/dist/bot/joins.js.map +1 -0
- package/dist/bot/keep.d.ts +25 -0
- package/dist/bot/keep.d.ts.map +1 -0
- package/dist/bot/keep.js +98 -0
- package/dist/bot/keep.js.map +1 -0
- package/dist/bot/map.d.ts +14 -0
- package/dist/bot/map.d.ts.map +1 -0
- package/dist/bot/map.js +101 -0
- package/dist/bot/map.js.map +1 -0
- package/dist/bot/mcp-tools.d.ts +4 -0
- package/dist/bot/mcp-tools.d.ts.map +1 -0
- package/dist/bot/mcp-tools.js +78 -0
- package/dist/bot/mcp-tools.js.map +1 -0
- package/dist/bot/permissions.d.ts +14 -0
- package/dist/bot/permissions.d.ts.map +1 -0
- package/dist/bot/permissions.js +88 -0
- package/dist/bot/permissions.js.map +1 -0
- package/dist/bot/registry.d.ts +11 -0
- package/dist/bot/registry.d.ts.map +1 -0
- package/dist/bot/registry.js +13 -0
- package/dist/bot/registry.js.map +1 -0
- package/dist/bot/russian-trusted-root.d.ts +8 -0
- package/dist/bot/russian-trusted-root.d.ts.map +1 -0
- package/dist/bot/russian-trusted-root.js +41 -0
- package/dist/bot/russian-trusted-root.js.map +1 -0
- package/dist/bot/transport.d.ts +46 -0
- package/dist/bot/transport.d.ts.map +1 -0
- package/dist/bot/transport.js +252 -0
- package/dist/bot/transport.js.map +1 -0
- package/dist/bot/uploads.d.ts +42 -0
- package/dist/bot/uploads.d.ts.map +1 -0
- package/dist/bot/uploads.js +145 -0
- package/dist/bot/uploads.js.map +1 -0
- package/dist/client.d.ts +650 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +2836 -0
- package/dist/client.js.map +1 -0
- package/dist/commands/account.d.ts +3 -0
- package/dist/commands/account.d.ts.map +1 -0
- package/dist/commands/account.js +4 -0
- package/dist/commands/account.js.map +1 -0
- package/dist/commands/bot-comments.d.ts +3 -0
- package/dist/commands/bot-comments.d.ts.map +1 -0
- package/dist/commands/bot-comments.js +74 -0
- package/dist/commands/bot-comments.js.map +1 -0
- package/dist/commands/bot-context.d.ts +38 -0
- package/dist/commands/bot-context.d.ts.map +1 -0
- package/dist/commands/bot-context.js +121 -0
- package/dist/commands/bot-context.js.map +1 -0
- package/dist/commands/bot-members.d.ts +14 -0
- package/dist/commands/bot-members.d.ts.map +1 -0
- package/dist/commands/bot-members.js +64 -0
- package/dist/commands/bot-members.js.map +1 -0
- package/dist/commands/bot-messenger.d.ts +10 -0
- package/dist/commands/bot-messenger.d.ts.map +1 -0
- package/dist/commands/bot-messenger.js +101 -0
- package/dist/commands/bot-messenger.js.map +1 -0
- package/dist/commands/bot-reads.d.ts +4 -0
- package/dist/commands/bot-reads.d.ts.map +1 -0
- package/dist/commands/bot-reads.js +13 -0
- package/dist/commands/bot-reads.js.map +1 -0
- package/dist/commands/bot-sends.d.ts +13 -0
- package/dist/commands/bot-sends.d.ts.map +1 -0
- package/dist/commands/bot-sends.js +103 -0
- package/dist/commands/bot-sends.js.map +1 -0
- package/dist/commands/bot-setup.d.ts +3 -0
- package/dist/commands/bot-setup.d.ts.map +1 -0
- package/dist/commands/bot-setup.js +20 -0
- package/dist/commands/bot-setup.js.map +1 -0
- package/dist/commands/bot.d.ts +3 -0
- package/dist/commands/bot.d.ts.map +1 -0
- package/dist/commands/bot.js +60 -0
- package/dist/commands/bot.js.map +1 -0
- package/dist/commands/calls.d.ts +3 -0
- package/dist/commands/calls.d.ts.map +1 -0
- package/dist/commands/calls.js +4 -0
- package/dist/commands/calls.js.map +1 -0
- package/dist/commands/chats.d.ts +3 -0
- package/dist/commands/chats.d.ts.map +1 -0
- package/dist/commands/chats.js +46 -0
- package/dist/commands/chats.js.map +1 -0
- package/dist/commands/commands.d.ts +2 -0
- package/dist/commands/commands.d.ts.map +1 -0
- package/dist/commands/commands.js +4 -0
- package/dist/commands/commands.js.map +1 -0
- package/dist/commands/complete.d.ts +2 -0
- package/dist/commands/complete.d.ts.map +1 -0
- package/dist/commands/complete.js +34 -0
- package/dist/commands/complete.js.map +1 -0
- package/dist/commands/config.d.ts +3 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +170 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/contacts.d.ts +10 -0
- package/dist/commands/contacts.d.ts.map +1 -0
- package/dist/commands/contacts.js +80 -0
- package/dist/commands/contacts.js.map +1 -0
- package/dist/commands/context.d.ts +126 -0
- package/dist/commands/context.d.ts.map +1 -0
- package/dist/commands/context.js +137 -0
- package/dist/commands/context.js.map +1 -0
- package/dist/commands/doctor.d.ts +24 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +308 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/mcp.d.ts +36 -0
- package/dist/commands/mcp.d.ts.map +1 -0
- package/dist/commands/mcp.js +214 -0
- package/dist/commands/mcp.js.map +1 -0
- package/dist/commands/messages.d.ts +3 -0
- package/dist/commands/messages.d.ts.map +1 -0
- package/dist/commands/messages.js +105 -0
- package/dist/commands/messages.js.map +1 -0
- package/dist/commands/models.d.ts +3 -0
- package/dist/commands/models.d.ts.map +1 -0
- package/dist/commands/models.js +4 -0
- package/dist/commands/models.js.map +1 -0
- package/dist/commands/paging.d.ts +59 -0
- package/dist/commands/paging.d.ts.map +1 -0
- package/dist/commands/paging.js +77 -0
- package/dist/commands/paging.js.map +1 -0
- package/dist/commands/recipients.d.ts +9 -0
- package/dist/commands/recipients.d.ts.map +1 -0
- package/dist/commands/recipients.js +74 -0
- package/dist/commands/recipients.js.map +1 -0
- package/dist/commands/runs.d.ts +2 -0
- package/dist/commands/runs.d.ts.map +1 -0
- package/dist/commands/runs.js +4 -0
- package/dist/commands/runs.js.map +1 -0
- package/dist/commands/sends.d.ts +3 -0
- package/dist/commands/sends.d.ts.map +1 -0
- package/dist/commands/sends.js +4 -0
- package/dist/commands/sends.js.map +1 -0
- package/dist/commands/serve-members.d.ts +14 -0
- package/dist/commands/serve-members.d.ts.map +1 -0
- package/dist/commands/serve-members.js +54 -0
- package/dist/commands/serve-members.js.map +1 -0
- package/dist/commands/serve-stems.d.ts +9 -0
- package/dist/commands/serve-stems.d.ts.map +1 -0
- package/dist/commands/serve-stems.js +26 -0
- package/dist/commands/serve-stems.js.map +1 -0
- package/dist/commands/serve.d.ts +10 -0
- package/dist/commands/serve.d.ts.map +1 -0
- package/dist/commands/serve.js +79 -0
- package/dist/commands/serve.js.map +1 -0
- package/dist/commands/server.d.ts +16 -0
- package/dist/commands/server.d.ts.map +1 -0
- package/dist/commands/server.js +51 -0
- package/dist/commands/server.js.map +1 -0
- package/dist/commands/session.d.ts +15 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +169 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/commands/setup.d.ts +3 -0
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/setup.js +168 -0
- package/dist/commands/setup.js.map +1 -0
- package/dist/commands/skill.d.ts +3 -0
- package/dist/commands/skill.d.ts.map +1 -0
- package/dist/commands/skill.js +7 -0
- package/dist/commands/skill.js.map +1 -0
- package/dist/commands/stickers.d.ts +3 -0
- package/dist/commands/stickers.d.ts.map +1 -0
- package/dist/commands/stickers.js +4 -0
- package/dist/commands/stickers.js.map +1 -0
- package/dist/commands/upgrade.d.ts +2 -0
- package/dist/commands/upgrade.d.ts.map +1 -0
- package/dist/commands/upgrade.js +14 -0
- package/dist/commands/upgrade.js.map +1 -0
- package/dist/commands/watch.d.ts +27 -0
- package/dist/commands/watch.d.ts.map +1 -0
- package/dist/commands/watch.js +105 -0
- package/dist/commands/watch.js.map +1 -0
- package/dist/config.d.ts +385 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +372 -0
- package/dist/config.js.map +1 -0
- package/dist/deadline.d.ts +2 -0
- package/dist/deadline.d.ts.map +1 -0
- package/dist/deadline.js +2 -0
- package/dist/deadline.js.map +1 -0
- package/dist/diagnose.d.ts +143 -0
- package/dist/diagnose.d.ts.map +1 -0
- package/dist/diagnose.js +183 -0
- package/dist/diagnose.js.map +1 -0
- package/dist/domain/map.d.ts +65 -0
- package/dist/domain/map.d.ts.map +1 -0
- package/dist/domain/map.js +431 -0
- package/dist/domain/map.js.map +1 -0
- package/dist/domain/models.d.ts +238 -0
- package/dist/domain/models.d.ts.map +1 -0
- package/dist/domain/models.js +17 -0
- package/dist/domain/models.js.map +1 -0
- package/dist/download.d.ts +38 -0
- package/dist/download.d.ts.map +1 -0
- package/dist/download.js +199 -0
- package/dist/download.js.map +1 -0
- package/dist/format-markdown.d.ts +13 -0
- package/dist/format-markdown.d.ts.map +1 -0
- package/dist/format-markdown.js +241 -0
- package/dist/format-markdown.js.map +1 -0
- package/dist/generated/client.generated.d.ts +95 -0
- package/dist/generated/client.generated.d.ts.map +1 -0
- package/dist/generated/client.generated.js +91 -0
- package/dist/generated/client.generated.js.map +1 -0
- package/dist/generated/opcodes.generated.d.ts +76 -0
- package/dist/generated/opcodes.generated.d.ts.map +1 -0
- package/dist/generated/opcodes.generated.js +76 -0
- package/dist/generated/opcodes.generated.js.map +1 -0
- package/dist/generated/operations.generated.d.ts +502 -0
- package/dist/generated/operations.generated.d.ts.map +1 -0
- package/dist/generated/operations.generated.js +72 -0
- package/dist/generated/operations.generated.js.map +1 -0
- package/dist/inbox-point.d.ts +3 -0
- package/dist/inbox-point.d.ts.map +1 -0
- package/dist/inbox-point.js +17 -0
- package/dist/inbox-point.js.map +1 -0
- package/dist/install/postinstall.d.ts +8 -0
- package/dist/install/postinstall.d.ts.map +1 -0
- package/dist/install/postinstall.js +62 -0
- package/dist/install/postinstall.js.map +1 -0
- package/dist/install.d.ts +43 -0
- package/dist/install.d.ts.map +1 -0
- package/dist/install.js +142 -0
- package/dist/install.js.map +1 -0
- package/dist/markdown.d.ts +13 -0
- package/dist/markdown.d.ts.map +1 -0
- package/dist/markdown.js +6 -0
- package/dist/markdown.js.map +1 -0
- package/dist/mcp/instructions.d.ts +13 -0
- package/dist/mcp/instructions.d.ts.map +1 -0
- package/dist/mcp/instructions.js +16 -0
- package/dist/mcp/instructions.js.map +1 -0
- package/dist/mcp/legacy-check.d.ts +12 -0
- package/dist/mcp/legacy-check.d.ts.map +1 -0
- package/dist/mcp/legacy-check.js +44 -0
- package/dist/mcp/legacy-check.js.map +1 -0
- package/dist/mcp/photo.d.ts +9 -0
- package/dist/mcp/photo.d.ts.map +1 -0
- package/dist/mcp/photo.js +38 -0
- package/dist/mcp/photo.js.map +1 -0
- package/dist/mcp/prompts.d.ts +7 -0
- package/dist/mcp/prompts.d.ts.map +1 -0
- package/dist/mcp/prompts.js +100 -0
- package/dist/mcp/prompts.js.map +1 -0
- package/dist/mcp/resources.d.ts +15 -0
- package/dist/mcp/resources.d.ts.map +1 -0
- package/dist/mcp/resources.js +56 -0
- package/dist/mcp/resources.js.map +1 -0
- package/dist/mcp/server.d.ts +31 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +116 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/session.d.ts +30 -0
- package/dist/mcp/session.d.ts.map +1 -0
- package/dist/mcp/session.js +109 -0
- package/dist/mcp/session.js.map +1 -0
- package/dist/mcp/shared.d.ts +14 -0
- package/dist/mcp/shared.d.ts.map +1 -0
- package/dist/mcp/shared.js +46 -0
- package/dist/mcp/shared.js.map +1 -0
- package/dist/mcp/tools.d.ts +30 -0
- package/dist/mcp/tools.d.ts.map +1 -0
- package/dist/mcp/tools.js +248 -0
- package/dist/mcp/tools.js.map +1 -0
- package/dist/messenger.d.ts +15 -0
- package/dist/messenger.d.ts.map +1 -0
- package/dist/messenger.js +149 -0
- package/dist/messenger.js.map +1 -0
- package/dist/moderation/check.d.ts +103 -0
- package/dist/moderation/check.d.ts.map +1 -0
- package/dist/moderation/check.js +273 -0
- package/dist/moderation/check.js.map +1 -0
- package/dist/moderation/points.d.ts +8 -0
- package/dist/moderation/points.d.ts.map +1 -0
- package/dist/moderation/points.js +21 -0
- package/dist/moderation/points.js.map +1 -0
- package/dist/moderation/rules.d.ts +7 -0
- package/dist/moderation/rules.d.ts.map +1 -0
- package/dist/moderation/rules.js +24 -0
- package/dist/moderation/rules.js.map +1 -0
- package/dist/online.d.ts +23 -0
- package/dist/online.d.ts.map +1 -0
- package/dist/online.js +87 -0
- package/dist/online.js.map +1 -0
- package/dist/output.d.ts +2 -0
- package/dist/output.d.ts.map +1 -0
- package/dist/output.js +2 -0
- package/dist/output.js.map +1 -0
- package/dist/permissions.d.ts +20 -0
- package/dist/permissions.d.ts.map +1 -0
- package/dist/permissions.js +76 -0
- package/dist/permissions.js.map +1 -0
- package/dist/profile.d.ts +33 -0
- package/dist/profile.d.ts.map +1 -0
- package/dist/profile.js +60 -0
- package/dist/profile.js.map +1 -0
- package/dist/program.d.ts +10 -0
- package/dist/program.d.ts.map +1 -0
- package/dist/program.js +172 -0
- package/dist/program.js.map +1 -0
- package/dist/protocol/connection.d.ts +83 -0
- package/dist/protocol/connection.d.ts.map +1 -0
- package/dist/protocol/connection.js +301 -0
- package/dist/protocol/connection.js.map +1 -0
- package/dist/protocol/frame.d.ts +55 -0
- package/dist/protocol/frame.d.ts.map +1 -0
- package/dist/protocol/frame.js +149 -0
- package/dist/protocol/frame.js.map +1 -0
- package/dist/protocol/lz4.d.ts +15 -0
- package/dist/protocol/lz4.d.ts.map +1 -0
- package/dist/protocol/lz4.js +157 -0
- package/dist/protocol/lz4.js.map +1 -0
- package/dist/record.d.ts +41 -0
- package/dist/record.d.ts.map +1 -0
- package/dist/record.js +104 -0
- package/dist/record.js.map +1 -0
- package/dist/rendering/messages.d.ts +24 -0
- package/dist/rendering/messages.d.ts.map +1 -0
- package/dist/rendering/messages.js +172 -0
- package/dist/rendering/messages.js.map +1 -0
- package/dist/report.d.ts +43 -0
- package/dist/report.d.ts.map +1 -0
- package/dist/report.js +104 -0
- package/dist/report.js.map +1 -0
- package/dist/resolve.d.ts +6 -0
- package/dist/resolve.d.ts.map +1 -0
- package/dist/resolve.js +5 -0
- package/dist/resolve.js.map +1 -0
- package/dist/sends.d.ts +17 -0
- package/dist/sends.d.ts.map +1 -0
- package/dist/sends.js +97 -0
- package/dist/sends.js.map +1 -0
- package/dist/server/lines.d.ts +23 -0
- package/dist/server/lines.d.ts.map +1 -0
- package/dist/server/lines.js +56 -0
- package/dist/server/lines.js.map +1 -0
- package/dist/server/replies.d.ts +31 -0
- package/dist/server/replies.d.ts.map +1 -0
- package/dist/server/replies.js +95 -0
- package/dist/server/replies.js.map +1 -0
- package/dist/server/server-connection.d.ts +55 -0
- package/dist/server/server-connection.d.ts.map +1 -0
- package/dist/server/server-connection.js +245 -0
- package/dist/server/server-connection.js.map +1 -0
- package/dist/server/server.d.ts +88 -0
- package/dist/server/server.d.ts.map +1 -0
- package/dist/server/server.js +634 -0
- package/dist/server/server.js.map +1 -0
- package/dist/server/start.d.ts +37 -0
- package/dist/server/start.d.ts.map +1 -0
- package/dist/server/start.js +102 -0
- package/dist/server/start.js.map +1 -0
- package/dist/server/subscribe.d.ts +9 -0
- package/dist/server/subscribe.d.ts.map +1 -0
- package/dist/server/subscribe.js +26 -0
- package/dist/server/subscribe.js.map +1 -0
- package/dist/session/adopt.d.ts +22 -0
- package/dist/session/adopt.d.ts.map +1 -0
- package/dist/session/adopt.js +34 -0
- package/dist/session/adopt.js.map +1 -0
- package/dist/session/browser.d.ts +55 -0
- package/dist/session/browser.d.ts.map +1 -0
- package/dist/session/browser.js +321 -0
- package/dist/session/browser.js.map +1 -0
- package/dist/session/handshake.d.ts +57 -0
- package/dist/session/handshake.d.ts.map +1 -0
- package/dist/session/handshake.js +40 -0
- package/dist/session/handshake.js.map +1 -0
- package/dist/session/login.d.ts +20 -0
- package/dist/session/login.d.ts.map +1 -0
- package/dist/session/login.js +66 -0
- package/dist/session/login.js.map +1 -0
- package/dist/session/prompt.d.ts +2 -0
- package/dist/session/prompt.d.ts.map +1 -0
- package/dist/session/prompt.js +2 -0
- package/dist/session/prompt.js.map +1 -0
- package/dist/session/qr-terminal.d.ts +9 -0
- package/dist/session/qr-terminal.d.ts.map +1 -0
- package/dist/session/qr-terminal.js +34 -0
- package/dist/session/qr-terminal.js.map +1 -0
- package/dist/session/store.d.ts +76 -0
- package/dist/session/store.d.ts.map +1 -0
- package/dist/session/store.js +134 -0
- package/dist/session/store.js.map +1 -0
- package/dist/skill.d.ts +7 -0
- package/dist/skill.d.ts.map +1 -0
- package/dist/skill.js +8 -0
- package/dist/skill.js.map +1 -0
- package/dist/spec/check.d.ts +16 -0
- package/dist/spec/check.d.ts.map +1 -0
- package/dist/spec/check.js +44 -0
- package/dist/spec/check.js.map +1 -0
- package/dist/spec/define.d.ts +108 -0
- package/dist/spec/define.d.ts.map +1 -0
- package/dist/spec/define.js +47 -0
- package/dist/spec/define.js.map +1 -0
- package/dist/spec/guards.d.ts +16 -0
- package/dist/spec/guards.d.ts.map +1 -0
- package/dist/spec/guards.js +30 -0
- package/dist/spec/guards.js.map +1 -0
- package/dist/spec/identity.d.ts +57 -0
- package/dist/spec/identity.d.ts.map +1 -0
- package/dist/spec/identity.js +53 -0
- package/dist/spec/identity.js.map +1 -0
- package/dist/spec/index.d.ts +15 -0
- package/dist/spec/index.d.ts.map +1 -0
- package/dist/spec/index.js +84 -0
- package/dist/spec/index.js.map +1 -0
- package/dist/spec/operations/account.d.ts +39 -0
- package/dist/spec/operations/account.d.ts.map +1 -0
- package/dist/spec/operations/account.js +103 -0
- package/dist/spec/operations/account.js.map +1 -0
- package/dist/spec/operations/assets.d.ts +17 -0
- package/dist/spec/operations/assets.d.ts.map +1 -0
- package/dist/spec/operations/assets.js +43 -0
- package/dist/spec/operations/assets.js.map +1 -0
- package/dist/spec/operations/attachments.d.ts +15 -0
- package/dist/spec/operations/attachments.d.ts.map +1 -0
- package/dist/spec/operations/attachments.js +40 -0
- package/dist/spec/operations/attachments.js.map +1 -0
- package/dist/spec/operations/banners.d.ts +7 -0
- package/dist/spec/operations/banners.d.ts.map +1 -0
- package/dist/spec/operations/banners.js +16 -0
- package/dist/spec/operations/banners.js.map +1 -0
- package/dist/spec/operations/calls.d.ts +8 -0
- package/dist/spec/operations/calls.d.ts.map +1 -0
- package/dist/spec/operations/calls.js +25 -0
- package/dist/spec/operations/calls.js.map +1 -0
- package/dist/spec/operations/chats.d.ts +115 -0
- package/dist/spec/operations/chats.d.ts.map +1 -0
- package/dist/spec/operations/chats.js +331 -0
- package/dist/spec/operations/chats.js.map +1 -0
- package/dist/spec/operations/contacts.d.ts +39 -0
- package/dist/spec/operations/contacts.d.ts.map +1 -0
- package/dist/spec/operations/contacts.js +135 -0
- package/dist/spec/operations/contacts.js.map +1 -0
- package/dist/spec/operations/folders.d.ts +31 -0
- package/dist/spec/operations/folders.d.ts.map +1 -0
- package/dist/spec/operations/folders.js +94 -0
- package/dist/spec/operations/folders.js.map +1 -0
- package/dist/spec/operations/login.d.ts +64 -0
- package/dist/spec/operations/login.d.ts.map +1 -0
- package/dist/spec/operations/login.js +105 -0
- package/dist/spec/operations/login.js.map +1 -0
- package/dist/spec/operations/messages.d.ts +142 -0
- package/dist/spec/operations/messages.d.ts.map +1 -0
- package/dist/spec/operations/messages.js +347 -0
- package/dist/spec/operations/messages.js.map +1 -0
- package/dist/spec/operations/session.d.ts +120 -0
- package/dist/spec/operations/session.d.ts.map +1 -0
- package/dist/spec/operations/session.js +202 -0
- package/dist/spec/operations/session.js.map +1 -0
- package/dist/spec/operations/uploads.d.ts +31 -0
- package/dist/spec/operations/uploads.d.ts.map +1 -0
- package/dist/spec/operations/uploads.js +59 -0
- package/dist/spec/operations/uploads.js.map +1 -0
- package/dist/spec/scalars.d.ts +17 -0
- package/dist/spec/scalars.d.ts.map +1 -0
- package/dist/spec/scalars.js +33 -0
- package/dist/spec/scalars.js.map +1 -0
- package/dist/transcribe/index.d.ts +70 -0
- package/dist/transcribe/index.d.ts.map +1 -0
- package/dist/transcribe/index.js +127 -0
- package/dist/transcribe/index.js.map +1 -0
- package/dist/transcribe/install.d.ts +2 -0
- package/dist/transcribe/install.d.ts.map +1 -0
- package/dist/transcribe/install.js +2 -0
- package/dist/transcribe/install.js.map +1 -0
- package/dist/transcribe/models.d.ts +5 -0
- package/dist/transcribe/models.d.ts.map +1 -0
- package/dist/transcribe/models.js +6 -0
- package/dist/transcribe/models.js.map +1 -0
- package/dist/transcribe/speech.d.ts +25 -0
- package/dist/transcribe/speech.d.ts.map +1 -0
- package/dist/transcribe/speech.js +107 -0
- package/dist/transcribe/speech.js.map +1 -0
- package/dist/update.d.ts +31 -0
- package/dist/update.d.ts.map +1 -0
- package/dist/update.js +69 -0
- package/dist/update.js.map +1 -0
- package/dist/upload.d.ts +15 -0
- package/dist/upload.d.ts.map +1 -0
- package/dist/upload.js +97 -0
- package/dist/upload.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/voice.d.ts +9 -0
- package/dist/voice.d.ts.map +1 -0
- package/dist/voice.js +36 -0
- package/dist/voice.js.map +1 -0
- package/dist/wire-events.d.ts +23 -0
- package/dist/wire-events.d.ts.map +1 -0
- package/dist/wire-events.js +47 -0
- package/dist/wire-events.js.map +1 -0
- package/install/postinstall.mjs +3 -0
- package/install/windows.ps1 +160 -0
- package/package.json +125 -4
- package/skills/max-cli/SKILL.md +518 -0
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
/** Every operation that may be sent, by the name the client calls it. */
|
|
2
|
+
export declare const OPERATIONS: {
|
|
3
|
+
readonly "session.init": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
4
|
+
readonly userAgent: import("valibot").StrictObjectSchema<{
|
|
5
|
+
readonly deviceType: import("valibot").LiteralSchema<"WEB", undefined>;
|
|
6
|
+
readonly pushDeviceType: import("valibot").LiteralSchema<"WEBPUSH", undefined>;
|
|
7
|
+
readonly locale: import("valibot").StringSchema<undefined>;
|
|
8
|
+
readonly deviceLocale: import("valibot").StringSchema<undefined>;
|
|
9
|
+
readonly osVersion: import("valibot").StringSchema<undefined>;
|
|
10
|
+
readonly deviceName: import("valibot").StringSchema<undefined>;
|
|
11
|
+
readonly headerUserAgent: import("valibot").StringSchema<undefined>;
|
|
12
|
+
readonly isPwa: import("valibot").LiteralSchema<false, undefined>;
|
|
13
|
+
readonly appVersion: import("valibot").StringSchema<undefined>;
|
|
14
|
+
readonly screen: import("valibot").StringSchema<undefined>;
|
|
15
|
+
readonly timezone: import("valibot").StringSchema<undefined>;
|
|
16
|
+
}, undefined>;
|
|
17
|
+
readonly deviceId: import("valibot").StringSchema<undefined>;
|
|
18
|
+
}, undefined>, import("valibot").LooseObjectSchema<{}, undefined>>;
|
|
19
|
+
readonly "session.login": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
20
|
+
readonly token: import("valibot").StringSchema<undefined>;
|
|
21
|
+
readonly chatsCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 100, undefined>]>;
|
|
22
|
+
readonly interactive: import("valibot").LiteralSchema<false, undefined>;
|
|
23
|
+
readonly chatsSync: import("valibot").NumberSchema<undefined>;
|
|
24
|
+
readonly contactsSync: import("valibot").NumberSchema<undefined>;
|
|
25
|
+
readonly presenceSync: import("valibot").NumberSchema<undefined>;
|
|
26
|
+
readonly draftsSync: import("valibot").NumberSchema<undefined>;
|
|
27
|
+
readonly lastLogin: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
28
|
+
readonly configHash: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
29
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
30
|
+
readonly profile: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
31
|
+
readonly chats: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
32
|
+
readonly contacts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
33
|
+
readonly messages: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
34
|
+
readonly token: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
35
|
+
readonly presence: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
36
|
+
readonly time: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
37
|
+
readonly chatMarker: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
38
|
+
readonly config: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
39
|
+
readonly videoChatHistory: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
40
|
+
}, undefined>>;
|
|
41
|
+
readonly "session.ping": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
42
|
+
readonly interactive: import("valibot").BooleanSchema<undefined>;
|
|
43
|
+
}, undefined>, import("valibot").LooseObjectSchema<{}, undefined>>;
|
|
44
|
+
readonly "session.log": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
45
|
+
readonly events: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
46
|
+
readonly type: import("valibot").LiteralSchema<"NAV", undefined>;
|
|
47
|
+
readonly userId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
48
|
+
readonly time: import("valibot").NumberSchema<undefined>;
|
|
49
|
+
readonly sessionId: import("valibot").NumberSchema<undefined>;
|
|
50
|
+
readonly event: import("valibot").LiteralSchema<"GO", undefined>;
|
|
51
|
+
readonly params: import("valibot").StrictObjectSchema<{
|
|
52
|
+
readonly action_id: import("valibot").LiteralSchema<1, undefined>;
|
|
53
|
+
readonly screen_to: import("valibot").LiteralSchema<150, undefined>;
|
|
54
|
+
readonly prev_time: import("valibot").LiteralSchema<0, undefined>;
|
|
55
|
+
readonly source_id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
56
|
+
}, undefined>;
|
|
57
|
+
}, undefined>, undefined>;
|
|
58
|
+
}, undefined>, import("valibot").LooseObjectSchema<{}, undefined>>;
|
|
59
|
+
readonly "session.logout": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{}, undefined>, import("valibot").LooseObjectSchema<{}, undefined>>;
|
|
60
|
+
readonly "login.qrRequest": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{}, undefined>, import("valibot").LooseObjectSchema<{
|
|
61
|
+
readonly qrLink: import("valibot").StringSchema<undefined>;
|
|
62
|
+
readonly trackId: import("valibot").StringSchema<undefined>;
|
|
63
|
+
readonly pollingInterval: import("valibot").NumberSchema<undefined>;
|
|
64
|
+
readonly expiresAt: import("valibot").NumberSchema<undefined>;
|
|
65
|
+
}, undefined>>;
|
|
66
|
+
readonly "login.qrStatus": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
67
|
+
readonly trackId: import("valibot").StringSchema<undefined>;
|
|
68
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
69
|
+
readonly status: import("valibot").LooseObjectSchema<{
|
|
70
|
+
readonly expiresAt: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
71
|
+
readonly loginAvailable: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
72
|
+
}, undefined>;
|
|
73
|
+
}, undefined>>;
|
|
74
|
+
readonly "login.byQr": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
75
|
+
readonly trackId: import("valibot").StringSchema<undefined>;
|
|
76
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
77
|
+
tokenAttrs: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{
|
|
78
|
+
readonly LOGIN: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{
|
|
79
|
+
readonly token: import("valibot").StringSchema<undefined>;
|
|
80
|
+
}, undefined>, undefined>;
|
|
81
|
+
}, undefined>, undefined>;
|
|
82
|
+
passwordChallenge: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{
|
|
83
|
+
readonly trackId: import("valibot").StringSchema<undefined>;
|
|
84
|
+
readonly hint: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
85
|
+
}, undefined>, undefined>;
|
|
86
|
+
}, undefined>>;
|
|
87
|
+
readonly "login.smsRequest": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
88
|
+
readonly phone: import("valibot").StringSchema<undefined>;
|
|
89
|
+
readonly type: import("valibot").LiteralSchema<"START_AUTH", undefined>;
|
|
90
|
+
readonly language: import("valibot").StringSchema<undefined>;
|
|
91
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
92
|
+
readonly token: import("valibot").StringSchema<undefined>;
|
|
93
|
+
readonly codeLength: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
94
|
+
}, undefined>>;
|
|
95
|
+
readonly "login.smsCode": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
96
|
+
readonly token: import("valibot").StringSchema<undefined>;
|
|
97
|
+
readonly verifyCode: import("valibot").StringSchema<undefined>;
|
|
98
|
+
readonly authTokenType: import("valibot").LiteralSchema<"CHECK_CODE", undefined>;
|
|
99
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
100
|
+
tokenAttrs: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{
|
|
101
|
+
readonly LOGIN: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{
|
|
102
|
+
readonly token: import("valibot").StringSchema<undefined>;
|
|
103
|
+
}, undefined>, undefined>;
|
|
104
|
+
}, undefined>, undefined>;
|
|
105
|
+
passwordChallenge: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{
|
|
106
|
+
readonly trackId: import("valibot").StringSchema<undefined>;
|
|
107
|
+
readonly hint: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
108
|
+
}, undefined>, undefined>;
|
|
109
|
+
}, undefined>>;
|
|
110
|
+
readonly "login.password": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
111
|
+
readonly trackId: import("valibot").StringSchema<undefined>;
|
|
112
|
+
readonly password: import("valibot").StringSchema<undefined>;
|
|
113
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
114
|
+
readonly tokenAttrs: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{
|
|
115
|
+
readonly LOGIN: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{
|
|
116
|
+
readonly token: import("valibot").StringSchema<undefined>;
|
|
117
|
+
}, undefined>, undefined>;
|
|
118
|
+
}, undefined>, undefined>;
|
|
119
|
+
readonly error: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
120
|
+
}, undefined>>;
|
|
121
|
+
readonly "contacts.info": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
122
|
+
readonly contactIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>, undefined>;
|
|
123
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
124
|
+
readonly contacts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
125
|
+
}, undefined>>;
|
|
126
|
+
readonly "contacts.presence": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
127
|
+
readonly contactIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>, undefined>;
|
|
128
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
129
|
+
readonly presence: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
130
|
+
readonly time: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
131
|
+
}, undefined>>;
|
|
132
|
+
readonly "contacts.byPhone": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
133
|
+
readonly phone: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
134
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
135
|
+
readonly contact: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
136
|
+
}, undefined>>;
|
|
137
|
+
readonly "contacts.update": import("../spec/define.js").Operation<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
138
|
+
readonly contactId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
139
|
+
readonly action: import("valibot").PicklistSchema<["ADD", "REMOVE", "BLOCK", "UNBLOCK"], undefined>;
|
|
140
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
141
|
+
readonly contactId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
142
|
+
readonly action: import("valibot").LiteralSchema<"UPDATE", undefined>;
|
|
143
|
+
readonly firstName: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
144
|
+
readonly lastName: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
145
|
+
}, undefined>], undefined>, import("valibot").LooseObjectSchema<{
|
|
146
|
+
readonly contact: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
147
|
+
}, undefined>>;
|
|
148
|
+
readonly "contacts.import": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
149
|
+
readonly contactList: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").StrictObjectSchema<{
|
|
150
|
+
readonly firstName: import("valibot").StringSchema<undefined>;
|
|
151
|
+
}, undefined>, undefined>;
|
|
152
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
153
|
+
readonly contacts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
154
|
+
}, undefined>>;
|
|
155
|
+
readonly "account.update": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
156
|
+
readonly firstName: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
157
|
+
readonly lastName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
158
|
+
readonly description: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
159
|
+
readonly photoToken: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
160
|
+
readonly avatarType: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"USER_AVATAR", undefined>, undefined>;
|
|
161
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
162
|
+
readonly profile: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
163
|
+
}, undefined>>;
|
|
164
|
+
readonly "account.settings": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
165
|
+
readonly settings: import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
166
|
+
readonly chats: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").StrictObjectSchema<{
|
|
167
|
+
readonly dontDisturbUntil: import("valibot").NumberSchema<undefined>;
|
|
168
|
+
}, undefined>, undefined>;
|
|
169
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
170
|
+
readonly user: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").BooleanSchema<undefined>], undefined>, undefined>;
|
|
171
|
+
}, undefined>], undefined>;
|
|
172
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
173
|
+
readonly user: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
174
|
+
readonly hash: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
175
|
+
}, undefined>>;
|
|
176
|
+
readonly "account.sessions": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{}, undefined>, import("valibot").LooseObjectSchema<{
|
|
177
|
+
readonly sessions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
178
|
+
}, undefined>>;
|
|
179
|
+
readonly "account.closeSessions": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{}, undefined>, import("valibot").LooseObjectSchema<{
|
|
180
|
+
readonly token: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
181
|
+
}, undefined>>;
|
|
182
|
+
readonly "folders.list": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
183
|
+
readonly folderSync: import("valibot").NumberSchema<undefined>;
|
|
184
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
185
|
+
readonly folders: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
186
|
+
readonly foldersOrder: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>, undefined>;
|
|
187
|
+
readonly folderSync: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
188
|
+
}, undefined>>;
|
|
189
|
+
readonly "folders.update": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
190
|
+
id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
191
|
+
title: import("valibot").StringSchema<undefined>;
|
|
192
|
+
include: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>, undefined>, undefined>;
|
|
193
|
+
filters: import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>;
|
|
194
|
+
options: import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>;
|
|
195
|
+
favorites: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>, undefined>;
|
|
196
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
197
|
+
readonly folder: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
198
|
+
readonly folderSync: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
199
|
+
}, undefined>>;
|
|
200
|
+
readonly "folders.delete": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
201
|
+
readonly folderIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
202
|
+
}, undefined>, import("valibot").LooseObjectSchema<{}, undefined>>;
|
|
203
|
+
readonly "folders.reorder": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
204
|
+
readonly foldersOrder: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
205
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
206
|
+
readonly folders: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
207
|
+
readonly foldersOrder: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>, undefined>;
|
|
208
|
+
readonly folderSync: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
209
|
+
}, undefined>>;
|
|
210
|
+
readonly "banners.list": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
211
|
+
readonly bannersSync: import("valibot").NumberSchema<undefined>;
|
|
212
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
213
|
+
readonly banners: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>, undefined>;
|
|
214
|
+
}, undefined>>;
|
|
215
|
+
readonly "calls.history": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
216
|
+
readonly callHistorySync: import("valibot").NumberSchema<undefined>;
|
|
217
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
218
|
+
readonly callHistoryItems: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>, undefined>;
|
|
219
|
+
readonly callHistorySync: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
220
|
+
}, undefined>>;
|
|
221
|
+
readonly "assets.update": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
222
|
+
readonly type: import("valibot").PicklistSchema<readonly ["STICKER", "FAVORITE_STICKER", "REACTION", "ANIMOJI_SET"], undefined>;
|
|
223
|
+
readonly sync: import("valibot").NumberSchema<undefined>;
|
|
224
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
225
|
+
readonly sync: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
226
|
+
readonly sections: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>, undefined>;
|
|
227
|
+
}, undefined>>;
|
|
228
|
+
readonly "assets.byIds": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
229
|
+
readonly type: import("valibot").PicklistSchema<["STICKER_SET", "STICKER"], undefined>;
|
|
230
|
+
readonly ids: import("valibot").ArraySchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
231
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
232
|
+
readonly stickerSets: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
233
|
+
readonly stickers: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
234
|
+
}, undefined>>;
|
|
235
|
+
readonly "chats.history": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
236
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
237
|
+
readonly from: import("valibot").NumberSchema<undefined>;
|
|
238
|
+
readonly forward: import("valibot").NumberSchema<undefined>;
|
|
239
|
+
readonly backward: import("valibot").NumberSchema<undefined>;
|
|
240
|
+
readonly forwardTime: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
241
|
+
readonly backwardTime: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
242
|
+
readonly itemType: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["REGULAR", "DELAYED"], undefined>, undefined>;
|
|
243
|
+
readonly getChat: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
244
|
+
readonly getMessages: import("valibot").BooleanSchema<undefined>;
|
|
245
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
246
|
+
readonly messages: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
247
|
+
}, undefined>>;
|
|
248
|
+
readonly "chats.mark": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
249
|
+
readonly type: import("valibot").LiteralSchema<"READ_MESSAGE", undefined>;
|
|
250
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
251
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
252
|
+
readonly mark: import("valibot").NumberSchema<undefined>;
|
|
253
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
254
|
+
readonly unread: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
255
|
+
readonly mark: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
256
|
+
}, undefined>>;
|
|
257
|
+
readonly "chats.list": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
258
|
+
readonly marker: import("valibot").NumberSchema<undefined>;
|
|
259
|
+
readonly count: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
260
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
261
|
+
readonly chats: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
262
|
+
}, undefined>>;
|
|
263
|
+
readonly "chats.linkInfo": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
264
|
+
readonly link: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
265
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
266
|
+
readonly chat: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
267
|
+
readonly user: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
268
|
+
}, undefined>>;
|
|
269
|
+
readonly "chats.join": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
270
|
+
readonly link: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
271
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
272
|
+
readonly chat: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
273
|
+
}, undefined>>;
|
|
274
|
+
readonly "chats.leave": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
275
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
276
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
277
|
+
readonly message: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
278
|
+
}, undefined>>;
|
|
279
|
+
readonly "chats.update": import("../spec/define.js").Operation<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
280
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
281
|
+
readonly theme: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
282
|
+
readonly description: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
283
|
+
readonly photoToken: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
284
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
285
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
286
|
+
readonly options: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").BooleanSchema<undefined>, undefined>;
|
|
287
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
288
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
289
|
+
readonly revokePrivateLink: import("valibot").LiteralSchema<true, undefined>;
|
|
290
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
291
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
292
|
+
readonly pinMessageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
293
|
+
readonly notifyPin: import("valibot").BooleanSchema<undefined>;
|
|
294
|
+
}, undefined>], undefined>, import("valibot").LooseObjectSchema<{
|
|
295
|
+
readonly chat: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
296
|
+
}, undefined>>;
|
|
297
|
+
readonly "chats.members": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
298
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
299
|
+
readonly type: import("valibot").PicklistSchema<["MEMBER", "JOIN_REQUEST"], undefined>;
|
|
300
|
+
readonly query: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
301
|
+
readonly marker: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
302
|
+
readonly count: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
303
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
304
|
+
readonly members: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
305
|
+
readonly marker: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
306
|
+
}, undefined>>;
|
|
307
|
+
readonly "chats.updateMembers": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
308
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
309
|
+
readonly userIds: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>, undefined>, import("valibot").MinLengthAction<bigint[], 1, undefined>]>;
|
|
310
|
+
readonly operation: import("valibot").PicklistSchema<["add", "remove"], undefined>;
|
|
311
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["ADMIN", "JOIN_REQUEST"], undefined>, undefined>;
|
|
312
|
+
readonly showHistory: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
313
|
+
readonly cleanMsgPeriod: import("valibot").OptionalSchema<import("valibot").LiteralSchema<0, undefined>, undefined>;
|
|
314
|
+
readonly permissions: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
315
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
316
|
+
readonly chat: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
317
|
+
}, undefined>>;
|
|
318
|
+
readonly "chats.delete": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
319
|
+
chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
320
|
+
lastEventTime: import("valibot").NumberSchema<undefined>;
|
|
321
|
+
forAll: import("valibot").LiteralSchema<false, undefined>;
|
|
322
|
+
}, undefined>, import("valibot").LooseObjectSchema<{}, undefined>>;
|
|
323
|
+
readonly "chats.clear": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
324
|
+
chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
325
|
+
lastEventTime: import("valibot").NumberSchema<undefined>;
|
|
326
|
+
forAll: import("valibot").LiteralSchema<false, undefined>;
|
|
327
|
+
}, undefined>, import("valibot").LooseObjectSchema<{}, undefined>>;
|
|
328
|
+
readonly "chats.app": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
329
|
+
readonly botId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
330
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
331
|
+
readonly startParam: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
332
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
333
|
+
readonly url: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
334
|
+
}, undefined>>;
|
|
335
|
+
readonly "messages.send": import("../spec/define.js").Operation<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
336
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
337
|
+
readonly message: import("valibot").StrictObjectSchema<{
|
|
338
|
+
readonly text: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
339
|
+
readonly cid: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>;
|
|
340
|
+
readonly elements: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
341
|
+
readonly type: import("valibot").StringSchema<undefined>;
|
|
342
|
+
readonly from: import("valibot").NumberSchema<undefined>;
|
|
343
|
+
readonly length: import("valibot").NumberSchema<undefined>;
|
|
344
|
+
readonly attributes: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
345
|
+
readonly url: import("valibot").StringSchema<undefined>;
|
|
346
|
+
}, undefined>, undefined>;
|
|
347
|
+
}, undefined>, undefined>, undefined>;
|
|
348
|
+
readonly attaches: import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>;
|
|
349
|
+
readonly link: import("valibot").OptionalSchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
350
|
+
readonly type: import("valibot").LiteralSchema<"REPLY", undefined>;
|
|
351
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
352
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
353
|
+
readonly type: import("valibot").LiteralSchema<"FORWARD", undefined>;
|
|
354
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
355
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
356
|
+
}, undefined>], undefined>, undefined>;
|
|
357
|
+
readonly delayedAttributes: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
358
|
+
readonly timeToFire: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>;
|
|
359
|
+
}, undefined>, undefined>;
|
|
360
|
+
}, undefined>;
|
|
361
|
+
readonly notify: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
362
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
363
|
+
readonly message: import("valibot").StrictObjectSchema<{
|
|
364
|
+
readonly cid: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>;
|
|
365
|
+
readonly attaches: import("valibot").TupleSchema<[import("valibot").StrictObjectSchema<{
|
|
366
|
+
readonly _type: import("valibot").LiteralSchema<"CONTROL", undefined>;
|
|
367
|
+
readonly event: import("valibot").LiteralSchema<"new", undefined>;
|
|
368
|
+
readonly chatType: import("valibot").PicklistSchema<["CHAT", "CHANNEL"], undefined>;
|
|
369
|
+
readonly title: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
370
|
+
readonly userIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>, undefined>;
|
|
371
|
+
}, undefined>], undefined>;
|
|
372
|
+
}, undefined>;
|
|
373
|
+
readonly notify: import("valibot").BooleanSchema<undefined>;
|
|
374
|
+
}, undefined>], undefined>, import("valibot").LooseObjectSchema<{
|
|
375
|
+
readonly message: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
376
|
+
readonly chat: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
377
|
+
}, undefined>>;
|
|
378
|
+
readonly "messages.edit": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
379
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
380
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
381
|
+
readonly text: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
382
|
+
readonly elements: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
383
|
+
readonly type: import("valibot").StringSchema<undefined>;
|
|
384
|
+
readonly from: import("valibot").NumberSchema<undefined>;
|
|
385
|
+
readonly length: import("valibot").NumberSchema<undefined>;
|
|
386
|
+
readonly attributes: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
387
|
+
readonly url: import("valibot").StringSchema<undefined>;
|
|
388
|
+
}, undefined>, undefined>;
|
|
389
|
+
}, undefined>, undefined>, undefined>;
|
|
390
|
+
readonly attachments: import("valibot").ArraySchema<import("valibot").UnknownSchema, undefined>;
|
|
391
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
392
|
+
readonly message: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
393
|
+
}, undefined>>;
|
|
394
|
+
readonly "messages.react": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
395
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
396
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
397
|
+
readonly reaction: import("valibot").StrictObjectSchema<{
|
|
398
|
+
readonly reactionType: import("valibot").LiteralSchema<"EMOJI", undefined>;
|
|
399
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
400
|
+
}, undefined>;
|
|
401
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
402
|
+
readonly reactionInfo: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
403
|
+
}, undefined>>;
|
|
404
|
+
readonly "messages.press": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
405
|
+
readonly callbackId: import("valibot").StringSchema<undefined>;
|
|
406
|
+
readonly type: import("valibot").LiteralSchema<"CALLBACK", undefined>;
|
|
407
|
+
readonly payload: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
408
|
+
readonly timestamp: import("valibot").NumberSchema<undefined>;
|
|
409
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
410
|
+
readonly chat: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
411
|
+
readonly message: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
412
|
+
readonly unread: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
413
|
+
readonly mark: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
414
|
+
}, undefined>>;
|
|
415
|
+
readonly "messages.unreact": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
416
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
417
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
418
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
419
|
+
readonly reactionInfo: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
420
|
+
}, undefined>>;
|
|
421
|
+
readonly "messages.pollVote": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
422
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
423
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
424
|
+
readonly pollId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
425
|
+
readonly answersIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
426
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
427
|
+
readonly state: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
428
|
+
}, undefined>>;
|
|
429
|
+
readonly "messages.reactions": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
430
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
431
|
+
readonly messageIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>, undefined>;
|
|
432
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
433
|
+
readonly messagesReactions: import("valibot").OptionalSchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>;
|
|
434
|
+
}, undefined>>;
|
|
435
|
+
readonly "messages.media": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
436
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
437
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
438
|
+
readonly attachTypes: import("valibot").ArraySchema<import("valibot").PicklistSchema<["PHOTO", "VIDEO", "FILE", "AUDIO", "SHARE"], undefined>, undefined>;
|
|
439
|
+
readonly forward: import("valibot").NumberSchema<undefined>;
|
|
440
|
+
readonly backward: import("valibot").NumberSchema<undefined>;
|
|
441
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
442
|
+
readonly messages: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
443
|
+
readonly total: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
444
|
+
}, undefined>>;
|
|
445
|
+
readonly "messages.search": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
446
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
447
|
+
readonly query: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
448
|
+
readonly count: import("valibot").NumberSchema<undefined>;
|
|
449
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
450
|
+
readonly result: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
451
|
+
readonly total: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
452
|
+
}, undefined>>;
|
|
453
|
+
readonly "messages.delete": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
454
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
455
|
+
readonly messageIds: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>, undefined>;
|
|
456
|
+
readonly forMe: import("valibot").BooleanSchema<undefined>;
|
|
457
|
+
}, undefined>, import("valibot").LooseObjectSchema<{}, undefined>>;
|
|
458
|
+
readonly "attachments.video": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
459
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
460
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
461
|
+
readonly videoId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
462
|
+
}, undefined>, import("valibot").LooseObjectSchema<{}, undefined>>;
|
|
463
|
+
readonly "attachments.file": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
464
|
+
readonly chatId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
465
|
+
readonly messageId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
466
|
+
readonly fileId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "an id is a whole number written as a string">, import("valibot").TransformAction<string, bigint>]>;
|
|
467
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
468
|
+
readonly url: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
469
|
+
readonly unsafe: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
470
|
+
}, undefined>>;
|
|
471
|
+
readonly "uploads.photo": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
472
|
+
readonly count: import("valibot").LiteralSchema<1, undefined>;
|
|
473
|
+
readonly type: import("valibot").LiteralSchema<0, undefined>;
|
|
474
|
+
readonly uploaderType: import("valibot").LiteralSchema<0, undefined>;
|
|
475
|
+
readonly profile: import("valibot").BooleanSchema<undefined>;
|
|
476
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
477
|
+
readonly url: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
478
|
+
}, undefined>>;
|
|
479
|
+
readonly "uploads.file": import("../spec/define.js").Operation<import("valibot").StrictObjectSchema<{
|
|
480
|
+
readonly count: import("valibot").LiteralSchema<1, undefined>;
|
|
481
|
+
readonly type: import("valibot").LiteralSchema<0, undefined>;
|
|
482
|
+
readonly uploaderType: import("valibot").LiteralSchema<0, undefined>;
|
|
483
|
+
readonly profile: import("valibot").LiteralSchema<false, undefined>;
|
|
484
|
+
}, undefined>, import("valibot").LooseObjectSchema<{
|
|
485
|
+
readonly info: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
486
|
+
}, undefined>>;
|
|
487
|
+
readonly "uploads.video": import("../spec/define.js").Operation<import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
|
|
488
|
+
readonly count: import("valibot").LiteralSchema<1, undefined>;
|
|
489
|
+
readonly type: import("valibot").LiteralSchema<0, undefined>;
|
|
490
|
+
readonly uploaderType: import("valibot").LiteralSchema<0, undefined>;
|
|
491
|
+
readonly profile: import("valibot").LiteralSchema<false, undefined>;
|
|
492
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
493
|
+
readonly count: import("valibot").LiteralSchema<1, undefined>;
|
|
494
|
+
readonly type: import("valibot").LiteralSchema<2, undefined>;
|
|
495
|
+
readonly uploaderType: import("valibot").LiteralSchema<1, undefined>;
|
|
496
|
+
readonly profile: import("valibot").LiteralSchema<false, undefined>;
|
|
497
|
+
}, undefined>], undefined>, import("valibot").LooseObjectSchema<{
|
|
498
|
+
readonly info: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").LooseObjectSchema<{}, undefined>, undefined>, undefined>;
|
|
499
|
+
}, undefined>>;
|
|
500
|
+
};
|
|
501
|
+
export type OperationName = keyof typeof OPERATIONS;
|
|
502
|
+
//# sourceMappingURL=operations.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.generated.d.ts","sourceRoot":"","sources":["../../src/generated/operations.generated.ts"],"names":[],"mappings":"AAoDA,yEAAyE;AACzE,eAAO,MAAM,UAAU;aACrB,cAAc;;;;;;;;;;;;;;;;aACd,eAAe;;;;;;;;;;;;;;;;;;;;;;aACf,cAAc;;;aACd,aAAa;;;;;;;;;;;;;;;aACb,gBAAgB;aAChB,iBAAiB;;;;;;aACjB,gBAAgB;;;;;;;;aAChB,YAAY;;;;;;;;;;;;;aACZ,kBAAkB;;;;;;;;aAClB,eAAe;;;;;;;;;;;;;;;aACf,gBAAgB;;;;;;;;;;;aAChB,eAAe;;;;;aACf,mBAAmB;;;;;;aACnB,kBAAkB;;;;;aAClB,iBAAiB;;;;;;;;;;;aACjB,iBAAiB;;;;;;;aACjB,gBAAgB;;;;;;;;;aAChB,kBAAkB;;;;;;;;;;;;aAClB,kBAAkB;;;aAClB,uBAAuB;;;aACvB,cAAc;;;;;;;aACd,gBAAgB;;;;;;;;;;;aAChB,gBAAgB;;;aAChB,iBAAiB;;;;;;;aACjB,cAAc;;;;;aACd,eAAe;;;;;;aACf,eAAe;;;;;;;aACf,cAAc;;;;;;;aACd,eAAe;;;;;;;;;;;;;aACf,YAAY;;;;;;;;;aACZ,YAAY;;;;;;aACZ,gBAAgB;;;;;;aAChB,YAAY;;;;;aACZ,aAAa;;;;;aACb,cAAc;;;;;;;;;;;;;;;;;;aACd,eAAe;;;;;;;;;;aACf,qBAAqB;;;;;;;;;;;aACrB,cAAc;;;;;aACd,aAAa;;;;;aACb,WAAW;;;;;;;aACX,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACf,eAAe;;;;;;;;;;;;;;;;aACf,gBAAgB;;;;;;;;;;aAChB,gBAAgB;;;;;;;;;;;aAChB,kBAAkB;;;;;;aAClB,mBAAmB;;;;;;;;aACnB,oBAAoB;;;;;;aACpB,gBAAgB;;;;;;;;;;aAChB,iBAAiB;;;;;;;;aACjB,iBAAiB;;;;;aACjB,mBAAmB;;;;;aACnB,kBAAkB;;;;;;;;aAClB,eAAe;;;;;;;;aACf,cAAc;;;;;;;;aACd,eAAe;;;;;;;;;;;;;CACP,CAAA;AAEV,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,UAAU,CAAA"}
|