diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-26 22:08:14 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-26 22:08:14 +1000 |
commit | 1f416b972c6aa0cd4fc43a5790da56f8da21e82c (patch) | |
tree | 8222a04cc63c595bc8b236ceeec89ed2fc2b7580 /assets | |
parent | Fix scripts/benchmark/connections.js (diff) | |
download | server-1f416b972c6aa0cd4fc43a5790da56f8da21e82c.tar.xz |
Move schemas to /src/util/schemas
Diffstat (limited to 'assets')
-rw-r--r-- | assets/schemas.json | 15309 |
1 files changed, 7737 insertions, 7572 deletions
diff --git a/assets/schemas.json b/assets/schemas.json index f0b47515..e545acb8 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -1,178 +1,4 @@ { - "VoiceVideoSchema": { - "type": "object", - "properties": { - "audio_ssrc": { - "type": "integer" - }, - "video_ssrc": { - "type": "integer" - }, - "rtx_ssrc": { - "type": "integer" - }, - "user_id": { - "type": "string" - }, - "streams": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "enum": [ - "audio", - "video" - ], - "type": "string" - }, - "rid": { - "type": "string" - }, - "ssrc": { - "type": "integer" - }, - "active": { - "type": "boolean" - }, - "quality": { - "type": "integer" - }, - "rtx_ssrc": { - "type": "integer" - }, - "max_bitrate": { - "type": "integer" - }, - "max_framerate": { - "type": "integer" - }, - "max_resolution": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "width": { - "type": "integer" - }, - "height": { - "type": "integer" - } - }, - "additionalProperties": false, - "required": [ - "height", - "type", - "width" - ] - } - }, - "additionalProperties": false, - "required": [ - "active", - "max_bitrate", - "max_framerate", - "max_resolution", - "quality", - "rid", - "rtx_ssrc", - "ssrc", - "type" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "audio_ssrc", - "video_ssrc" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "VoiceStateUpdateSchema": { - "type": "object", - "properties": { - "channel_id": { - "type": "string" - }, - "guild_id": { - "type": "string" - }, - "suppress": { - "type": "boolean" - }, - "request_to_speak_timestamp": { - "type": "string", - "format": "date-time" - }, - "self_mute": { - "type": "boolean" - }, - "self_deaf": { - "type": "boolean" - }, - "self_video": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "channel_id" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "VoiceIdentifySchema": { - "type": "object", - "properties": { - "server_id": { - "type": "string" - }, - "user_id": { - "type": "string" - }, - "session_id": { - "type": "string" - }, - "token": { - "type": "string" - }, - "video": { - "type": "boolean" - }, - "streams": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "rid": { - "type": "string" - }, - "quality": { - "type": "integer" - } - }, - "additionalProperties": false, - "required": [ - "quality", - "rid", - "type" - ] - } - } - }, - "additionalProperties": false, - "required": [ - "server_id", - "session_id", - "token", - "user_id" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, "SelectProtocolSchema": { "type": "object", "properties": { @@ -267,103 +93,245 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, - "MessageCreateSchema": { + "LoginSchema": { "type": "object", "properties": { - "type": { - "type": "integer" + "login": { + "type": "string" }, - "content": { + "password": { "type": "string" }, - "nonce": { + "undelete": { + "type": "boolean" + }, + "captcha_key": { "type": "string" }, - "channel_id": { + "login_source": { "type": "string" }, - "tts": { + "gift_code_sku_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "login", + "password" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "RegisterSchema": { + "type": "object", + "properties": { + "username": { + "minLength": 2, + "maxLength": 32, + "type": "string" + }, + "password": { + "minLength": 1, + "maxLength": 72, + "type": "string" + }, + "consent": { "type": "boolean" }, - "flags": { + "email": { + "format": "email", "type": "string" }, - "embeds": { - "type": "array", - "items": { - "$ref": "#/definitions/Embed" - } + "fingerprint": { + "type": "string" }, - "embed": { - "$ref": "#/definitions/Embed" + "invite": { + "type": "string" }, - "allowed_mentions": { - "type": "object", - "properties": { - "parse": { - "type": "array", - "items": { + "date_of_birth": { + "type": "string" + }, + "gift_code_sku_id": { + "type": "string" + }, + "captcha_key": { + "type": "string" + }, + "promotional_email_opt_in": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "consent", + "username" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "TotpSchema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "gift_code_sku_id": { + "type": [ + "null", + "string" + ] + }, + "login_source": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "code", + "ticket" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BackupCodesChallengeSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ChannelModifySchema": { + "type": "object", + "properties": { + "name": { + "maxLength": 100, + "type": "string" + }, + "type": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "topic": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "rate_limit_per_user": { + "type": "integer" + }, + "position": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { "type": "string" - } - }, - "roles": { - "type": "array", - "items": { + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { "type": "string" - } - }, - "users": { - "type": "array", - "items": { + }, + "deny": { "type": "string" } }, - "replied_user": { - "type": "boolean" - } - }, - "additionalProperties": false + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } }, - "message_reference": { - "type": "object", - "properties": { - "message_id": { - "type": "string" - }, - "channel_id": { - "type": "string" - }, - "guild_id": { - "type": "string" - }, - "fail_if_not_exists": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "channel_id", - "message_id" - ] + "parent_id": { + "type": "string" }, - "payload_json": { + "id": { "type": "string" }, - "file": {}, - "attachments": { - "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion", - "type": "array", - "items": {} + "nsfw": { + "type": "boolean" }, - "sticker_ids": { - "type": "array", - "items": { - "type": "string" - } + "rtc_region": { + "type": "string" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "default_reaction_emoji": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "default_thread_rate_limit_per_user": { + "type": "integer" + }, + "video_quality_mode": { + "type": "integer" } }, "additionalProperties": false, "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -494,18 +462,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -620,107 +576,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -900,29 +778,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -933,24 +897,47 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "RouteResponse": { + "InviteCreateSchema": { "type": "object", "properties": { - "status": { + "target_user_id": { + "type": "string" + }, + "target_type": { + "type": "string" + }, + "validate": { + "type": "string" + }, + "max_age": { "type": "integer" }, - "body": { - "type": "array", - "items": { - "type": "string" - } + "max_uses": { + "type": "integer" }, - "headers": { - "$ref": "#/definitions/Record<string,string>" + "temporary": { + "type": "boolean" + }, + "unique": { + "type": "boolean" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" } }, "additionalProperties": false, "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -1081,18 +1068,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -1207,107 +1182,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -1487,29 +1384,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -1520,48 +1503,30 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "hcaptchaResponse": { + "PurgeSchema": { "type": "object", "properties": { - "success": { - "type": "boolean" - }, - "challenge_ts": { + "before": { "type": "string" }, - "hostname": { + "after": { "type": "string" - }, - "credit": { - "type": "boolean" - }, - "error-codes": { - "type": "array", - "items": { - "type": "string" - } - }, - "score": { - "type": "integer" - }, - "score_reason": { - "type": "array", - "items": { - "type": "string" - } } }, "additionalProperties": false, "required": [ - "challenge_ts", - "credit", - "error-codes", - "hostname", - "score", - "score_reason", - "success" + "after", + "before" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -1692,18 +1657,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -1818,107 +1771,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -2098,29 +1973,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -2131,40 +2092,31 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "recaptchaResponse": { + "WebhookCreateSchema": { "type": "object", "properties": { - "success": { - "type": "boolean" - }, - "score": { - "type": "integer" - }, - "action": { - "type": "string" - }, - "challenge_ts": { + "name": { + "maxLength": 80, "type": "string" }, - "hostname": { + "avatar": { "type": "string" - }, - "error-codes": { - "type": "array", - "items": { - "type": "string" - } } }, "additionalProperties": false, "required": [ - "action", - "challenge_ts", - "hostname", - "score", - "success" + "avatar", + "name" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -2295,18 +2247,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -2421,107 +2361,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -2701,29 +2563,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -2734,34 +2682,111 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "LoginSchema": { + "MessageCreateSchema": { "type": "object", "properties": { - "login": { + "type": { + "type": "integer" + }, + "content": { "type": "string" }, - "password": { + "nonce": { "type": "string" }, - "undelete": { + "channel_id": { + "type": "string" + }, + "tts": { "type": "boolean" }, - "captcha_key": { + "flags": { "type": "string" }, - "login_source": { - "type": "string" + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } }, - "gift_code_sku_id": { + "embed": { + "$ref": "#/definitions/Embed" + }, + "allowed_mentions": { + "type": "object", + "properties": { + "parse": { + "type": "array", + "items": { + "type": "string" + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "items": { + "type": "string" + } + }, + "replied_user": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "fail_if_not_exists": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_id" + ] + }, + "payload_json": { "type": "string" + }, + "file": {}, + "attachments": { + "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion", + "type": "array", + "items": {} + }, + "sticker_ids": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, - "required": [ - "login", - "password" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -2892,18 +2917,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -3018,107 +3031,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -3298,29 +3233,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -3331,51 +3352,26 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "RegisterSchema": { + "MessageAcknowledgeSchema": { "type": "object", "properties": { - "username": { - "minLength": 2, - "maxLength": 32, - "type": "string" - }, - "password": { - "minLength": 1, - "maxLength": 72, - "type": "string" - }, - "consent": { + "manual": { "type": "boolean" }, - "email": { - "format": "email", - "type": "string" - }, - "fingerprint": { - "type": "string" - }, - "invite": { - "type": "string" - }, - "date_of_birth": { - "type": "string" - }, - "gift_code_sku_id": { - "type": "string" - }, - "captcha_key": { - "type": "string" - }, - "promotional_email_opt_in": { - "type": "boolean" + "mention_count": { + "type": "integer" } }, "additionalProperties": false, - "required": [ - "consent", - "username" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -3506,18 +3502,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -3632,107 +3616,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -3912,29 +3818,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -3945,34 +3937,48 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "TotpSchema": { + "GuildCreateSchema": { "type": "object", "properties": { - "code": { + "name": { + "maxLength": 100, "type": "string" }, - "ticket": { + "region": { "type": "string" }, - "gift_code_sku_id": { + "icon": { "type": [ "null", "string" ] }, - "login_source": { - "type": [ - "null", - "string" - ] + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelModifySchema" + } + }, + "guild_template_code": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" } }, "additionalProperties": false, - "required": [ - "code", - "ticket" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -4103,18 +4109,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -4229,107 +4223,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -4509,29 +4425,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -4542,18 +4544,26 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "BackupCodesChallengeSchema": { + "BanCreateSchema": { "type": "object", "properties": { - "password": { + "delete_message_days": { + "type": "string" + }, + "reason": { "type": "string" } }, "additionalProperties": false, - "required": [ - "password" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -4684,18 +4694,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -4810,107 +4808,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -5090,29 +5010,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -5123,120 +5129,41 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "ChannelModifySchema": { + "BanModeratorSchema": { "type": "object", "properties": { - "name": { - "maxLength": 100, + "id": { "type": "string" }, - "type": { - "enum": [ - 0, - 1, - 10, - 11, - 12, - 13, - 14, - 15, - 2, - 255, - 3, - 33, - 34, - 35, - 4, - 5, - 6, - 64, - 7, - 8, - 9 - ], - "type": "number" - }, - "topic": { + "user_id": { "type": "string" }, - "icon": { - "type": [ - "null", - "string" - ] - }, - "bitrate": { - "type": "integer" - }, - "user_limit": { - "type": "integer" - }, - "rate_limit_per_user": { - "type": "integer" - }, - "position": { - "type": "integer" - }, - "permission_overwrites": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/ChannelPermissionOverwriteType" - }, - "allow": { - "type": "string" - }, - "deny": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "allow", - "deny", - "id", - "type" - ] - } - }, - "parent_id": { + "guild_id": { "type": "string" }, - "id": { + "executor_id": { "type": "string" }, - "nsfw": { - "type": "boolean" - }, - "rtc_region": { + "reason": { "type": "string" - }, - "default_auto_archive_duration": { - "type": "integer" - }, - "default_reaction_emoji": { - "type": [ - "null", - "string" - ] - }, - "flags": { - "type": "integer" - }, - "default_thread_rate_limit_per_user": { - "type": "integer" - }, - "video_quality_mode": { - "type": "integer" } }, "additionalProperties": false, + "required": [ + "executor_id", + "guild_id", + "id", + "user_id" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -5367,18 +5294,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -5493,107 +5408,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -5773,29 +5610,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -5806,39 +5729,44 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "InviteCreateSchema": { + "BanRegistrySchema": { "type": "object", "properties": { - "target_user_id": { + "id": { "type": "string" }, - "target_type": { + "user_id": { "type": "string" }, - "validate": { + "guild_id": { "type": "string" }, - "max_age": { - "type": "integer" - }, - "max_uses": { - "type": "integer" - }, - "temporary": { - "type": "boolean" - }, - "unique": { - "type": "boolean" + "executor_id": { + "type": "string" }, - "target_user": { + "ip": { "type": "string" }, - "target_user_type": { - "type": "integer" + "reason": { + "type": "string" } }, "additionalProperties": false, + "required": [ + "executor_id", + "guild_id", + "id", + "user_id" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -5969,18 +5897,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -6095,107 +6011,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -6375,29 +6213,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -6408,30 +6332,41 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "ChannelPermissionOverwriteSchema": { + "EmojiCreateSchema": { "type": "object", "properties": { - "allow": { + "name": { "type": "string" }, - "deny": { + "image": { "type": "string" }, - "id": { - "type": "string" + "require_colons": { + "type": [ + "null", + "boolean" + ] }, - "type": { - "$ref": "#/definitions/ChannelPermissionOverwriteType" + "roles": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, "required": [ - "allow", - "deny", - "id", - "type" + "image" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -6562,18 +6497,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -6688,107 +6611,29 @@ }, "additionalProperties": false }, - "UserPublic": { + "ActivitySchema": { "type": "object", "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { + "afk": { "type": "boolean" }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -6968,29 +6813,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -7001,22 +6932,29 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "PurgeSchema": { + "EmojiModifySchema": { "type": "object", "properties": { - "before": { + "name": { "type": "string" }, - "after": { - "type": "string" + "roles": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, - "required": [ - "after", - "before" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -7147,18 +7085,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -7273,107 +7199,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -7553,29 +7401,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -7586,23 +7520,37 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "WebhookCreateSchema": { + "ModifyGuildStickerSchema": { "type": "object", "properties": { "name": { - "maxLength": 80, + "minLength": 2, + "maxLength": 30, "type": "string" }, - "avatar": { + "description": { + "maxLength": 100, + "type": "string" + }, + "tags": { + "maxLength": 200, "type": "string" } }, "additionalProperties": false, "required": [ - "avatar", - "name" + "name", + "tags" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -7733,18 +7681,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -7859,107 +7795,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -8139,29 +7997,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -8172,21 +8116,29 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "BulkDeleteSchema": { + "TemplateCreateSchema": { "type": "object", "properties": { - "messages": { - "type": "array", - "items": { - "type": "string" - } + "name": { + "type": "string" + }, + "description": { + "type": "string" } }, "additionalProperties": false, "required": [ - "messages" + "name" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -8317,18 +8269,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -8443,107 +8383,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -8723,29 +8585,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -8756,18 +8704,29 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "MessageAcknowledgeSchema": { + "TemplateModifySchema": { "type": "object", "properties": { - "manual": { - "type": "boolean" + "name": { + "type": "string" }, - "mention_count": { - "type": "integer" + "description": { + "type": "string" } }, "additionalProperties": false, + "required": [ + "name" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -8898,18 +8857,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -9024,107 +8971,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -9304,80 +9173,144 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { - "type": "boolean" + "username": { + "type": "string" }, - "status": { - "$ref": "#/definitions/Status" + "discriminator": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "id": { + "type": "string" }, - "since": { + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_since": { + "type": "string", + "format": "date-time" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" ] }, - "HeaderBag": { - "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", + "PublicConnectedAccount": { "type": "object", - "additionalProperties": false - } - }, - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "GatewayBotResponse": { - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "shards": { - "type": "integer" + "properties": { + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] }, - "session_start_limit": { + "Partial<ChannelOverride>": { "type": "object", "properties": { - "total": { + "message_notifications": { "type": "integer" }, - "remaining": { - "type": "integer" + "mute_config": { + "$ref": "#/definitions/MuteConfig" }, - "reset_after": { + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { "type": "integer" }, - "max_concurrency": { + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "max_concurrency", - "remaining", - "reset_after", - "total" + "end_time", + "selected_time_window" ] + }, + "HeaderBag": { + "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "VanityUrlSchema": { + "type": "object", + "properties": { + "code": { + "minLength": 1, + "maxLength": 20, + "type": "string" } }, "additionalProperties": false, - "required": [ - "session_start_limit", - "shards", - "url" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -9508,18 +9441,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -9634,107 +9555,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -9914,29 +9757,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -9947,18 +9876,51 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "GatewayResponse": { + "GuildUpdateWelcomeScreenSchema": { "type": "object", "properties": { - "url": { + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + }, + "enabled": { + "type": "boolean" + }, + "description": { "type": "string" } }, "additionalProperties": false, - "required": [ - "url" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -10089,18 +10051,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -10215,107 +10165,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -10495,29 +10367,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -10528,40 +10486,30 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "GuildCreateSchema": { + "WidgetModifySchema": { "type": "object", "properties": { - "name": { - "maxLength": 100, - "type": "string" - }, - "region": { - "type": "string" - }, - "icon": { - "type": [ - "null", - "string" - ] - }, - "channels": { - "type": "array", - "items": { - "$ref": "#/definitions/ChannelModifySchema" - } - }, - "guild_template_code": { - "type": "string" - }, - "system_channel_id": { - "type": "string" + "enabled": { + "type": "boolean" }, - "rules_channel_id": { + "channel_id": { "type": "string" } }, "additionalProperties": false, + "required": [ + "channel_id", + "enabled" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -10692,18 +10640,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -10818,107 +10754,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -11098,29 +10956,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -11131,18 +11075,29 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "BanCreateSchema": { + "MemberChangeSchema": { "type": "object", "properties": { - "delete_message_days": { - "type": "string" + "roles": { + "type": "array", + "items": { + "type": "string" + } }, - "reason": { + "nick": { "type": "string" } }, "additionalProperties": false, "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -11273,18 +11228,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -11399,107 +11342,29 @@ }, "additionalProperties": false }, - "UserPublic": { + "ActivitySchema": { "type": "object", "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { + "afk": { "type": "boolean" }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -11679,29 +11544,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -11712,36 +11663,44 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "BanRegistrySchema": { + "RoleModifySchema": { "type": "object", "properties": { - "id": { + "name": { "type": "string" }, - "user_id": { + "permissions": { "type": "string" }, - "guild_id": { - "type": "string" + "color": { + "type": "integer" }, - "executor_id": { - "type": "string" + "hoist": { + "type": "boolean" }, - "ip": { + "mentionable": { + "type": "boolean" + }, + "position": { + "type": "integer" + }, + "icon": { "type": "string" }, - "reason": { + "unicode_emoji": { "type": "string" } }, "additionalProperties": false, - "required": [ - "executor_id", - "guild_id", - "id", - "user_id" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -11872,18 +11831,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -11998,107 +11945,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -12278,29 +12147,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -12311,33 +12266,32 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "BanModeratorSchema": { + "GuildTemplateCreateSchema": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "user_id": { - "type": "string" - }, - "guild_id": { - "type": "string" - }, - "executor_id": { + "name": { "type": "string" }, - "reason": { - "type": "string" + "avatar": { + "type": [ + "null", + "string" + ] } }, "additionalProperties": false, "required": [ - "executor_id", - "guild_id", - "id", - "user_id" + "name" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -12468,18 +12422,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -12594,107 +12536,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -12874,29 +12738,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -12907,30 +12857,32 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "ChannelReorderSchema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "position": { - "type": "integer" - }, - "lock_permissions": { - "type": "boolean" - }, - "parent_id": { + "DmChannelCreateSchema": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { "type": "string" } - }, - "additionalProperties": false, - "required": [ - "id" - ] + } }, + "additionalProperties": false, + "required": [ + "recipients" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -13061,18 +13013,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -13187,107 +13127,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -13467,29 +13329,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -13500,33 +13448,59 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "EmojiCreateSchema": { + "UserModifySchema": { "type": "object", "properties": { - "name": { + "username": { + "minLength": 1, + "maxLength": 100, "type": "string" }, - "image": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "bio": { + "maxLength": 1024, "type": "string" }, - "require_colons": { + "accent_color": { + "type": "integer" + }, + "banner": { "type": [ "null", - "boolean" + "string" ] }, - "roles": { - "type": "array", - "items": { - "type": "string" - } + "password": { + "type": "string" + }, + "new_password": { + "type": "string" + }, + "code": { + "type": "string" + }, + "email": { + "type": "string" + }, + "discriminator": { + "type": "string" } }, "additionalProperties": false, - "required": [ - "image" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -13657,18 +13631,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -13783,107 +13745,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -14063,29 +13947,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -14096,21 +14066,30 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "EmojiModifySchema": { + "RelationshipPostSchema": { "type": "object", "properties": { - "name": { + "discriminator": { "type": "string" }, - "roles": { - "type": "array", - "items": { - "type": "string" - } + "username": { + "type": "string" } }, "additionalProperties": false, + "required": [ + "discriminator", + "username" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -14241,18 +14220,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -14367,107 +14334,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -14647,29 +14536,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -14680,82 +14655,29 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "GuildUpdateSchema": { + "RelationshipPutSchema": { "type": "object", "properties": { - "banner": { - "type": [ - "null", - "string" - ] - }, - "splash": { - "type": [ - "null", - "string" - ] - }, - "description": { - "type": "string" - }, - "features": { - "type": "array", - "items": { - "type": "string" - } - }, - "verification_level": { - "type": "integer" - }, - "default_message_notifications": { - "type": "integer" - }, - "system_channel_flags": { - "type": "integer" - }, - "explicit_content_filter": { - "type": "integer" - }, - "public_updates_channel_id": { - "type": "string" - }, - "afk_timeout": { - "type": "integer" - }, - "afk_channel_id": { - "type": "string" - }, - "preferred_locale": { - "type": "string" - }, - "premium_progress_bar_enabled": { - "type": "boolean" - }, - "name": { - "maxLength": 100, - "type": "string" - }, - "region": { - "type": "string" - }, - "icon": { - "type": [ - "null", - "string" - ] - }, - "guild_template_code": { - "type": "string" - }, - "system_channel_id": { - "type": "string" - }, - "rules_channel_id": { - "type": "string" + "type": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" } }, "additionalProperties": false, "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -14886,18 +14808,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -15012,107 +14922,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -15292,29 +15124,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -15325,18 +15243,33 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "PruneSchema": { + "CodesVerificationSchema": { "type": "object", "properties": { - "days": { - "type": "integer" + "key": { + "type": "string" + }, + "nonce": { + "type": "string" + }, + "regenerate": { + "type": "boolean" } }, "additionalProperties": false, "required": [ - "days" + "key", + "nonce" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -15467,18 +15400,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -15593,107 +15514,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -15873,29 +15716,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -15906,29 +15835,29 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "ModifyGuildStickerSchema": { + "MfaCodesSchema": { "type": "object", "properties": { - "name": { - "minLength": 2, - "maxLength": 30, - "type": "string" - }, - "description": { - "maxLength": 100, + "password": { "type": "string" }, - "tags": { - "maxLength": 200, - "type": "string" + "regenerate": { + "type": "boolean" } }, "additionalProperties": false, "required": [ - "name", - "tags" + "password" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -16059,18 +15988,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -16185,107 +16102,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -16465,29 +16304,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -16498,21 +16423,26 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "TemplateCreateSchema": { + "TotpDisableSchema": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "description": { + "code": { "type": "string" } }, "additionalProperties": false, "required": [ - "name" + "code" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -16643,18 +16573,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -16769,107 +16687,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -17049,29 +16889,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -17082,21 +17008,32 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "TemplateModifySchema": { + "TotpEnableSchema": { "type": "object", "properties": { - "name": { + "password": { "type": "string" }, - "description": { + "code": { + "type": "string" + }, + "secret": { "type": "string" } }, "additionalProperties": false, "required": [ - "name" + "password" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -17227,18 +17164,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -17353,107 +17278,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -17633,29 +17480,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -17666,17 +17599,64 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "VanityUrlSchema": { + "VoiceIdentifySchema": { "type": "object", "properties": { - "code": { - "minLength": 1, - "maxLength": 20, + "server_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "session_id": { "type": "string" + }, + "token": { + "type": "string" + }, + "video": { + "type": "boolean" + }, + "streams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "rid": { + "type": "string" + }, + "quality": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "quality", + "rid", + "type" + ] + } } }, "additionalProperties": false, + "required": [ + "server_id", + "session_id", + "token", + "user_id" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -17807,18 +17787,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -17933,107 +17901,29 @@ }, "additionalProperties": false }, - "UserPublic": { + "ActivitySchema": { "type": "object", "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { + "afk": { "type": "boolean" }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -18213,29 +18103,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -18246,43 +18222,49 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "GuildUpdateWelcomeScreenSchema": { + "VoiceStateUpdateSchema": { "type": "object", "properties": { - "welcome_channels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "channel_id": { - "type": "string" - }, - "description": { - "type": "string" - }, - "emoji_id": { - "type": "string" - }, - "emoji_name": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "channel_id", - "description" - ] - } + "guild_id": { + "type": "string" }, - "enabled": { + "channel_id": { + "type": "string" + }, + "self_mute": { "type": "boolean" }, - "description": { + "self_deaf": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "preferred_region": { "type": "string" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "suppress": { + "type": "boolean" } }, "additionalProperties": false, + "required": [ + "self_deaf", + "self_mute" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -18413,18 +18395,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -18539,107 +18509,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -18819,29 +18711,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -18852,22 +18830,104 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "WidgetModifySchema": { + "VoiceVideoSchema": { "type": "object", "properties": { - "enabled": { - "type": "boolean" + "audio_ssrc": { + "type": "integer" }, - "channel_id": { + "video_ssrc": { + "type": "integer" + }, + "rtx_ssrc": { + "type": "integer" + }, + "user_id": { "type": "string" + }, + "streams": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "enum": [ + "audio", + "video" + ], + "type": "string" + }, + "rid": { + "type": "string" + }, + "ssrc": { + "type": "integer" + }, + "active": { + "type": "boolean" + }, + "quality": { + "type": "integer" + }, + "rtx_ssrc": { + "type": "integer" + }, + "max_bitrate": { + "type": "integer" + }, + "max_framerate": { + "type": "integer" + }, + "max_resolution": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "height", + "type", + "width" + ] + } + }, + "additionalProperties": false, + "required": [ + "active", + "max_bitrate", + "max_framerate", + "max_resolution", + "quality", + "rid", + "rtx_ssrc", + "ssrc", + "type" + ] + } } }, "additionalProperties": false, "required": [ - "channel_id", - "enabled" + "audio_ssrc", + "video_ssrc" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -18998,18 +19058,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -19124,107 +19172,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -19404,29 +19374,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -19437,21 +19493,178 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "MemberChangeSchema": { + "IdentifySchema": { "type": "object", "properties": { - "roles": { + "token": { + "type": "string" + }, + "properties": { + "type": "object", + "properties": { + "os": { + "type": "string" + }, + "os_atch": { + "type": "string" + }, + "browser": { + "type": "string" + }, + "device": { + "type": "string" + }, + "$os": { + "type": "string" + }, + "$browser": { + "type": "string" + }, + "$device": { + "type": "string" + }, + "browser_user_agent": { + "type": "string" + }, + "browser_version": { + "type": "string" + }, + "os_version": { + "type": "string" + }, + "referrer": { + "type": "string" + }, + "referring_domain": { + "type": "string" + }, + "referrer_current": { + "type": "string" + }, + "referring_domain_current": { + "type": "string" + }, + "release_channel": { + "enum": [ + "canary", + "dev", + "ptb", + "stable" + ], + "type": "string" + }, + "client_build_number": { + "type": "integer" + }, + "client_event_source": {}, + "client_version": { + "type": "string" + }, + "system_locale": { + "type": "string" + } + }, + "additionalProperties": false + }, + "intents": { + "type": "bigint" + }, + "presence": { + "$ref": "#/definitions/ActivitySchema" + }, + "compress": { + "type": "boolean" + }, + "large_threshold": { + "type": "integer" + }, + "largeThreshold": { + "type": "integer" + }, + "shard": { "type": "array", - "items": { - "type": "string" - } + "items": [ + { + "type": "bigint" + }, + { + "type": "bigint" + } + ], + "minItems": 2, + "maxItems": 2 }, - "nick": { - "type": "string" + "guild_subscriptions": { + "type": "boolean" + }, + "capabilities": { + "type": "integer" + }, + "client_state": { + "type": "object", + "properties": { + "guild_hashes": {}, + "highest_last_message_id": { + "type": [ + "string", + "integer" + ] + }, + "read_state_version": { + "type": "integer" + }, + "user_guild_settings_version": { + "type": "integer" + }, + "user_settings_version": { + "type": "integer" + }, + "useruser_guild_settings_version": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "clientState": { + "type": "object", + "properties": { + "guildHashes": {}, + "highestLastMessageId": { + "type": [ + "string", + "integer" + ] + }, + "readStateVersion": { + "type": "integer" + }, + "userGuildSettingsVersion": { + "type": "integer" + }, + "useruserGuildSettingsVersion": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "v": { + "type": "integer" } }, "additionalProperties": false, + "required": [ + "properties", + "token" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -19582,18 +19795,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -19708,107 +19909,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -19988,29 +20111,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -20021,18 +20230,17 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "MemberNickChangeSchema": { - "type": "object", - "properties": { - "nick": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "nick" - ], + "ActivitySchema": { + "$ref": "#/definitions/ActivitySchema", "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -20163,18 +20371,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -20289,107 +20485,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -20569,29 +20687,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -20602,36 +20806,49 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "RoleModifySchema": { + "LazyRequestSchema": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "permissions": { + "guild_id": { "type": "string" }, - "color": { - "type": "integer" + "channels": { + "$ref": "#/definitions/Record<string,[number,number][]>" }, - "hoist": { + "activities": { "type": "boolean" }, - "mentionable": { + "threads": { "type": "boolean" }, - "position": { - "type": "integer" + "typing": { + "enum": [ + true + ], + "type": "boolean" }, - "icon": { - "type": "string" + "members": { + "type": "array", + "items": {} }, - "unicode_emoji": { - "type": "string" + "thread_member_lists": { + "type": "array", + "items": {} } }, "additionalProperties": false, + "required": [ + "guild_id" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -20762,18 +20979,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -20888,107 +21093,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -21168,29 +21295,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -21201,25 +21414,32 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "RolePositionUpdateSchema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { + "RouteResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "array", + "items": { "type": "string" - }, - "position": { - "type": "integer" } }, - "additionalProperties": false, - "required": [ - "id", - "position" - ] + "headers": { + "$ref": "#/definitions/Record<string,string>" + } }, + "additionalProperties": false, "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -21350,18 +21570,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -21476,107 +21684,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -21756,29 +21886,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -21789,24 +22005,56 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "GuildTemplateCreateSchema": { + "hcaptchaResponse": { "type": "object", "properties": { - "name": { + "success": { + "type": "boolean" + }, + "challenge_ts": { "type": "string" }, - "avatar": { - "type": [ - "null", - "string" - ] + "hostname": { + "type": "string" + }, + "credit": { + "type": "boolean" + }, + "error-codes": { + "type": "array", + "items": { + "type": "string" + } + }, + "score": { + "type": "integer" + }, + "score_reason": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, "required": [ - "name" + "challenge_ts", + "credit", + "error-codes", + "hostname", + "score", + "score_reason", + "success" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -21937,18 +22185,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -22063,107 +22299,29 @@ }, "additionalProperties": false }, - "UserPublic": { + "ActivitySchema": { "type": "object", "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { + "afk": { "type": "boolean" }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -22343,29 +22501,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -22376,30 +22620,48 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "UserProfileResponse": { + "recaptchaResponse": { "type": "object", "properties": { - "user": { - "$ref": "#/definitions/UserPublic" + "success": { + "type": "boolean" }, - "connected_accounts": { - "$ref": "#/definitions/PublicConnectedAccount" + "score": { + "type": "integer" }, - "premium_guild_since": { - "type": "string", - "format": "date-time" + "action": { + "type": "string" }, - "premium_since": { - "type": "string", - "format": "date-time" + "challenge_ts": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "error-codes": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, "required": [ - "connected_accounts", - "user" + "action", + "challenge_ts", + "hostname", + "score", + "success" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -22530,18 +22792,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -22656,107 +22906,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -22936,69 +23108,157 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { - "type": "boolean" + "username": { + "type": "string" }, - "status": { - "$ref": "#/definitions/Status" + "discriminator": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "id": { + "type": "string" }, - "since": { + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_since": { + "type": "string", + "format": "date-time" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" ] }, - "HeaderBag": { - "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", - "type": "object", - "additionalProperties": false - } - }, - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "UserRelationsResponse": { - "type": "object", - "properties": { - "object": { + "PublicConnectedAccount": { "type": "object", "properties": { - "id": { + "type": { "type": "string" }, - "username": { + "name": { "type": "string" }, - "avatar": { - "type": "string" + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" }, - "discriminator": { - "type": "string" + "mute_config": { + "$ref": "#/definitions/MuteConfig" }, - "public_flags": { + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "HeaderBag": { + "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", + "type": "object", "additionalProperties": false } }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ChannelPermissionOverwriteSchema": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, "additionalProperties": false, "required": [ - "object" + "allow", + "deny", + "id", + "type" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -23129,18 +23389,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -23255,107 +23503,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -23535,29 +23705,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -23568,24 +23824,55 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "DmChannelCreateSchema": { + "GatewayBotResponse": { "type": "object", "properties": { - "name": { + "url": { "type": "string" }, - "recipients": { - "type": "array", - "items": { - "type": "string" - } + "shards": { + "type": "integer" + }, + "session_start_limit": { + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "remaining": { + "type": "integer" + }, + "reset_after": { + "type": "integer" + }, + "max_concurrency": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "max_concurrency", + "remaining", + "reset_after", + "total" + ] } }, "additionalProperties": false, "required": [ - "recipients" + "session_start_limit", + "shards", + "url" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -23716,18 +24003,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -23842,107 +24117,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -24122,29 +24319,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -24155,51 +24438,26 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "UserModifySchema": { + "GatewayResponse": { "type": "object", "properties": { - "username": { - "minLength": 1, - "maxLength": 100, - "type": "string" - }, - "avatar": { - "type": [ - "null", - "string" - ] - }, - "bio": { - "maxLength": 1024, - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": [ - "null", - "string" - ] - }, - "password": { - "type": "string" - }, - "new_password": { - "type": "string" - }, - "code": { - "type": "string" - }, - "email": { - "type": "string" - }, - "discriminator": { + "url": { "type": "string" } }, "additionalProperties": false, + "required": [ + "url" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -24330,18 +24588,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -24456,107 +24702,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -24736,29 +24904,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -24769,21 +25023,38 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "RelationshipPutSchema": { - "type": "object", - "properties": { - "type": { + "ChannelReorderSchema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "lock_permissions": { + "type": "boolean" + }, + "parent_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + }, + "definitions": { + "ChannelPermissionOverwriteType": { "enum": [ + 0, 1, - 2, - 3, - 4 + 2 ], "type": "number" - } - }, - "additionalProperties": false, - "definitions": { + }, "Embed": { "type": "object", "properties": { @@ -24914,18 +25185,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -25040,107 +25299,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -25320,29 +25501,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -25353,22 +25620,21 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "RelationshipPostSchema": { + "GuildUpdateSchema": { "type": "object", - "properties": { - "discriminator": { - "type": "string" - }, - "username": { - "type": "string" - } - }, "additionalProperties": false, - "required": [ - "discriminator", - "username" - ], + "patternProperties": { + "^[0-9]+$": {} + }, "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -25499,18 +25765,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -25625,107 +25879,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -25905,228 +26081,152 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { - "type": "boolean" + "username": { + "type": "string" }, - "status": { - "$ref": "#/definitions/Status" + "discriminator": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "id": { + "type": "string" }, - "since": { + "public_flags": { "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_since": { + "type": "string", + "format": "date-time" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" ] }, - "HeaderBag": { - "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", + "PublicConnectedAccount": { "type": "object", - "additionalProperties": false - } - }, - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "UserSettingsSchema": { - "type": "object", - "properties": { - "afk_timeout": { - "type": "integer" - }, - "allow_accessibility_detection": { - "type": "boolean" - }, - "animate_emoji": { - "type": "boolean" - }, - "animate_stickers": { - "type": "integer" - }, - "contact_sync_enabled": { - "type": "boolean" - }, - "convert_emoticons": { - "type": "boolean" - }, - "custom_status": { - "anyOf": [ - { - "type": "object", - "properties": { - "emoji_id": { - "type": "string" - }, - "emoji_name": { - "type": "string" - }, - "expires_at": { - "type": "integer" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false + "properties": { + "type": { + "type": "string" }, - { - "type": "null" + "name": { + "type": "string" + }, + "verified": { + "type": "boolean" } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" ] }, - "default_guilds_restricted": { - "type": "boolean" - }, - "detect_platform_accounts": { - "type": "boolean" - }, - "developer_mode": { - "type": "boolean" - }, - "disable_games_tab": { - "type": "boolean" - }, - "enable_tts_command": { - "type": "boolean" - }, - "explicit_content_filter": { - "type": "integer" - }, - "friend_source_flags": { + "Partial<ChannelOverride>": { "type": "object", "properties": { - "all": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" } }, "additionalProperties": false, "required": [ - "all" + "end_time", + "selected_time_window" ] }, - "gateway_connected": { - "type": "boolean" - }, - "gif_auto_play": { - "type": "boolean" - }, - "guild_folders": { - "type": "array", - "items": { - "type": "object", - "properties": { - "color": { - "type": "integer" - }, - "guild_ids": { - "type": "array", - "items": { - "type": "string" - } - }, - "id": { - "type": "integer" - }, - "name": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "color", - "guild_ids", - "id", - "name" - ] - } - }, - "guild_positions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inline_attachment_media": { - "type": "boolean" - }, - "inline_embed_media": { - "type": "boolean" - }, - "locale": { - "type": "string" - }, - "message_display_compact": { - "type": "boolean" - }, - "native_phone_integration_enabled": { - "type": "boolean" - }, - "render_embeds": { - "type": "boolean" - }, - "render_reactions": { - "type": "boolean" - }, - "restricted_guilds": { - "type": "array", - "items": { + "HeaderBag": { + "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "RolePositionUpdateSchema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { "type": "string" + }, + "position": { + "type": "integer" } }, - "show_current_game": { - "type": "boolean" - }, - "status": { - "enum": [ - "dnd", - "idle", - "invisible", - "offline", - "online" - ], - "type": "string" - }, - "stream_notifications_enabled": { - "type": "boolean" - }, - "theme": { + "additionalProperties": false, + "required": [ + "id", + "position" + ] + }, + "definitions": { + "ChannelPermissionOverwriteType": { "enum": [ - "dark", - "white" + 0, + 1, + 2 ], - "type": "string" - }, - "timezone_offset": { - "type": "integer" - }, - "banner_color": { - "type": [ - "null", - "string" - ] - }, - "friend_discovery_flags": { - "type": "integer" - }, - "view_nsfw_guilds": { - "type": "boolean" + "type": "number" }, - "passwordless": { - "type": "boolean" - } - }, - "additionalProperties": false, - "definitions": { "Embed": { "type": "object", "properties": { @@ -26257,18 +26357,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -26383,107 +26471,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -26663,29 +26673,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -26696,70 +26792,38 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "UserGuildSettingsSchema": { + "UserProfileResponse": { "type": "object", "properties": { - "channel_overrides": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Partial<ChannelOverride>" - } - }, - "version": { - "type": "integer" - }, - "flags": { - "type": "integer" - }, - "guild_id": { - "type": [ - "null", - "string" - ] - }, - "message_notifications": { - "type": "integer" - }, - "mobile_push": { - "type": "boolean" - }, - "mute_config": { - "anyOf": [ - { - "$ref": "#/definitions/MuteConfig" - }, - { - "type": "null" - } - ] - }, - "muted": { - "type": "boolean" - }, - "suppress_everyone": { - "type": "boolean" - }, - "suppress_roles": { - "type": "boolean" + "user": { + "$ref": "#/definitions/UserPublic" }, - "mute_scheduled_events": { - "type": "boolean" + "connected_accounts": { + "$ref": "#/definitions/PublicConnectedAccount" }, - "hide_muted_channels": { - "type": "boolean" + "premium_guild_since": { + "type": "string", + "format": "date-time" }, - "notify_highlights": { - "enum": [ - 0 - ], - "type": "number" + "premium_since": { + "type": "string", + "format": "date-time" } }, "additionalProperties": false, "required": [ - "channel_overrides" + "connected_accounts", + "user" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -26890,18 +26954,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -27016,107 +27068,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -27296,29 +27270,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -27329,25 +27389,44 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "CodesVerificationSchema": { + "UserRelationsResponse": { "type": "object", "properties": { - "key": { - "type": "string" - }, - "nonce": { - "type": "string" - }, - "regenerate": { - "type": "boolean" + "object": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false } }, "additionalProperties": false, "required": [ - "key", - "nonce" + "object" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -27478,18 +27557,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -27604,107 +27671,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -27884,29 +27873,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -27917,21 +27992,203 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "MfaCodesSchema": { + "UserSettingsSchema": { "type": "object", "properties": { - "password": { + "afk_timeout": { + "type": "integer" + }, + "allow_accessibility_detection": { + "type": "boolean" + }, + "animate_emoji": { + "type": "boolean" + }, + "animate_stickers": { + "type": "integer" + }, + "contact_sync_enabled": { + "type": "boolean" + }, + "convert_emoticons": { + "type": "boolean" + }, + "custom_status": { + "anyOf": [ + { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "default_guilds_restricted": { + "type": "boolean" + }, + "detect_platform_accounts": { + "type": "boolean" + }, + "developer_mode": { + "type": "boolean" + }, + "disable_games_tab": { + "type": "boolean" + }, + "enable_tts_command": { + "type": "boolean" + }, + "explicit_content_filter": { + "type": "integer" + }, + "friend_source_flags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "gateway_connected": { + "type": "boolean" + }, + "gif_auto_play": { + "type": "boolean" + }, + "guild_folders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "color": { + "type": "integer" + }, + "guild_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "guild_ids", + "id", + "name" + ] + } + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + } + }, + "inline_attachment_media": { + "type": "boolean" + }, + "inline_embed_media": { + "type": "boolean" + }, + "locale": { "type": "string" }, - "regenerate": { + "message_display_compact": { + "type": "boolean" + }, + "native_phone_integration_enabled": { + "type": "boolean" + }, + "render_embeds": { + "type": "boolean" + }, + "render_reactions": { + "type": "boolean" + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + } + }, + "show_current_game": { + "type": "boolean" + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "stream_notifications_enabled": { + "type": "boolean" + }, + "theme": { + "enum": [ + "dark", + "white" + ], + "type": "string" + }, + "timezone_offset": { + "type": "integer" + }, + "banner_color": { + "type": [ + "null", + "string" + ] + }, + "friend_discovery_flags": { + "type": "integer" + }, + "view_nsfw_guilds": { + "type": "boolean" + }, + "passwordless": { "type": "boolean" } }, "additionalProperties": false, - "required": [ - "password" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -28062,18 +28319,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -28188,107 +28433,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -28468,29 +28635,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -28501,18 +28754,78 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "TotpDisableSchema": { + "UserGuildSettingsSchema": { "type": "object", "properties": { - "code": { - "type": "string" + "channel_overrides": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Partial<ChannelOverride>" + } + }, + "version": { + "type": "integer" + }, + "flags": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "message_notifications": { + "type": "integer" + }, + "mobile_push": { + "type": "boolean" + }, + "mute_config": { + "anyOf": [ + { + "$ref": "#/definitions/MuteConfig" + }, + { + "type": "null" + } + ] + }, + "muted": { + "type": "boolean" + }, + "suppress_everyone": { + "type": "boolean" + }, + "suppress_roles": { + "type": "boolean" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "enum": [ + 0 + ], + "type": "number" } }, "additionalProperties": false, "required": [ - "code" + "channel_overrides" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -28643,18 +28956,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -28769,107 +29070,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -29049,29 +29272,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -29082,24 +29391,50 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "TotpEnableSchema": { + "TransportMakeRequestResponse": { "type": "object", "properties": { - "password": { - "type": "string" - }, - "code": { - "type": "string" + "statusCode": { + "type": "integer" }, - "secret": { - "type": "string" + "headers": { + "type": "object", + "additionalProperties": { + "type": [ + "null", + "string" + ] + }, + "properties": { + "x-sentry-rate-limits": { + "type": [ + "null", + "string" + ] + }, + "retry-after": { + "type": [ + "null", + "string" + ] + } + }, + "required": [ + "retry-after", + "x-sentry-rate-limits" + ] } }, "additionalProperties": false, - "required": [ - "password" - ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -29230,18 +29565,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -29356,107 +29679,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" - }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -29636,29 +29881,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -29669,31 +30000,32 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "ActivitySchema": { + "HttpResponse": { + "description": "Represents an HTTP message as received in reply to a request. Contains a\nnumeric status code in addition to standard message properties.", "type": "object", "properties": { - "afk": { - "type": "boolean" - }, - "status": { - "$ref": "#/definitions/Status" + "statusCode": { + "type": "integer" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "headers": { + "$ref": "#/definitions/HeaderBag" }, - "since": { - "type": "integer" - } + "body": {} }, "additionalProperties": false, "required": [ - "afk", - "status" + "headers", + "statusCode" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -29824,18 +30156,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -29950,107 +30270,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -30230,203 +30472,154 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { "type": "object", - "properties": { - "afk": { - "type": "boolean" - }, - "status": { - "$ref": "#/definitions/Status" - }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } - }, - "since": { - "type": "integer" - } - }, - "additionalProperties": false, - "required": [ - "afk", - "status" - ] + "additionalProperties": false }, - "HeaderBag": { - "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", + "Record<string,string>": { "type": "object", "additionalProperties": false - } - }, - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "IdentifySchema": { - "type": "object", - "properties": { - "token": { - "type": "string" }, - "properties": { + "UserPublic": { "type": "object", "properties": { - "os": { - "type": "string" - }, - "os_atch": { - "type": "string" - }, - "browser": { - "type": "string" - }, - "device": { - "type": "string" - }, - "$os": { - "type": "string" - }, - "$browser": { + "username": { "type": "string" }, - "$device": { + "discriminator": { "type": "string" }, - "browser_user_agent": { + "id": { "type": "string" }, - "browser_version": { - "type": "string" + "public_flags": { + "type": "integer" }, - "os_version": { + "avatar": { "type": "string" }, - "referrer": { - "type": "string" + "accent_color": { + "type": "integer" }, - "referring_domain": { + "banner": { "type": "string" }, - "referrer_current": { + "bio": { "type": "string" }, - "referring_domain_current": { - "type": "string" + "bot": { + "type": "boolean" }, - "release_channel": { - "enum": [ - "canary", - "dev", - "ptb", - "stable" - ], + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { "type": "string" }, - "client_build_number": { - "type": "integer" - }, - "client_event_source": {}, - "client_version": { + "name": { "type": "string" }, - "system_locale": { - "type": "string" + "verified": { + "type": "boolean" } }, - "additionalProperties": false - }, - "intents": { - "type": "bigint" - }, - "presence": { - "$ref": "#/definitions/ActivitySchema" - }, - "compress": { - "type": "boolean" - }, - "large_threshold": { - "type": "integer" - }, - "largeThreshold": { - "type": "integer" - }, - "shard": { - "type": "array", - "items": [ - { - "type": "bigint" - }, - { - "type": "bigint" - } - ], - "minItems": 2, - "maxItems": 2 - }, - "guild_subscriptions": { - "type": "boolean" - }, - "capabilities": { - "type": "integer" + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] }, - "client_state": { + "Partial<ChannelOverride>": { "type": "object", "properties": { - "guild_hashes": {}, - "highest_last_message_id": { - "type": [ - "string", - "integer" - ] - }, - "read_state_version": { + "message_notifications": { "type": "integer" }, - "user_guild_settings_version": { - "type": "integer" + "mute_config": { + "$ref": "#/definitions/MuteConfig" }, - "user_settings_version": { - "type": "integer" + "muted": { + "type": "boolean" }, - "useruser_guild_settings_version": { - "type": "integer" + "channel_id": { + "type": [ + "null", + "string" + ] } }, "additionalProperties": false }, - "clientState": { + "MuteConfig": { "type": "object", "properties": { - "guildHashes": {}, - "highestLastMessageId": { - "type": [ - "string", - "integer" - ] - }, - "readStateVersion": { - "type": "integer" - }, - "userGuildSettingsVersion": { + "end_time": { "type": "integer" }, - "useruserGuildSettingsVersion": { + "selected_time_window": { "type": "integer" } }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "HeaderBag": { + "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", + "type": "object", "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ResolvedHttpResponse": { + "description": "Represents HTTP message whose body has been resolved to a string. This is\nused in parsing http message.", + "type": "object", + "properties": { + "body": { + "type": "string" }, - "v": { + "statusCode": { "type": "integer" + }, + "headers": { + "$ref": "#/definitions/HeaderBag" } }, "additionalProperties": false, "required": [ - "properties", - "token" + "body", + "headers", + "statusCode" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -30557,18 +30750,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -30683,107 +30864,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -30963,75 +31066,148 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { - "type": "boolean" + "username": { + "type": "string" }, - "status": { - "$ref": "#/definitions/Status" + "discriminator": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "id": { + "type": "string" }, - "since": { + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_since": { + "type": "string", + "format": "date-time" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" ] }, - "HeaderBag": { - "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", + "PublicConnectedAccount": { "type": "object", - "additionalProperties": false - } - }, - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "TransportMakeRequestResponse": { - "type": "object", - "properties": { - "statusCode": { - "type": "integer" + "properties": { + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] }, - "headers": { + "Partial<ChannelOverride>": { "type": "object", - "additionalProperties": { - "type": [ - "null", - "string" - ] - }, "properties": { - "x-sentry-rate-limits": { - "type": [ - "null", - "string" - ] + "message_notifications": { + "type": "integer" }, - "retry-after": { + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { "type": [ "null", "string" ] } }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, "required": [ - "retry-after", - "x-sentry-rate-limits" + "end_time", + "selected_time_window" ] + }, + "HeaderBag": { + "description": "A mapping of header names to string values. Multiple values for the same\nheader should be represented as a single string with values separated by\n`, `.\n\nKeys should be considered case insensitive, even if this is not enforced by a\nparticular implementation. For example, given the following HeaderBag, where\nkeys differ only in case:\n\n {\n 'x-amz-date': '2000-01-01T00:00:00Z',\n 'X-Amz-Date': '2001-01-01T00:00:00Z'\n }\n\nThe SDK may at any point during processing remove one of the object\nproperties in favor of the other. The headers may or may not be combined, and\nthe SDK will not deterministically select which header candidate to use.", + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkDeleteSchema": { + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, + "required": [ + "messages" + ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -31162,18 +31338,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -31288,107 +31452,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -31568,29 +31654,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -31601,24 +31773,26 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "HttpResponse": { - "description": "Represents an HTTP message as received in reply to a request. Contains a\nnumeric status code in addition to standard message properties.", + "MemberNickChangeSchema": { "type": "object", "properties": { - "statusCode": { - "type": "integer" - }, - "headers": { - "$ref": "#/definitions/HeaderBag" - }, - "body": {} + "nick": { + "type": "string" + } }, "additionalProperties": false, "required": [ - "headers", - "statusCode" + "nick" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -31749,18 +31923,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -31875,107 +32037,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -32155,29 +32239,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { @@ -32188,27 +32358,26 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "ResolvedHttpResponse": { - "description": "Represents HTTP message whose body has been resolved to a string. This is\nused in parsing http message.", + "PruneSchema": { "type": "object", "properties": { - "body": { - "type": "string" - }, - "statusCode": { + "days": { "type": "integer" - }, - "headers": { - "$ref": "#/definitions/HeaderBag" } }, "additionalProperties": false, "required": [ - "body", - "headers", - "statusCode" + "days" ], "definitions": { + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, "Embed": { "type": "object", "properties": { @@ -32339,18 +32508,6 @@ }, "additionalProperties": false }, - "Record<string,string>": { - "type": "object", - "additionalProperties": false - }, - "ChannelPermissionOverwriteType": { - "enum": [ - 0, - 1, - 2 - ], - "type": "number" - }, "ChannelModifySchema": { "type": "object", "properties": { @@ -32465,107 +32622,29 @@ }, "additionalProperties": false }, - "UserPublic": { - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "id": { - "type": "string" - }, - "public_flags": { - "type": "integer" - }, - "avatar": { - "type": "string" - }, - "accent_color": { - "type": "integer" - }, - "banner": { - "type": "string" - }, - "bio": { - "type": "string" - }, - "bot": { - "type": "boolean" - }, - "premium_since": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false, - "required": [ - "bio", - "bot", - "discriminator", - "id", - "premium_since", - "public_flags", - "username" - ] - }, - "PublicConnectedAccount": { + "ActivitySchema": { "type": "object", "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "verified": { + "afk": { "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "verified" - ] - }, - "Partial<ChannelOverride>": { - "type": "object", - "properties": { - "message_notifications": { - "type": "integer" }, - "mute_config": { - "$ref": "#/definitions/MuteConfig" - }, - "muted": { - "type": "boolean" + "status": { + "$ref": "#/definitions/Status" }, - "channel_id": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false - }, - "MuteConfig": { - "type": "object", - "properties": { - "end_time": { - "type": "integer" + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } }, - "selected_time_window": { + "since": { "type": "integer" } }, "additionalProperties": false, "required": [ - "end_time", - "selected_time_window" + "afk", + "status" ] }, "Status": { @@ -32745,29 +32824,115 @@ ], "type": "number" }, - "ActivitySchema": { + "Record<string,[number,number][]>": { + "type": "object", + "additionalProperties": false + }, + "Record<string,string>": { + "type": "object", + "additionalProperties": false + }, + "UserPublic": { "type": "object", "properties": { - "afk": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { "type": "boolean" }, - "status": { - "$ref": "#/definitions/Status" + "premium_since": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "public_flags", + "username" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "type": { + "type": "string" }, - "activities": { - "type": "array", - "items": { - "$ref": "#/definitions/Activity" - } + "name": { + "type": "string" }, - "since": { + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "verified" + ] + }, + "Partial<ChannelOverride>": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { "type": "integer" } }, "additionalProperties": false, "required": [ - "afk", - "status" + "end_time", + "selected_time_window" ] }, "HeaderBag": { |