diff --git a/assets/schemas.json b/assets/schemas.json index d7a7e0c..4efe4d5 100755 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -62,6 +62,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -4615,6 +5129,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -5142,6 +5703,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -9695,6 +10770,16960 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, + "Categories": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "localizations": { + "type": "string" + }, + "is_primary": { + "type": "boolean" + }, + "icon": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "is_primary", + "localizations", + "name" + ] + }, + "GuildVoiceRegion": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "custom": { + "type": "boolean" + }, + "deprecated": { + "type": "boolean" + }, + "optimal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom", + "deprecated", + "id", + "name", + "optimal" + ] + }, + "UserLimits": { + "type": "object", + "properties": { + "maxGuilds": { + "type": "integer", + "default": 1048576 + }, + "maxUsername": { + "type": "integer", + "default": 32 + }, + "maxFriends": { + "type": "integer", + "default": 5000 + }, + "maxBio": { + "type": "integer", + "default": 190 + } + }, + "additionalProperties": false, + "required": [ + "maxBio", + "maxFriends", + "maxGuilds", + "maxUsername" + ] + }, + "GuildLimits": { + "type": "object", + "properties": { + "maxRoles": { + "type": "integer", + "default": 1000 + }, + "maxEmojis": { + "type": "integer", + "default": 2000 + }, + "maxMembers": { + "type": "integer", + "default": 25000000 + }, + "maxChannels": { + "type": "integer", + "default": 65535 + }, + "maxBulkBanUsers": { + "type": "integer", + "default": 200 + }, + "maxChannelsInCategory": { + "type": "integer", + "default": 65535 + } + }, + "additionalProperties": false, + "required": [ + "maxBulkBanUsers", + "maxChannels", + "maxChannelsInCategory", + "maxEmojis", + "maxMembers", + "maxRoles" + ] + }, + "MessageLimits": { + "type": "object", + "properties": { + "maxCharacters": { + "type": "integer", + "default": 1048576 + }, + "maxTTSCharacters": { + "type": "integer", + "default": 160 + }, + "maxReactions": { + "type": "integer", + "default": 2048 + }, + "maxAttachmentSize": { + "type": "integer", + "default": 1073741824 + }, + "maxBulkDelete": { + "type": "integer", + "default": 1000 + }, + "maxEmbedDownloadSize": { + "type": "integer", + "default": 5242880 + } + }, + "additionalProperties": false, + "required": [ + "maxAttachmentSize", + "maxBulkDelete", + "maxCharacters", + "maxEmbedDownloadSize", + "maxReactions", + "maxTTSCharacters" + ] + }, + "ChannelLimits": { + "type": "object", + "properties": { + "maxPins": { + "type": "integer", + "default": 500 + }, + "maxTopic": { + "type": "integer", + "default": 1024 + }, + "maxWebhooks": { + "type": "integer", + "default": 100 + } + }, + "additionalProperties": false, + "required": [ + "maxPins", + "maxTopic", + "maxWebhooks" + ] + }, + "RateLimits": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": false + }, + "ip": { + "$ref": "#/definitions/RateLimitOptions" + }, + "global": { + "$ref": "#/definitions/RateLimitOptions" + }, + "error": { + "$ref": "#/definitions/RateLimitOptions" + }, + "routes": { + "$ref": "#/definitions/RouteRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "error", + "global", + "ip", + "routes" + ] + }, + "RateLimitOptions": { + "type": "object", + "properties": { + "bot": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "window": { + "type": "integer" + }, + "onyIp": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "window" + ] + }, + "RouteRateLimit": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/definitions/RateLimitOptions" + }, + "webhook": { + "$ref": "#/definitions/RateLimitOptions" + }, + "channel": { + "$ref": "#/definitions/RateLimitOptions" + }, + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "auth", + "channel", + "guild", + "webhook" + ] + }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, + "GlobalRateLimits": { + "type": "object", + "properties": { + "register": { + "$ref": "#/definitions/GlobalRateLimit" + }, + "sendMessage": { + "$ref": "#/definitions/GlobalRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "register", + "sendMessage" + ] + }, + "GlobalRateLimit": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 100 + }, + "window": { + "type": "integer", + "default": 3600000 + }, + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "limit", + "window" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "UserProfile": { + "type": "object", + "properties": { + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio" + ] + }, + "Badge": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "icon", + "id" + ] + }, + "GenerateWebAuthnCredentialsSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ] + }, + "CreateWebAuthnCredentialSchema": { + "type": "object", + "properties": { + "credential": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ticket": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "credential", + "name", + "ticket" + ] + }, + "TokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "settings": { + "$ref": "#/definitions/UserSettings" + } + }, + "additionalProperties": false, + "required": [ + "settings", + "token" + ] + }, + "MFAResponse": { + "type": "object", + "properties": { + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token" + ] + }, + "WebAuthnResponse": { + "type": "object", + "properties": { + "webauthn": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token", + "webauthn" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SupabaseResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "error": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "details": {} + }, + "additionalProperties": false, + "required": [ + "message" + ] + } + }, + "additionalProperties": false, + "definitions": { + "Network.Headers": { + "description": "Request / response headers as keys / values of JSON object.", + "type": "object", + "additionalProperties": false + }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "ConnectedAccountTokenData": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "token_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + }, + "fetched_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "access_token", + "fetched_at" + ] + }, + "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" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } + }, + "parent_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "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 + }, + "GuildSubscriptionSchema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "activities": { + "type": "boolean" + }, + "threads": { + "type": "boolean" + }, + "typing": { + "enum": [ + true + ], + "type": "boolean" + }, + "members": { + "type": "array", + "items": { + "type": "string" + } + }, + "member_updates": { + "type": "boolean" + }, + "thread_member_lists": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false + }, + "ActivitySchema": { + "type": "object", + "properties": { + "afk": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "since": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "Status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "Activity": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ActivityType" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "timestamps": { + "type": "object", + "properties": { + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "application_id": { + "type": "string" + }, + "details": { + "type": "string" + }, + "state": { + "type": "string" + }, + "emoji": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "name" + ] + }, + "party": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "size": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "assets": { + "type": "object", + "properties": { + "large_image": { + "type": "string" + }, + "large_text": { + "type": "string" + }, + "small_image": { + "type": "string" + }, + "small_text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "secrets": { + "type": "object", + "properties": { + "join": { + "type": "string" + }, + "spectate": { + "type": "string" + }, + "match": { + "type": "string" + } + }, + "additionalProperties": false + }, + "instance": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "id": { + "type": "string" + }, + "sync_id": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "context_uri": { + "type": "string" + }, + "album_id": { + "type": "string" + }, + "artist_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "album_id", + "artist_ids" + ] + }, + "session_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "name", + "session_id", + "type" + ] + }, + "ActivityType": { + "enum": [ + 0, + 1, + 2, + 4, + 5 + ], + "type": "number" + }, + "Embed": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "type": { + "enum": [ + "article", + "gifv", + "image", + "link", + "rich", + "video" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "color": { + "type": "integer" + }, + "footer": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "image": { + "$ref": "#/definitions/EmbedImage" + }, + "thumbnail": { + "$ref": "#/definitions/EmbedImage" + }, + "video": { + "$ref": "#/definitions/EmbedImage" + }, + "provider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "inline": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "value" + ] + } + } + }, + "additionalProperties": false + }, + "EmbedImage": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "ActionRowComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.ActionRow" + }, + "components": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/ButtonComponent" + }, + { + "$ref": "#/definitions/SelectMenuComponent" + }, + { + "$ref": "#/definitions/StringSelectMenuComponent" + }, + { + "$ref": "#/definitions/TextInputComponent" + } + ] + } + } + }, + "additionalProperties": false, + "required": [ + "components", + "type" + ] + }, + "MessageComponentType.ActionRow": { + "type": "number", + "enum": [ + 1 + ] + }, + "ButtonComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.Button" + }, + "style": { + "$ref": "#/definitions/ButtonStyle" + }, + "label": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "custom_id": { + "type": "string" + }, + "sku_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "style", + "type" + ] + }, + "MessageComponentType.Button": { + "type": "number", + "enum": [ + 2 + ] + }, + "ButtonStyle": { + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "type": "number" + }, + "PartialEmoji": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "SelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "enum": [ + 3, + 5, + 6, + 7, + 8 + ], + "type": "number" + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "type" + ] + }, + "SelectMenuDefaultOption": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "channel", + "role", + "user" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ] + }, + "StringSelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.StringSelect" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuOption" + } + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "options", + "type" + ] + }, + "MessageComponentType.StringSelect": { + "type": "number", + "enum": [ + 3 + ] + }, + "SelectMenuOption": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "default": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "TextInputComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.TextInput" + }, + "custom_id": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/TextInputStyle" + }, + "label": { + "type": "string" + }, + "min_length": { + "type": "integer" + }, + "max_length": { + "type": "integer" + }, + "required": { + "type": "boolean" + }, + "value": { + "type": "string" + }, + "placeholder": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "label", + "style", + "type" + ] + }, + "MessageComponentType.TextInput": { + "type": "number", + "enum": [ + 4 + ] + }, + "TextInputStyle": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "PollCreationSchema": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "duration": { + "type": "integer" + }, + "allow_multiselect": { + "type": "boolean" + }, + "layout_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "answers", + "question" + ] + }, + "PollMedia": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + } + }, + "additionalProperties": false + }, + "PollAnswer": { + "type": "object", + "properties": { + "answer_id": { + "type": "string" + }, + "poll_media": { + "$ref": "#/definitions/PollMedia" + } + }, + "additionalProperties": false, + "required": [ + "poll_media" + ] + }, + "APIErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "_errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "_errors" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ] + }, + "CaptchaRequiredResponse": { + "type": "object", + "properties": { + "captcha_key": { + "type": "string" + }, + "captcha_sitekey": { + "type": "string" + }, + "captcha_service": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "captcha_key", + "captcha_service", + "captcha_sitekey" + ] + }, + "Guild": { + "type": "object", + "properties": { + "afk_channel_id": { + "type": "string" + }, + "afk_channel": { + "$ref": "#/definitions/Channel" + }, + "afk_timeout": { + "type": "integer" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "banner": { + "type": "string" + }, + "default_message_notifications": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "discovery_splash": { + "type": "string" + }, + "explicit_content_filter": { + "type": "integer" + }, + "features": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "primary_category_id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "large": { + "type": "boolean", + "default": false + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "template_id": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/Template" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "mfa_level": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "preferred_locale": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "public_updates_channel_id": { + "type": "string" + }, + "public_updates_channel": { + "$ref": "#/definitions/Channel" + }, + "rules_channel_id": { + "type": "string" + }, + "rules_channel": { + "type": "string" + }, + "region": { + "type": "string" + }, + "splash": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "system_channel": { + "$ref": "#/definitions/Channel" + }, + "system_channel_flags": { + "type": "integer" + }, + "unavailable": { + "type": "boolean", + "default": false + }, + "verification_level": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_channel": { + "$ref": "#/definitions/Channel" + }, + "widget_enabled": { + "type": "boolean", + "default": true + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "string" + }, + "permissions": { + "type": "integer" + }, + "premium_progress_bar_enabled": { + "type": "boolean", + "default": false + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "roles", + "stickers", + "template", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "Channel": { + "type": "object", + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "last_message_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "parent": { + "$ref": "#/definitions/Channel" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "last_pin_timestamp": { + "type": "integer" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "video_quality_mode": { + "type": "integer" + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "rate_limit_per_user": { + "type": "integer" + }, + "topic": { + "type": "string" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "retention_policy_id": { + "type": "string" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/Message" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "read_states": { + "type": "array", + "items": { + "$ref": "#/definitions/ReadState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "flags": { + "type": "integer", + "default": 0 + }, + "default_thread_rate_limit_per_user": { + "type": "integer", + "default": 0 + }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "default_thread_rate_limit_per_user", + "flags", + "id", + "nsfw", + "owner", + "parent_id", + "position", + "type" + ] + }, + "ChannelType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "Recipient": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "closed": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "closed", + "id", + "user", + "user_id" + ] + }, + "User": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "desktop": { + "type": "boolean", + "default": false + }, + "mobile": { + "type": "boolean", + "default": false + }, + "premium": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "bot": { + "type": "boolean", + "default": false + }, + "bio": { + "type": "string", + "default": "" + }, + "system": { + "type": "boolean", + "default": false + }, + "nsfw_allowed": { + "type": "boolean", + "default": true + }, + "mfa_enabled": { + "type": "boolean", + "default": false + }, + "webauthn_enabled": { + "type": "boolean", + "default": false + }, + "totp_secret": { + "type": "string", + "default": "" + }, + "totp_last_ticket": { + "type": "string", + "default": "" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "verified": { + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "deleted": { + "type": "boolean", + "default": false + }, + "email": { + "type": "string" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "public_flags": { + "type": "integer", + "default": 0 + }, + "purchased_flags": { + "type": "integer", + "default": 0 + }, + "premium_usage_flags": { + "type": "integer", + "default": 0 + }, + "rights": { + "type": "string" + }, + "sessions": { + "type": "array", + "items": { + "$ref": "#/definitions/Session" + } + }, + "relationships": { + "type": "array", + "items": { + "$ref": "#/definitions/Relationship" + } + }, + "connected_accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedAccount" + } + }, + "data": { + "type": "object", + "properties": { + "valid_tokens_since": { + "type": "string", + "format": "date-time" + }, + "hash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "valid_tokens_since" + ] + }, + "fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "settings": { + "$ref": "#/definitions/UserSettings" + }, + "extended_settings": { + "type": "string", + "default": "{}" + }, + "security_keys": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityKey" + } + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "connected_accounts", + "created_at", + "data", + "deleted", + "desktop", + "disabled", + "discriminator", + "extended_settings", + "fingerprints", + "flags", + "id", + "mfa_enabled", + "mobile", + "nsfw_allowed", + "premium", + "premium_since", + "premium_type", + "premium_usage_flags", + "public_flags", + "purchased_flags", + "relationships", + "rights", + "security_keys", + "sessions", + "settings", + "system", + "username", + "verified", + "webauthn_enabled" + ] + }, + "Session": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "session_id": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "client", + "os", + "version" + ] + }, + "client_status": { + "$ref": "#/definitions/ClientStatus" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "client_info", + "client_status", + "id", + "session_id", + "status", + "user", + "user_id" + ] + }, + "ClientStatus": { + "type": "object", + "properties": { + "desktop": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "web": { + "type": "string" + }, + "embedded": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Relationship": { + "type": "object", + "properties": { + "from_id": { + "type": "string" + }, + "from": { + "$ref": "#/definitions/User" + }, + "to_id": { + "type": "string" + }, + "to": { + "$ref": "#/definitions/User" + }, + "nickname": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "from", + "from_id", + "id", + "to", + "to_id", + "type" + ] + }, + "RelationshipType": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" + }, + "ConnectedAccount": { + "type": "object", + "properties": { + "external_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "friend_sync": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string" + }, + "revoked": { + "type": "boolean", + "default": false + }, + "show_activity": { + "type": "integer", + "default": 0 + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean", + "default": true + }, + "visibility": { + "type": "integer", + "default": 0 + }, + "integrations": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "metadata_": {}, + "metadata_visibility": { + "type": "integer", + "default": 0 + }, + "two_way_link": { + "type": "boolean", + "default": false + }, + "token_data": { + "anyOf": [ + { + "$ref": "#/definitions/ConnectedAccountTokenData" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "external_id", + "id", + "name", + "type", + "user", + "user_id" + ] + }, + "UserSettings": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "afk_timeout": { + "type": "integer", + "default": 3600 + }, + "allow_accessibility_detection": { + "type": "boolean", + "default": true + }, + "animate_emoji": { + "type": "boolean", + "default": true + }, + "animate_stickers": { + "type": "integer", + "default": 0 + }, + "contact_sync_enabled": { + "type": "boolean", + "default": false + }, + "convert_emoticons": { + "type": "boolean", + "default": false + }, + "custom_status": { + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "default_guilds_restricted": { + "type": "boolean", + "default": false + }, + "detect_platform_accounts": { + "type": "boolean", + "default": false + }, + "developer_mode": { + "type": "boolean", + "default": true + }, + "disable_games_tab": { + "type": "boolean", + "default": true + }, + "enable_tts_command": { + "type": "boolean", + "default": false + }, + "explicit_content_filter": { + "type": "integer", + "default": 0 + }, + "friend_discovery_flags": { + "type": "integer", + "default": 0 + }, + "friend_source_flags": { + "$ref": "#/definitions/FriendSourceFlags" + }, + "gateway_connected": { + "type": "boolean", + "default": false + }, + "gif_auto_play": { + "type": "boolean", + "default": false + }, + "guild_folders": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildFolder" + }, + "default": [] + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "inline_attachment_media": { + "type": "boolean", + "default": true + }, + "inline_embed_media": { + "type": "boolean", + "default": true + }, + "locale": { + "type": "string", + "default": "en-US" + }, + "message_display_compact": { + "type": "boolean", + "default": false + }, + "native_phone_integration_enabled": { + "type": "boolean", + "default": true + }, + "render_embeds": { + "type": "boolean", + "default": true + }, + "render_reactions": { + "type": "boolean", + "default": true + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "show_current_game": { + "type": "boolean", + "default": true + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string", + "default": "online" + }, + "stream_notifications_enabled": { + "type": "boolean", + "default": false + }, + "theme": { + "enum": [ + "dark", + "light" + ], + "type": "string", + "default": "dark" + }, + "timezone_offset": { + "type": "integer", + "default": 0 + }, + "view_nsfw_guilds": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "afk_timeout", + "allow_accessibility_detection", + "animate_emoji", + "animate_stickers", + "contact_sync_enabled", + "convert_emoticons", + "custom_status", + "default_guilds_restricted", + "detect_platform_accounts", + "developer_mode", + "disable_games_tab", + "enable_tts_command", + "explicit_content_filter", + "friend_discovery_flags", + "friend_source_flags", + "gateway_connected", + "gif_auto_play", + "guild_folders", + "guild_positions", + "index", + "inline_attachment_media", + "inline_embed_media", + "locale", + "message_display_compact", + "native_phone_integration_enabled", + "render_embeds", + "render_reactions", + "restricted_guilds", + "show_current_game", + "status", + "stream_notifications_enabled", + "theme", + "timezone_offset", + "view_nsfw_guilds" + ] + }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "GuildFolder": { + "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" + ] + }, + "SecurityKey": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "key_id": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "counter": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "counter", + "id", + "key_id", + "name", + "public_key", + "user", + "user_id" + ] + }, + "ChannelPermissionOverwrite": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + }, + "Invite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "uses": { + "type": "integer" + }, + "max_uses": { + "type": "integer" + }, + "max_age": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": "string", + "format": "date-time" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "inviter_id": { + "type": "string" + }, + "inviter": { + "$ref": "#/definitions/User" + }, + "target_user_id": { + "type": "string" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" + }, + "vanity_url": { + "type": "boolean" + }, + "flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "code", + "created_at", + "flags", + "guild", + "guild_id", + "inviter", + "max_age", + "max_uses", + "target_user_id", + "temporary", + "uses" + ] + }, + "Message": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "author_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/User" + }, + "member_id": { + "type": "string" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "webhook_id": { + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/Webhook" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "content": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "edited_timestamp": { + "type": "string", + "format": "date-time" + }, + "tts": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "mention_channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "sticker_items": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "reactions": { + "type": "array", + "items": { + "$ref": "#/definitions/Reaction" + } + }, + "nonce": { + "type": "string" + }, + "pinned": { + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "activity": { + "type": "object", + "properties": { + "type": { + "type": "integer" + }, + "party_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "party_id", + "type" + ] + }, + "flags": { + "type": "integer" + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message_id" + ] + }, + "referenced_message": { + "$ref": "#/definitions/Message" + }, + "interaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InteractionType" + }, + "name": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "type", + "user_id" + ] + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "embeds", + "flags", + "id", + "mention_channels", + "mention_roles", + "mentions", + "reactions", + "timestamp", + "type" + ] + }, + "Member": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "nick": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "joined_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "integer" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "pending": { + "type": "boolean" + }, + "settings": { + "$ref": "#/definitions/UserGuildSettings" + }, + "last_message_id": { + "type": "string" + }, + "joined_by": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "communication_disabled_until": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "bio", + "communication_disabled_until", + "deaf", + "guild", + "guild_id", + "id", + "index", + "joined_at", + "joined_by", + "mute", + "pending", + "roles", + "settings", + "user" + ] + }, + "Role": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "color": { + "type": "integer" + }, + "hoist": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "mentionable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "icon": { + "type": "string" + }, + "unicode_emoji": { + "type": "string" + }, + "tags": { + "type": "object", + "properties": { + "bot_id": { + "type": "string" + }, + "integration_id": { + "type": "string" + }, + "premium_subscriber": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "flags": { + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "flags", + "guild", + "guild_id", + "hoist", + "id", + "managed", + "mentionable", + "name", + "permissions", + "position" + ] + }, + "UserGuildSettings": { + "type": "object", + "properties": { + "channel_overrides": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ChannelOverride" + } + }, + { + "type": "null" + } + ] + }, + "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" + }, + "version": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "type": "number", + "enum": [ + 0 + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_overrides", + "flags", + "guild_id", + "hide_muted_channels", + "message_notifications", + "mobile_push", + "mute_config", + "mute_scheduled_events", + "muted", + "notify_highlights", + "suppress_everyone", + "suppress_roles", + "version" + ] + }, + "ChannelOverride": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_notifications", + "mute_config", + "muted" + ] + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "Webhook": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/WebhookType" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "token": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "source_channel_id": { + "type": "string" + }, + "source_channel": { + "$ref": "#/definitions/Channel" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "application", + "application_id", + "avatar", + "channel", + "channel_id", + "id", + "name", + "source_channel", + "source_channel_id", + "type", + "url", + "user", + "user_id" + ] + }, + "WebhookType": { + "enum": [ + 1, + 2, + 3 + ], + "type": "number" + }, + "Application": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "description": { + "type": "string" + }, + "summary": { + "type": "string", + "default": "" + }, + "type": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "hook": { + "type": "boolean", + "default": true + }, + "bot_public": { + "type": "boolean", + "default": true + }, + "bot_require_code_grant": { + "type": "boolean", + "default": false + }, + "verify_key": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "redirect_uris": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "rpc_application_state": { + "type": "integer", + "default": 0 + }, + "store_application_state": { + "type": "integer", + "default": 1 + }, + "verification_state": { + "type": "integer", + "default": 1 + }, + "interactions_endpoint_url": { + "type": "string" + }, + "integration_public": { + "type": "boolean", + "default": true + }, + "integration_require_code_grant": { + "type": "boolean", + "default": false + }, + "discoverability_state": { + "type": "integer", + "default": 1 + }, + "discovery_eligibility_flags": { + "type": "integer", + "default": 2240 + }, + "bot": { + "$ref": "#/definitions/User" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "cover_image": { + "type": "string" + }, + "install_params": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "permissions", + "scopes" + ] + }, + "terms_of_service_url": { + "type": "string" + }, + "privacy_policy_url": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "custom_install_url": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "discoverability_state", + "discovery_eligibility_flags", + "flags", + "hook", + "id", + "integration_public", + "integration_require_code_grant", + "name", + "owner", + "redirect_uris", + "rpc_application_state", + "store_application_state", + "summary", + "verification_state", + "verify_key" + ] + }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, + "TeamMember": { + "type": "object", + "properties": { + "membership_state": { + "$ref": "#/definitions/TeamMemberState" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/definitions/TeamMemberRole" + }, + "team_id": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "membership_state", + "permissions", + "role", + "team", + "team_id", + "user", + "user_id" + ] + }, + "TeamMemberState": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "TeamMemberRole": { + "enum": [ + "admin", + "developer", + "read_only" + ], + "type": "string" + }, + "Sticker": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "available": { + "type": "boolean" + }, + "tags": { + "type": "string" + }, + "pack_id": { + "type": "string" + }, + "pack": { + "$ref": "#/definitions/StickerPack" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "type": { + "$ref": "#/definitions/StickerType" + }, + "format_type": { + "$ref": "#/definitions/StickerFormatType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "format_type", + "id", + "name", + "pack", + "type" + ] + }, + "StickerPack": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "banner_asset_id": { + "type": "string" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "cover_sticker_id": { + "type": "string" + }, + "cover_sticker": { + "$ref": "#/definitions/Sticker" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "stickers" + ] + }, + "StickerType": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "StickerFormatType": { + "enum": [ + 0, + 1, + 2, + 3 + ], + "type": "number" + }, + "Attachment": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + }, + "content_type": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/Message" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id", + "message", + "message_id", + "proxy_url", + "size", + "url" + ] + }, + "Reaction": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "user_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "count", + "emoji", + "user_ids" + ] + }, + "MessageType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 19, + 2, + 20, + 255, + 3, + 4, + 41, + 42, + 43, + 5, + 50, + 6, + 63, + 7, + 8, + 9 + ], + "type": "number" + }, + "InteractionType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "Poll": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "allow_multiselect": { + "type": "boolean" + }, + "results": { + "$ref": "#/definitions/PollResult" + } + }, + "additionalProperties": false, + "required": [ + "allow_multiselect", + "answers", + "expiry", + "question" + ] + }, + "PollResult": { + "type": "object", + "properties": { + "is_finalized": { + "type": "boolean" + }, + "answer_counts": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswerCount" + } + } + }, + "additionalProperties": false, + "required": [ + "answer_counts", + "is_finalized" + ] + }, + "PollAnswerCount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "count": { + "type": "integer" + }, + "me_voted": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "id", + "me_voted" + ] + }, + "VoiceState": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "session_id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "self_deaf": { + "type": "boolean" + }, + "self_mute": { + "type": "boolean" + }, + "self_stream": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "suppress": { + "type": "boolean" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "deaf", + "guild_id", + "id", + "member", + "mute", + "self_deaf", + "self_mute", + "self_video", + "session_id", + "suppress", + "token", + "user", + "user_id" + ] + }, + "ReadState": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "last_message_id": { + "type": "string" + }, + "public_ack": { + "type": "string" + }, + "notifications_cursor": { + "type": "string" + }, + "last_pin_timestamp": { + "type": "string", + "format": "date-time" + }, + "mention_count": { + "type": "integer" + }, + "manual": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "id", + "last_message_id", + "manual", + "mention_count", + "notifications_cursor", + "public_ack", + "user", + "user_id" + ] + }, + "Ban": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "executor_id": { + "type": "string" + }, + "executor": { + "$ref": "#/definitions/User" + }, + "ip": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "executor", + "executor_id", + "guild", + "guild_id", + "id", + "ip", + "user", + "user_id" + ] + }, + "Template": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "usage_count": { + "type": "integer" + }, + "creator_id": { + "type": "string" + }, + "creator": { + "$ref": "#/definitions/User" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "serialized_source_guild": { + "$ref": "#/definitions/Guild" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "created_at", + "creator", + "creator_id", + "id", + "name", + "serialized_source_guild", + "source_guild", + "source_guild_id", + "updated_at" + ] + }, + "Emoji": { + "type": "object", + "properties": { + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "require_colons": { + "type": "boolean" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "available", + "groups", + "guild", + "guild_id", + "id", + "managed", + "name", + "require_colons", + "roles", + "user", + "user_id" + ] + }, + "GuildWelcomeScreen": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "channel_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "enabled", + "welcome_channels" + ] + }, + "HubGuild": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "name" + ] + }, + "EmojiGuild": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "premium_tier": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emojis", + "features", + "id", + "name", + "premium_tier" + ] + }, + "EmojiApplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name" + ] + }, + "GuildMessagesSearchMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "content": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/PublicUser" + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicUser" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "pinned": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "tts": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "edited_timestamp": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "hit": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "additionalProperties": false, + "required": [ + "attachments", + "author", + "channel_id", + "components", + "edited_timestamp", + "embeds", + "flags", + "hit", + "id", + "mention_roles", + "mentions", + "pinned", + "poll", + "timestamp", + "tts", + "type" + ] + }, + "PublicUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "avatar": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "premium_type", + "public_flags", + "username" + ] + }, + "GuildVanityUrl": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "uses": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "code", + "uses" + ] + }, + "GuildVanityUrlNoInvite": { + "type": "object", + "properties": { + "code": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "code" + ] + }, + "Snowflake": { + "description": "A container for useful snowflake-related methods.", + "type": "object", + "additionalProperties": false + }, + "HubDirectoryEntry": { + "type": "object", + "properties": { + "author_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory_channel_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "primary_category_id": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "author_id", + "created_at", + "description", + "directory_channel_id", + "guild", + "primary_category_id", + "type" + ] + }, + "GuildCreateResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "mfa_level": { + "type": "integer" + }, + "owner_id": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen" + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean" + }, + "parent": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "guild_template_code": { + "type": "string" + }, + "staff_only": { + "type": "boolean" + }, + "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" + }, + "discovery_splash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "nsfw", + "welcome_screen", + "widget_enabled" + ] + }, + "RefreshedUrl": { + "type": "object", + "properties": { + "original": { + "type": "string" + }, + "refreshed": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "original", + "refreshed" + ] + }, + "TenorGifResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "src": { + "type": "string" + }, + "gif_src": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "preview": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "gif_src", + "height", + "id", + "preview", + "src", + "title", + "url", + "width" + ] + }, + "BackupCode": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/User" + }, + "code": { + "type": "string" + }, + "consumed": { + "type": "boolean" + }, + "expired": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "consumed", + "expired", + "id", + "user" + ] + }, + "APIGuild": { + "type": "object", + "properties": { + "reload": { + "description": "Reloads entity data from the database.", + "type": "object", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "toJSON": { + "type": "object", + "additionalProperties": false + }, + "_do_validate": { + "type": "object", + "additionalProperties": false + }, + "assign": { + "type": "object", + "additionalProperties": false + }, + "hasId": { + "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", + "type": "object", + "additionalProperties": false + }, + "save": { + "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", + "type": "object", + "additionalProperties": false + }, + "remove": { + "description": "Removes current entity from the database.", + "type": "object", + "additionalProperties": false + }, + "softRemove": { + "description": "Records the delete date of current entity.", + "type": "object", + "additionalProperties": false + }, + "recover": { + "description": "Recovers a given entity in the database.", + "type": "object", + "additionalProperties": false + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "banner": { + "type": "string" + }, + "unavailable": { + "type": "boolean" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "splash": { + "type": "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" + }, + "discovery_splash": { + "type": "string" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "mfa_level": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "permissions": { + "type": "integer" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "_do_validate", + "assign", + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "hasId", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "recover", + "reload", + "remove", + "roles", + "save", + "softRemove", + "stickers", + "toJSON", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "DmChannelDTO": { + "type": "object", + "properties": { + "icon": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": "string" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "origin_channel_id": { + "type": [ + "null", + "string" + ] + }, + "owner_id": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/MinimalPublicUserDTO" + } + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "last_message_id", + "name", + "origin_channel_id", + "recipients", + "type" + ] + }, + "MinimalPublicUserDTO": { + "type": "object", + "properties": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "badge_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, + "Categories": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "localizations": { + "type": "string" + }, + "is_primary": { + "type": "boolean" + }, + "icon": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "is_primary", + "localizations", + "name" + ] + }, + "GuildVoiceRegion": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "custom": { + "type": "boolean" + }, + "deprecated": { + "type": "boolean" + }, + "optimal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom", + "deprecated", + "id", + "name", + "optimal" + ] + }, + "UserLimits": { + "type": "object", + "properties": { + "maxGuilds": { + "type": "integer", + "default": 1048576 + }, + "maxUsername": { + "type": "integer", + "default": 32 + }, + "maxFriends": { + "type": "integer", + "default": 5000 + }, + "maxBio": { + "type": "integer", + "default": 190 + } + }, + "additionalProperties": false, + "required": [ + "maxBio", + "maxFriends", + "maxGuilds", + "maxUsername" + ] + }, + "GuildLimits": { + "type": "object", + "properties": { + "maxRoles": { + "type": "integer", + "default": 1000 + }, + "maxEmojis": { + "type": "integer", + "default": 2000 + }, + "maxMembers": { + "type": "integer", + "default": 25000000 + }, + "maxChannels": { + "type": "integer", + "default": 65535 + }, + "maxBulkBanUsers": { + "type": "integer", + "default": 200 + }, + "maxChannelsInCategory": { + "type": "integer", + "default": 65535 + } + }, + "additionalProperties": false, + "required": [ + "maxBulkBanUsers", + "maxChannels", + "maxChannelsInCategory", + "maxEmojis", + "maxMembers", + "maxRoles" + ] + }, + "MessageLimits": { + "type": "object", + "properties": { + "maxCharacters": { + "type": "integer", + "default": 1048576 + }, + "maxTTSCharacters": { + "type": "integer", + "default": 160 + }, + "maxReactions": { + "type": "integer", + "default": 2048 + }, + "maxAttachmentSize": { + "type": "integer", + "default": 1073741824 + }, + "maxBulkDelete": { + "type": "integer", + "default": 1000 + }, + "maxEmbedDownloadSize": { + "type": "integer", + "default": 5242880 + } + }, + "additionalProperties": false, + "required": [ + "maxAttachmentSize", + "maxBulkDelete", + "maxCharacters", + "maxEmbedDownloadSize", + "maxReactions", + "maxTTSCharacters" + ] + }, + "ChannelLimits": { + "type": "object", + "properties": { + "maxPins": { + "type": "integer", + "default": 500 + }, + "maxTopic": { + "type": "integer", + "default": 1024 + }, + "maxWebhooks": { + "type": "integer", + "default": 100 + } + }, + "additionalProperties": false, + "required": [ + "maxPins", + "maxTopic", + "maxWebhooks" + ] + }, + "RateLimits": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": false + }, + "ip": { + "$ref": "#/definitions/RateLimitOptions" + }, + "global": { + "$ref": "#/definitions/RateLimitOptions" + }, + "error": { + "$ref": "#/definitions/RateLimitOptions" + }, + "routes": { + "$ref": "#/definitions/RouteRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "error", + "global", + "ip", + "routes" + ] + }, + "RateLimitOptions": { + "type": "object", + "properties": { + "bot": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "window": { + "type": "integer" + }, + "onyIp": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "window" + ] + }, + "RouteRateLimit": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/definitions/RateLimitOptions" + }, + "webhook": { + "$ref": "#/definitions/RateLimitOptions" + }, + "channel": { + "$ref": "#/definitions/RateLimitOptions" + }, + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "auth", + "channel", + "guild", + "webhook" + ] + }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, + "GlobalRateLimits": { + "type": "object", + "properties": { + "register": { + "$ref": "#/definitions/GlobalRateLimit" + }, + "sendMessage": { + "$ref": "#/definitions/GlobalRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "register", + "sendMessage" + ] + }, + "GlobalRateLimit": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 100 + }, + "window": { + "type": "integer", + "default": 3600000 + }, + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "limit", + "window" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "UserProfile": { + "type": "object", + "properties": { + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio" + ] + }, + "Badge": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "icon", + "id" + ] + }, + "GenerateWebAuthnCredentialsSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ] + }, + "CreateWebAuthnCredentialSchema": { + "type": "object", + "properties": { + "credential": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ticket": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "credential", + "name", + "ticket" + ] + }, + "TokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "settings": { + "$ref": "#/definitions/UserSettings" + } + }, + "additionalProperties": false, + "required": [ + "settings", + "token" + ] + }, + "MFAResponse": { + "type": "object", + "properties": { + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token" + ] + }, + "WebAuthnResponse": { + "type": "object", + "properties": { + "webauthn": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token", + "webauthn" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "OpenAiResponse": { + "anyOf": [ + { + "$ref": "#/definitions/OpenAiChatCompletionObject" + }, + { + "$ref": "#/definitions/OpenAIResponseObject" + } + ], + "definitions": { + "Network.Headers": { + "description": "Request / response headers as keys / values of JSON object.", + "type": "object", + "additionalProperties": false + }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "ConnectedAccountTokenData": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "token_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + }, + "fetched_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "access_token", + "fetched_at" + ] + }, + "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" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } + }, + "parent_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "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 + }, + "GuildSubscriptionSchema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "activities": { + "type": "boolean" + }, + "threads": { + "type": "boolean" + }, + "typing": { + "enum": [ + true + ], + "type": "boolean" + }, + "members": { + "type": "array", + "items": { + "type": "string" + } + }, + "member_updates": { + "type": "boolean" + }, + "thread_member_lists": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false + }, + "ActivitySchema": { + "type": "object", + "properties": { + "afk": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "since": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "Status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "Activity": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ActivityType" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "timestamps": { + "type": "object", + "properties": { + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "application_id": { + "type": "string" + }, + "details": { + "type": "string" + }, + "state": { + "type": "string" + }, + "emoji": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "name" + ] + }, + "party": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "size": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "assets": { + "type": "object", + "properties": { + "large_image": { + "type": "string" + }, + "large_text": { + "type": "string" + }, + "small_image": { + "type": "string" + }, + "small_text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "secrets": { + "type": "object", + "properties": { + "join": { + "type": "string" + }, + "spectate": { + "type": "string" + }, + "match": { + "type": "string" + } + }, + "additionalProperties": false + }, + "instance": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "id": { + "type": "string" + }, + "sync_id": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "context_uri": { + "type": "string" + }, + "album_id": { + "type": "string" + }, + "artist_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "album_id", + "artist_ids" + ] + }, + "session_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "name", + "session_id", + "type" + ] + }, + "ActivityType": { + "enum": [ + 0, + 1, + 2, + 4, + 5 + ], + "type": "number" + }, + "Embed": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "type": { + "enum": [ + "article", + "gifv", + "image", + "link", + "rich", + "video" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "color": { + "type": "integer" + }, + "footer": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "image": { + "$ref": "#/definitions/EmbedImage" + }, + "thumbnail": { + "$ref": "#/definitions/EmbedImage" + }, + "video": { + "$ref": "#/definitions/EmbedImage" + }, + "provider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "inline": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "value" + ] + } + } + }, + "additionalProperties": false + }, + "EmbedImage": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "ActionRowComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.ActionRow" + }, + "components": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/ButtonComponent" + }, + { + "$ref": "#/definitions/SelectMenuComponent" + }, + { + "$ref": "#/definitions/StringSelectMenuComponent" + }, + { + "$ref": "#/definitions/TextInputComponent" + } + ] + } + } + }, + "additionalProperties": false, + "required": [ + "components", + "type" + ] + }, + "MessageComponentType.ActionRow": { + "type": "number", + "enum": [ + 1 + ] + }, + "ButtonComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.Button" + }, + "style": { + "$ref": "#/definitions/ButtonStyle" + }, + "label": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "custom_id": { + "type": "string" + }, + "sku_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "style", + "type" + ] + }, + "MessageComponentType.Button": { + "type": "number", + "enum": [ + 2 + ] + }, + "ButtonStyle": { + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "type": "number" + }, + "PartialEmoji": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "SelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "enum": [ + 3, + 5, + 6, + 7, + 8 + ], + "type": "number" + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "type" + ] + }, + "SelectMenuDefaultOption": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "channel", + "role", + "user" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ] + }, + "StringSelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.StringSelect" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuOption" + } + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "options", + "type" + ] + }, + "MessageComponentType.StringSelect": { + "type": "number", + "enum": [ + 3 + ] + }, + "SelectMenuOption": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "default": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "TextInputComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.TextInput" + }, + "custom_id": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/TextInputStyle" + }, + "label": { + "type": "string" + }, + "min_length": { + "type": "integer" + }, + "max_length": { + "type": "integer" + }, + "required": { + "type": "boolean" + }, + "value": { + "type": "string" + }, + "placeholder": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "label", + "style", + "type" + ] + }, + "MessageComponentType.TextInput": { + "type": "number", + "enum": [ + 4 + ] + }, + "TextInputStyle": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "PollCreationSchema": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "duration": { + "type": "integer" + }, + "allow_multiselect": { + "type": "boolean" + }, + "layout_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "answers", + "question" + ] + }, + "PollMedia": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + } + }, + "additionalProperties": false + }, + "PollAnswer": { + "type": "object", + "properties": { + "answer_id": { + "type": "string" + }, + "poll_media": { + "$ref": "#/definitions/PollMedia" + } + }, + "additionalProperties": false, + "required": [ + "poll_media" + ] + }, + "APIErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "_errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "_errors" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ] + }, + "CaptchaRequiredResponse": { + "type": "object", + "properties": { + "captcha_key": { + "type": "string" + }, + "captcha_sitekey": { + "type": "string" + }, + "captcha_service": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "captcha_key", + "captcha_service", + "captcha_sitekey" + ] + }, + "Guild": { + "type": "object", + "properties": { + "afk_channel_id": { + "type": "string" + }, + "afk_channel": { + "$ref": "#/definitions/Channel" + }, + "afk_timeout": { + "type": "integer" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "banner": { + "type": "string" + }, + "default_message_notifications": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "discovery_splash": { + "type": "string" + }, + "explicit_content_filter": { + "type": "integer" + }, + "features": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "primary_category_id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "large": { + "type": "boolean", + "default": false + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "template_id": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/Template" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "mfa_level": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "preferred_locale": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "public_updates_channel_id": { + "type": "string" + }, + "public_updates_channel": { + "$ref": "#/definitions/Channel" + }, + "rules_channel_id": { + "type": "string" + }, + "rules_channel": { + "type": "string" + }, + "region": { + "type": "string" + }, + "splash": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "system_channel": { + "$ref": "#/definitions/Channel" + }, + "system_channel_flags": { + "type": "integer" + }, + "unavailable": { + "type": "boolean", + "default": false + }, + "verification_level": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_channel": { + "$ref": "#/definitions/Channel" + }, + "widget_enabled": { + "type": "boolean", + "default": true + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "string" + }, + "permissions": { + "type": "integer" + }, + "premium_progress_bar_enabled": { + "type": "boolean", + "default": false + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "roles", + "stickers", + "template", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "Channel": { + "type": "object", + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "last_message_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "parent": { + "$ref": "#/definitions/Channel" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "last_pin_timestamp": { + "type": "integer" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "video_quality_mode": { + "type": "integer" + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "rate_limit_per_user": { + "type": "integer" + }, + "topic": { + "type": "string" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "retention_policy_id": { + "type": "string" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/Message" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "read_states": { + "type": "array", + "items": { + "$ref": "#/definitions/ReadState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "flags": { + "type": "integer", + "default": 0 + }, + "default_thread_rate_limit_per_user": { + "type": "integer", + "default": 0 + }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "default_thread_rate_limit_per_user", + "flags", + "id", + "nsfw", + "owner", + "parent_id", + "position", + "type" + ] + }, + "ChannelType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "Recipient": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "closed": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "closed", + "id", + "user", + "user_id" + ] + }, + "User": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "desktop": { + "type": "boolean", + "default": false + }, + "mobile": { + "type": "boolean", + "default": false + }, + "premium": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "bot": { + "type": "boolean", + "default": false + }, + "bio": { + "type": "string", + "default": "" + }, + "system": { + "type": "boolean", + "default": false + }, + "nsfw_allowed": { + "type": "boolean", + "default": true + }, + "mfa_enabled": { + "type": "boolean", + "default": false + }, + "webauthn_enabled": { + "type": "boolean", + "default": false + }, + "totp_secret": { + "type": "string", + "default": "" + }, + "totp_last_ticket": { + "type": "string", + "default": "" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "verified": { + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "deleted": { + "type": "boolean", + "default": false + }, + "email": { + "type": "string" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "public_flags": { + "type": "integer", + "default": 0 + }, + "purchased_flags": { + "type": "integer", + "default": 0 + }, + "premium_usage_flags": { + "type": "integer", + "default": 0 + }, + "rights": { + "type": "string" + }, + "sessions": { + "type": "array", + "items": { + "$ref": "#/definitions/Session" + } + }, + "relationships": { + "type": "array", + "items": { + "$ref": "#/definitions/Relationship" + } + }, + "connected_accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedAccount" + } + }, + "data": { + "type": "object", + "properties": { + "valid_tokens_since": { + "type": "string", + "format": "date-time" + }, + "hash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "valid_tokens_since" + ] + }, + "fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "settings": { + "$ref": "#/definitions/UserSettings" + }, + "extended_settings": { + "type": "string", + "default": "{}" + }, + "security_keys": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityKey" + } + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "connected_accounts", + "created_at", + "data", + "deleted", + "desktop", + "disabled", + "discriminator", + "extended_settings", + "fingerprints", + "flags", + "id", + "mfa_enabled", + "mobile", + "nsfw_allowed", + "premium", + "premium_since", + "premium_type", + "premium_usage_flags", + "public_flags", + "purchased_flags", + "relationships", + "rights", + "security_keys", + "sessions", + "settings", + "system", + "username", + "verified", + "webauthn_enabled" + ] + }, + "Session": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "session_id": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "client", + "os", + "version" + ] + }, + "client_status": { + "$ref": "#/definitions/ClientStatus" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "client_info", + "client_status", + "id", + "session_id", + "status", + "user", + "user_id" + ] + }, + "ClientStatus": { + "type": "object", + "properties": { + "desktop": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "web": { + "type": "string" + }, + "embedded": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Relationship": { + "type": "object", + "properties": { + "from_id": { + "type": "string" + }, + "from": { + "$ref": "#/definitions/User" + }, + "to_id": { + "type": "string" + }, + "to": { + "$ref": "#/definitions/User" + }, + "nickname": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "from", + "from_id", + "id", + "to", + "to_id", + "type" + ] + }, + "RelationshipType": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" + }, + "ConnectedAccount": { + "type": "object", + "properties": { + "external_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "friend_sync": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string" + }, + "revoked": { + "type": "boolean", + "default": false + }, + "show_activity": { + "type": "integer", + "default": 0 + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean", + "default": true + }, + "visibility": { + "type": "integer", + "default": 0 + }, + "integrations": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "metadata_": {}, + "metadata_visibility": { + "type": "integer", + "default": 0 + }, + "two_way_link": { + "type": "boolean", + "default": false + }, + "token_data": { + "anyOf": [ + { + "$ref": "#/definitions/ConnectedAccountTokenData" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "external_id", + "id", + "name", + "type", + "user", + "user_id" + ] + }, + "UserSettings": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "afk_timeout": { + "type": "integer", + "default": 3600 + }, + "allow_accessibility_detection": { + "type": "boolean", + "default": true + }, + "animate_emoji": { + "type": "boolean", + "default": true + }, + "animate_stickers": { + "type": "integer", + "default": 0 + }, + "contact_sync_enabled": { + "type": "boolean", + "default": false + }, + "convert_emoticons": { + "type": "boolean", + "default": false + }, + "custom_status": { + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "default_guilds_restricted": { + "type": "boolean", + "default": false + }, + "detect_platform_accounts": { + "type": "boolean", + "default": false + }, + "developer_mode": { + "type": "boolean", + "default": true + }, + "disable_games_tab": { + "type": "boolean", + "default": true + }, + "enable_tts_command": { + "type": "boolean", + "default": false + }, + "explicit_content_filter": { + "type": "integer", + "default": 0 + }, + "friend_discovery_flags": { + "type": "integer", + "default": 0 + }, + "friend_source_flags": { + "$ref": "#/definitions/FriendSourceFlags" + }, + "gateway_connected": { + "type": "boolean", + "default": false + }, + "gif_auto_play": { + "type": "boolean", + "default": false + }, + "guild_folders": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildFolder" + }, + "default": [] + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "inline_attachment_media": { + "type": "boolean", + "default": true + }, + "inline_embed_media": { + "type": "boolean", + "default": true + }, + "locale": { + "type": "string", + "default": "en-US" + }, + "message_display_compact": { + "type": "boolean", + "default": false + }, + "native_phone_integration_enabled": { + "type": "boolean", + "default": true + }, + "render_embeds": { + "type": "boolean", + "default": true + }, + "render_reactions": { + "type": "boolean", + "default": true + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "show_current_game": { + "type": "boolean", + "default": true + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string", + "default": "online" + }, + "stream_notifications_enabled": { + "type": "boolean", + "default": false + }, + "theme": { + "enum": [ + "dark", + "light" + ], + "type": "string", + "default": "dark" + }, + "timezone_offset": { + "type": "integer", + "default": 0 + }, + "view_nsfw_guilds": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "afk_timeout", + "allow_accessibility_detection", + "animate_emoji", + "animate_stickers", + "contact_sync_enabled", + "convert_emoticons", + "custom_status", + "default_guilds_restricted", + "detect_platform_accounts", + "developer_mode", + "disable_games_tab", + "enable_tts_command", + "explicit_content_filter", + "friend_discovery_flags", + "friend_source_flags", + "gateway_connected", + "gif_auto_play", + "guild_folders", + "guild_positions", + "index", + "inline_attachment_media", + "inline_embed_media", + "locale", + "message_display_compact", + "native_phone_integration_enabled", + "render_embeds", + "render_reactions", + "restricted_guilds", + "show_current_game", + "status", + "stream_notifications_enabled", + "theme", + "timezone_offset", + "view_nsfw_guilds" + ] + }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "GuildFolder": { + "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" + ] + }, + "SecurityKey": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "key_id": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "counter": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "counter", + "id", + "key_id", + "name", + "public_key", + "user", + "user_id" + ] + }, + "ChannelPermissionOverwrite": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + }, + "Invite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "uses": { + "type": "integer" + }, + "max_uses": { + "type": "integer" + }, + "max_age": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": "string", + "format": "date-time" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "inviter_id": { + "type": "string" + }, + "inviter": { + "$ref": "#/definitions/User" + }, + "target_user_id": { + "type": "string" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" + }, + "vanity_url": { + "type": "boolean" + }, + "flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "code", + "created_at", + "flags", + "guild", + "guild_id", + "inviter", + "max_age", + "max_uses", + "target_user_id", + "temporary", + "uses" + ] + }, + "Message": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "author_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/User" + }, + "member_id": { + "type": "string" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "webhook_id": { + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/Webhook" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "content": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "edited_timestamp": { + "type": "string", + "format": "date-time" + }, + "tts": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "mention_channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "sticker_items": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "reactions": { + "type": "array", + "items": { + "$ref": "#/definitions/Reaction" + } + }, + "nonce": { + "type": "string" + }, + "pinned": { + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "activity": { + "type": "object", + "properties": { + "type": { + "type": "integer" + }, + "party_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "party_id", + "type" + ] + }, + "flags": { + "type": "integer" + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message_id" + ] + }, + "referenced_message": { + "$ref": "#/definitions/Message" + }, + "interaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InteractionType" + }, + "name": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "type", + "user_id" + ] + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "embeds", + "flags", + "id", + "mention_channels", + "mention_roles", + "mentions", + "reactions", + "timestamp", + "type" + ] + }, + "Member": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "nick": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "joined_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "integer" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "pending": { + "type": "boolean" + }, + "settings": { + "$ref": "#/definitions/UserGuildSettings" + }, + "last_message_id": { + "type": "string" + }, + "joined_by": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "communication_disabled_until": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "bio", + "communication_disabled_until", + "deaf", + "guild", + "guild_id", + "id", + "index", + "joined_at", + "joined_by", + "mute", + "pending", + "roles", + "settings", + "user" + ] + }, + "Role": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "color": { + "type": "integer" + }, + "hoist": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "mentionable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "icon": { + "type": "string" + }, + "unicode_emoji": { + "type": "string" + }, + "tags": { + "type": "object", + "properties": { + "bot_id": { + "type": "string" + }, + "integration_id": { + "type": "string" + }, + "premium_subscriber": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "flags": { + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "flags", + "guild", + "guild_id", + "hoist", + "id", + "managed", + "mentionable", + "name", + "permissions", + "position" + ] + }, + "UserGuildSettings": { + "type": "object", + "properties": { + "channel_overrides": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ChannelOverride" + } + }, + { + "type": "null" + } + ] + }, + "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" + }, + "version": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "type": "number", + "enum": [ + 0 + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_overrides", + "flags", + "guild_id", + "hide_muted_channels", + "message_notifications", + "mobile_push", + "mute_config", + "mute_scheduled_events", + "muted", + "notify_highlights", + "suppress_everyone", + "suppress_roles", + "version" + ] + }, + "ChannelOverride": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_notifications", + "mute_config", + "muted" + ] + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "Webhook": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/WebhookType" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "token": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "source_channel_id": { + "type": "string" + }, + "source_channel": { + "$ref": "#/definitions/Channel" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "application", + "application_id", + "avatar", + "channel", + "channel_id", + "id", + "name", + "source_channel", + "source_channel_id", + "type", + "url", + "user", + "user_id" + ] + }, + "WebhookType": { + "enum": [ + 1, + 2, + 3 + ], + "type": "number" + }, + "Application": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "description": { + "type": "string" + }, + "summary": { + "type": "string", + "default": "" + }, + "type": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "hook": { + "type": "boolean", + "default": true + }, + "bot_public": { + "type": "boolean", + "default": true + }, + "bot_require_code_grant": { + "type": "boolean", + "default": false + }, + "verify_key": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "redirect_uris": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "rpc_application_state": { + "type": "integer", + "default": 0 + }, + "store_application_state": { + "type": "integer", + "default": 1 + }, + "verification_state": { + "type": "integer", + "default": 1 + }, + "interactions_endpoint_url": { + "type": "string" + }, + "integration_public": { + "type": "boolean", + "default": true + }, + "integration_require_code_grant": { + "type": "boolean", + "default": false + }, + "discoverability_state": { + "type": "integer", + "default": 1 + }, + "discovery_eligibility_flags": { + "type": "integer", + "default": 2240 + }, + "bot": { + "$ref": "#/definitions/User" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "cover_image": { + "type": "string" + }, + "install_params": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "permissions", + "scopes" + ] + }, + "terms_of_service_url": { + "type": "string" + }, + "privacy_policy_url": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "custom_install_url": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "discoverability_state", + "discovery_eligibility_flags", + "flags", + "hook", + "id", + "integration_public", + "integration_require_code_grant", + "name", + "owner", + "redirect_uris", + "rpc_application_state", + "store_application_state", + "summary", + "verification_state", + "verify_key" + ] + }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, + "TeamMember": { + "type": "object", + "properties": { + "membership_state": { + "$ref": "#/definitions/TeamMemberState" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/definitions/TeamMemberRole" + }, + "team_id": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "membership_state", + "permissions", + "role", + "team", + "team_id", + "user", + "user_id" + ] + }, + "TeamMemberState": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "TeamMemberRole": { + "enum": [ + "admin", + "developer", + "read_only" + ], + "type": "string" + }, + "Sticker": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "available": { + "type": "boolean" + }, + "tags": { + "type": "string" + }, + "pack_id": { + "type": "string" + }, + "pack": { + "$ref": "#/definitions/StickerPack" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "type": { + "$ref": "#/definitions/StickerType" + }, + "format_type": { + "$ref": "#/definitions/StickerFormatType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "format_type", + "id", + "name", + "pack", + "type" + ] + }, + "StickerPack": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "banner_asset_id": { + "type": "string" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "cover_sticker_id": { + "type": "string" + }, + "cover_sticker": { + "$ref": "#/definitions/Sticker" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "stickers" + ] + }, + "StickerType": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "StickerFormatType": { + "enum": [ + 0, + 1, + 2, + 3 + ], + "type": "number" + }, + "Attachment": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + }, + "content_type": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/Message" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id", + "message", + "message_id", + "proxy_url", + "size", + "url" + ] + }, + "Reaction": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "user_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "count", + "emoji", + "user_ids" + ] + }, + "MessageType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 19, + 2, + 20, + 255, + 3, + 4, + 41, + 42, + 43, + 5, + 50, + 6, + 63, + 7, + 8, + 9 + ], + "type": "number" + }, + "InteractionType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "Poll": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "allow_multiselect": { + "type": "boolean" + }, + "results": { + "$ref": "#/definitions/PollResult" + } + }, + "additionalProperties": false, + "required": [ + "allow_multiselect", + "answers", + "expiry", + "question" + ] + }, + "PollResult": { + "type": "object", + "properties": { + "is_finalized": { + "type": "boolean" + }, + "answer_counts": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswerCount" + } + } + }, + "additionalProperties": false, + "required": [ + "answer_counts", + "is_finalized" + ] + }, + "PollAnswerCount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "count": { + "type": "integer" + }, + "me_voted": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "id", + "me_voted" + ] + }, + "VoiceState": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "session_id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "self_deaf": { + "type": "boolean" + }, + "self_mute": { + "type": "boolean" + }, + "self_stream": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "suppress": { + "type": "boolean" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "deaf", + "guild_id", + "id", + "member", + "mute", + "self_deaf", + "self_mute", + "self_video", + "session_id", + "suppress", + "token", + "user", + "user_id" + ] + }, + "ReadState": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "last_message_id": { + "type": "string" + }, + "public_ack": { + "type": "string" + }, + "notifications_cursor": { + "type": "string" + }, + "last_pin_timestamp": { + "type": "string", + "format": "date-time" + }, + "mention_count": { + "type": "integer" + }, + "manual": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "id", + "last_message_id", + "manual", + "mention_count", + "notifications_cursor", + "public_ack", + "user", + "user_id" + ] + }, + "Ban": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "executor_id": { + "type": "string" + }, + "executor": { + "$ref": "#/definitions/User" + }, + "ip": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "executor", + "executor_id", + "guild", + "guild_id", + "id", + "ip", + "user", + "user_id" + ] + }, + "Template": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "usage_count": { + "type": "integer" + }, + "creator_id": { + "type": "string" + }, + "creator": { + "$ref": "#/definitions/User" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "serialized_source_guild": { + "$ref": "#/definitions/Guild" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "created_at", + "creator", + "creator_id", + "id", + "name", + "serialized_source_guild", + "source_guild", + "source_guild_id", + "updated_at" + ] + }, + "Emoji": { + "type": "object", + "properties": { + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "require_colons": { + "type": "boolean" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "available", + "groups", + "guild", + "guild_id", + "id", + "managed", + "name", + "require_colons", + "roles", + "user", + "user_id" + ] + }, + "GuildWelcomeScreen": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "channel_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "enabled", + "welcome_channels" + ] + }, + "HubGuild": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "name" + ] + }, + "EmojiGuild": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "premium_tier": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emojis", + "features", + "id", + "name", + "premium_tier" + ] + }, + "EmojiApplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name" + ] + }, + "GuildMessagesSearchMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "content": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/PublicUser" + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicUser" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "pinned": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "tts": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "edited_timestamp": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "hit": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "additionalProperties": false, + "required": [ + "attachments", + "author", + "channel_id", + "components", + "edited_timestamp", + "embeds", + "flags", + "hit", + "id", + "mention_roles", + "mentions", + "pinned", + "poll", + "timestamp", + "tts", + "type" + ] + }, + "PublicUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "avatar": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "premium_type", + "public_flags", + "username" + ] + }, + "GuildVanityUrl": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "uses": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "code", + "uses" + ] + }, + "GuildVanityUrlNoInvite": { + "type": "object", + "properties": { + "code": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "code" + ] + }, + "Snowflake": { + "description": "A container for useful snowflake-related methods.", + "type": "object", + "additionalProperties": false + }, + "HubDirectoryEntry": { + "type": "object", + "properties": { + "author_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory_channel_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "primary_category_id": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "author_id", + "created_at", + "description", + "directory_channel_id", + "guild", + "primary_category_id", + "type" + ] + }, + "GuildCreateResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "mfa_level": { + "type": "integer" + }, + "owner_id": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen" + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean" + }, + "parent": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "guild_template_code": { + "type": "string" + }, + "staff_only": { + "type": "boolean" + }, + "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" + }, + "discovery_splash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "nsfw", + "welcome_screen", + "widget_enabled" + ] + }, + "RefreshedUrl": { + "type": "object", + "properties": { + "original": { + "type": "string" + }, + "refreshed": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "original", + "refreshed" + ] + }, + "TenorGifResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "src": { + "type": "string" + }, + "gif_src": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "preview": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "gif_src", + "height", + "id", + "preview", + "src", + "title", + "url", + "width" + ] + }, + "BackupCode": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/User" + }, + "code": { + "type": "string" + }, + "consumed": { + "type": "boolean" + }, + "expired": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "consumed", + "expired", + "id", + "user" + ] + }, + "APIGuild": { + "type": "object", + "properties": { + "reload": { + "description": "Reloads entity data from the database.", + "type": "object", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "toJSON": { + "type": "object", + "additionalProperties": false + }, + "_do_validate": { + "type": "object", + "additionalProperties": false + }, + "assign": { + "type": "object", + "additionalProperties": false + }, + "hasId": { + "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", + "type": "object", + "additionalProperties": false + }, + "save": { + "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", + "type": "object", + "additionalProperties": false + }, + "remove": { + "description": "Removes current entity from the database.", + "type": "object", + "additionalProperties": false + }, + "softRemove": { + "description": "Records the delete date of current entity.", + "type": "object", + "additionalProperties": false + }, + "recover": { + "description": "Recovers a given entity in the database.", + "type": "object", + "additionalProperties": false + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "banner": { + "type": "string" + }, + "unavailable": { + "type": "boolean" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "splash": { + "type": "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" + }, + "discovery_splash": { + "type": "string" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "mfa_level": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "permissions": { + "type": "integer" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "_do_validate", + "assign", + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "hasId", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "recover", + "reload", + "remove", + "roles", + "save", + "softRemove", + "stickers", + "toJSON", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "DmChannelDTO": { + "type": "object", + "properties": { + "icon": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": "string" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "origin_channel_id": { + "type": [ + "null", + "string" + ] + }, + "owner_id": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/MinimalPublicUserDTO" + } + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "last_message_id", + "name", + "origin_channel_id", + "recipients", + "type" + ] + }, + "MinimalPublicUserDTO": { + "type": "object", + "properties": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "badge_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, + "Categories": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "localizations": { + "type": "string" + }, + "is_primary": { + "type": "boolean" + }, + "icon": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "is_primary", + "localizations", + "name" + ] + }, + "GuildVoiceRegion": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "custom": { + "type": "boolean" + }, + "deprecated": { + "type": "boolean" + }, + "optimal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom", + "deprecated", + "id", + "name", + "optimal" + ] + }, + "UserLimits": { + "type": "object", + "properties": { + "maxGuilds": { + "type": "integer", + "default": 1048576 + }, + "maxUsername": { + "type": "integer", + "default": 32 + }, + "maxFriends": { + "type": "integer", + "default": 5000 + }, + "maxBio": { + "type": "integer", + "default": 190 + } + }, + "additionalProperties": false, + "required": [ + "maxBio", + "maxFriends", + "maxGuilds", + "maxUsername" + ] + }, + "GuildLimits": { + "type": "object", + "properties": { + "maxRoles": { + "type": "integer", + "default": 1000 + }, + "maxEmojis": { + "type": "integer", + "default": 2000 + }, + "maxMembers": { + "type": "integer", + "default": 25000000 + }, + "maxChannels": { + "type": "integer", + "default": 65535 + }, + "maxBulkBanUsers": { + "type": "integer", + "default": 200 + }, + "maxChannelsInCategory": { + "type": "integer", + "default": 65535 + } + }, + "additionalProperties": false, + "required": [ + "maxBulkBanUsers", + "maxChannels", + "maxChannelsInCategory", + "maxEmojis", + "maxMembers", + "maxRoles" + ] + }, + "MessageLimits": { + "type": "object", + "properties": { + "maxCharacters": { + "type": "integer", + "default": 1048576 + }, + "maxTTSCharacters": { + "type": "integer", + "default": 160 + }, + "maxReactions": { + "type": "integer", + "default": 2048 + }, + "maxAttachmentSize": { + "type": "integer", + "default": 1073741824 + }, + "maxBulkDelete": { + "type": "integer", + "default": 1000 + }, + "maxEmbedDownloadSize": { + "type": "integer", + "default": 5242880 + } + }, + "additionalProperties": false, + "required": [ + "maxAttachmentSize", + "maxBulkDelete", + "maxCharacters", + "maxEmbedDownloadSize", + "maxReactions", + "maxTTSCharacters" + ] + }, + "ChannelLimits": { + "type": "object", + "properties": { + "maxPins": { + "type": "integer", + "default": 500 + }, + "maxTopic": { + "type": "integer", + "default": 1024 + }, + "maxWebhooks": { + "type": "integer", + "default": 100 + } + }, + "additionalProperties": false, + "required": [ + "maxPins", + "maxTopic", + "maxWebhooks" + ] + }, + "RateLimits": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": false + }, + "ip": { + "$ref": "#/definitions/RateLimitOptions" + }, + "global": { + "$ref": "#/definitions/RateLimitOptions" + }, + "error": { + "$ref": "#/definitions/RateLimitOptions" + }, + "routes": { + "$ref": "#/definitions/RouteRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "error", + "global", + "ip", + "routes" + ] + }, + "RateLimitOptions": { + "type": "object", + "properties": { + "bot": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "window": { + "type": "integer" + }, + "onyIp": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "window" + ] + }, + "RouteRateLimit": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/definitions/RateLimitOptions" + }, + "webhook": { + "$ref": "#/definitions/RateLimitOptions" + }, + "channel": { + "$ref": "#/definitions/RateLimitOptions" + }, + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "auth", + "channel", + "guild", + "webhook" + ] + }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, + "GlobalRateLimits": { + "type": "object", + "properties": { + "register": { + "$ref": "#/definitions/GlobalRateLimit" + }, + "sendMessage": { + "$ref": "#/definitions/GlobalRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "register", + "sendMessage" + ] + }, + "GlobalRateLimit": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 100 + }, + "window": { + "type": "integer", + "default": 3600000 + }, + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "limit", + "window" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "UserProfile": { + "type": "object", + "properties": { + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio" + ] + }, + "Badge": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "icon", + "id" + ] + }, + "GenerateWebAuthnCredentialsSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ] + }, + "CreateWebAuthnCredentialSchema": { + "type": "object", + "properties": { + "credential": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ticket": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "credential", + "name", + "ticket" + ] + }, + "TokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "settings": { + "$ref": "#/definitions/UserSettings" + } + }, + "additionalProperties": false, + "required": [ + "settings", + "token" + ] + }, + "MFAResponse": { + "type": "object", + "properties": { + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token" + ] + }, + "WebAuthnResponse": { + "type": "object", + "properties": { + "webauthn": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token", + "webauthn" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CopyResponse": { + "type": "object", + "properties": { + "length": { + "type": "integer" + }, + "name": { + "$ref": "#/definitions/MessageName" + }, + "binary": { + "type": "boolean" + }, + "columnTypes": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false, + "required": [ + "binary", + "columnTypes", + "length", + "name" + ], + "definitions": { + "Network.Headers": { + "description": "Request / response headers as keys / values of JSON object.", + "type": "object", + "additionalProperties": false + }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "ConnectedAccountTokenData": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "token_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + }, + "fetched_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "access_token", + "fetched_at" + ] + }, + "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" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } + }, + "parent_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "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 + }, + "GuildSubscriptionSchema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "activities": { + "type": "boolean" + }, + "threads": { + "type": "boolean" + }, + "typing": { + "enum": [ + true + ], + "type": "boolean" + }, + "members": { + "type": "array", + "items": { + "type": "string" + } + }, + "member_updates": { + "type": "boolean" + }, + "thread_member_lists": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false + }, + "ActivitySchema": { + "type": "object", + "properties": { + "afk": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "since": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "Status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "Activity": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ActivityType" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "timestamps": { + "type": "object", + "properties": { + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "application_id": { + "type": "string" + }, + "details": { + "type": "string" + }, + "state": { + "type": "string" + }, + "emoji": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "name" + ] + }, + "party": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "size": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "assets": { + "type": "object", + "properties": { + "large_image": { + "type": "string" + }, + "large_text": { + "type": "string" + }, + "small_image": { + "type": "string" + }, + "small_text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "secrets": { + "type": "object", + "properties": { + "join": { + "type": "string" + }, + "spectate": { + "type": "string" + }, + "match": { + "type": "string" + } + }, + "additionalProperties": false + }, + "instance": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "id": { + "type": "string" + }, + "sync_id": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "context_uri": { + "type": "string" + }, + "album_id": { + "type": "string" + }, + "artist_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "album_id", + "artist_ids" + ] + }, + "session_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "name", + "session_id", + "type" + ] + }, + "ActivityType": { + "enum": [ + 0, + 1, + 2, + 4, + 5 + ], + "type": "number" + }, + "Embed": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "type": { + "enum": [ + "article", + "gifv", + "image", + "link", + "rich", + "video" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "color": { + "type": "integer" + }, + "footer": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "image": { + "$ref": "#/definitions/EmbedImage" + }, + "thumbnail": { + "$ref": "#/definitions/EmbedImage" + }, + "video": { + "$ref": "#/definitions/EmbedImage" + }, + "provider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "inline": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "value" + ] + } + } + }, + "additionalProperties": false + }, + "EmbedImage": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "ActionRowComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.ActionRow" + }, + "components": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/ButtonComponent" + }, + { + "$ref": "#/definitions/SelectMenuComponent" + }, + { + "$ref": "#/definitions/StringSelectMenuComponent" + }, + { + "$ref": "#/definitions/TextInputComponent" + } + ] + } + } + }, + "additionalProperties": false, + "required": [ + "components", + "type" + ] + }, + "MessageComponentType.ActionRow": { + "type": "number", + "enum": [ + 1 + ] + }, + "ButtonComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.Button" + }, + "style": { + "$ref": "#/definitions/ButtonStyle" + }, + "label": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "custom_id": { + "type": "string" + }, + "sku_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "style", + "type" + ] + }, + "MessageComponentType.Button": { + "type": "number", + "enum": [ + 2 + ] + }, + "ButtonStyle": { + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "type": "number" + }, + "PartialEmoji": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "SelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "enum": [ + 3, + 5, + 6, + 7, + 8 + ], + "type": "number" + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "type" + ] + }, + "SelectMenuDefaultOption": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "channel", + "role", + "user" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ] + }, + "StringSelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.StringSelect" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuOption" + } + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "options", + "type" + ] + }, + "MessageComponentType.StringSelect": { + "type": "number", + "enum": [ + 3 + ] + }, + "SelectMenuOption": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "default": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "TextInputComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.TextInput" + }, + "custom_id": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/TextInputStyle" + }, + "label": { + "type": "string" + }, + "min_length": { + "type": "integer" + }, + "max_length": { + "type": "integer" + }, + "required": { + "type": "boolean" + }, + "value": { + "type": "string" + }, + "placeholder": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "label", + "style", + "type" + ] + }, + "MessageComponentType.TextInput": { + "type": "number", + "enum": [ + 4 + ] + }, + "TextInputStyle": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "PollCreationSchema": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "duration": { + "type": "integer" + }, + "allow_multiselect": { + "type": "boolean" + }, + "layout_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "answers", + "question" + ] + }, + "PollMedia": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + } + }, + "additionalProperties": false + }, + "PollAnswer": { + "type": "object", + "properties": { + "answer_id": { + "type": "string" + }, + "poll_media": { + "$ref": "#/definitions/PollMedia" + } + }, + "additionalProperties": false, + "required": [ + "poll_media" + ] + }, + "APIErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "_errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "_errors" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ] + }, + "CaptchaRequiredResponse": { + "type": "object", + "properties": { + "captcha_key": { + "type": "string" + }, + "captcha_sitekey": { + "type": "string" + }, + "captcha_service": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "captcha_key", + "captcha_service", + "captcha_sitekey" + ] + }, + "Guild": { + "type": "object", + "properties": { + "afk_channel_id": { + "type": "string" + }, + "afk_channel": { + "$ref": "#/definitions/Channel" + }, + "afk_timeout": { + "type": "integer" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "banner": { + "type": "string" + }, + "default_message_notifications": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "discovery_splash": { + "type": "string" + }, + "explicit_content_filter": { + "type": "integer" + }, + "features": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "primary_category_id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "large": { + "type": "boolean", + "default": false + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "template_id": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/Template" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "mfa_level": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "preferred_locale": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "public_updates_channel_id": { + "type": "string" + }, + "public_updates_channel": { + "$ref": "#/definitions/Channel" + }, + "rules_channel_id": { + "type": "string" + }, + "rules_channel": { + "type": "string" + }, + "region": { + "type": "string" + }, + "splash": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "system_channel": { + "$ref": "#/definitions/Channel" + }, + "system_channel_flags": { + "type": "integer" + }, + "unavailable": { + "type": "boolean", + "default": false + }, + "verification_level": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_channel": { + "$ref": "#/definitions/Channel" + }, + "widget_enabled": { + "type": "boolean", + "default": true + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "string" + }, + "permissions": { + "type": "integer" + }, + "premium_progress_bar_enabled": { + "type": "boolean", + "default": false + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "roles", + "stickers", + "template", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "Channel": { + "type": "object", + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "last_message_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "parent": { + "$ref": "#/definitions/Channel" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "last_pin_timestamp": { + "type": "integer" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "video_quality_mode": { + "type": "integer" + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "rate_limit_per_user": { + "type": "integer" + }, + "topic": { + "type": "string" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "retention_policy_id": { + "type": "string" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/Message" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "read_states": { + "type": "array", + "items": { + "$ref": "#/definitions/ReadState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "flags": { + "type": "integer", + "default": 0 + }, + "default_thread_rate_limit_per_user": { + "type": "integer", + "default": 0 + }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "default_thread_rate_limit_per_user", + "flags", + "id", + "nsfw", + "owner", + "parent_id", + "position", + "type" + ] + }, + "ChannelType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "Recipient": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "closed": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "closed", + "id", + "user", + "user_id" + ] + }, + "User": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "desktop": { + "type": "boolean", + "default": false + }, + "mobile": { + "type": "boolean", + "default": false + }, + "premium": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "bot": { + "type": "boolean", + "default": false + }, + "bio": { + "type": "string", + "default": "" + }, + "system": { + "type": "boolean", + "default": false + }, + "nsfw_allowed": { + "type": "boolean", + "default": true + }, + "mfa_enabled": { + "type": "boolean", + "default": false + }, + "webauthn_enabled": { + "type": "boolean", + "default": false + }, + "totp_secret": { + "type": "string", + "default": "" + }, + "totp_last_ticket": { + "type": "string", + "default": "" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "verified": { + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "deleted": { + "type": "boolean", + "default": false + }, + "email": { + "type": "string" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "public_flags": { + "type": "integer", + "default": 0 + }, + "purchased_flags": { + "type": "integer", + "default": 0 + }, + "premium_usage_flags": { + "type": "integer", + "default": 0 + }, + "rights": { + "type": "string" + }, + "sessions": { + "type": "array", + "items": { + "$ref": "#/definitions/Session" + } + }, + "relationships": { + "type": "array", + "items": { + "$ref": "#/definitions/Relationship" + } + }, + "connected_accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedAccount" + } + }, + "data": { + "type": "object", + "properties": { + "valid_tokens_since": { + "type": "string", + "format": "date-time" + }, + "hash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "valid_tokens_since" + ] + }, + "fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "settings": { + "$ref": "#/definitions/UserSettings" + }, + "extended_settings": { + "type": "string", + "default": "{}" + }, + "security_keys": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityKey" + } + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "connected_accounts", + "created_at", + "data", + "deleted", + "desktop", + "disabled", + "discriminator", + "extended_settings", + "fingerprints", + "flags", + "id", + "mfa_enabled", + "mobile", + "nsfw_allowed", + "premium", + "premium_since", + "premium_type", + "premium_usage_flags", + "public_flags", + "purchased_flags", + "relationships", + "rights", + "security_keys", + "sessions", + "settings", + "system", + "username", + "verified", + "webauthn_enabled" + ] + }, + "Session": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "session_id": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "client", + "os", + "version" + ] + }, + "client_status": { + "$ref": "#/definitions/ClientStatus" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "client_info", + "client_status", + "id", + "session_id", + "status", + "user", + "user_id" + ] + }, + "ClientStatus": { + "type": "object", + "properties": { + "desktop": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "web": { + "type": "string" + }, + "embedded": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Relationship": { + "type": "object", + "properties": { + "from_id": { + "type": "string" + }, + "from": { + "$ref": "#/definitions/User" + }, + "to_id": { + "type": "string" + }, + "to": { + "$ref": "#/definitions/User" + }, + "nickname": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "from", + "from_id", + "id", + "to", + "to_id", + "type" + ] + }, + "RelationshipType": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" + }, + "ConnectedAccount": { + "type": "object", + "properties": { + "external_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "friend_sync": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string" + }, + "revoked": { + "type": "boolean", + "default": false + }, + "show_activity": { + "type": "integer", + "default": 0 + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean", + "default": true + }, + "visibility": { + "type": "integer", + "default": 0 + }, + "integrations": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "metadata_": {}, + "metadata_visibility": { + "type": "integer", + "default": 0 + }, + "two_way_link": { + "type": "boolean", + "default": false + }, + "token_data": { + "anyOf": [ + { + "$ref": "#/definitions/ConnectedAccountTokenData" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "external_id", + "id", + "name", + "type", + "user", + "user_id" + ] + }, + "UserSettings": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "afk_timeout": { + "type": "integer", + "default": 3600 + }, + "allow_accessibility_detection": { + "type": "boolean", + "default": true + }, + "animate_emoji": { + "type": "boolean", + "default": true + }, + "animate_stickers": { + "type": "integer", + "default": 0 + }, + "contact_sync_enabled": { + "type": "boolean", + "default": false + }, + "convert_emoticons": { + "type": "boolean", + "default": false + }, + "custom_status": { + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "default_guilds_restricted": { + "type": "boolean", + "default": false + }, + "detect_platform_accounts": { + "type": "boolean", + "default": false + }, + "developer_mode": { + "type": "boolean", + "default": true + }, + "disable_games_tab": { + "type": "boolean", + "default": true + }, + "enable_tts_command": { + "type": "boolean", + "default": false + }, + "explicit_content_filter": { + "type": "integer", + "default": 0 + }, + "friend_discovery_flags": { + "type": "integer", + "default": 0 + }, + "friend_source_flags": { + "$ref": "#/definitions/FriendSourceFlags" + }, + "gateway_connected": { + "type": "boolean", + "default": false + }, + "gif_auto_play": { + "type": "boolean", + "default": false + }, + "guild_folders": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildFolder" + }, + "default": [] + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "inline_attachment_media": { + "type": "boolean", + "default": true + }, + "inline_embed_media": { + "type": "boolean", + "default": true + }, + "locale": { + "type": "string", + "default": "en-US" + }, + "message_display_compact": { + "type": "boolean", + "default": false + }, + "native_phone_integration_enabled": { + "type": "boolean", + "default": true + }, + "render_embeds": { + "type": "boolean", + "default": true + }, + "render_reactions": { + "type": "boolean", + "default": true + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "show_current_game": { + "type": "boolean", + "default": true + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string", + "default": "online" + }, + "stream_notifications_enabled": { + "type": "boolean", + "default": false + }, + "theme": { + "enum": [ + "dark", + "light" + ], + "type": "string", + "default": "dark" + }, + "timezone_offset": { + "type": "integer", + "default": 0 + }, + "view_nsfw_guilds": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "afk_timeout", + "allow_accessibility_detection", + "animate_emoji", + "animate_stickers", + "contact_sync_enabled", + "convert_emoticons", + "custom_status", + "default_guilds_restricted", + "detect_platform_accounts", + "developer_mode", + "disable_games_tab", + "enable_tts_command", + "explicit_content_filter", + "friend_discovery_flags", + "friend_source_flags", + "gateway_connected", + "gif_auto_play", + "guild_folders", + "guild_positions", + "index", + "inline_attachment_media", + "inline_embed_media", + "locale", + "message_display_compact", + "native_phone_integration_enabled", + "render_embeds", + "render_reactions", + "restricted_guilds", + "show_current_game", + "status", + "stream_notifications_enabled", + "theme", + "timezone_offset", + "view_nsfw_guilds" + ] + }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "GuildFolder": { + "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" + ] + }, + "SecurityKey": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "key_id": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "counter": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "counter", + "id", + "key_id", + "name", + "public_key", + "user", + "user_id" + ] + }, + "ChannelPermissionOverwrite": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + }, + "Invite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "uses": { + "type": "integer" + }, + "max_uses": { + "type": "integer" + }, + "max_age": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": "string", + "format": "date-time" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "inviter_id": { + "type": "string" + }, + "inviter": { + "$ref": "#/definitions/User" + }, + "target_user_id": { + "type": "string" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" + }, + "vanity_url": { + "type": "boolean" + }, + "flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "code", + "created_at", + "flags", + "guild", + "guild_id", + "inviter", + "max_age", + "max_uses", + "target_user_id", + "temporary", + "uses" + ] + }, + "Message": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "author_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/User" + }, + "member_id": { + "type": "string" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "webhook_id": { + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/Webhook" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "content": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "edited_timestamp": { + "type": "string", + "format": "date-time" + }, + "tts": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "mention_channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "sticker_items": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "reactions": { + "type": "array", + "items": { + "$ref": "#/definitions/Reaction" + } + }, + "nonce": { + "type": "string" + }, + "pinned": { + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "activity": { + "type": "object", + "properties": { + "type": { + "type": "integer" + }, + "party_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "party_id", + "type" + ] + }, + "flags": { + "type": "integer" + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message_id" + ] + }, + "referenced_message": { + "$ref": "#/definitions/Message" + }, + "interaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InteractionType" + }, + "name": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "type", + "user_id" + ] + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "embeds", + "flags", + "id", + "mention_channels", + "mention_roles", + "mentions", + "reactions", + "timestamp", + "type" + ] + }, + "Member": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "nick": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "joined_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "integer" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "pending": { + "type": "boolean" + }, + "settings": { + "$ref": "#/definitions/UserGuildSettings" + }, + "last_message_id": { + "type": "string" + }, + "joined_by": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "communication_disabled_until": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "bio", + "communication_disabled_until", + "deaf", + "guild", + "guild_id", + "id", + "index", + "joined_at", + "joined_by", + "mute", + "pending", + "roles", + "settings", + "user" + ] + }, + "Role": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "color": { + "type": "integer" + }, + "hoist": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "mentionable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "icon": { + "type": "string" + }, + "unicode_emoji": { + "type": "string" + }, + "tags": { + "type": "object", + "properties": { + "bot_id": { + "type": "string" + }, + "integration_id": { + "type": "string" + }, + "premium_subscriber": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "flags": { + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "flags", + "guild", + "guild_id", + "hoist", + "id", + "managed", + "mentionable", + "name", + "permissions", + "position" + ] + }, + "UserGuildSettings": { + "type": "object", + "properties": { + "channel_overrides": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ChannelOverride" + } + }, + { + "type": "null" + } + ] + }, + "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" + }, + "version": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "type": "number", + "enum": [ + 0 + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_overrides", + "flags", + "guild_id", + "hide_muted_channels", + "message_notifications", + "mobile_push", + "mute_config", + "mute_scheduled_events", + "muted", + "notify_highlights", + "suppress_everyone", + "suppress_roles", + "version" + ] + }, + "ChannelOverride": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_notifications", + "mute_config", + "muted" + ] + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "Webhook": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/WebhookType" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "token": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "source_channel_id": { + "type": "string" + }, + "source_channel": { + "$ref": "#/definitions/Channel" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "application", + "application_id", + "avatar", + "channel", + "channel_id", + "id", + "name", + "source_channel", + "source_channel_id", + "type", + "url", + "user", + "user_id" + ] + }, + "WebhookType": { + "enum": [ + 1, + 2, + 3 + ], + "type": "number" + }, + "Application": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "description": { + "type": "string" + }, + "summary": { + "type": "string", + "default": "" + }, + "type": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "hook": { + "type": "boolean", + "default": true + }, + "bot_public": { + "type": "boolean", + "default": true + }, + "bot_require_code_grant": { + "type": "boolean", + "default": false + }, + "verify_key": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "redirect_uris": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "rpc_application_state": { + "type": "integer", + "default": 0 + }, + "store_application_state": { + "type": "integer", + "default": 1 + }, + "verification_state": { + "type": "integer", + "default": 1 + }, + "interactions_endpoint_url": { + "type": "string" + }, + "integration_public": { + "type": "boolean", + "default": true + }, + "integration_require_code_grant": { + "type": "boolean", + "default": false + }, + "discoverability_state": { + "type": "integer", + "default": 1 + }, + "discovery_eligibility_flags": { + "type": "integer", + "default": 2240 + }, + "bot": { + "$ref": "#/definitions/User" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "cover_image": { + "type": "string" + }, + "install_params": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "permissions", + "scopes" + ] + }, + "terms_of_service_url": { + "type": "string" + }, + "privacy_policy_url": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "custom_install_url": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "discoverability_state", + "discovery_eligibility_flags", + "flags", + "hook", + "id", + "integration_public", + "integration_require_code_grant", + "name", + "owner", + "redirect_uris", + "rpc_application_state", + "store_application_state", + "summary", + "verification_state", + "verify_key" + ] + }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, + "TeamMember": { + "type": "object", + "properties": { + "membership_state": { + "$ref": "#/definitions/TeamMemberState" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/definitions/TeamMemberRole" + }, + "team_id": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "membership_state", + "permissions", + "role", + "team", + "team_id", + "user", + "user_id" + ] + }, + "TeamMemberState": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "TeamMemberRole": { + "enum": [ + "admin", + "developer", + "read_only" + ], + "type": "string" + }, + "Sticker": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "available": { + "type": "boolean" + }, + "tags": { + "type": "string" + }, + "pack_id": { + "type": "string" + }, + "pack": { + "$ref": "#/definitions/StickerPack" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "type": { + "$ref": "#/definitions/StickerType" + }, + "format_type": { + "$ref": "#/definitions/StickerFormatType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "format_type", + "id", + "name", + "pack", + "type" + ] + }, + "StickerPack": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "banner_asset_id": { + "type": "string" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "cover_sticker_id": { + "type": "string" + }, + "cover_sticker": { + "$ref": "#/definitions/Sticker" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "stickers" + ] + }, + "StickerType": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "StickerFormatType": { + "enum": [ + 0, + 1, + 2, + 3 + ], + "type": "number" + }, + "Attachment": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + }, + "content_type": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/Message" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id", + "message", + "message_id", + "proxy_url", + "size", + "url" + ] + }, + "Reaction": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "user_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "count", + "emoji", + "user_ids" + ] + }, + "MessageType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 19, + 2, + 20, + 255, + 3, + 4, + 41, + 42, + 43, + 5, + 50, + 6, + 63, + 7, + 8, + 9 + ], + "type": "number" + }, + "InteractionType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "Poll": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "allow_multiselect": { + "type": "boolean" + }, + "results": { + "$ref": "#/definitions/PollResult" + } + }, + "additionalProperties": false, + "required": [ + "allow_multiselect", + "answers", + "expiry", + "question" + ] + }, + "PollResult": { + "type": "object", + "properties": { + "is_finalized": { + "type": "boolean" + }, + "answer_counts": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswerCount" + } + } + }, + "additionalProperties": false, + "required": [ + "answer_counts", + "is_finalized" + ] + }, + "PollAnswerCount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "count": { + "type": "integer" + }, + "me_voted": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "id", + "me_voted" + ] + }, + "VoiceState": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "session_id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "self_deaf": { + "type": "boolean" + }, + "self_mute": { + "type": "boolean" + }, + "self_stream": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "suppress": { + "type": "boolean" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "deaf", + "guild_id", + "id", + "member", + "mute", + "self_deaf", + "self_mute", + "self_video", + "session_id", + "suppress", + "token", + "user", + "user_id" + ] + }, + "ReadState": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "last_message_id": { + "type": "string" + }, + "public_ack": { + "type": "string" + }, + "notifications_cursor": { + "type": "string" + }, + "last_pin_timestamp": { + "type": "string", + "format": "date-time" + }, + "mention_count": { + "type": "integer" + }, + "manual": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "id", + "last_message_id", + "manual", + "mention_count", + "notifications_cursor", + "public_ack", + "user", + "user_id" + ] + }, + "Ban": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "executor_id": { + "type": "string" + }, + "executor": { + "$ref": "#/definitions/User" + }, + "ip": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "executor", + "executor_id", + "guild", + "guild_id", + "id", + "ip", + "user", + "user_id" + ] + }, + "Template": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "usage_count": { + "type": "integer" + }, + "creator_id": { + "type": "string" + }, + "creator": { + "$ref": "#/definitions/User" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "serialized_source_guild": { + "$ref": "#/definitions/Guild" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "created_at", + "creator", + "creator_id", + "id", + "name", + "serialized_source_guild", + "source_guild", + "source_guild_id", + "updated_at" + ] + }, + "Emoji": { + "type": "object", + "properties": { + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "require_colons": { + "type": "boolean" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "available", + "groups", + "guild", + "guild_id", + "id", + "managed", + "name", + "require_colons", + "roles", + "user", + "user_id" + ] + }, + "GuildWelcomeScreen": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "channel_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "enabled", + "welcome_channels" + ] + }, + "HubGuild": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "name" + ] + }, + "EmojiGuild": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "premium_tier": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emojis", + "features", + "id", + "name", + "premium_tier" + ] + }, + "EmojiApplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name" + ] + }, + "GuildMessagesSearchMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "content": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/PublicUser" + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicUser" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "pinned": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "tts": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "edited_timestamp": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "hit": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "additionalProperties": false, + "required": [ + "attachments", + "author", + "channel_id", + "components", + "edited_timestamp", + "embeds", + "flags", + "hit", + "id", + "mention_roles", + "mentions", + "pinned", + "poll", + "timestamp", + "tts", + "type" + ] + }, + "PublicUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "avatar": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "premium_type", + "public_flags", + "username" + ] + }, + "GuildVanityUrl": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "uses": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "code", + "uses" + ] + }, + "GuildVanityUrlNoInvite": { + "type": "object", + "properties": { + "code": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "code" + ] + }, + "Snowflake": { + "description": "A container for useful snowflake-related methods.", + "type": "object", + "additionalProperties": false + }, + "HubDirectoryEntry": { + "type": "object", + "properties": { + "author_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory_channel_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "primary_category_id": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "author_id", + "created_at", + "description", + "directory_channel_id", + "guild", + "primary_category_id", + "type" + ] + }, + "GuildCreateResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "mfa_level": { + "type": "integer" + }, + "owner_id": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen" + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean" + }, + "parent": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "guild_template_code": { + "type": "string" + }, + "staff_only": { + "type": "boolean" + }, + "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" + }, + "discovery_splash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "nsfw", + "welcome_screen", + "widget_enabled" + ] + }, + "RefreshedUrl": { + "type": "object", + "properties": { + "original": { + "type": "string" + }, + "refreshed": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "original", + "refreshed" + ] + }, + "TenorGifResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "src": { + "type": "string" + }, + "gif_src": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "preview": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "gif_src", + "height", + "id", + "preview", + "src", + "title", + "url", + "width" + ] + }, + "BackupCode": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/User" + }, + "code": { + "type": "string" + }, + "consumed": { + "type": "boolean" + }, + "expired": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "consumed", + "expired", + "id", + "user" + ] + }, + "APIGuild": { + "type": "object", + "properties": { + "reload": { + "description": "Reloads entity data from the database.", + "type": "object", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "toJSON": { + "type": "object", + "additionalProperties": false + }, + "_do_validate": { + "type": "object", + "additionalProperties": false + }, + "assign": { + "type": "object", + "additionalProperties": false + }, + "hasId": { + "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", + "type": "object", + "additionalProperties": false + }, + "save": { + "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", + "type": "object", + "additionalProperties": false + }, + "remove": { + "description": "Removes current entity from the database.", + "type": "object", + "additionalProperties": false + }, + "softRemove": { + "description": "Records the delete date of current entity.", + "type": "object", + "additionalProperties": false + }, + "recover": { + "description": "Recovers a given entity in the database.", + "type": "object", + "additionalProperties": false + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "banner": { + "type": "string" + }, + "unavailable": { + "type": "boolean" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "splash": { + "type": "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" + }, + "discovery_splash": { + "type": "string" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "mfa_level": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "permissions": { + "type": "integer" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "_do_validate", + "assign", + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "hasId", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "recover", + "reload", + "remove", + "roles", + "save", + "softRemove", + "stickers", + "toJSON", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "DmChannelDTO": { + "type": "object", + "properties": { + "icon": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": "string" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "origin_channel_id": { + "type": [ + "null", + "string" + ] + }, + "owner_id": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/MinimalPublicUserDTO" + } + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "last_message_id", + "name", + "origin_channel_id", + "recipients", + "type" + ] + }, + "MinimalPublicUserDTO": { + "type": "object", + "properties": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "badge_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -10224,6 +28253,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -14777,6 +33320,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -15293,6 +33883,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -19846,6 +38950,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -20404,6 +39555,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -24957,6 +44622,28294 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, + "Categories": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "localizations": { + "type": "string" + }, + "is_primary": { + "type": "boolean" + }, + "icon": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "is_primary", + "localizations", + "name" + ] + }, + "GuildVoiceRegion": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "custom": { + "type": "boolean" + }, + "deprecated": { + "type": "boolean" + }, + "optimal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom", + "deprecated", + "id", + "name", + "optimal" + ] + }, + "UserLimits": { + "type": "object", + "properties": { + "maxGuilds": { + "type": "integer", + "default": 1048576 + }, + "maxUsername": { + "type": "integer", + "default": 32 + }, + "maxFriends": { + "type": "integer", + "default": 5000 + }, + "maxBio": { + "type": "integer", + "default": 190 + } + }, + "additionalProperties": false, + "required": [ + "maxBio", + "maxFriends", + "maxGuilds", + "maxUsername" + ] + }, + "GuildLimits": { + "type": "object", + "properties": { + "maxRoles": { + "type": "integer", + "default": 1000 + }, + "maxEmojis": { + "type": "integer", + "default": 2000 + }, + "maxMembers": { + "type": "integer", + "default": 25000000 + }, + "maxChannels": { + "type": "integer", + "default": 65535 + }, + "maxBulkBanUsers": { + "type": "integer", + "default": 200 + }, + "maxChannelsInCategory": { + "type": "integer", + "default": 65535 + } + }, + "additionalProperties": false, + "required": [ + "maxBulkBanUsers", + "maxChannels", + "maxChannelsInCategory", + "maxEmojis", + "maxMembers", + "maxRoles" + ] + }, + "MessageLimits": { + "type": "object", + "properties": { + "maxCharacters": { + "type": "integer", + "default": 1048576 + }, + "maxTTSCharacters": { + "type": "integer", + "default": 160 + }, + "maxReactions": { + "type": "integer", + "default": 2048 + }, + "maxAttachmentSize": { + "type": "integer", + "default": 1073741824 + }, + "maxBulkDelete": { + "type": "integer", + "default": 1000 + }, + "maxEmbedDownloadSize": { + "type": "integer", + "default": 5242880 + } + }, + "additionalProperties": false, + "required": [ + "maxAttachmentSize", + "maxBulkDelete", + "maxCharacters", + "maxEmbedDownloadSize", + "maxReactions", + "maxTTSCharacters" + ] + }, + "ChannelLimits": { + "type": "object", + "properties": { + "maxPins": { + "type": "integer", + "default": 500 + }, + "maxTopic": { + "type": "integer", + "default": 1024 + }, + "maxWebhooks": { + "type": "integer", + "default": 100 + } + }, + "additionalProperties": false, + "required": [ + "maxPins", + "maxTopic", + "maxWebhooks" + ] + }, + "RateLimits": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": false + }, + "ip": { + "$ref": "#/definitions/RateLimitOptions" + }, + "global": { + "$ref": "#/definitions/RateLimitOptions" + }, + "error": { + "$ref": "#/definitions/RateLimitOptions" + }, + "routes": { + "$ref": "#/definitions/RouteRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "error", + "global", + "ip", + "routes" + ] + }, + "RateLimitOptions": { + "type": "object", + "properties": { + "bot": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "window": { + "type": "integer" + }, + "onyIp": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "window" + ] + }, + "RouteRateLimit": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/definitions/RateLimitOptions" + }, + "webhook": { + "$ref": "#/definitions/RateLimitOptions" + }, + "channel": { + "$ref": "#/definitions/RateLimitOptions" + }, + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "auth", + "channel", + "guild", + "webhook" + ] + }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, + "GlobalRateLimits": { + "type": "object", + "properties": { + "register": { + "$ref": "#/definitions/GlobalRateLimit" + }, + "sendMessage": { + "$ref": "#/definitions/GlobalRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "register", + "sendMessage" + ] + }, + "GlobalRateLimit": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 100 + }, + "window": { + "type": "integer", + "default": 3600000 + }, + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "limit", + "window" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "UserProfile": { + "type": "object", + "properties": { + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio" + ] + }, + "Badge": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "icon", + "id" + ] + }, + "GenerateWebAuthnCredentialsSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ] + }, + "CreateWebAuthnCredentialSchema": { + "type": "object", + "properties": { + "credential": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ticket": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "credential", + "name", + "ticket" + ] + }, + "TokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "settings": { + "$ref": "#/definitions/UserSettings" + } + }, + "additionalProperties": false, + "required": [ + "settings", + "token" + ] + }, + "MFAResponse": { + "type": "object", + "properties": { + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token" + ] + }, + "WebAuthnResponse": { + "type": "object", + "properties": { + "webauthn": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token", + "webauthn" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ], + "definitions": { + "Network.Headers": { + "description": "Request / response headers as keys / values of JSON object.", + "type": "object", + "additionalProperties": false + }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "ConnectedAccountTokenData": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "token_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + }, + "fetched_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "access_token", + "fetched_at" + ] + }, + "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" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } + }, + "parent_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "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 + }, + "GuildSubscriptionSchema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "activities": { + "type": "boolean" + }, + "threads": { + "type": "boolean" + }, + "typing": { + "enum": [ + true + ], + "type": "boolean" + }, + "members": { + "type": "array", + "items": { + "type": "string" + } + }, + "member_updates": { + "type": "boolean" + }, + "thread_member_lists": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false + }, + "ActivitySchema": { + "type": "object", + "properties": { + "afk": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "since": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "Status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "Activity": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ActivityType" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "timestamps": { + "type": "object", + "properties": { + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "application_id": { + "type": "string" + }, + "details": { + "type": "string" + }, + "state": { + "type": "string" + }, + "emoji": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "name" + ] + }, + "party": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "size": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "assets": { + "type": "object", + "properties": { + "large_image": { + "type": "string" + }, + "large_text": { + "type": "string" + }, + "small_image": { + "type": "string" + }, + "small_text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "secrets": { + "type": "object", + "properties": { + "join": { + "type": "string" + }, + "spectate": { + "type": "string" + }, + "match": { + "type": "string" + } + }, + "additionalProperties": false + }, + "instance": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "id": { + "type": "string" + }, + "sync_id": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "context_uri": { + "type": "string" + }, + "album_id": { + "type": "string" + }, + "artist_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "album_id", + "artist_ids" + ] + }, + "session_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "name", + "session_id", + "type" + ] + }, + "ActivityType": { + "enum": [ + 0, + 1, + 2, + 4, + 5 + ], + "type": "number" + }, + "Embed": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "type": { + "enum": [ + "article", + "gifv", + "image", + "link", + "rich", + "video" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "color": { + "type": "integer" + }, + "footer": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "image": { + "$ref": "#/definitions/EmbedImage" + }, + "thumbnail": { + "$ref": "#/definitions/EmbedImage" + }, + "video": { + "$ref": "#/definitions/EmbedImage" + }, + "provider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "inline": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "value" + ] + } + } + }, + "additionalProperties": false + }, + "EmbedImage": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "ActionRowComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.ActionRow" + }, + "components": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/ButtonComponent" + }, + { + "$ref": "#/definitions/SelectMenuComponent" + }, + { + "$ref": "#/definitions/StringSelectMenuComponent" + }, + { + "$ref": "#/definitions/TextInputComponent" + } + ] + } + } + }, + "additionalProperties": false, + "required": [ + "components", + "type" + ] + }, + "MessageComponentType.ActionRow": { + "type": "number", + "enum": [ + 1 + ] + }, + "ButtonComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.Button" + }, + "style": { + "$ref": "#/definitions/ButtonStyle" + }, + "label": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "custom_id": { + "type": "string" + }, + "sku_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "style", + "type" + ] + }, + "MessageComponentType.Button": { + "type": "number", + "enum": [ + 2 + ] + }, + "ButtonStyle": { + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "type": "number" + }, + "PartialEmoji": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "SelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "enum": [ + 3, + 5, + 6, + 7, + 8 + ], + "type": "number" + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "type" + ] + }, + "SelectMenuDefaultOption": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "channel", + "role", + "user" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ] + }, + "StringSelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.StringSelect" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuOption" + } + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "options", + "type" + ] + }, + "MessageComponentType.StringSelect": { + "type": "number", + "enum": [ + 3 + ] + }, + "SelectMenuOption": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "default": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "TextInputComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.TextInput" + }, + "custom_id": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/TextInputStyle" + }, + "label": { + "type": "string" + }, + "min_length": { + "type": "integer" + }, + "max_length": { + "type": "integer" + }, + "required": { + "type": "boolean" + }, + "value": { + "type": "string" + }, + "placeholder": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "label", + "style", + "type" + ] + }, + "MessageComponentType.TextInput": { + "type": "number", + "enum": [ + 4 + ] + }, + "TextInputStyle": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "PollCreationSchema": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "duration": { + "type": "integer" + }, + "allow_multiselect": { + "type": "boolean" + }, + "layout_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "answers", + "question" + ] + }, + "PollMedia": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + } + }, + "additionalProperties": false + }, + "PollAnswer": { + "type": "object", + "properties": { + "answer_id": { + "type": "string" + }, + "poll_media": { + "$ref": "#/definitions/PollMedia" + } + }, + "additionalProperties": false, + "required": [ + "poll_media" + ] + }, + "APIErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "_errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "_errors" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ] + }, + "CaptchaRequiredResponse": { + "type": "object", + "properties": { + "captcha_key": { + "type": "string" + }, + "captcha_sitekey": { + "type": "string" + }, + "captcha_service": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "captcha_key", + "captcha_service", + "captcha_sitekey" + ] + }, + "Guild": { + "type": "object", + "properties": { + "afk_channel_id": { + "type": "string" + }, + "afk_channel": { + "$ref": "#/definitions/Channel" + }, + "afk_timeout": { + "type": "integer" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "banner": { + "type": "string" + }, + "default_message_notifications": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "discovery_splash": { + "type": "string" + }, + "explicit_content_filter": { + "type": "integer" + }, + "features": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "primary_category_id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "large": { + "type": "boolean", + "default": false + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "template_id": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/Template" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "mfa_level": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "preferred_locale": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "public_updates_channel_id": { + "type": "string" + }, + "public_updates_channel": { + "$ref": "#/definitions/Channel" + }, + "rules_channel_id": { + "type": "string" + }, + "rules_channel": { + "type": "string" + }, + "region": { + "type": "string" + }, + "splash": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "system_channel": { + "$ref": "#/definitions/Channel" + }, + "system_channel_flags": { + "type": "integer" + }, + "unavailable": { + "type": "boolean", + "default": false + }, + "verification_level": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_channel": { + "$ref": "#/definitions/Channel" + }, + "widget_enabled": { + "type": "boolean", + "default": true + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "string" + }, + "permissions": { + "type": "integer" + }, + "premium_progress_bar_enabled": { + "type": "boolean", + "default": false + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "roles", + "stickers", + "template", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "Channel": { + "type": "object", + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "last_message_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "parent": { + "$ref": "#/definitions/Channel" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "last_pin_timestamp": { + "type": "integer" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "video_quality_mode": { + "type": "integer" + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "rate_limit_per_user": { + "type": "integer" + }, + "topic": { + "type": "string" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "retention_policy_id": { + "type": "string" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/Message" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "read_states": { + "type": "array", + "items": { + "$ref": "#/definitions/ReadState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "flags": { + "type": "integer", + "default": 0 + }, + "default_thread_rate_limit_per_user": { + "type": "integer", + "default": 0 + }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "default_thread_rate_limit_per_user", + "flags", + "id", + "nsfw", + "owner", + "parent_id", + "position", + "type" + ] + }, + "ChannelType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "Recipient": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "closed": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "closed", + "id", + "user", + "user_id" + ] + }, + "User": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "desktop": { + "type": "boolean", + "default": false + }, + "mobile": { + "type": "boolean", + "default": false + }, + "premium": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "bot": { + "type": "boolean", + "default": false + }, + "bio": { + "type": "string", + "default": "" + }, + "system": { + "type": "boolean", + "default": false + }, + "nsfw_allowed": { + "type": "boolean", + "default": true + }, + "mfa_enabled": { + "type": "boolean", + "default": false + }, + "webauthn_enabled": { + "type": "boolean", + "default": false + }, + "totp_secret": { + "type": "string", + "default": "" + }, + "totp_last_ticket": { + "type": "string", + "default": "" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "verified": { + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "deleted": { + "type": "boolean", + "default": false + }, + "email": { + "type": "string" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "public_flags": { + "type": "integer", + "default": 0 + }, + "purchased_flags": { + "type": "integer", + "default": 0 + }, + "premium_usage_flags": { + "type": "integer", + "default": 0 + }, + "rights": { + "type": "string" + }, + "sessions": { + "type": "array", + "items": { + "$ref": "#/definitions/Session" + } + }, + "relationships": { + "type": "array", + "items": { + "$ref": "#/definitions/Relationship" + } + }, + "connected_accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedAccount" + } + }, + "data": { + "type": "object", + "properties": { + "valid_tokens_since": { + "type": "string", + "format": "date-time" + }, + "hash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "valid_tokens_since" + ] + }, + "fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "settings": { + "$ref": "#/definitions/UserSettings" + }, + "extended_settings": { + "type": "string", + "default": "{}" + }, + "security_keys": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityKey" + } + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "connected_accounts", + "created_at", + "data", + "deleted", + "desktop", + "disabled", + "discriminator", + "extended_settings", + "fingerprints", + "flags", + "id", + "mfa_enabled", + "mobile", + "nsfw_allowed", + "premium", + "premium_since", + "premium_type", + "premium_usage_flags", + "public_flags", + "purchased_flags", + "relationships", + "rights", + "security_keys", + "sessions", + "settings", + "system", + "username", + "verified", + "webauthn_enabled" + ] + }, + "Session": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "session_id": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "client", + "os", + "version" + ] + }, + "client_status": { + "$ref": "#/definitions/ClientStatus" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "client_info", + "client_status", + "id", + "session_id", + "status", + "user", + "user_id" + ] + }, + "ClientStatus": { + "type": "object", + "properties": { + "desktop": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "web": { + "type": "string" + }, + "embedded": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Relationship": { + "type": "object", + "properties": { + "from_id": { + "type": "string" + }, + "from": { + "$ref": "#/definitions/User" + }, + "to_id": { + "type": "string" + }, + "to": { + "$ref": "#/definitions/User" + }, + "nickname": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "from", + "from_id", + "id", + "to", + "to_id", + "type" + ] + }, + "RelationshipType": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" + }, + "ConnectedAccount": { + "type": "object", + "properties": { + "external_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "friend_sync": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string" + }, + "revoked": { + "type": "boolean", + "default": false + }, + "show_activity": { + "type": "integer", + "default": 0 + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean", + "default": true + }, + "visibility": { + "type": "integer", + "default": 0 + }, + "integrations": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "metadata_": {}, + "metadata_visibility": { + "type": "integer", + "default": 0 + }, + "two_way_link": { + "type": "boolean", + "default": false + }, + "token_data": { + "anyOf": [ + { + "$ref": "#/definitions/ConnectedAccountTokenData" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "external_id", + "id", + "name", + "type", + "user", + "user_id" + ] + }, + "UserSettings": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "afk_timeout": { + "type": "integer", + "default": 3600 + }, + "allow_accessibility_detection": { + "type": "boolean", + "default": true + }, + "animate_emoji": { + "type": "boolean", + "default": true + }, + "animate_stickers": { + "type": "integer", + "default": 0 + }, + "contact_sync_enabled": { + "type": "boolean", + "default": false + }, + "convert_emoticons": { + "type": "boolean", + "default": false + }, + "custom_status": { + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "default_guilds_restricted": { + "type": "boolean", + "default": false + }, + "detect_platform_accounts": { + "type": "boolean", + "default": false + }, + "developer_mode": { + "type": "boolean", + "default": true + }, + "disable_games_tab": { + "type": "boolean", + "default": true + }, + "enable_tts_command": { + "type": "boolean", + "default": false + }, + "explicit_content_filter": { + "type": "integer", + "default": 0 + }, + "friend_discovery_flags": { + "type": "integer", + "default": 0 + }, + "friend_source_flags": { + "$ref": "#/definitions/FriendSourceFlags" + }, + "gateway_connected": { + "type": "boolean", + "default": false + }, + "gif_auto_play": { + "type": "boolean", + "default": false + }, + "guild_folders": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildFolder" + }, + "default": [] + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "inline_attachment_media": { + "type": "boolean", + "default": true + }, + "inline_embed_media": { + "type": "boolean", + "default": true + }, + "locale": { + "type": "string", + "default": "en-US" + }, + "message_display_compact": { + "type": "boolean", + "default": false + }, + "native_phone_integration_enabled": { + "type": "boolean", + "default": true + }, + "render_embeds": { + "type": "boolean", + "default": true + }, + "render_reactions": { + "type": "boolean", + "default": true + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "show_current_game": { + "type": "boolean", + "default": true + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string", + "default": "online" + }, + "stream_notifications_enabled": { + "type": "boolean", + "default": false + }, + "theme": { + "enum": [ + "dark", + "light" + ], + "type": "string", + "default": "dark" + }, + "timezone_offset": { + "type": "integer", + "default": 0 + }, + "view_nsfw_guilds": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "afk_timeout", + "allow_accessibility_detection", + "animate_emoji", + "animate_stickers", + "contact_sync_enabled", + "convert_emoticons", + "custom_status", + "default_guilds_restricted", + "detect_platform_accounts", + "developer_mode", + "disable_games_tab", + "enable_tts_command", + "explicit_content_filter", + "friend_discovery_flags", + "friend_source_flags", + "gateway_connected", + "gif_auto_play", + "guild_folders", + "guild_positions", + "index", + "inline_attachment_media", + "inline_embed_media", + "locale", + "message_display_compact", + "native_phone_integration_enabled", + "render_embeds", + "render_reactions", + "restricted_guilds", + "show_current_game", + "status", + "stream_notifications_enabled", + "theme", + "timezone_offset", + "view_nsfw_guilds" + ] + }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "GuildFolder": { + "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" + ] + }, + "SecurityKey": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "key_id": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "counter": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "counter", + "id", + "key_id", + "name", + "public_key", + "user", + "user_id" + ] + }, + "ChannelPermissionOverwrite": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + }, + "Invite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "uses": { + "type": "integer" + }, + "max_uses": { + "type": "integer" + }, + "max_age": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": "string", + "format": "date-time" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "inviter_id": { + "type": "string" + }, + "inviter": { + "$ref": "#/definitions/User" + }, + "target_user_id": { + "type": "string" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" + }, + "vanity_url": { + "type": "boolean" + }, + "flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "code", + "created_at", + "flags", + "guild", + "guild_id", + "inviter", + "max_age", + "max_uses", + "target_user_id", + "temporary", + "uses" + ] + }, + "Message": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "author_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/User" + }, + "member_id": { + "type": "string" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "webhook_id": { + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/Webhook" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "content": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "edited_timestamp": { + "type": "string", + "format": "date-time" + }, + "tts": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "mention_channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "sticker_items": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "reactions": { + "type": "array", + "items": { + "$ref": "#/definitions/Reaction" + } + }, + "nonce": { + "type": "string" + }, + "pinned": { + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "activity": { + "type": "object", + "properties": { + "type": { + "type": "integer" + }, + "party_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "party_id", + "type" + ] + }, + "flags": { + "type": "integer" + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message_id" + ] + }, + "referenced_message": { + "$ref": "#/definitions/Message" + }, + "interaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InteractionType" + }, + "name": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "type", + "user_id" + ] + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "embeds", + "flags", + "id", + "mention_channels", + "mention_roles", + "mentions", + "reactions", + "timestamp", + "type" + ] + }, + "Member": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "nick": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "joined_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "integer" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "pending": { + "type": "boolean" + }, + "settings": { + "$ref": "#/definitions/UserGuildSettings" + }, + "last_message_id": { + "type": "string" + }, + "joined_by": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "communication_disabled_until": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "bio", + "communication_disabled_until", + "deaf", + "guild", + "guild_id", + "id", + "index", + "joined_at", + "joined_by", + "mute", + "pending", + "roles", + "settings", + "user" + ] + }, + "Role": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "color": { + "type": "integer" + }, + "hoist": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "mentionable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "icon": { + "type": "string" + }, + "unicode_emoji": { + "type": "string" + }, + "tags": { + "type": "object", + "properties": { + "bot_id": { + "type": "string" + }, + "integration_id": { + "type": "string" + }, + "premium_subscriber": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "flags": { + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "flags", + "guild", + "guild_id", + "hoist", + "id", + "managed", + "mentionable", + "name", + "permissions", + "position" + ] + }, + "UserGuildSettings": { + "type": "object", + "properties": { + "channel_overrides": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ChannelOverride" + } + }, + { + "type": "null" + } + ] + }, + "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" + }, + "version": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "type": "number", + "enum": [ + 0 + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_overrides", + "flags", + "guild_id", + "hide_muted_channels", + "message_notifications", + "mobile_push", + "mute_config", + "mute_scheduled_events", + "muted", + "notify_highlights", + "suppress_everyone", + "suppress_roles", + "version" + ] + }, + "ChannelOverride": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_notifications", + "mute_config", + "muted" + ] + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "Webhook": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/WebhookType" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "token": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "source_channel_id": { + "type": "string" + }, + "source_channel": { + "$ref": "#/definitions/Channel" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "application", + "application_id", + "avatar", + "channel", + "channel_id", + "id", + "name", + "source_channel", + "source_channel_id", + "type", + "url", + "user", + "user_id" + ] + }, + "WebhookType": { + "enum": [ + 1, + 2, + 3 + ], + "type": "number" + }, + "Application": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "description": { + "type": "string" + }, + "summary": { + "type": "string", + "default": "" + }, + "type": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "hook": { + "type": "boolean", + "default": true + }, + "bot_public": { + "type": "boolean", + "default": true + }, + "bot_require_code_grant": { + "type": "boolean", + "default": false + }, + "verify_key": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "redirect_uris": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "rpc_application_state": { + "type": "integer", + "default": 0 + }, + "store_application_state": { + "type": "integer", + "default": 1 + }, + "verification_state": { + "type": "integer", + "default": 1 + }, + "interactions_endpoint_url": { + "type": "string" + }, + "integration_public": { + "type": "boolean", + "default": true + }, + "integration_require_code_grant": { + "type": "boolean", + "default": false + }, + "discoverability_state": { + "type": "integer", + "default": 1 + }, + "discovery_eligibility_flags": { + "type": "integer", + "default": 2240 + }, + "bot": { + "$ref": "#/definitions/User" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "cover_image": { + "type": "string" + }, + "install_params": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "permissions", + "scopes" + ] + }, + "terms_of_service_url": { + "type": "string" + }, + "privacy_policy_url": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "custom_install_url": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "discoverability_state", + "discovery_eligibility_flags", + "flags", + "hook", + "id", + "integration_public", + "integration_require_code_grant", + "name", + "owner", + "redirect_uris", + "rpc_application_state", + "store_application_state", + "summary", + "verification_state", + "verify_key" + ] + }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, + "TeamMember": { + "type": "object", + "properties": { + "membership_state": { + "$ref": "#/definitions/TeamMemberState" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/definitions/TeamMemberRole" + }, + "team_id": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "membership_state", + "permissions", + "role", + "team", + "team_id", + "user", + "user_id" + ] + }, + "TeamMemberState": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "TeamMemberRole": { + "enum": [ + "admin", + "developer", + "read_only" + ], + "type": "string" + }, + "Sticker": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "available": { + "type": "boolean" + }, + "tags": { + "type": "string" + }, + "pack_id": { + "type": "string" + }, + "pack": { + "$ref": "#/definitions/StickerPack" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "type": { + "$ref": "#/definitions/StickerType" + }, + "format_type": { + "$ref": "#/definitions/StickerFormatType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "format_type", + "id", + "name", + "pack", + "type" + ] + }, + "StickerPack": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "banner_asset_id": { + "type": "string" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "cover_sticker_id": { + "type": "string" + }, + "cover_sticker": { + "$ref": "#/definitions/Sticker" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "stickers" + ] + }, + "StickerType": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "StickerFormatType": { + "enum": [ + 0, + 1, + 2, + 3 + ], + "type": "number" + }, + "Attachment": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + }, + "content_type": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/Message" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id", + "message", + "message_id", + "proxy_url", + "size", + "url" + ] + }, + "Reaction": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "user_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "count", + "emoji", + "user_ids" + ] + }, + "MessageType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 19, + 2, + 20, + 255, + 3, + 4, + 41, + 42, + 43, + 5, + 50, + 6, + 63, + 7, + 8, + 9 + ], + "type": "number" + }, + "InteractionType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "Poll": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "allow_multiselect": { + "type": "boolean" + }, + "results": { + "$ref": "#/definitions/PollResult" + } + }, + "additionalProperties": false, + "required": [ + "allow_multiselect", + "answers", + "expiry", + "question" + ] + }, + "PollResult": { + "type": "object", + "properties": { + "is_finalized": { + "type": "boolean" + }, + "answer_counts": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswerCount" + } + } + }, + "additionalProperties": false, + "required": [ + "answer_counts", + "is_finalized" + ] + }, + "PollAnswerCount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "count": { + "type": "integer" + }, + "me_voted": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "id", + "me_voted" + ] + }, + "VoiceState": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "session_id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "self_deaf": { + "type": "boolean" + }, + "self_mute": { + "type": "boolean" + }, + "self_stream": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "suppress": { + "type": "boolean" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "deaf", + "guild_id", + "id", + "member", + "mute", + "self_deaf", + "self_mute", + "self_video", + "session_id", + "suppress", + "token", + "user", + "user_id" + ] + }, + "ReadState": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "last_message_id": { + "type": "string" + }, + "public_ack": { + "type": "string" + }, + "notifications_cursor": { + "type": "string" + }, + "last_pin_timestamp": { + "type": "string", + "format": "date-time" + }, + "mention_count": { + "type": "integer" + }, + "manual": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "id", + "last_message_id", + "manual", + "mention_count", + "notifications_cursor", + "public_ack", + "user", + "user_id" + ] + }, + "Ban": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "executor_id": { + "type": "string" + }, + "executor": { + "$ref": "#/definitions/User" + }, + "ip": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "executor", + "executor_id", + "guild", + "guild_id", + "id", + "ip", + "user", + "user_id" + ] + }, + "Template": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "usage_count": { + "type": "integer" + }, + "creator_id": { + "type": "string" + }, + "creator": { + "$ref": "#/definitions/User" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "serialized_source_guild": { + "$ref": "#/definitions/Guild" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "created_at", + "creator", + "creator_id", + "id", + "name", + "serialized_source_guild", + "source_guild", + "source_guild_id", + "updated_at" + ] + }, + "Emoji": { + "type": "object", + "properties": { + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "require_colons": { + "type": "boolean" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "available", + "groups", + "guild", + "guild_id", + "id", + "managed", + "name", + "require_colons", + "roles", + "user", + "user_id" + ] + }, + "GuildWelcomeScreen": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "channel_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "enabled", + "welcome_channels" + ] + }, + "HubGuild": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "name" + ] + }, + "EmojiGuild": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "premium_tier": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emojis", + "features", + "id", + "name", + "premium_tier" + ] + }, + "EmojiApplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name" + ] + }, + "GuildMessagesSearchMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "content": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/PublicUser" + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicUser" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "pinned": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "tts": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "edited_timestamp": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "hit": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "additionalProperties": false, + "required": [ + "attachments", + "author", + "channel_id", + "components", + "edited_timestamp", + "embeds", + "flags", + "hit", + "id", + "mention_roles", + "mentions", + "pinned", + "poll", + "timestamp", + "tts", + "type" + ] + }, + "PublicUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "avatar": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "premium_type", + "public_flags", + "username" + ] + }, + "GuildVanityUrl": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "uses": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "code", + "uses" + ] + }, + "GuildVanityUrlNoInvite": { + "type": "object", + "properties": { + "code": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "code" + ] + }, + "Snowflake": { + "description": "A container for useful snowflake-related methods.", + "type": "object", + "additionalProperties": false + }, + "HubDirectoryEntry": { + "type": "object", + "properties": { + "author_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory_channel_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "primary_category_id": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "author_id", + "created_at", + "description", + "directory_channel_id", + "guild", + "primary_category_id", + "type" + ] + }, + "GuildCreateResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "mfa_level": { + "type": "integer" + }, + "owner_id": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen" + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean" + }, + "parent": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "guild_template_code": { + "type": "string" + }, + "staff_only": { + "type": "boolean" + }, + "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" + }, + "discovery_splash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "nsfw", + "welcome_screen", + "widget_enabled" + ] + }, + "RefreshedUrl": { + "type": "object", + "properties": { + "original": { + "type": "string" + }, + "refreshed": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "original", + "refreshed" + ] + }, + "TenorGifResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "src": { + "type": "string" + }, + "gif_src": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "preview": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "gif_src", + "height", + "id", + "preview", + "src", + "title", + "url", + "width" + ] + }, + "BackupCode": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/User" + }, + "code": { + "type": "string" + }, + "consumed": { + "type": "boolean" + }, + "expired": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "consumed", + "expired", + "id", + "user" + ] + }, + "APIGuild": { + "type": "object", + "properties": { + "reload": { + "description": "Reloads entity data from the database.", + "type": "object", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "toJSON": { + "type": "object", + "additionalProperties": false + }, + "_do_validate": { + "type": "object", + "additionalProperties": false + }, + "assign": { + "type": "object", + "additionalProperties": false + }, + "hasId": { + "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", + "type": "object", + "additionalProperties": false + }, + "save": { + "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", + "type": "object", + "additionalProperties": false + }, + "remove": { + "description": "Removes current entity from the database.", + "type": "object", + "additionalProperties": false + }, + "softRemove": { + "description": "Records the delete date of current entity.", + "type": "object", + "additionalProperties": false + }, + "recover": { + "description": "Recovers a given entity in the database.", + "type": "object", + "additionalProperties": false + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "banner": { + "type": "string" + }, + "unavailable": { + "type": "boolean" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "splash": { + "type": "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" + }, + "discovery_splash": { + "type": "string" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "mfa_level": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "permissions": { + "type": "integer" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "_do_validate", + "assign", + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "hasId", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "recover", + "reload", + "remove", + "roles", + "save", + "softRemove", + "stickers", + "toJSON", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "DmChannelDTO": { + "type": "object", + "properties": { + "icon": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": "string" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "origin_channel_id": { + "type": [ + "null", + "string" + ] + }, + "owner_id": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/MinimalPublicUserDTO" + } + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "last_message_id", + "name", + "origin_channel_id", + "recipients", + "type" + ] + }, + "MinimalPublicUserDTO": { + "type": "object", + "properties": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "badge_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, + "Categories": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "localizations": { + "type": "string" + }, + "is_primary": { + "type": "boolean" + }, + "icon": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "is_primary", + "localizations", + "name" + ] + }, + "GuildVoiceRegion": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "custom": { + "type": "boolean" + }, + "deprecated": { + "type": "boolean" + }, + "optimal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom", + "deprecated", + "id", + "name", + "optimal" + ] + }, + "UserLimits": { + "type": "object", + "properties": { + "maxGuilds": { + "type": "integer", + "default": 1048576 + }, + "maxUsername": { + "type": "integer", + "default": 32 + }, + "maxFriends": { + "type": "integer", + "default": 5000 + }, + "maxBio": { + "type": "integer", + "default": 190 + } + }, + "additionalProperties": false, + "required": [ + "maxBio", + "maxFriends", + "maxGuilds", + "maxUsername" + ] + }, + "GuildLimits": { + "type": "object", + "properties": { + "maxRoles": { + "type": "integer", + "default": 1000 + }, + "maxEmojis": { + "type": "integer", + "default": 2000 + }, + "maxMembers": { + "type": "integer", + "default": 25000000 + }, + "maxChannels": { + "type": "integer", + "default": 65535 + }, + "maxBulkBanUsers": { + "type": "integer", + "default": 200 + }, + "maxChannelsInCategory": { + "type": "integer", + "default": 65535 + } + }, + "additionalProperties": false, + "required": [ + "maxBulkBanUsers", + "maxChannels", + "maxChannelsInCategory", + "maxEmojis", + "maxMembers", + "maxRoles" + ] + }, + "MessageLimits": { + "type": "object", + "properties": { + "maxCharacters": { + "type": "integer", + "default": 1048576 + }, + "maxTTSCharacters": { + "type": "integer", + "default": 160 + }, + "maxReactions": { + "type": "integer", + "default": 2048 + }, + "maxAttachmentSize": { + "type": "integer", + "default": 1073741824 + }, + "maxBulkDelete": { + "type": "integer", + "default": 1000 + }, + "maxEmbedDownloadSize": { + "type": "integer", + "default": 5242880 + } + }, + "additionalProperties": false, + "required": [ + "maxAttachmentSize", + "maxBulkDelete", + "maxCharacters", + "maxEmbedDownloadSize", + "maxReactions", + "maxTTSCharacters" + ] + }, + "ChannelLimits": { + "type": "object", + "properties": { + "maxPins": { + "type": "integer", + "default": 500 + }, + "maxTopic": { + "type": "integer", + "default": 1024 + }, + "maxWebhooks": { + "type": "integer", + "default": 100 + } + }, + "additionalProperties": false, + "required": [ + "maxPins", + "maxTopic", + "maxWebhooks" + ] + }, + "RateLimits": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": false + }, + "ip": { + "$ref": "#/definitions/RateLimitOptions" + }, + "global": { + "$ref": "#/definitions/RateLimitOptions" + }, + "error": { + "$ref": "#/definitions/RateLimitOptions" + }, + "routes": { + "$ref": "#/definitions/RouteRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "error", + "global", + "ip", + "routes" + ] + }, + "RateLimitOptions": { + "type": "object", + "properties": { + "bot": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "window": { + "type": "integer" + }, + "onyIp": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "window" + ] + }, + "RouteRateLimit": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/definitions/RateLimitOptions" + }, + "webhook": { + "$ref": "#/definitions/RateLimitOptions" + }, + "channel": { + "$ref": "#/definitions/RateLimitOptions" + }, + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "auth", + "channel", + "guild", + "webhook" + ] + }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, + "GlobalRateLimits": { + "type": "object", + "properties": { + "register": { + "$ref": "#/definitions/GlobalRateLimit" + }, + "sendMessage": { + "$ref": "#/definitions/GlobalRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "register", + "sendMessage" + ] + }, + "GlobalRateLimit": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 100 + }, + "window": { + "type": "integer", + "default": 3600000 + }, + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "limit", + "window" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "UserProfile": { + "type": "object", + "properties": { + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio" + ] + }, + "Badge": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "icon", + "id" + ] + }, + "GenerateWebAuthnCredentialsSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ] + }, + "CreateWebAuthnCredentialSchema": { + "type": "object", + "properties": { + "credential": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ticket": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "credential", + "name", + "ticket" + ] + }, + "TokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "settings": { + "$ref": "#/definitions/UserSettings" + } + }, + "additionalProperties": false, + "required": [ + "settings", + "token" + ] + }, + "MFAResponse": { + "type": "object", + "properties": { + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token" + ] + }, + "WebAuthnResponse": { + "type": "object", + "properties": { + "webauthn": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token", + "webauthn" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false, + "definitions": { + "Network.Headers": { + "description": "Request / response headers as keys / values of JSON object.", + "type": "object", + "additionalProperties": false + }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "ConnectedAccountTokenData": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "token_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + }, + "fetched_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "access_token", + "fetched_at" + ] + }, + "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" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } + }, + "parent_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "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 + }, + "GuildSubscriptionSchema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "activities": { + "type": "boolean" + }, + "threads": { + "type": "boolean" + }, + "typing": { + "enum": [ + true + ], + "type": "boolean" + }, + "members": { + "type": "array", + "items": { + "type": "string" + } + }, + "member_updates": { + "type": "boolean" + }, + "thread_member_lists": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false + }, + "ActivitySchema": { + "type": "object", + "properties": { + "afk": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "since": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "Status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "Activity": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ActivityType" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "timestamps": { + "type": "object", + "properties": { + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "application_id": { + "type": "string" + }, + "details": { + "type": "string" + }, + "state": { + "type": "string" + }, + "emoji": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "name" + ] + }, + "party": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "size": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "assets": { + "type": "object", + "properties": { + "large_image": { + "type": "string" + }, + "large_text": { + "type": "string" + }, + "small_image": { + "type": "string" + }, + "small_text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "secrets": { + "type": "object", + "properties": { + "join": { + "type": "string" + }, + "spectate": { + "type": "string" + }, + "match": { + "type": "string" + } + }, + "additionalProperties": false + }, + "instance": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "id": { + "type": "string" + }, + "sync_id": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "context_uri": { + "type": "string" + }, + "album_id": { + "type": "string" + }, + "artist_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "album_id", + "artist_ids" + ] + }, + "session_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "name", + "session_id", + "type" + ] + }, + "ActivityType": { + "enum": [ + 0, + 1, + 2, + 4, + 5 + ], + "type": "number" + }, + "Embed": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "type": { + "enum": [ + "article", + "gifv", + "image", + "link", + "rich", + "video" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "color": { + "type": "integer" + }, + "footer": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "image": { + "$ref": "#/definitions/EmbedImage" + }, + "thumbnail": { + "$ref": "#/definitions/EmbedImage" + }, + "video": { + "$ref": "#/definitions/EmbedImage" + }, + "provider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "inline": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "value" + ] + } + } + }, + "additionalProperties": false + }, + "EmbedImage": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "ActionRowComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.ActionRow" + }, + "components": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/ButtonComponent" + }, + { + "$ref": "#/definitions/SelectMenuComponent" + }, + { + "$ref": "#/definitions/StringSelectMenuComponent" + }, + { + "$ref": "#/definitions/TextInputComponent" + } + ] + } + } + }, + "additionalProperties": false, + "required": [ + "components", + "type" + ] + }, + "MessageComponentType.ActionRow": { + "type": "number", + "enum": [ + 1 + ] + }, + "ButtonComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.Button" + }, + "style": { + "$ref": "#/definitions/ButtonStyle" + }, + "label": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "custom_id": { + "type": "string" + }, + "sku_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "style", + "type" + ] + }, + "MessageComponentType.Button": { + "type": "number", + "enum": [ + 2 + ] + }, + "ButtonStyle": { + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "type": "number" + }, + "PartialEmoji": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "SelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "enum": [ + 3, + 5, + 6, + 7, + 8 + ], + "type": "number" + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "type" + ] + }, + "SelectMenuDefaultOption": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "channel", + "role", + "user" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ] + }, + "StringSelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.StringSelect" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuOption" + } + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "options", + "type" + ] + }, + "MessageComponentType.StringSelect": { + "type": "number", + "enum": [ + 3 + ] + }, + "SelectMenuOption": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "default": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "TextInputComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.TextInput" + }, + "custom_id": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/TextInputStyle" + }, + "label": { + "type": "string" + }, + "min_length": { + "type": "integer" + }, + "max_length": { + "type": "integer" + }, + "required": { + "type": "boolean" + }, + "value": { + "type": "string" + }, + "placeholder": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "label", + "style", + "type" + ] + }, + "MessageComponentType.TextInput": { + "type": "number", + "enum": [ + 4 + ] + }, + "TextInputStyle": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "PollCreationSchema": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "duration": { + "type": "integer" + }, + "allow_multiselect": { + "type": "boolean" + }, + "layout_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "answers", + "question" + ] + }, + "PollMedia": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + } + }, + "additionalProperties": false + }, + "PollAnswer": { + "type": "object", + "properties": { + "answer_id": { + "type": "string" + }, + "poll_media": { + "$ref": "#/definitions/PollMedia" + } + }, + "additionalProperties": false, + "required": [ + "poll_media" + ] + }, + "APIErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "_errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "_errors" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ] + }, + "CaptchaRequiredResponse": { + "type": "object", + "properties": { + "captcha_key": { + "type": "string" + }, + "captcha_sitekey": { + "type": "string" + }, + "captcha_service": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "captcha_key", + "captcha_service", + "captcha_sitekey" + ] + }, + "Guild": { + "type": "object", + "properties": { + "afk_channel_id": { + "type": "string" + }, + "afk_channel": { + "$ref": "#/definitions/Channel" + }, + "afk_timeout": { + "type": "integer" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "banner": { + "type": "string" + }, + "default_message_notifications": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "discovery_splash": { + "type": "string" + }, + "explicit_content_filter": { + "type": "integer" + }, + "features": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "primary_category_id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "large": { + "type": "boolean", + "default": false + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "template_id": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/Template" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "mfa_level": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "preferred_locale": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "public_updates_channel_id": { + "type": "string" + }, + "public_updates_channel": { + "$ref": "#/definitions/Channel" + }, + "rules_channel_id": { + "type": "string" + }, + "rules_channel": { + "type": "string" + }, + "region": { + "type": "string" + }, + "splash": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "system_channel": { + "$ref": "#/definitions/Channel" + }, + "system_channel_flags": { + "type": "integer" + }, + "unavailable": { + "type": "boolean", + "default": false + }, + "verification_level": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_channel": { + "$ref": "#/definitions/Channel" + }, + "widget_enabled": { + "type": "boolean", + "default": true + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "string" + }, + "permissions": { + "type": "integer" + }, + "premium_progress_bar_enabled": { + "type": "boolean", + "default": false + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "roles", + "stickers", + "template", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "Channel": { + "type": "object", + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "last_message_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "parent": { + "$ref": "#/definitions/Channel" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "last_pin_timestamp": { + "type": "integer" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "video_quality_mode": { + "type": "integer" + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "rate_limit_per_user": { + "type": "integer" + }, + "topic": { + "type": "string" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "retention_policy_id": { + "type": "string" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/Message" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "read_states": { + "type": "array", + "items": { + "$ref": "#/definitions/ReadState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "flags": { + "type": "integer", + "default": 0 + }, + "default_thread_rate_limit_per_user": { + "type": "integer", + "default": 0 + }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "default_thread_rate_limit_per_user", + "flags", + "id", + "nsfw", + "owner", + "parent_id", + "position", + "type" + ] + }, + "ChannelType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "Recipient": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "closed": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "closed", + "id", + "user", + "user_id" + ] + }, + "User": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "desktop": { + "type": "boolean", + "default": false + }, + "mobile": { + "type": "boolean", + "default": false + }, + "premium": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "bot": { + "type": "boolean", + "default": false + }, + "bio": { + "type": "string", + "default": "" + }, + "system": { + "type": "boolean", + "default": false + }, + "nsfw_allowed": { + "type": "boolean", + "default": true + }, + "mfa_enabled": { + "type": "boolean", + "default": false + }, + "webauthn_enabled": { + "type": "boolean", + "default": false + }, + "totp_secret": { + "type": "string", + "default": "" + }, + "totp_last_ticket": { + "type": "string", + "default": "" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "verified": { + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "deleted": { + "type": "boolean", + "default": false + }, + "email": { + "type": "string" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "public_flags": { + "type": "integer", + "default": 0 + }, + "purchased_flags": { + "type": "integer", + "default": 0 + }, + "premium_usage_flags": { + "type": "integer", + "default": 0 + }, + "rights": { + "type": "string" + }, + "sessions": { + "type": "array", + "items": { + "$ref": "#/definitions/Session" + } + }, + "relationships": { + "type": "array", + "items": { + "$ref": "#/definitions/Relationship" + } + }, + "connected_accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedAccount" + } + }, + "data": { + "type": "object", + "properties": { + "valid_tokens_since": { + "type": "string", + "format": "date-time" + }, + "hash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "valid_tokens_since" + ] + }, + "fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "settings": { + "$ref": "#/definitions/UserSettings" + }, + "extended_settings": { + "type": "string", + "default": "{}" + }, + "security_keys": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityKey" + } + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "connected_accounts", + "created_at", + "data", + "deleted", + "desktop", + "disabled", + "discriminator", + "extended_settings", + "fingerprints", + "flags", + "id", + "mfa_enabled", + "mobile", + "nsfw_allowed", + "premium", + "premium_since", + "premium_type", + "premium_usage_flags", + "public_flags", + "purchased_flags", + "relationships", + "rights", + "security_keys", + "sessions", + "settings", + "system", + "username", + "verified", + "webauthn_enabled" + ] + }, + "Session": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "session_id": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "client", + "os", + "version" + ] + }, + "client_status": { + "$ref": "#/definitions/ClientStatus" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "client_info", + "client_status", + "id", + "session_id", + "status", + "user", + "user_id" + ] + }, + "ClientStatus": { + "type": "object", + "properties": { + "desktop": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "web": { + "type": "string" + }, + "embedded": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Relationship": { + "type": "object", + "properties": { + "from_id": { + "type": "string" + }, + "from": { + "$ref": "#/definitions/User" + }, + "to_id": { + "type": "string" + }, + "to": { + "$ref": "#/definitions/User" + }, + "nickname": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "from", + "from_id", + "id", + "to", + "to_id", + "type" + ] + }, + "RelationshipType": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" + }, + "ConnectedAccount": { + "type": "object", + "properties": { + "external_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "friend_sync": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string" + }, + "revoked": { + "type": "boolean", + "default": false + }, + "show_activity": { + "type": "integer", + "default": 0 + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean", + "default": true + }, + "visibility": { + "type": "integer", + "default": 0 + }, + "integrations": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "metadata_": {}, + "metadata_visibility": { + "type": "integer", + "default": 0 + }, + "two_way_link": { + "type": "boolean", + "default": false + }, + "token_data": { + "anyOf": [ + { + "$ref": "#/definitions/ConnectedAccountTokenData" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "external_id", + "id", + "name", + "type", + "user", + "user_id" + ] + }, + "UserSettings": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "afk_timeout": { + "type": "integer", + "default": 3600 + }, + "allow_accessibility_detection": { + "type": "boolean", + "default": true + }, + "animate_emoji": { + "type": "boolean", + "default": true + }, + "animate_stickers": { + "type": "integer", + "default": 0 + }, + "contact_sync_enabled": { + "type": "boolean", + "default": false + }, + "convert_emoticons": { + "type": "boolean", + "default": false + }, + "custom_status": { + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "default_guilds_restricted": { + "type": "boolean", + "default": false + }, + "detect_platform_accounts": { + "type": "boolean", + "default": false + }, + "developer_mode": { + "type": "boolean", + "default": true + }, + "disable_games_tab": { + "type": "boolean", + "default": true + }, + "enable_tts_command": { + "type": "boolean", + "default": false + }, + "explicit_content_filter": { + "type": "integer", + "default": 0 + }, + "friend_discovery_flags": { + "type": "integer", + "default": 0 + }, + "friend_source_flags": { + "$ref": "#/definitions/FriendSourceFlags" + }, + "gateway_connected": { + "type": "boolean", + "default": false + }, + "gif_auto_play": { + "type": "boolean", + "default": false + }, + "guild_folders": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildFolder" + }, + "default": [] + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "inline_attachment_media": { + "type": "boolean", + "default": true + }, + "inline_embed_media": { + "type": "boolean", + "default": true + }, + "locale": { + "type": "string", + "default": "en-US" + }, + "message_display_compact": { + "type": "boolean", + "default": false + }, + "native_phone_integration_enabled": { + "type": "boolean", + "default": true + }, + "render_embeds": { + "type": "boolean", + "default": true + }, + "render_reactions": { + "type": "boolean", + "default": true + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "show_current_game": { + "type": "boolean", + "default": true + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string", + "default": "online" + }, + "stream_notifications_enabled": { + "type": "boolean", + "default": false + }, + "theme": { + "enum": [ + "dark", + "light" + ], + "type": "string", + "default": "dark" + }, + "timezone_offset": { + "type": "integer", + "default": 0 + }, + "view_nsfw_guilds": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "afk_timeout", + "allow_accessibility_detection", + "animate_emoji", + "animate_stickers", + "contact_sync_enabled", + "convert_emoticons", + "custom_status", + "default_guilds_restricted", + "detect_platform_accounts", + "developer_mode", + "disable_games_tab", + "enable_tts_command", + "explicit_content_filter", + "friend_discovery_flags", + "friend_source_flags", + "gateway_connected", + "gif_auto_play", + "guild_folders", + "guild_positions", + "index", + "inline_attachment_media", + "inline_embed_media", + "locale", + "message_display_compact", + "native_phone_integration_enabled", + "render_embeds", + "render_reactions", + "restricted_guilds", + "show_current_game", + "status", + "stream_notifications_enabled", + "theme", + "timezone_offset", + "view_nsfw_guilds" + ] + }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "GuildFolder": { + "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" + ] + }, + "SecurityKey": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "key_id": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "counter": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "counter", + "id", + "key_id", + "name", + "public_key", + "user", + "user_id" + ] + }, + "ChannelPermissionOverwrite": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + }, + "Invite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "uses": { + "type": "integer" + }, + "max_uses": { + "type": "integer" + }, + "max_age": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": "string", + "format": "date-time" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "inviter_id": { + "type": "string" + }, + "inviter": { + "$ref": "#/definitions/User" + }, + "target_user_id": { + "type": "string" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" + }, + "vanity_url": { + "type": "boolean" + }, + "flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "code", + "created_at", + "flags", + "guild", + "guild_id", + "inviter", + "max_age", + "max_uses", + "target_user_id", + "temporary", + "uses" + ] + }, + "Message": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "author_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/User" + }, + "member_id": { + "type": "string" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "webhook_id": { + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/Webhook" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "content": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "edited_timestamp": { + "type": "string", + "format": "date-time" + }, + "tts": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "mention_channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "sticker_items": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "reactions": { + "type": "array", + "items": { + "$ref": "#/definitions/Reaction" + } + }, + "nonce": { + "type": "string" + }, + "pinned": { + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "activity": { + "type": "object", + "properties": { + "type": { + "type": "integer" + }, + "party_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "party_id", + "type" + ] + }, + "flags": { + "type": "integer" + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message_id" + ] + }, + "referenced_message": { + "$ref": "#/definitions/Message" + }, + "interaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InteractionType" + }, + "name": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "type", + "user_id" + ] + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "embeds", + "flags", + "id", + "mention_channels", + "mention_roles", + "mentions", + "reactions", + "timestamp", + "type" + ] + }, + "Member": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "nick": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "joined_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "integer" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "pending": { + "type": "boolean" + }, + "settings": { + "$ref": "#/definitions/UserGuildSettings" + }, + "last_message_id": { + "type": "string" + }, + "joined_by": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "communication_disabled_until": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "bio", + "communication_disabled_until", + "deaf", + "guild", + "guild_id", + "id", + "index", + "joined_at", + "joined_by", + "mute", + "pending", + "roles", + "settings", + "user" + ] + }, + "Role": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "color": { + "type": "integer" + }, + "hoist": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "mentionable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "icon": { + "type": "string" + }, + "unicode_emoji": { + "type": "string" + }, + "tags": { + "type": "object", + "properties": { + "bot_id": { + "type": "string" + }, + "integration_id": { + "type": "string" + }, + "premium_subscriber": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "flags": { + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "flags", + "guild", + "guild_id", + "hoist", + "id", + "managed", + "mentionable", + "name", + "permissions", + "position" + ] + }, + "UserGuildSettings": { + "type": "object", + "properties": { + "channel_overrides": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ChannelOverride" + } + }, + { + "type": "null" + } + ] + }, + "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" + }, + "version": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "type": "number", + "enum": [ + 0 + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_overrides", + "flags", + "guild_id", + "hide_muted_channels", + "message_notifications", + "mobile_push", + "mute_config", + "mute_scheduled_events", + "muted", + "notify_highlights", + "suppress_everyone", + "suppress_roles", + "version" + ] + }, + "ChannelOverride": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_notifications", + "mute_config", + "muted" + ] + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "Webhook": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/WebhookType" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "token": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "source_channel_id": { + "type": "string" + }, + "source_channel": { + "$ref": "#/definitions/Channel" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "application", + "application_id", + "avatar", + "channel", + "channel_id", + "id", + "name", + "source_channel", + "source_channel_id", + "type", + "url", + "user", + "user_id" + ] + }, + "WebhookType": { + "enum": [ + 1, + 2, + 3 + ], + "type": "number" + }, + "Application": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "description": { + "type": "string" + }, + "summary": { + "type": "string", + "default": "" + }, + "type": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "hook": { + "type": "boolean", + "default": true + }, + "bot_public": { + "type": "boolean", + "default": true + }, + "bot_require_code_grant": { + "type": "boolean", + "default": false + }, + "verify_key": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "redirect_uris": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "rpc_application_state": { + "type": "integer", + "default": 0 + }, + "store_application_state": { + "type": "integer", + "default": 1 + }, + "verification_state": { + "type": "integer", + "default": 1 + }, + "interactions_endpoint_url": { + "type": "string" + }, + "integration_public": { + "type": "boolean", + "default": true + }, + "integration_require_code_grant": { + "type": "boolean", + "default": false + }, + "discoverability_state": { + "type": "integer", + "default": 1 + }, + "discovery_eligibility_flags": { + "type": "integer", + "default": 2240 + }, + "bot": { + "$ref": "#/definitions/User" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "cover_image": { + "type": "string" + }, + "install_params": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "permissions", + "scopes" + ] + }, + "terms_of_service_url": { + "type": "string" + }, + "privacy_policy_url": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "custom_install_url": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "discoverability_state", + "discovery_eligibility_flags", + "flags", + "hook", + "id", + "integration_public", + "integration_require_code_grant", + "name", + "owner", + "redirect_uris", + "rpc_application_state", + "store_application_state", + "summary", + "verification_state", + "verify_key" + ] + }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, + "TeamMember": { + "type": "object", + "properties": { + "membership_state": { + "$ref": "#/definitions/TeamMemberState" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/definitions/TeamMemberRole" + }, + "team_id": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "membership_state", + "permissions", + "role", + "team", + "team_id", + "user", + "user_id" + ] + }, + "TeamMemberState": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "TeamMemberRole": { + "enum": [ + "admin", + "developer", + "read_only" + ], + "type": "string" + }, + "Sticker": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "available": { + "type": "boolean" + }, + "tags": { + "type": "string" + }, + "pack_id": { + "type": "string" + }, + "pack": { + "$ref": "#/definitions/StickerPack" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "type": { + "$ref": "#/definitions/StickerType" + }, + "format_type": { + "$ref": "#/definitions/StickerFormatType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "format_type", + "id", + "name", + "pack", + "type" + ] + }, + "StickerPack": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "banner_asset_id": { + "type": "string" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "cover_sticker_id": { + "type": "string" + }, + "cover_sticker": { + "$ref": "#/definitions/Sticker" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "stickers" + ] + }, + "StickerType": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "StickerFormatType": { + "enum": [ + 0, + 1, + 2, + 3 + ], + "type": "number" + }, + "Attachment": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + }, + "content_type": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/Message" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id", + "message", + "message_id", + "proxy_url", + "size", + "url" + ] + }, + "Reaction": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "user_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "count", + "emoji", + "user_ids" + ] + }, + "MessageType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 19, + 2, + 20, + 255, + 3, + 4, + 41, + 42, + 43, + 5, + 50, + 6, + 63, + 7, + 8, + 9 + ], + "type": "number" + }, + "InteractionType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "Poll": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "allow_multiselect": { + "type": "boolean" + }, + "results": { + "$ref": "#/definitions/PollResult" + } + }, + "additionalProperties": false, + "required": [ + "allow_multiselect", + "answers", + "expiry", + "question" + ] + }, + "PollResult": { + "type": "object", + "properties": { + "is_finalized": { + "type": "boolean" + }, + "answer_counts": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswerCount" + } + } + }, + "additionalProperties": false, + "required": [ + "answer_counts", + "is_finalized" + ] + }, + "PollAnswerCount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "count": { + "type": "integer" + }, + "me_voted": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "id", + "me_voted" + ] + }, + "VoiceState": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "session_id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "self_deaf": { + "type": "boolean" + }, + "self_mute": { + "type": "boolean" + }, + "self_stream": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "suppress": { + "type": "boolean" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "deaf", + "guild_id", + "id", + "member", + "mute", + "self_deaf", + "self_mute", + "self_video", + "session_id", + "suppress", + "token", + "user", + "user_id" + ] + }, + "ReadState": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "last_message_id": { + "type": "string" + }, + "public_ack": { + "type": "string" + }, + "notifications_cursor": { + "type": "string" + }, + "last_pin_timestamp": { + "type": "string", + "format": "date-time" + }, + "mention_count": { + "type": "integer" + }, + "manual": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "id", + "last_message_id", + "manual", + "mention_count", + "notifications_cursor", + "public_ack", + "user", + "user_id" + ] + }, + "Ban": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "executor_id": { + "type": "string" + }, + "executor": { + "$ref": "#/definitions/User" + }, + "ip": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "executor", + "executor_id", + "guild", + "guild_id", + "id", + "ip", + "user", + "user_id" + ] + }, + "Template": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "usage_count": { + "type": "integer" + }, + "creator_id": { + "type": "string" + }, + "creator": { + "$ref": "#/definitions/User" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "serialized_source_guild": { + "$ref": "#/definitions/Guild" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "created_at", + "creator", + "creator_id", + "id", + "name", + "serialized_source_guild", + "source_guild", + "source_guild_id", + "updated_at" + ] + }, + "Emoji": { + "type": "object", + "properties": { + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "require_colons": { + "type": "boolean" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "available", + "groups", + "guild", + "guild_id", + "id", + "managed", + "name", + "require_colons", + "roles", + "user", + "user_id" + ] + }, + "GuildWelcomeScreen": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "channel_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "enabled", + "welcome_channels" + ] + }, + "HubGuild": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "name" + ] + }, + "EmojiGuild": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "premium_tier": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emojis", + "features", + "id", + "name", + "premium_tier" + ] + }, + "EmojiApplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name" + ] + }, + "GuildMessagesSearchMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "content": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/PublicUser" + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicUser" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "pinned": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "tts": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "edited_timestamp": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "hit": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "additionalProperties": false, + "required": [ + "attachments", + "author", + "channel_id", + "components", + "edited_timestamp", + "embeds", + "flags", + "hit", + "id", + "mention_roles", + "mentions", + "pinned", + "poll", + "timestamp", + "tts", + "type" + ] + }, + "PublicUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "avatar": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "premium_type", + "public_flags", + "username" + ] + }, + "GuildVanityUrl": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "uses": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "code", + "uses" + ] + }, + "GuildVanityUrlNoInvite": { + "type": "object", + "properties": { + "code": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "code" + ] + }, + "Snowflake": { + "description": "A container for useful snowflake-related methods.", + "type": "object", + "additionalProperties": false + }, + "HubDirectoryEntry": { + "type": "object", + "properties": { + "author_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory_channel_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "primary_category_id": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "author_id", + "created_at", + "description", + "directory_channel_id", + "guild", + "primary_category_id", + "type" + ] + }, + "GuildCreateResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "mfa_level": { + "type": "integer" + }, + "owner_id": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen" + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean" + }, + "parent": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "guild_template_code": { + "type": "string" + }, + "staff_only": { + "type": "boolean" + }, + "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" + }, + "discovery_splash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "nsfw", + "welcome_screen", + "widget_enabled" + ] + }, + "RefreshedUrl": { + "type": "object", + "properties": { + "original": { + "type": "string" + }, + "refreshed": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "original", + "refreshed" + ] + }, + "TenorGifResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "src": { + "type": "string" + }, + "gif_src": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "preview": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "gif_src", + "height", + "id", + "preview", + "src", + "title", + "url", + "width" + ] + }, + "BackupCode": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/User" + }, + "code": { + "type": "string" + }, + "consumed": { + "type": "boolean" + }, + "expired": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "consumed", + "expired", + "id", + "user" + ] + }, + "APIGuild": { + "type": "object", + "properties": { + "reload": { + "description": "Reloads entity data from the database.", + "type": "object", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "toJSON": { + "type": "object", + "additionalProperties": false + }, + "_do_validate": { + "type": "object", + "additionalProperties": false + }, + "assign": { + "type": "object", + "additionalProperties": false + }, + "hasId": { + "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", + "type": "object", + "additionalProperties": false + }, + "save": { + "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", + "type": "object", + "additionalProperties": false + }, + "remove": { + "description": "Removes current entity from the database.", + "type": "object", + "additionalProperties": false + }, + "softRemove": { + "description": "Records the delete date of current entity.", + "type": "object", + "additionalProperties": false + }, + "recover": { + "description": "Recovers a given entity in the database.", + "type": "object", + "additionalProperties": false + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "banner": { + "type": "string" + }, + "unavailable": { + "type": "boolean" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "splash": { + "type": "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" + }, + "discovery_splash": { + "type": "string" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "mfa_level": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "permissions": { + "type": "integer" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "_do_validate", + "assign", + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "hasId", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "recover", + "reload", + "remove", + "roles", + "save", + "softRemove", + "stickers", + "toJSON", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "DmChannelDTO": { + "type": "object", + "properties": { + "icon": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": "string" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "origin_channel_id": { + "type": [ + "null", + "string" + ] + }, + "owner_id": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/MinimalPublicUserDTO" + } + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "last_message_id", + "name", + "origin_channel_id", + "recipients", + "type" + ] + }, + "MinimalPublicUserDTO": { + "type": "object", + "properties": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "badge_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, + "Categories": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "localizations": { + "type": "string" + }, + "is_primary": { + "type": "boolean" + }, + "icon": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "is_primary", + "localizations", + "name" + ] + }, + "GuildVoiceRegion": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "custom": { + "type": "boolean" + }, + "deprecated": { + "type": "boolean" + }, + "optimal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom", + "deprecated", + "id", + "name", + "optimal" + ] + }, + "UserLimits": { + "type": "object", + "properties": { + "maxGuilds": { + "type": "integer", + "default": 1048576 + }, + "maxUsername": { + "type": "integer", + "default": 32 + }, + "maxFriends": { + "type": "integer", + "default": 5000 + }, + "maxBio": { + "type": "integer", + "default": 190 + } + }, + "additionalProperties": false, + "required": [ + "maxBio", + "maxFriends", + "maxGuilds", + "maxUsername" + ] + }, + "GuildLimits": { + "type": "object", + "properties": { + "maxRoles": { + "type": "integer", + "default": 1000 + }, + "maxEmojis": { + "type": "integer", + "default": 2000 + }, + "maxMembers": { + "type": "integer", + "default": 25000000 + }, + "maxChannels": { + "type": "integer", + "default": 65535 + }, + "maxBulkBanUsers": { + "type": "integer", + "default": 200 + }, + "maxChannelsInCategory": { + "type": "integer", + "default": 65535 + } + }, + "additionalProperties": false, + "required": [ + "maxBulkBanUsers", + "maxChannels", + "maxChannelsInCategory", + "maxEmojis", + "maxMembers", + "maxRoles" + ] + }, + "MessageLimits": { + "type": "object", + "properties": { + "maxCharacters": { + "type": "integer", + "default": 1048576 + }, + "maxTTSCharacters": { + "type": "integer", + "default": 160 + }, + "maxReactions": { + "type": "integer", + "default": 2048 + }, + "maxAttachmentSize": { + "type": "integer", + "default": 1073741824 + }, + "maxBulkDelete": { + "type": "integer", + "default": 1000 + }, + "maxEmbedDownloadSize": { + "type": "integer", + "default": 5242880 + } + }, + "additionalProperties": false, + "required": [ + "maxAttachmentSize", + "maxBulkDelete", + "maxCharacters", + "maxEmbedDownloadSize", + "maxReactions", + "maxTTSCharacters" + ] + }, + "ChannelLimits": { + "type": "object", + "properties": { + "maxPins": { + "type": "integer", + "default": 500 + }, + "maxTopic": { + "type": "integer", + "default": 1024 + }, + "maxWebhooks": { + "type": "integer", + "default": 100 + } + }, + "additionalProperties": false, + "required": [ + "maxPins", + "maxTopic", + "maxWebhooks" + ] + }, + "RateLimits": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": false + }, + "ip": { + "$ref": "#/definitions/RateLimitOptions" + }, + "global": { + "$ref": "#/definitions/RateLimitOptions" + }, + "error": { + "$ref": "#/definitions/RateLimitOptions" + }, + "routes": { + "$ref": "#/definitions/RouteRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "error", + "global", + "ip", + "routes" + ] + }, + "RateLimitOptions": { + "type": "object", + "properties": { + "bot": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "window": { + "type": "integer" + }, + "onyIp": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "window" + ] + }, + "RouteRateLimit": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/definitions/RateLimitOptions" + }, + "webhook": { + "$ref": "#/definitions/RateLimitOptions" + }, + "channel": { + "$ref": "#/definitions/RateLimitOptions" + }, + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "auth", + "channel", + "guild", + "webhook" + ] + }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, + "GlobalRateLimits": { + "type": "object", + "properties": { + "register": { + "$ref": "#/definitions/GlobalRateLimit" + }, + "sendMessage": { + "$ref": "#/definitions/GlobalRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "register", + "sendMessage" + ] + }, + "GlobalRateLimit": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 100 + }, + "window": { + "type": "integer", + "default": 3600000 + }, + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "limit", + "window" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "UserProfile": { + "type": "object", + "properties": { + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio" + ] + }, + "Badge": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "icon", + "id" + ] + }, + "GenerateWebAuthnCredentialsSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ] + }, + "CreateWebAuthnCredentialSchema": { + "type": "object", + "properties": { + "credential": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ticket": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "credential", + "name", + "ticket" + ] + }, + "TokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "settings": { + "$ref": "#/definitions/UserSettings" + } + }, + "additionalProperties": false, + "required": [ + "settings", + "token" + ] + }, + "MFAResponse": { + "type": "object", + "properties": { + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token" + ] + }, + "WebAuthnResponse": { + "type": "object", + "properties": { + "webauthn": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token", + "webauthn" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ], + "definitions": { + "Network.Headers": { + "description": "Request / response headers as keys / values of JSON object.", + "type": "object", + "additionalProperties": false + }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "ConnectedAccountTokenData": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "token_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + }, + "fetched_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "access_token", + "fetched_at" + ] + }, + "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" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } + }, + "parent_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "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 + }, + "GuildSubscriptionSchema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "activities": { + "type": "boolean" + }, + "threads": { + "type": "boolean" + }, + "typing": { + "enum": [ + true + ], + "type": "boolean" + }, + "members": { + "type": "array", + "items": { + "type": "string" + } + }, + "member_updates": { + "type": "boolean" + }, + "thread_member_lists": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false + }, + "ActivitySchema": { + "type": "object", + "properties": { + "afk": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "since": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "Status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "Activity": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ActivityType" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "timestamps": { + "type": "object", + "properties": { + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "application_id": { + "type": "string" + }, + "details": { + "type": "string" + }, + "state": { + "type": "string" + }, + "emoji": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "name" + ] + }, + "party": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "size": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "assets": { + "type": "object", + "properties": { + "large_image": { + "type": "string" + }, + "large_text": { + "type": "string" + }, + "small_image": { + "type": "string" + }, + "small_text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "secrets": { + "type": "object", + "properties": { + "join": { + "type": "string" + }, + "spectate": { + "type": "string" + }, + "match": { + "type": "string" + } + }, + "additionalProperties": false + }, + "instance": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "id": { + "type": "string" + }, + "sync_id": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "context_uri": { + "type": "string" + }, + "album_id": { + "type": "string" + }, + "artist_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "album_id", + "artist_ids" + ] + }, + "session_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "name", + "session_id", + "type" + ] + }, + "ActivityType": { + "enum": [ + 0, + 1, + 2, + 4, + 5 + ], + "type": "number" + }, + "Embed": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "type": { + "enum": [ + "article", + "gifv", + "image", + "link", + "rich", + "video" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "color": { + "type": "integer" + }, + "footer": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "image": { + "$ref": "#/definitions/EmbedImage" + }, + "thumbnail": { + "$ref": "#/definitions/EmbedImage" + }, + "video": { + "$ref": "#/definitions/EmbedImage" + }, + "provider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "inline": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "value" + ] + } + } + }, + "additionalProperties": false + }, + "EmbedImage": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "ActionRowComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.ActionRow" + }, + "components": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/ButtonComponent" + }, + { + "$ref": "#/definitions/SelectMenuComponent" + }, + { + "$ref": "#/definitions/StringSelectMenuComponent" + }, + { + "$ref": "#/definitions/TextInputComponent" + } + ] + } + } + }, + "additionalProperties": false, + "required": [ + "components", + "type" + ] + }, + "MessageComponentType.ActionRow": { + "type": "number", + "enum": [ + 1 + ] + }, + "ButtonComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.Button" + }, + "style": { + "$ref": "#/definitions/ButtonStyle" + }, + "label": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "custom_id": { + "type": "string" + }, + "sku_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "style", + "type" + ] + }, + "MessageComponentType.Button": { + "type": "number", + "enum": [ + 2 + ] + }, + "ButtonStyle": { + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "type": "number" + }, + "PartialEmoji": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "SelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "enum": [ + 3, + 5, + 6, + 7, + 8 + ], + "type": "number" + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "type" + ] + }, + "SelectMenuDefaultOption": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "channel", + "role", + "user" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ] + }, + "StringSelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.StringSelect" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuOption" + } + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "options", + "type" + ] + }, + "MessageComponentType.StringSelect": { + "type": "number", + "enum": [ + 3 + ] + }, + "SelectMenuOption": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "default": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "TextInputComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.TextInput" + }, + "custom_id": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/TextInputStyle" + }, + "label": { + "type": "string" + }, + "min_length": { + "type": "integer" + }, + "max_length": { + "type": "integer" + }, + "required": { + "type": "boolean" + }, + "value": { + "type": "string" + }, + "placeholder": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "label", + "style", + "type" + ] + }, + "MessageComponentType.TextInput": { + "type": "number", + "enum": [ + 4 + ] + }, + "TextInputStyle": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "PollCreationSchema": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "duration": { + "type": "integer" + }, + "allow_multiselect": { + "type": "boolean" + }, + "layout_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "answers", + "question" + ] + }, + "PollMedia": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + } + }, + "additionalProperties": false + }, + "PollAnswer": { + "type": "object", + "properties": { + "answer_id": { + "type": "string" + }, + "poll_media": { + "$ref": "#/definitions/PollMedia" + } + }, + "additionalProperties": false, + "required": [ + "poll_media" + ] + }, + "APIErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "_errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "_errors" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ] + }, + "CaptchaRequiredResponse": { + "type": "object", + "properties": { + "captcha_key": { + "type": "string" + }, + "captcha_sitekey": { + "type": "string" + }, + "captcha_service": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "captcha_key", + "captcha_service", + "captcha_sitekey" + ] + }, + "Guild": { + "type": "object", + "properties": { + "afk_channel_id": { + "type": "string" + }, + "afk_channel": { + "$ref": "#/definitions/Channel" + }, + "afk_timeout": { + "type": "integer" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "banner": { + "type": "string" + }, + "default_message_notifications": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "discovery_splash": { + "type": "string" + }, + "explicit_content_filter": { + "type": "integer" + }, + "features": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "primary_category_id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "large": { + "type": "boolean", + "default": false + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "template_id": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/Template" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "mfa_level": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "preferred_locale": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "public_updates_channel_id": { + "type": "string" + }, + "public_updates_channel": { + "$ref": "#/definitions/Channel" + }, + "rules_channel_id": { + "type": "string" + }, + "rules_channel": { + "type": "string" + }, + "region": { + "type": "string" + }, + "splash": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "system_channel": { + "$ref": "#/definitions/Channel" + }, + "system_channel_flags": { + "type": "integer" + }, + "unavailable": { + "type": "boolean", + "default": false + }, + "verification_level": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_channel": { + "$ref": "#/definitions/Channel" + }, + "widget_enabled": { + "type": "boolean", + "default": true + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "string" + }, + "permissions": { + "type": "integer" + }, + "premium_progress_bar_enabled": { + "type": "boolean", + "default": false + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "roles", + "stickers", + "template", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "Channel": { + "type": "object", + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "last_message_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "parent": { + "$ref": "#/definitions/Channel" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "last_pin_timestamp": { + "type": "integer" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "video_quality_mode": { + "type": "integer" + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "rate_limit_per_user": { + "type": "integer" + }, + "topic": { + "type": "string" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "retention_policy_id": { + "type": "string" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/Message" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "read_states": { + "type": "array", + "items": { + "$ref": "#/definitions/ReadState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "flags": { + "type": "integer", + "default": 0 + }, + "default_thread_rate_limit_per_user": { + "type": "integer", + "default": 0 + }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "default_thread_rate_limit_per_user", + "flags", + "id", + "nsfw", + "owner", + "parent_id", + "position", + "type" + ] + }, + "ChannelType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "Recipient": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "closed": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "closed", + "id", + "user", + "user_id" + ] + }, + "User": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "desktop": { + "type": "boolean", + "default": false + }, + "mobile": { + "type": "boolean", + "default": false + }, + "premium": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "bot": { + "type": "boolean", + "default": false + }, + "bio": { + "type": "string", + "default": "" + }, + "system": { + "type": "boolean", + "default": false + }, + "nsfw_allowed": { + "type": "boolean", + "default": true + }, + "mfa_enabled": { + "type": "boolean", + "default": false + }, + "webauthn_enabled": { + "type": "boolean", + "default": false + }, + "totp_secret": { + "type": "string", + "default": "" + }, + "totp_last_ticket": { + "type": "string", + "default": "" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "verified": { + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "deleted": { + "type": "boolean", + "default": false + }, + "email": { + "type": "string" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "public_flags": { + "type": "integer", + "default": 0 + }, + "purchased_flags": { + "type": "integer", + "default": 0 + }, + "premium_usage_flags": { + "type": "integer", + "default": 0 + }, + "rights": { + "type": "string" + }, + "sessions": { + "type": "array", + "items": { + "$ref": "#/definitions/Session" + } + }, + "relationships": { + "type": "array", + "items": { + "$ref": "#/definitions/Relationship" + } + }, + "connected_accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedAccount" + } + }, + "data": { + "type": "object", + "properties": { + "valid_tokens_since": { + "type": "string", + "format": "date-time" + }, + "hash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "valid_tokens_since" + ] + }, + "fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "settings": { + "$ref": "#/definitions/UserSettings" + }, + "extended_settings": { + "type": "string", + "default": "{}" + }, + "security_keys": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityKey" + } + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "connected_accounts", + "created_at", + "data", + "deleted", + "desktop", + "disabled", + "discriminator", + "extended_settings", + "fingerprints", + "flags", + "id", + "mfa_enabled", + "mobile", + "nsfw_allowed", + "premium", + "premium_since", + "premium_type", + "premium_usage_flags", + "public_flags", + "purchased_flags", + "relationships", + "rights", + "security_keys", + "sessions", + "settings", + "system", + "username", + "verified", + "webauthn_enabled" + ] + }, + "Session": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "session_id": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "client", + "os", + "version" + ] + }, + "client_status": { + "$ref": "#/definitions/ClientStatus" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "client_info", + "client_status", + "id", + "session_id", + "status", + "user", + "user_id" + ] + }, + "ClientStatus": { + "type": "object", + "properties": { + "desktop": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "web": { + "type": "string" + }, + "embedded": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Relationship": { + "type": "object", + "properties": { + "from_id": { + "type": "string" + }, + "from": { + "$ref": "#/definitions/User" + }, + "to_id": { + "type": "string" + }, + "to": { + "$ref": "#/definitions/User" + }, + "nickname": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "from", + "from_id", + "id", + "to", + "to_id", + "type" + ] + }, + "RelationshipType": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" + }, + "ConnectedAccount": { + "type": "object", + "properties": { + "external_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "friend_sync": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string" + }, + "revoked": { + "type": "boolean", + "default": false + }, + "show_activity": { + "type": "integer", + "default": 0 + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean", + "default": true + }, + "visibility": { + "type": "integer", + "default": 0 + }, + "integrations": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "metadata_": {}, + "metadata_visibility": { + "type": "integer", + "default": 0 + }, + "two_way_link": { + "type": "boolean", + "default": false + }, + "token_data": { + "anyOf": [ + { + "$ref": "#/definitions/ConnectedAccountTokenData" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "external_id", + "id", + "name", + "type", + "user", + "user_id" + ] + }, + "UserSettings": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "afk_timeout": { + "type": "integer", + "default": 3600 + }, + "allow_accessibility_detection": { + "type": "boolean", + "default": true + }, + "animate_emoji": { + "type": "boolean", + "default": true + }, + "animate_stickers": { + "type": "integer", + "default": 0 + }, + "contact_sync_enabled": { + "type": "boolean", + "default": false + }, + "convert_emoticons": { + "type": "boolean", + "default": false + }, + "custom_status": { + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "default_guilds_restricted": { + "type": "boolean", + "default": false + }, + "detect_platform_accounts": { + "type": "boolean", + "default": false + }, + "developer_mode": { + "type": "boolean", + "default": true + }, + "disable_games_tab": { + "type": "boolean", + "default": true + }, + "enable_tts_command": { + "type": "boolean", + "default": false + }, + "explicit_content_filter": { + "type": "integer", + "default": 0 + }, + "friend_discovery_flags": { + "type": "integer", + "default": 0 + }, + "friend_source_flags": { + "$ref": "#/definitions/FriendSourceFlags" + }, + "gateway_connected": { + "type": "boolean", + "default": false + }, + "gif_auto_play": { + "type": "boolean", + "default": false + }, + "guild_folders": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildFolder" + }, + "default": [] + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "inline_attachment_media": { + "type": "boolean", + "default": true + }, + "inline_embed_media": { + "type": "boolean", + "default": true + }, + "locale": { + "type": "string", + "default": "en-US" + }, + "message_display_compact": { + "type": "boolean", + "default": false + }, + "native_phone_integration_enabled": { + "type": "boolean", + "default": true + }, + "render_embeds": { + "type": "boolean", + "default": true + }, + "render_reactions": { + "type": "boolean", + "default": true + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "show_current_game": { + "type": "boolean", + "default": true + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string", + "default": "online" + }, + "stream_notifications_enabled": { + "type": "boolean", + "default": false + }, + "theme": { + "enum": [ + "dark", + "light" + ], + "type": "string", + "default": "dark" + }, + "timezone_offset": { + "type": "integer", + "default": 0 + }, + "view_nsfw_guilds": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "afk_timeout", + "allow_accessibility_detection", + "animate_emoji", + "animate_stickers", + "contact_sync_enabled", + "convert_emoticons", + "custom_status", + "default_guilds_restricted", + "detect_platform_accounts", + "developer_mode", + "disable_games_tab", + "enable_tts_command", + "explicit_content_filter", + "friend_discovery_flags", + "friend_source_flags", + "gateway_connected", + "gif_auto_play", + "guild_folders", + "guild_positions", + "index", + "inline_attachment_media", + "inline_embed_media", + "locale", + "message_display_compact", + "native_phone_integration_enabled", + "render_embeds", + "render_reactions", + "restricted_guilds", + "show_current_game", + "status", + "stream_notifications_enabled", + "theme", + "timezone_offset", + "view_nsfw_guilds" + ] + }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "GuildFolder": { + "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" + ] + }, + "SecurityKey": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "key_id": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "counter": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "counter", + "id", + "key_id", + "name", + "public_key", + "user", + "user_id" + ] + }, + "ChannelPermissionOverwrite": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + }, + "Invite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "uses": { + "type": "integer" + }, + "max_uses": { + "type": "integer" + }, + "max_age": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": "string", + "format": "date-time" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "inviter_id": { + "type": "string" + }, + "inviter": { + "$ref": "#/definitions/User" + }, + "target_user_id": { + "type": "string" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" + }, + "vanity_url": { + "type": "boolean" + }, + "flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "code", + "created_at", + "flags", + "guild", + "guild_id", + "inviter", + "max_age", + "max_uses", + "target_user_id", + "temporary", + "uses" + ] + }, + "Message": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "author_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/User" + }, + "member_id": { + "type": "string" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "webhook_id": { + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/Webhook" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "content": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "edited_timestamp": { + "type": "string", + "format": "date-time" + }, + "tts": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "mention_channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "sticker_items": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "reactions": { + "type": "array", + "items": { + "$ref": "#/definitions/Reaction" + } + }, + "nonce": { + "type": "string" + }, + "pinned": { + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "activity": { + "type": "object", + "properties": { + "type": { + "type": "integer" + }, + "party_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "party_id", + "type" + ] + }, + "flags": { + "type": "integer" + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message_id" + ] + }, + "referenced_message": { + "$ref": "#/definitions/Message" + }, + "interaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InteractionType" + }, + "name": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "type", + "user_id" + ] + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "embeds", + "flags", + "id", + "mention_channels", + "mention_roles", + "mentions", + "reactions", + "timestamp", + "type" + ] + }, + "Member": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "nick": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "joined_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "integer" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "pending": { + "type": "boolean" + }, + "settings": { + "$ref": "#/definitions/UserGuildSettings" + }, + "last_message_id": { + "type": "string" + }, + "joined_by": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "communication_disabled_until": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "bio", + "communication_disabled_until", + "deaf", + "guild", + "guild_id", + "id", + "index", + "joined_at", + "joined_by", + "mute", + "pending", + "roles", + "settings", + "user" + ] + }, + "Role": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "color": { + "type": "integer" + }, + "hoist": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "mentionable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "icon": { + "type": "string" + }, + "unicode_emoji": { + "type": "string" + }, + "tags": { + "type": "object", + "properties": { + "bot_id": { + "type": "string" + }, + "integration_id": { + "type": "string" + }, + "premium_subscriber": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "flags": { + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "flags", + "guild", + "guild_id", + "hoist", + "id", + "managed", + "mentionable", + "name", + "permissions", + "position" + ] + }, + "UserGuildSettings": { + "type": "object", + "properties": { + "channel_overrides": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ChannelOverride" + } + }, + { + "type": "null" + } + ] + }, + "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" + }, + "version": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "type": "number", + "enum": [ + 0 + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_overrides", + "flags", + "guild_id", + "hide_muted_channels", + "message_notifications", + "mobile_push", + "mute_config", + "mute_scheduled_events", + "muted", + "notify_highlights", + "suppress_everyone", + "suppress_roles", + "version" + ] + }, + "ChannelOverride": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_notifications", + "mute_config", + "muted" + ] + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "Webhook": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/WebhookType" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "token": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "source_channel_id": { + "type": "string" + }, + "source_channel": { + "$ref": "#/definitions/Channel" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "application", + "application_id", + "avatar", + "channel", + "channel_id", + "id", + "name", + "source_channel", + "source_channel_id", + "type", + "url", + "user", + "user_id" + ] + }, + "WebhookType": { + "enum": [ + 1, + 2, + 3 + ], + "type": "number" + }, + "Application": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "description": { + "type": "string" + }, + "summary": { + "type": "string", + "default": "" + }, + "type": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "hook": { + "type": "boolean", + "default": true + }, + "bot_public": { + "type": "boolean", + "default": true + }, + "bot_require_code_grant": { + "type": "boolean", + "default": false + }, + "verify_key": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "redirect_uris": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "rpc_application_state": { + "type": "integer", + "default": 0 + }, + "store_application_state": { + "type": "integer", + "default": 1 + }, + "verification_state": { + "type": "integer", + "default": 1 + }, + "interactions_endpoint_url": { + "type": "string" + }, + "integration_public": { + "type": "boolean", + "default": true + }, + "integration_require_code_grant": { + "type": "boolean", + "default": false + }, + "discoverability_state": { + "type": "integer", + "default": 1 + }, + "discovery_eligibility_flags": { + "type": "integer", + "default": 2240 + }, + "bot": { + "$ref": "#/definitions/User" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "cover_image": { + "type": "string" + }, + "install_params": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "permissions", + "scopes" + ] + }, + "terms_of_service_url": { + "type": "string" + }, + "privacy_policy_url": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "custom_install_url": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "discoverability_state", + "discovery_eligibility_flags", + "flags", + "hook", + "id", + "integration_public", + "integration_require_code_grant", + "name", + "owner", + "redirect_uris", + "rpc_application_state", + "store_application_state", + "summary", + "verification_state", + "verify_key" + ] + }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, + "TeamMember": { + "type": "object", + "properties": { + "membership_state": { + "$ref": "#/definitions/TeamMemberState" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/definitions/TeamMemberRole" + }, + "team_id": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "membership_state", + "permissions", + "role", + "team", + "team_id", + "user", + "user_id" + ] + }, + "TeamMemberState": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "TeamMemberRole": { + "enum": [ + "admin", + "developer", + "read_only" + ], + "type": "string" + }, + "Sticker": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "available": { + "type": "boolean" + }, + "tags": { + "type": "string" + }, + "pack_id": { + "type": "string" + }, + "pack": { + "$ref": "#/definitions/StickerPack" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "type": { + "$ref": "#/definitions/StickerType" + }, + "format_type": { + "$ref": "#/definitions/StickerFormatType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "format_type", + "id", + "name", + "pack", + "type" + ] + }, + "StickerPack": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "banner_asset_id": { + "type": "string" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "cover_sticker_id": { + "type": "string" + }, + "cover_sticker": { + "$ref": "#/definitions/Sticker" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "stickers" + ] + }, + "StickerType": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "StickerFormatType": { + "enum": [ + 0, + 1, + 2, + 3 + ], + "type": "number" + }, + "Attachment": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + }, + "content_type": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/Message" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id", + "message", + "message_id", + "proxy_url", + "size", + "url" + ] + }, + "Reaction": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "user_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "count", + "emoji", + "user_ids" + ] + }, + "MessageType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 19, + 2, + 20, + 255, + 3, + 4, + 41, + 42, + 43, + 5, + 50, + 6, + 63, + 7, + 8, + 9 + ], + "type": "number" + }, + "InteractionType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "Poll": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "allow_multiselect": { + "type": "boolean" + }, + "results": { + "$ref": "#/definitions/PollResult" + } + }, + "additionalProperties": false, + "required": [ + "allow_multiselect", + "answers", + "expiry", + "question" + ] + }, + "PollResult": { + "type": "object", + "properties": { + "is_finalized": { + "type": "boolean" + }, + "answer_counts": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswerCount" + } + } + }, + "additionalProperties": false, + "required": [ + "answer_counts", + "is_finalized" + ] + }, + "PollAnswerCount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "count": { + "type": "integer" + }, + "me_voted": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "id", + "me_voted" + ] + }, + "VoiceState": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "session_id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "self_deaf": { + "type": "boolean" + }, + "self_mute": { + "type": "boolean" + }, + "self_stream": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "suppress": { + "type": "boolean" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "deaf", + "guild_id", + "id", + "member", + "mute", + "self_deaf", + "self_mute", + "self_video", + "session_id", + "suppress", + "token", + "user", + "user_id" + ] + }, + "ReadState": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "last_message_id": { + "type": "string" + }, + "public_ack": { + "type": "string" + }, + "notifications_cursor": { + "type": "string" + }, + "last_pin_timestamp": { + "type": "string", + "format": "date-time" + }, + "mention_count": { + "type": "integer" + }, + "manual": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "id", + "last_message_id", + "manual", + "mention_count", + "notifications_cursor", + "public_ack", + "user", + "user_id" + ] + }, + "Ban": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "executor_id": { + "type": "string" + }, + "executor": { + "$ref": "#/definitions/User" + }, + "ip": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "executor", + "executor_id", + "guild", + "guild_id", + "id", + "ip", + "user", + "user_id" + ] + }, + "Template": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "usage_count": { + "type": "integer" + }, + "creator_id": { + "type": "string" + }, + "creator": { + "$ref": "#/definitions/User" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "serialized_source_guild": { + "$ref": "#/definitions/Guild" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "created_at", + "creator", + "creator_id", + "id", + "name", + "serialized_source_guild", + "source_guild", + "source_guild_id", + "updated_at" + ] + }, + "Emoji": { + "type": "object", + "properties": { + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "require_colons": { + "type": "boolean" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "available", + "groups", + "guild", + "guild_id", + "id", + "managed", + "name", + "require_colons", + "roles", + "user", + "user_id" + ] + }, + "GuildWelcomeScreen": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "channel_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "enabled", + "welcome_channels" + ] + }, + "HubGuild": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "name" + ] + }, + "EmojiGuild": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "premium_tier": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emojis", + "features", + "id", + "name", + "premium_tier" + ] + }, + "EmojiApplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name" + ] + }, + "GuildMessagesSearchMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "content": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/PublicUser" + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicUser" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "pinned": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "tts": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "edited_timestamp": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "hit": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "additionalProperties": false, + "required": [ + "attachments", + "author", + "channel_id", + "components", + "edited_timestamp", + "embeds", + "flags", + "hit", + "id", + "mention_roles", + "mentions", + "pinned", + "poll", + "timestamp", + "tts", + "type" + ] + }, + "PublicUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "avatar": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "premium_type", + "public_flags", + "username" + ] + }, + "GuildVanityUrl": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "uses": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "code", + "uses" + ] + }, + "GuildVanityUrlNoInvite": { + "type": "object", + "properties": { + "code": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "code" + ] + }, + "Snowflake": { + "description": "A container for useful snowflake-related methods.", + "type": "object", + "additionalProperties": false + }, + "HubDirectoryEntry": { + "type": "object", + "properties": { + "author_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory_channel_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "primary_category_id": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "author_id", + "created_at", + "description", + "directory_channel_id", + "guild", + "primary_category_id", + "type" + ] + }, + "GuildCreateResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "mfa_level": { + "type": "integer" + }, + "owner_id": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen" + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean" + }, + "parent": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "guild_template_code": { + "type": "string" + }, + "staff_only": { + "type": "boolean" + }, + "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" + }, + "discovery_splash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "nsfw", + "welcome_screen", + "widget_enabled" + ] + }, + "RefreshedUrl": { + "type": "object", + "properties": { + "original": { + "type": "string" + }, + "refreshed": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "original", + "refreshed" + ] + }, + "TenorGifResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "src": { + "type": "string" + }, + "gif_src": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "preview": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "gif_src", + "height", + "id", + "preview", + "src", + "title", + "url", + "width" + ] + }, + "BackupCode": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/User" + }, + "code": { + "type": "string" + }, + "consumed": { + "type": "boolean" + }, + "expired": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "consumed", + "expired", + "id", + "user" + ] + }, + "APIGuild": { + "type": "object", + "properties": { + "reload": { + "description": "Reloads entity data from the database.", + "type": "object", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "toJSON": { + "type": "object", + "additionalProperties": false + }, + "_do_validate": { + "type": "object", + "additionalProperties": false + }, + "assign": { + "type": "object", + "additionalProperties": false + }, + "hasId": { + "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", + "type": "object", + "additionalProperties": false + }, + "save": { + "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", + "type": "object", + "additionalProperties": false + }, + "remove": { + "description": "Removes current entity from the database.", + "type": "object", + "additionalProperties": false + }, + "softRemove": { + "description": "Records the delete date of current entity.", + "type": "object", + "additionalProperties": false + }, + "recover": { + "description": "Recovers a given entity in the database.", + "type": "object", + "additionalProperties": false + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "banner": { + "type": "string" + }, + "unavailable": { + "type": "boolean" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "splash": { + "type": "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" + }, + "discovery_splash": { + "type": "string" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "mfa_level": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "permissions": { + "type": "integer" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "_do_validate", + "assign", + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "hasId", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "recover", + "reload", + "remove", + "roles", + "save", + "softRemove", + "stickers", + "toJSON", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "DmChannelDTO": { + "type": "object", + "properties": { + "icon": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": "string" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "origin_channel_id": { + "type": [ + "null", + "string" + ] + }, + "owner_id": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/MinimalPublicUserDTO" + } + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "last_message_id", + "name", + "origin_channel_id", + "recipients", + "type" + ] + }, + "MinimalPublicUserDTO": { + "type": "object", + "properties": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "badge_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, + "Categories": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "localizations": { + "type": "string" + }, + "is_primary": { + "type": "boolean" + }, + "icon": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "is_primary", + "localizations", + "name" + ] + }, + "GuildVoiceRegion": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "custom": { + "type": "boolean" + }, + "deprecated": { + "type": "boolean" + }, + "optimal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom", + "deprecated", + "id", + "name", + "optimal" + ] + }, + "UserLimits": { + "type": "object", + "properties": { + "maxGuilds": { + "type": "integer", + "default": 1048576 + }, + "maxUsername": { + "type": "integer", + "default": 32 + }, + "maxFriends": { + "type": "integer", + "default": 5000 + }, + "maxBio": { + "type": "integer", + "default": 190 + } + }, + "additionalProperties": false, + "required": [ + "maxBio", + "maxFriends", + "maxGuilds", + "maxUsername" + ] + }, + "GuildLimits": { + "type": "object", + "properties": { + "maxRoles": { + "type": "integer", + "default": 1000 + }, + "maxEmojis": { + "type": "integer", + "default": 2000 + }, + "maxMembers": { + "type": "integer", + "default": 25000000 + }, + "maxChannels": { + "type": "integer", + "default": 65535 + }, + "maxBulkBanUsers": { + "type": "integer", + "default": 200 + }, + "maxChannelsInCategory": { + "type": "integer", + "default": 65535 + } + }, + "additionalProperties": false, + "required": [ + "maxBulkBanUsers", + "maxChannels", + "maxChannelsInCategory", + "maxEmojis", + "maxMembers", + "maxRoles" + ] + }, + "MessageLimits": { + "type": "object", + "properties": { + "maxCharacters": { + "type": "integer", + "default": 1048576 + }, + "maxTTSCharacters": { + "type": "integer", + "default": 160 + }, + "maxReactions": { + "type": "integer", + "default": 2048 + }, + "maxAttachmentSize": { + "type": "integer", + "default": 1073741824 + }, + "maxBulkDelete": { + "type": "integer", + "default": 1000 + }, + "maxEmbedDownloadSize": { + "type": "integer", + "default": 5242880 + } + }, + "additionalProperties": false, + "required": [ + "maxAttachmentSize", + "maxBulkDelete", + "maxCharacters", + "maxEmbedDownloadSize", + "maxReactions", + "maxTTSCharacters" + ] + }, + "ChannelLimits": { + "type": "object", + "properties": { + "maxPins": { + "type": "integer", + "default": 500 + }, + "maxTopic": { + "type": "integer", + "default": 1024 + }, + "maxWebhooks": { + "type": "integer", + "default": 100 + } + }, + "additionalProperties": false, + "required": [ + "maxPins", + "maxTopic", + "maxWebhooks" + ] + }, + "RateLimits": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": false + }, + "ip": { + "$ref": "#/definitions/RateLimitOptions" + }, + "global": { + "$ref": "#/definitions/RateLimitOptions" + }, + "error": { + "$ref": "#/definitions/RateLimitOptions" + }, + "routes": { + "$ref": "#/definitions/RouteRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "error", + "global", + "ip", + "routes" + ] + }, + "RateLimitOptions": { + "type": "object", + "properties": { + "bot": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "window": { + "type": "integer" + }, + "onyIp": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "window" + ] + }, + "RouteRateLimit": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/definitions/RateLimitOptions" + }, + "webhook": { + "$ref": "#/definitions/RateLimitOptions" + }, + "channel": { + "$ref": "#/definitions/RateLimitOptions" + }, + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "auth", + "channel", + "guild", + "webhook" + ] + }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, + "GlobalRateLimits": { + "type": "object", + "properties": { + "register": { + "$ref": "#/definitions/GlobalRateLimit" + }, + "sendMessage": { + "$ref": "#/definitions/GlobalRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "register", + "sendMessage" + ] + }, + "GlobalRateLimit": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 100 + }, + "window": { + "type": "integer", + "default": 3600000 + }, + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "limit", + "window" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "UserProfile": { + "type": "object", + "properties": { + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio" + ] + }, + "Badge": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "icon", + "id" + ] + }, + "GenerateWebAuthnCredentialsSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ] + }, + "CreateWebAuthnCredentialSchema": { + "type": "object", + "properties": { + "credential": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ticket": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "credential", + "name", + "ticket" + ] + }, + "TokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "settings": { + "$ref": "#/definitions/UserSettings" + } + }, + "additionalProperties": false, + "required": [ + "settings", + "token" + ] + }, + "MFAResponse": { + "type": "object", + "properties": { + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token" + ] + }, + "WebAuthnResponse": { + "type": "object", + "properties": { + "webauthn": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token", + "webauthn" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ], + "definitions": { + "Network.Headers": { + "description": "Request / response headers as keys / values of JSON object.", + "type": "object", + "additionalProperties": false + }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "ConnectedAccountTokenData": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "token_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + }, + "fetched_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "access_token", + "fetched_at" + ] + }, + "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" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } + }, + "parent_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "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 + }, + "GuildSubscriptionSchema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "activities": { + "type": "boolean" + }, + "threads": { + "type": "boolean" + }, + "typing": { + "enum": [ + true + ], + "type": "boolean" + }, + "members": { + "type": "array", + "items": { + "type": "string" + } + }, + "member_updates": { + "type": "boolean" + }, + "thread_member_lists": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false + }, + "ActivitySchema": { + "type": "object", + "properties": { + "afk": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "since": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "Status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "Activity": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ActivityType" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "timestamps": { + "type": "object", + "properties": { + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "application_id": { + "type": "string" + }, + "details": { + "type": "string" + }, + "state": { + "type": "string" + }, + "emoji": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "name" + ] + }, + "party": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "size": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "assets": { + "type": "object", + "properties": { + "large_image": { + "type": "string" + }, + "large_text": { + "type": "string" + }, + "small_image": { + "type": "string" + }, + "small_text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "secrets": { + "type": "object", + "properties": { + "join": { + "type": "string" + }, + "spectate": { + "type": "string" + }, + "match": { + "type": "string" + } + }, + "additionalProperties": false + }, + "instance": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "id": { + "type": "string" + }, + "sync_id": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "context_uri": { + "type": "string" + }, + "album_id": { + "type": "string" + }, + "artist_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "album_id", + "artist_ids" + ] + }, + "session_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "name", + "session_id", + "type" + ] + }, + "ActivityType": { + "enum": [ + 0, + 1, + 2, + 4, + 5 + ], + "type": "number" + }, + "Embed": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "type": { + "enum": [ + "article", + "gifv", + "image", + "link", + "rich", + "video" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "color": { + "type": "integer" + }, + "footer": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "image": { + "$ref": "#/definitions/EmbedImage" + }, + "thumbnail": { + "$ref": "#/definitions/EmbedImage" + }, + "video": { + "$ref": "#/definitions/EmbedImage" + }, + "provider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "inline": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "value" + ] + } + } + }, + "additionalProperties": false + }, + "EmbedImage": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "ActionRowComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.ActionRow" + }, + "components": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/ButtonComponent" + }, + { + "$ref": "#/definitions/SelectMenuComponent" + }, + { + "$ref": "#/definitions/StringSelectMenuComponent" + }, + { + "$ref": "#/definitions/TextInputComponent" + } + ] + } + } + }, + "additionalProperties": false, + "required": [ + "components", + "type" + ] + }, + "MessageComponentType.ActionRow": { + "type": "number", + "enum": [ + 1 + ] + }, + "ButtonComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.Button" + }, + "style": { + "$ref": "#/definitions/ButtonStyle" + }, + "label": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "custom_id": { + "type": "string" + }, + "sku_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "style", + "type" + ] + }, + "MessageComponentType.Button": { + "type": "number", + "enum": [ + 2 + ] + }, + "ButtonStyle": { + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "type": "number" + }, + "PartialEmoji": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "SelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "enum": [ + 3, + 5, + 6, + 7, + 8 + ], + "type": "number" + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "type" + ] + }, + "SelectMenuDefaultOption": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "channel", + "role", + "user" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ] + }, + "StringSelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.StringSelect" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuOption" + } + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "options", + "type" + ] + }, + "MessageComponentType.StringSelect": { + "type": "number", + "enum": [ + 3 + ] + }, + "SelectMenuOption": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "default": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "TextInputComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.TextInput" + }, + "custom_id": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/TextInputStyle" + }, + "label": { + "type": "string" + }, + "min_length": { + "type": "integer" + }, + "max_length": { + "type": "integer" + }, + "required": { + "type": "boolean" + }, + "value": { + "type": "string" + }, + "placeholder": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "label", + "style", + "type" + ] + }, + "MessageComponentType.TextInput": { + "type": "number", + "enum": [ + 4 + ] + }, + "TextInputStyle": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "PollCreationSchema": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "duration": { + "type": "integer" + }, + "allow_multiselect": { + "type": "boolean" + }, + "layout_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "answers", + "question" + ] + }, + "PollMedia": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + } + }, + "additionalProperties": false + }, + "PollAnswer": { + "type": "object", + "properties": { + "answer_id": { + "type": "string" + }, + "poll_media": { + "$ref": "#/definitions/PollMedia" + } + }, + "additionalProperties": false, + "required": [ + "poll_media" + ] + }, + "APIErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "_errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "_errors" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ] + }, + "CaptchaRequiredResponse": { + "type": "object", + "properties": { + "captcha_key": { + "type": "string" + }, + "captcha_sitekey": { + "type": "string" + }, + "captcha_service": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "captcha_key", + "captcha_service", + "captcha_sitekey" + ] + }, + "Guild": { + "type": "object", + "properties": { + "afk_channel_id": { + "type": "string" + }, + "afk_channel": { + "$ref": "#/definitions/Channel" + }, + "afk_timeout": { + "type": "integer" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "banner": { + "type": "string" + }, + "default_message_notifications": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "discovery_splash": { + "type": "string" + }, + "explicit_content_filter": { + "type": "integer" + }, + "features": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "primary_category_id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "large": { + "type": "boolean", + "default": false + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "template_id": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/Template" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "mfa_level": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "preferred_locale": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "public_updates_channel_id": { + "type": "string" + }, + "public_updates_channel": { + "$ref": "#/definitions/Channel" + }, + "rules_channel_id": { + "type": "string" + }, + "rules_channel": { + "type": "string" + }, + "region": { + "type": "string" + }, + "splash": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "system_channel": { + "$ref": "#/definitions/Channel" + }, + "system_channel_flags": { + "type": "integer" + }, + "unavailable": { + "type": "boolean", + "default": false + }, + "verification_level": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_channel": { + "$ref": "#/definitions/Channel" + }, + "widget_enabled": { + "type": "boolean", + "default": true + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "string" + }, + "permissions": { + "type": "integer" + }, + "premium_progress_bar_enabled": { + "type": "boolean", + "default": false + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "roles", + "stickers", + "template", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "Channel": { + "type": "object", + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "last_message_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "parent": { + "$ref": "#/definitions/Channel" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "last_pin_timestamp": { + "type": "integer" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "video_quality_mode": { + "type": "integer" + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "rate_limit_per_user": { + "type": "integer" + }, + "topic": { + "type": "string" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "retention_policy_id": { + "type": "string" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/Message" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "read_states": { + "type": "array", + "items": { + "$ref": "#/definitions/ReadState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "flags": { + "type": "integer", + "default": 0 + }, + "default_thread_rate_limit_per_user": { + "type": "integer", + "default": 0 + }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "default_thread_rate_limit_per_user", + "flags", + "id", + "nsfw", + "owner", + "parent_id", + "position", + "type" + ] + }, + "ChannelType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "Recipient": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "closed": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "closed", + "id", + "user", + "user_id" + ] + }, + "User": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "desktop": { + "type": "boolean", + "default": false + }, + "mobile": { + "type": "boolean", + "default": false + }, + "premium": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "bot": { + "type": "boolean", + "default": false + }, + "bio": { + "type": "string", + "default": "" + }, + "system": { + "type": "boolean", + "default": false + }, + "nsfw_allowed": { + "type": "boolean", + "default": true + }, + "mfa_enabled": { + "type": "boolean", + "default": false + }, + "webauthn_enabled": { + "type": "boolean", + "default": false + }, + "totp_secret": { + "type": "string", + "default": "" + }, + "totp_last_ticket": { + "type": "string", + "default": "" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "verified": { + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "deleted": { + "type": "boolean", + "default": false + }, + "email": { + "type": "string" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "public_flags": { + "type": "integer", + "default": 0 + }, + "purchased_flags": { + "type": "integer", + "default": 0 + }, + "premium_usage_flags": { + "type": "integer", + "default": 0 + }, + "rights": { + "type": "string" + }, + "sessions": { + "type": "array", + "items": { + "$ref": "#/definitions/Session" + } + }, + "relationships": { + "type": "array", + "items": { + "$ref": "#/definitions/Relationship" + } + }, + "connected_accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedAccount" + } + }, + "data": { + "type": "object", + "properties": { + "valid_tokens_since": { + "type": "string", + "format": "date-time" + }, + "hash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "valid_tokens_since" + ] + }, + "fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "settings": { + "$ref": "#/definitions/UserSettings" + }, + "extended_settings": { + "type": "string", + "default": "{}" + }, + "security_keys": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityKey" + } + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "connected_accounts", + "created_at", + "data", + "deleted", + "desktop", + "disabled", + "discriminator", + "extended_settings", + "fingerprints", + "flags", + "id", + "mfa_enabled", + "mobile", + "nsfw_allowed", + "premium", + "premium_since", + "premium_type", + "premium_usage_flags", + "public_flags", + "purchased_flags", + "relationships", + "rights", + "security_keys", + "sessions", + "settings", + "system", + "username", + "verified", + "webauthn_enabled" + ] + }, + "Session": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "session_id": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "client", + "os", + "version" + ] + }, + "client_status": { + "$ref": "#/definitions/ClientStatus" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "client_info", + "client_status", + "id", + "session_id", + "status", + "user", + "user_id" + ] + }, + "ClientStatus": { + "type": "object", + "properties": { + "desktop": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "web": { + "type": "string" + }, + "embedded": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Relationship": { + "type": "object", + "properties": { + "from_id": { + "type": "string" + }, + "from": { + "$ref": "#/definitions/User" + }, + "to_id": { + "type": "string" + }, + "to": { + "$ref": "#/definitions/User" + }, + "nickname": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "from", + "from_id", + "id", + "to", + "to_id", + "type" + ] + }, + "RelationshipType": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" + }, + "ConnectedAccount": { + "type": "object", + "properties": { + "external_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "friend_sync": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string" + }, + "revoked": { + "type": "boolean", + "default": false + }, + "show_activity": { + "type": "integer", + "default": 0 + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean", + "default": true + }, + "visibility": { + "type": "integer", + "default": 0 + }, + "integrations": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "metadata_": {}, + "metadata_visibility": { + "type": "integer", + "default": 0 + }, + "two_way_link": { + "type": "boolean", + "default": false + }, + "token_data": { + "anyOf": [ + { + "$ref": "#/definitions/ConnectedAccountTokenData" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "external_id", + "id", + "name", + "type", + "user", + "user_id" + ] + }, + "UserSettings": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "afk_timeout": { + "type": "integer", + "default": 3600 + }, + "allow_accessibility_detection": { + "type": "boolean", + "default": true + }, + "animate_emoji": { + "type": "boolean", + "default": true + }, + "animate_stickers": { + "type": "integer", + "default": 0 + }, + "contact_sync_enabled": { + "type": "boolean", + "default": false + }, + "convert_emoticons": { + "type": "boolean", + "default": false + }, + "custom_status": { + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "default_guilds_restricted": { + "type": "boolean", + "default": false + }, + "detect_platform_accounts": { + "type": "boolean", + "default": false + }, + "developer_mode": { + "type": "boolean", + "default": true + }, + "disable_games_tab": { + "type": "boolean", + "default": true + }, + "enable_tts_command": { + "type": "boolean", + "default": false + }, + "explicit_content_filter": { + "type": "integer", + "default": 0 + }, + "friend_discovery_flags": { + "type": "integer", + "default": 0 + }, + "friend_source_flags": { + "$ref": "#/definitions/FriendSourceFlags" + }, + "gateway_connected": { + "type": "boolean", + "default": false + }, + "gif_auto_play": { + "type": "boolean", + "default": false + }, + "guild_folders": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildFolder" + }, + "default": [] + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "inline_attachment_media": { + "type": "boolean", + "default": true + }, + "inline_embed_media": { + "type": "boolean", + "default": true + }, + "locale": { + "type": "string", + "default": "en-US" + }, + "message_display_compact": { + "type": "boolean", + "default": false + }, + "native_phone_integration_enabled": { + "type": "boolean", + "default": true + }, + "render_embeds": { + "type": "boolean", + "default": true + }, + "render_reactions": { + "type": "boolean", + "default": true + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "show_current_game": { + "type": "boolean", + "default": true + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string", + "default": "online" + }, + "stream_notifications_enabled": { + "type": "boolean", + "default": false + }, + "theme": { + "enum": [ + "dark", + "light" + ], + "type": "string", + "default": "dark" + }, + "timezone_offset": { + "type": "integer", + "default": 0 + }, + "view_nsfw_guilds": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "afk_timeout", + "allow_accessibility_detection", + "animate_emoji", + "animate_stickers", + "contact_sync_enabled", + "convert_emoticons", + "custom_status", + "default_guilds_restricted", + "detect_platform_accounts", + "developer_mode", + "disable_games_tab", + "enable_tts_command", + "explicit_content_filter", + "friend_discovery_flags", + "friend_source_flags", + "gateway_connected", + "gif_auto_play", + "guild_folders", + "guild_positions", + "index", + "inline_attachment_media", + "inline_embed_media", + "locale", + "message_display_compact", + "native_phone_integration_enabled", + "render_embeds", + "render_reactions", + "restricted_guilds", + "show_current_game", + "status", + "stream_notifications_enabled", + "theme", + "timezone_offset", + "view_nsfw_guilds" + ] + }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "GuildFolder": { + "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" + ] + }, + "SecurityKey": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "key_id": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "counter": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "counter", + "id", + "key_id", + "name", + "public_key", + "user", + "user_id" + ] + }, + "ChannelPermissionOverwrite": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + }, + "Invite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "uses": { + "type": "integer" + }, + "max_uses": { + "type": "integer" + }, + "max_age": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": "string", + "format": "date-time" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "inviter_id": { + "type": "string" + }, + "inviter": { + "$ref": "#/definitions/User" + }, + "target_user_id": { + "type": "string" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" + }, + "vanity_url": { + "type": "boolean" + }, + "flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "code", + "created_at", + "flags", + "guild", + "guild_id", + "inviter", + "max_age", + "max_uses", + "target_user_id", + "temporary", + "uses" + ] + }, + "Message": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "author_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/User" + }, + "member_id": { + "type": "string" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "webhook_id": { + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/Webhook" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "content": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "edited_timestamp": { + "type": "string", + "format": "date-time" + }, + "tts": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "mention_channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "sticker_items": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "reactions": { + "type": "array", + "items": { + "$ref": "#/definitions/Reaction" + } + }, + "nonce": { + "type": "string" + }, + "pinned": { + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "activity": { + "type": "object", + "properties": { + "type": { + "type": "integer" + }, + "party_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "party_id", + "type" + ] + }, + "flags": { + "type": "integer" + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message_id" + ] + }, + "referenced_message": { + "$ref": "#/definitions/Message" + }, + "interaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InteractionType" + }, + "name": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "type", + "user_id" + ] + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "embeds", + "flags", + "id", + "mention_channels", + "mention_roles", + "mentions", + "reactions", + "timestamp", + "type" + ] + }, + "Member": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "nick": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "joined_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "integer" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "pending": { + "type": "boolean" + }, + "settings": { + "$ref": "#/definitions/UserGuildSettings" + }, + "last_message_id": { + "type": "string" + }, + "joined_by": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "communication_disabled_until": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "bio", + "communication_disabled_until", + "deaf", + "guild", + "guild_id", + "id", + "index", + "joined_at", + "joined_by", + "mute", + "pending", + "roles", + "settings", + "user" + ] + }, + "Role": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "color": { + "type": "integer" + }, + "hoist": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "mentionable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "icon": { + "type": "string" + }, + "unicode_emoji": { + "type": "string" + }, + "tags": { + "type": "object", + "properties": { + "bot_id": { + "type": "string" + }, + "integration_id": { + "type": "string" + }, + "premium_subscriber": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "flags": { + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "flags", + "guild", + "guild_id", + "hoist", + "id", + "managed", + "mentionable", + "name", + "permissions", + "position" + ] + }, + "UserGuildSettings": { + "type": "object", + "properties": { + "channel_overrides": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ChannelOverride" + } + }, + { + "type": "null" + } + ] + }, + "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" + }, + "version": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "type": "number", + "enum": [ + 0 + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_overrides", + "flags", + "guild_id", + "hide_muted_channels", + "message_notifications", + "mobile_push", + "mute_config", + "mute_scheduled_events", + "muted", + "notify_highlights", + "suppress_everyone", + "suppress_roles", + "version" + ] + }, + "ChannelOverride": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_notifications", + "mute_config", + "muted" + ] + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "Webhook": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/WebhookType" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "token": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "source_channel_id": { + "type": "string" + }, + "source_channel": { + "$ref": "#/definitions/Channel" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "application", + "application_id", + "avatar", + "channel", + "channel_id", + "id", + "name", + "source_channel", + "source_channel_id", + "type", + "url", + "user", + "user_id" + ] + }, + "WebhookType": { + "enum": [ + 1, + 2, + 3 + ], + "type": "number" + }, + "Application": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "description": { + "type": "string" + }, + "summary": { + "type": "string", + "default": "" + }, + "type": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "hook": { + "type": "boolean", + "default": true + }, + "bot_public": { + "type": "boolean", + "default": true + }, + "bot_require_code_grant": { + "type": "boolean", + "default": false + }, + "verify_key": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "redirect_uris": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "rpc_application_state": { + "type": "integer", + "default": 0 + }, + "store_application_state": { + "type": "integer", + "default": 1 + }, + "verification_state": { + "type": "integer", + "default": 1 + }, + "interactions_endpoint_url": { + "type": "string" + }, + "integration_public": { + "type": "boolean", + "default": true + }, + "integration_require_code_grant": { + "type": "boolean", + "default": false + }, + "discoverability_state": { + "type": "integer", + "default": 1 + }, + "discovery_eligibility_flags": { + "type": "integer", + "default": 2240 + }, + "bot": { + "$ref": "#/definitions/User" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "cover_image": { + "type": "string" + }, + "install_params": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "permissions", + "scopes" + ] + }, + "terms_of_service_url": { + "type": "string" + }, + "privacy_policy_url": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "custom_install_url": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "discoverability_state", + "discovery_eligibility_flags", + "flags", + "hook", + "id", + "integration_public", + "integration_require_code_grant", + "name", + "owner", + "redirect_uris", + "rpc_application_state", + "store_application_state", + "summary", + "verification_state", + "verify_key" + ] + }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, + "TeamMember": { + "type": "object", + "properties": { + "membership_state": { + "$ref": "#/definitions/TeamMemberState" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/definitions/TeamMemberRole" + }, + "team_id": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "membership_state", + "permissions", + "role", + "team", + "team_id", + "user", + "user_id" + ] + }, + "TeamMemberState": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "TeamMemberRole": { + "enum": [ + "admin", + "developer", + "read_only" + ], + "type": "string" + }, + "Sticker": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "available": { + "type": "boolean" + }, + "tags": { + "type": "string" + }, + "pack_id": { + "type": "string" + }, + "pack": { + "$ref": "#/definitions/StickerPack" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "type": { + "$ref": "#/definitions/StickerType" + }, + "format_type": { + "$ref": "#/definitions/StickerFormatType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "format_type", + "id", + "name", + "pack", + "type" + ] + }, + "StickerPack": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "banner_asset_id": { + "type": "string" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "cover_sticker_id": { + "type": "string" + }, + "cover_sticker": { + "$ref": "#/definitions/Sticker" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "stickers" + ] + }, + "StickerType": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "StickerFormatType": { + "enum": [ + 0, + 1, + 2, + 3 + ], + "type": "number" + }, + "Attachment": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + }, + "content_type": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/Message" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id", + "message", + "message_id", + "proxy_url", + "size", + "url" + ] + }, + "Reaction": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "user_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "count", + "emoji", + "user_ids" + ] + }, + "MessageType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 19, + 2, + 20, + 255, + 3, + 4, + 41, + 42, + 43, + 5, + 50, + 6, + 63, + 7, + 8, + 9 + ], + "type": "number" + }, + "InteractionType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "Poll": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "allow_multiselect": { + "type": "boolean" + }, + "results": { + "$ref": "#/definitions/PollResult" + } + }, + "additionalProperties": false, + "required": [ + "allow_multiselect", + "answers", + "expiry", + "question" + ] + }, + "PollResult": { + "type": "object", + "properties": { + "is_finalized": { + "type": "boolean" + }, + "answer_counts": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswerCount" + } + } + }, + "additionalProperties": false, + "required": [ + "answer_counts", + "is_finalized" + ] + }, + "PollAnswerCount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "count": { + "type": "integer" + }, + "me_voted": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "id", + "me_voted" + ] + }, + "VoiceState": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "session_id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "self_deaf": { + "type": "boolean" + }, + "self_mute": { + "type": "boolean" + }, + "self_stream": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "suppress": { + "type": "boolean" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "deaf", + "guild_id", + "id", + "member", + "mute", + "self_deaf", + "self_mute", + "self_video", + "session_id", + "suppress", + "token", + "user", + "user_id" + ] + }, + "ReadState": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "last_message_id": { + "type": "string" + }, + "public_ack": { + "type": "string" + }, + "notifications_cursor": { + "type": "string" + }, + "last_pin_timestamp": { + "type": "string", + "format": "date-time" + }, + "mention_count": { + "type": "integer" + }, + "manual": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "id", + "last_message_id", + "manual", + "mention_count", + "notifications_cursor", + "public_ack", + "user", + "user_id" + ] + }, + "Ban": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "executor_id": { + "type": "string" + }, + "executor": { + "$ref": "#/definitions/User" + }, + "ip": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "executor", + "executor_id", + "guild", + "guild_id", + "id", + "ip", + "user", + "user_id" + ] + }, + "Template": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "usage_count": { + "type": "integer" + }, + "creator_id": { + "type": "string" + }, + "creator": { + "$ref": "#/definitions/User" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "serialized_source_guild": { + "$ref": "#/definitions/Guild" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "created_at", + "creator", + "creator_id", + "id", + "name", + "serialized_source_guild", + "source_guild", + "source_guild_id", + "updated_at" + ] + }, + "Emoji": { + "type": "object", + "properties": { + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "require_colons": { + "type": "boolean" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "available", + "groups", + "guild", + "guild_id", + "id", + "managed", + "name", + "require_colons", + "roles", + "user", + "user_id" + ] + }, + "GuildWelcomeScreen": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "channel_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "enabled", + "welcome_channels" + ] + }, + "HubGuild": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "name" + ] + }, + "EmojiGuild": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "premium_tier": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emojis", + "features", + "id", + "name", + "premium_tier" + ] + }, + "EmojiApplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name" + ] + }, + "GuildMessagesSearchMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "content": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/PublicUser" + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicUser" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "pinned": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "tts": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "edited_timestamp": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "hit": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "additionalProperties": false, + "required": [ + "attachments", + "author", + "channel_id", + "components", + "edited_timestamp", + "embeds", + "flags", + "hit", + "id", + "mention_roles", + "mentions", + "pinned", + "poll", + "timestamp", + "tts", + "type" + ] + }, + "PublicUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "avatar": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "premium_type", + "public_flags", + "username" + ] + }, + "GuildVanityUrl": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "uses": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "code", + "uses" + ] + }, + "GuildVanityUrlNoInvite": { + "type": "object", + "properties": { + "code": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "code" + ] + }, + "Snowflake": { + "description": "A container for useful snowflake-related methods.", + "type": "object", + "additionalProperties": false + }, + "HubDirectoryEntry": { + "type": "object", + "properties": { + "author_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory_channel_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "primary_category_id": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "author_id", + "created_at", + "description", + "directory_channel_id", + "guild", + "primary_category_id", + "type" + ] + }, + "GuildCreateResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "mfa_level": { + "type": "integer" + }, + "owner_id": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen" + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean" + }, + "parent": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "guild_template_code": { + "type": "string" + }, + "staff_only": { + "type": "boolean" + }, + "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" + }, + "discovery_splash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "nsfw", + "welcome_screen", + "widget_enabled" + ] + }, + "RefreshedUrl": { + "type": "object", + "properties": { + "original": { + "type": "string" + }, + "refreshed": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "original", + "refreshed" + ] + }, + "TenorGifResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "src": { + "type": "string" + }, + "gif_src": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "preview": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "gif_src", + "height", + "id", + "preview", + "src", + "title", + "url", + "width" + ] + }, + "BackupCode": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/User" + }, + "code": { + "type": "string" + }, + "consumed": { + "type": "boolean" + }, + "expired": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "consumed", + "expired", + "id", + "user" + ] + }, + "APIGuild": { + "type": "object", + "properties": { + "reload": { + "description": "Reloads entity data from the database.", + "type": "object", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "toJSON": { + "type": "object", + "additionalProperties": false + }, + "_do_validate": { + "type": "object", + "additionalProperties": false + }, + "assign": { + "type": "object", + "additionalProperties": false + }, + "hasId": { + "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", + "type": "object", + "additionalProperties": false + }, + "save": { + "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", + "type": "object", + "additionalProperties": false + }, + "remove": { + "description": "Removes current entity from the database.", + "type": "object", + "additionalProperties": false + }, + "softRemove": { + "description": "Records the delete date of current entity.", + "type": "object", + "additionalProperties": false + }, + "recover": { + "description": "Recovers a given entity in the database.", + "type": "object", + "additionalProperties": false + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "banner": { + "type": "string" + }, + "unavailable": { + "type": "boolean" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "splash": { + "type": "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" + }, + "discovery_splash": { + "type": "string" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "mfa_level": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "permissions": { + "type": "integer" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "_do_validate", + "assign", + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "hasId", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "recover", + "reload", + "remove", + "roles", + "save", + "softRemove", + "stickers", + "toJSON", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "DmChannelDTO": { + "type": "object", + "properties": { + "icon": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": "string" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "origin_channel_id": { + "type": [ + "null", + "string" + ] + }, + "owner_id": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/MinimalPublicUserDTO" + } + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "last_message_id", + "name", + "origin_channel_id", + "recipients", + "type" + ] + }, + "MinimalPublicUserDTO": { + "type": "object", + "properties": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "badge_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, + "Categories": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "localizations": { + "type": "string" + }, + "is_primary": { + "type": "boolean" + }, + "icon": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "is_primary", + "localizations", + "name" + ] + }, + "GuildVoiceRegion": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "custom": { + "type": "boolean" + }, + "deprecated": { + "type": "boolean" + }, + "optimal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom", + "deprecated", + "id", + "name", + "optimal" + ] + }, + "UserLimits": { + "type": "object", + "properties": { + "maxGuilds": { + "type": "integer", + "default": 1048576 + }, + "maxUsername": { + "type": "integer", + "default": 32 + }, + "maxFriends": { + "type": "integer", + "default": 5000 + }, + "maxBio": { + "type": "integer", + "default": 190 + } + }, + "additionalProperties": false, + "required": [ + "maxBio", + "maxFriends", + "maxGuilds", + "maxUsername" + ] + }, + "GuildLimits": { + "type": "object", + "properties": { + "maxRoles": { + "type": "integer", + "default": 1000 + }, + "maxEmojis": { + "type": "integer", + "default": 2000 + }, + "maxMembers": { + "type": "integer", + "default": 25000000 + }, + "maxChannels": { + "type": "integer", + "default": 65535 + }, + "maxBulkBanUsers": { + "type": "integer", + "default": 200 + }, + "maxChannelsInCategory": { + "type": "integer", + "default": 65535 + } + }, + "additionalProperties": false, + "required": [ + "maxBulkBanUsers", + "maxChannels", + "maxChannelsInCategory", + "maxEmojis", + "maxMembers", + "maxRoles" + ] + }, + "MessageLimits": { + "type": "object", + "properties": { + "maxCharacters": { + "type": "integer", + "default": 1048576 + }, + "maxTTSCharacters": { + "type": "integer", + "default": 160 + }, + "maxReactions": { + "type": "integer", + "default": 2048 + }, + "maxAttachmentSize": { + "type": "integer", + "default": 1073741824 + }, + "maxBulkDelete": { + "type": "integer", + "default": 1000 + }, + "maxEmbedDownloadSize": { + "type": "integer", + "default": 5242880 + } + }, + "additionalProperties": false, + "required": [ + "maxAttachmentSize", + "maxBulkDelete", + "maxCharacters", + "maxEmbedDownloadSize", + "maxReactions", + "maxTTSCharacters" + ] + }, + "ChannelLimits": { + "type": "object", + "properties": { + "maxPins": { + "type": "integer", + "default": 500 + }, + "maxTopic": { + "type": "integer", + "default": 1024 + }, + "maxWebhooks": { + "type": "integer", + "default": 100 + } + }, + "additionalProperties": false, + "required": [ + "maxPins", + "maxTopic", + "maxWebhooks" + ] + }, + "RateLimits": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": false + }, + "ip": { + "$ref": "#/definitions/RateLimitOptions" + }, + "global": { + "$ref": "#/definitions/RateLimitOptions" + }, + "error": { + "$ref": "#/definitions/RateLimitOptions" + }, + "routes": { + "$ref": "#/definitions/RouteRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "error", + "global", + "ip", + "routes" + ] + }, + "RateLimitOptions": { + "type": "object", + "properties": { + "bot": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "window": { + "type": "integer" + }, + "onyIp": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "window" + ] + }, + "RouteRateLimit": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/definitions/RateLimitOptions" + }, + "webhook": { + "$ref": "#/definitions/RateLimitOptions" + }, + "channel": { + "$ref": "#/definitions/RateLimitOptions" + }, + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "auth", + "channel", + "guild", + "webhook" + ] + }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, + "GlobalRateLimits": { + "type": "object", + "properties": { + "register": { + "$ref": "#/definitions/GlobalRateLimit" + }, + "sendMessage": { + "$ref": "#/definitions/GlobalRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "register", + "sendMessage" + ] + }, + "GlobalRateLimit": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 100 + }, + "window": { + "type": "integer", + "default": 3600000 + }, + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "limit", + "window" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "UserProfile": { + "type": "object", + "properties": { + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio" + ] + }, + "Badge": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "icon", + "id" + ] + }, + "GenerateWebAuthnCredentialsSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ] + }, + "CreateWebAuthnCredentialSchema": { + "type": "object", + "properties": { + "credential": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ticket": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "credential", + "name", + "ticket" + ] + }, + "TokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "settings": { + "$ref": "#/definitions/UserSettings" + } + }, + "additionalProperties": false, + "required": [ + "settings", + "token" + ] + }, + "MFAResponse": { + "type": "object", + "properties": { + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token" + ] + }, + "WebAuthnResponse": { + "type": "object", + "properties": { + "webauthn": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token", + "webauthn" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AutomodRuleSchema": { + "type": "object", + "properties": { + "creator_id": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "event_type": { + "type": "integer" + }, + "exempt_channels": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "exempt_roles": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "guild_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "trigger_type": { + "type": "integer" + }, + "trigger_metadata": { + "anyOf": [ + { + "$ref": "#/definitions/AutomodMentionSpamRuleSchema" + }, + { + "$ref": "#/definitions/AutomodSuspectedSpamRuleSchema" + }, + { + "$ref": "#/definitions/AutomodCommonlyFlaggedWordsRuleSchema" + }, + { + "$ref": "#/definitions/AutomodCustomWordsRuleSchema" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "creator_id", + "enabled", + "event_type", + "exempt_channels", + "exempt_roles", + "guild_id", + "name", + "position", + "trigger_metadata", + "trigger_type" + ], + "definitions": { + "Network.Headers": { + "description": "Request / response headers as keys / values of JSON object.", + "type": "object", + "additionalProperties": false + }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "ConnectedAccountTokenData": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "token_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + }, + "fetched_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "access_token", + "fetched_at" + ] + }, + "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" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } + }, + "parent_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "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 + }, + "GuildSubscriptionSchema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "activities": { + "type": "boolean" + }, + "threads": { + "type": "boolean" + }, + "typing": { + "enum": [ + true + ], + "type": "boolean" + }, + "members": { + "type": "array", + "items": { + "type": "string" + } + }, + "member_updates": { + "type": "boolean" + }, + "thread_member_lists": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false + }, + "ActivitySchema": { + "type": "object", + "properties": { + "afk": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "since": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "Status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "Activity": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ActivityType" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "timestamps": { + "type": "object", + "properties": { + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "application_id": { + "type": "string" + }, + "details": { + "type": "string" + }, + "state": { + "type": "string" + }, + "emoji": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "name" + ] + }, + "party": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "size": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "assets": { + "type": "object", + "properties": { + "large_image": { + "type": "string" + }, + "large_text": { + "type": "string" + }, + "small_image": { + "type": "string" + }, + "small_text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "secrets": { + "type": "object", + "properties": { + "join": { + "type": "string" + }, + "spectate": { + "type": "string" + }, + "match": { + "type": "string" + } + }, + "additionalProperties": false + }, + "instance": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "id": { + "type": "string" + }, + "sync_id": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "context_uri": { + "type": "string" + }, + "album_id": { + "type": "string" + }, + "artist_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "album_id", + "artist_ids" + ] + }, + "session_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "name", + "session_id", + "type" + ] + }, + "ActivityType": { + "enum": [ + 0, + 1, + 2, + 4, + 5 + ], + "type": "number" + }, + "Embed": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "type": { + "enum": [ + "article", + "gifv", + "image", + "link", + "rich", + "video" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "color": { + "type": "integer" + }, + "footer": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "image": { + "$ref": "#/definitions/EmbedImage" + }, + "thumbnail": { + "$ref": "#/definitions/EmbedImage" + }, + "video": { + "$ref": "#/definitions/EmbedImage" + }, + "provider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "inline": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "value" + ] + } + } + }, + "additionalProperties": false + }, + "EmbedImage": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "ActionRowComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.ActionRow" + }, + "components": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/ButtonComponent" + }, + { + "$ref": "#/definitions/SelectMenuComponent" + }, + { + "$ref": "#/definitions/StringSelectMenuComponent" + }, + { + "$ref": "#/definitions/TextInputComponent" + } + ] + } + } + }, + "additionalProperties": false, + "required": [ + "components", + "type" + ] + }, + "MessageComponentType.ActionRow": { + "type": "number", + "enum": [ + 1 + ] + }, + "ButtonComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.Button" + }, + "style": { + "$ref": "#/definitions/ButtonStyle" + }, + "label": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "custom_id": { + "type": "string" + }, + "sku_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "style", + "type" + ] + }, + "MessageComponentType.Button": { + "type": "number", + "enum": [ + 2 + ] + }, + "ButtonStyle": { + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "type": "number" + }, + "PartialEmoji": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "SelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "enum": [ + 3, + 5, + 6, + 7, + 8 + ], + "type": "number" + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "type" + ] + }, + "SelectMenuDefaultOption": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "channel", + "role", + "user" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ] + }, + "StringSelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.StringSelect" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuOption" + } + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "options", + "type" + ] + }, + "MessageComponentType.StringSelect": { + "type": "number", + "enum": [ + 3 + ] + }, + "SelectMenuOption": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "default": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "TextInputComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.TextInput" + }, + "custom_id": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/TextInputStyle" + }, + "label": { + "type": "string" + }, + "min_length": { + "type": "integer" + }, + "max_length": { + "type": "integer" + }, + "required": { + "type": "boolean" + }, + "value": { + "type": "string" + }, + "placeholder": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "label", + "style", + "type" + ] + }, + "MessageComponentType.TextInput": { + "type": "number", + "enum": [ + 4 + ] + }, + "TextInputStyle": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "PollCreationSchema": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "duration": { + "type": "integer" + }, + "allow_multiselect": { + "type": "boolean" + }, + "layout_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "answers", + "question" + ] + }, + "PollMedia": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + } + }, + "additionalProperties": false + }, + "PollAnswer": { + "type": "object", + "properties": { + "answer_id": { + "type": "string" + }, + "poll_media": { + "$ref": "#/definitions/PollMedia" + } + }, + "additionalProperties": false, + "required": [ + "poll_media" + ] + }, + "APIErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "_errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "_errors" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ] + }, + "CaptchaRequiredResponse": { + "type": "object", + "properties": { + "captcha_key": { + "type": "string" + }, + "captcha_sitekey": { + "type": "string" + }, + "captcha_service": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "captcha_key", + "captcha_service", + "captcha_sitekey" + ] + }, + "Guild": { + "type": "object", + "properties": { + "afk_channel_id": { + "type": "string" + }, + "afk_channel": { + "$ref": "#/definitions/Channel" + }, + "afk_timeout": { + "type": "integer" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "banner": { + "type": "string" + }, + "default_message_notifications": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "discovery_splash": { + "type": "string" + }, + "explicit_content_filter": { + "type": "integer" + }, + "features": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "primary_category_id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "large": { + "type": "boolean", + "default": false + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "template_id": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/Template" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "mfa_level": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "preferred_locale": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "public_updates_channel_id": { + "type": "string" + }, + "public_updates_channel": { + "$ref": "#/definitions/Channel" + }, + "rules_channel_id": { + "type": "string" + }, + "rules_channel": { + "type": "string" + }, + "region": { + "type": "string" + }, + "splash": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "system_channel": { + "$ref": "#/definitions/Channel" + }, + "system_channel_flags": { + "type": "integer" + }, + "unavailable": { + "type": "boolean", + "default": false + }, + "verification_level": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_channel": { + "$ref": "#/definitions/Channel" + }, + "widget_enabled": { + "type": "boolean", + "default": true + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "string" + }, + "permissions": { + "type": "integer" + }, + "premium_progress_bar_enabled": { + "type": "boolean", + "default": false + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "roles", + "stickers", + "template", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "Channel": { + "type": "object", + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "last_message_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "parent": { + "$ref": "#/definitions/Channel" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "last_pin_timestamp": { + "type": "integer" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "video_quality_mode": { + "type": "integer" + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "rate_limit_per_user": { + "type": "integer" + }, + "topic": { + "type": "string" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "retention_policy_id": { + "type": "string" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/Message" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "read_states": { + "type": "array", + "items": { + "$ref": "#/definitions/ReadState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "flags": { + "type": "integer", + "default": 0 + }, + "default_thread_rate_limit_per_user": { + "type": "integer", + "default": 0 + }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "default_thread_rate_limit_per_user", + "flags", + "id", + "nsfw", + "owner", + "parent_id", + "position", + "type" + ] + }, + "ChannelType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "Recipient": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "closed": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "closed", + "id", + "user", + "user_id" + ] + }, + "User": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "desktop": { + "type": "boolean", + "default": false + }, + "mobile": { + "type": "boolean", + "default": false + }, + "premium": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "bot": { + "type": "boolean", + "default": false + }, + "bio": { + "type": "string", + "default": "" + }, + "system": { + "type": "boolean", + "default": false + }, + "nsfw_allowed": { + "type": "boolean", + "default": true + }, + "mfa_enabled": { + "type": "boolean", + "default": false + }, + "webauthn_enabled": { + "type": "boolean", + "default": false + }, + "totp_secret": { + "type": "string", + "default": "" + }, + "totp_last_ticket": { + "type": "string", + "default": "" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "verified": { + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "deleted": { + "type": "boolean", + "default": false + }, + "email": { + "type": "string" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "public_flags": { + "type": "integer", + "default": 0 + }, + "purchased_flags": { + "type": "integer", + "default": 0 + }, + "premium_usage_flags": { + "type": "integer", + "default": 0 + }, + "rights": { + "type": "string" + }, + "sessions": { + "type": "array", + "items": { + "$ref": "#/definitions/Session" + } + }, + "relationships": { + "type": "array", + "items": { + "$ref": "#/definitions/Relationship" + } + }, + "connected_accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedAccount" + } + }, + "data": { + "type": "object", + "properties": { + "valid_tokens_since": { + "type": "string", + "format": "date-time" + }, + "hash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "valid_tokens_since" + ] + }, + "fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "settings": { + "$ref": "#/definitions/UserSettings" + }, + "extended_settings": { + "type": "string", + "default": "{}" + }, + "security_keys": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityKey" + } + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "connected_accounts", + "created_at", + "data", + "deleted", + "desktop", + "disabled", + "discriminator", + "extended_settings", + "fingerprints", + "flags", + "id", + "mfa_enabled", + "mobile", + "nsfw_allowed", + "premium", + "premium_since", + "premium_type", + "premium_usage_flags", + "public_flags", + "purchased_flags", + "relationships", + "rights", + "security_keys", + "sessions", + "settings", + "system", + "username", + "verified", + "webauthn_enabled" + ] + }, + "Session": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "session_id": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "client", + "os", + "version" + ] + }, + "client_status": { + "$ref": "#/definitions/ClientStatus" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "client_info", + "client_status", + "id", + "session_id", + "status", + "user", + "user_id" + ] + }, + "ClientStatus": { + "type": "object", + "properties": { + "desktop": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "web": { + "type": "string" + }, + "embedded": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Relationship": { + "type": "object", + "properties": { + "from_id": { + "type": "string" + }, + "from": { + "$ref": "#/definitions/User" + }, + "to_id": { + "type": "string" + }, + "to": { + "$ref": "#/definitions/User" + }, + "nickname": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "from", + "from_id", + "id", + "to", + "to_id", + "type" + ] + }, + "RelationshipType": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" + }, + "ConnectedAccount": { + "type": "object", + "properties": { + "external_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "friend_sync": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string" + }, + "revoked": { + "type": "boolean", + "default": false + }, + "show_activity": { + "type": "integer", + "default": 0 + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean", + "default": true + }, + "visibility": { + "type": "integer", + "default": 0 + }, + "integrations": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "metadata_": {}, + "metadata_visibility": { + "type": "integer", + "default": 0 + }, + "two_way_link": { + "type": "boolean", + "default": false + }, + "token_data": { + "anyOf": [ + { + "$ref": "#/definitions/ConnectedAccountTokenData" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "external_id", + "id", + "name", + "type", + "user", + "user_id" + ] + }, + "UserSettings": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "afk_timeout": { + "type": "integer", + "default": 3600 + }, + "allow_accessibility_detection": { + "type": "boolean", + "default": true + }, + "animate_emoji": { + "type": "boolean", + "default": true + }, + "animate_stickers": { + "type": "integer", + "default": 0 + }, + "contact_sync_enabled": { + "type": "boolean", + "default": false + }, + "convert_emoticons": { + "type": "boolean", + "default": false + }, + "custom_status": { + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "default_guilds_restricted": { + "type": "boolean", + "default": false + }, + "detect_platform_accounts": { + "type": "boolean", + "default": false + }, + "developer_mode": { + "type": "boolean", + "default": true + }, + "disable_games_tab": { + "type": "boolean", + "default": true + }, + "enable_tts_command": { + "type": "boolean", + "default": false + }, + "explicit_content_filter": { + "type": "integer", + "default": 0 + }, + "friend_discovery_flags": { + "type": "integer", + "default": 0 + }, + "friend_source_flags": { + "$ref": "#/definitions/FriendSourceFlags" + }, + "gateway_connected": { + "type": "boolean", + "default": false + }, + "gif_auto_play": { + "type": "boolean", + "default": false + }, + "guild_folders": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildFolder" + }, + "default": [] + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "inline_attachment_media": { + "type": "boolean", + "default": true + }, + "inline_embed_media": { + "type": "boolean", + "default": true + }, + "locale": { + "type": "string", + "default": "en-US" + }, + "message_display_compact": { + "type": "boolean", + "default": false + }, + "native_phone_integration_enabled": { + "type": "boolean", + "default": true + }, + "render_embeds": { + "type": "boolean", + "default": true + }, + "render_reactions": { + "type": "boolean", + "default": true + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "show_current_game": { + "type": "boolean", + "default": true + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string", + "default": "online" + }, + "stream_notifications_enabled": { + "type": "boolean", + "default": false + }, + "theme": { + "enum": [ + "dark", + "light" + ], + "type": "string", + "default": "dark" + }, + "timezone_offset": { + "type": "integer", + "default": 0 + }, + "view_nsfw_guilds": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "afk_timeout", + "allow_accessibility_detection", + "animate_emoji", + "animate_stickers", + "contact_sync_enabled", + "convert_emoticons", + "custom_status", + "default_guilds_restricted", + "detect_platform_accounts", + "developer_mode", + "disable_games_tab", + "enable_tts_command", + "explicit_content_filter", + "friend_discovery_flags", + "friend_source_flags", + "gateway_connected", + "gif_auto_play", + "guild_folders", + "guild_positions", + "index", + "inline_attachment_media", + "inline_embed_media", + "locale", + "message_display_compact", + "native_phone_integration_enabled", + "render_embeds", + "render_reactions", + "restricted_guilds", + "show_current_game", + "status", + "stream_notifications_enabled", + "theme", + "timezone_offset", + "view_nsfw_guilds" + ] + }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "GuildFolder": { + "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" + ] + }, + "SecurityKey": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "key_id": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "counter": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "counter", + "id", + "key_id", + "name", + "public_key", + "user", + "user_id" + ] + }, + "ChannelPermissionOverwrite": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + }, + "Invite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "uses": { + "type": "integer" + }, + "max_uses": { + "type": "integer" + }, + "max_age": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": "string", + "format": "date-time" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "inviter_id": { + "type": "string" + }, + "inviter": { + "$ref": "#/definitions/User" + }, + "target_user_id": { + "type": "string" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" + }, + "vanity_url": { + "type": "boolean" + }, + "flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "code", + "created_at", + "flags", + "guild", + "guild_id", + "inviter", + "max_age", + "max_uses", + "target_user_id", + "temporary", + "uses" + ] + }, + "Message": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "author_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/User" + }, + "member_id": { + "type": "string" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "webhook_id": { + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/Webhook" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "content": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "edited_timestamp": { + "type": "string", + "format": "date-time" + }, + "tts": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "mention_channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "sticker_items": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "reactions": { + "type": "array", + "items": { + "$ref": "#/definitions/Reaction" + } + }, + "nonce": { + "type": "string" + }, + "pinned": { + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "activity": { + "type": "object", + "properties": { + "type": { + "type": "integer" + }, + "party_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "party_id", + "type" + ] + }, + "flags": { + "type": "integer" + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message_id" + ] + }, + "referenced_message": { + "$ref": "#/definitions/Message" + }, + "interaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InteractionType" + }, + "name": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "type", + "user_id" + ] + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "embeds", + "flags", + "id", + "mention_channels", + "mention_roles", + "mentions", + "reactions", + "timestamp", + "type" + ] + }, + "Member": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "nick": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "joined_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "integer" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "pending": { + "type": "boolean" + }, + "settings": { + "$ref": "#/definitions/UserGuildSettings" + }, + "last_message_id": { + "type": "string" + }, + "joined_by": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "communication_disabled_until": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "bio", + "communication_disabled_until", + "deaf", + "guild", + "guild_id", + "id", + "index", + "joined_at", + "joined_by", + "mute", + "pending", + "roles", + "settings", + "user" + ] + }, + "Role": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "color": { + "type": "integer" + }, + "hoist": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "mentionable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "icon": { + "type": "string" + }, + "unicode_emoji": { + "type": "string" + }, + "tags": { + "type": "object", + "properties": { + "bot_id": { + "type": "string" + }, + "integration_id": { + "type": "string" + }, + "premium_subscriber": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "flags": { + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "flags", + "guild", + "guild_id", + "hoist", + "id", + "managed", + "mentionable", + "name", + "permissions", + "position" + ] + }, + "UserGuildSettings": { + "type": "object", + "properties": { + "channel_overrides": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ChannelOverride" + } + }, + { + "type": "null" + } + ] + }, + "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" + }, + "version": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "type": "number", + "enum": [ + 0 + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_overrides", + "flags", + "guild_id", + "hide_muted_channels", + "message_notifications", + "mobile_push", + "mute_config", + "mute_scheduled_events", + "muted", + "notify_highlights", + "suppress_everyone", + "suppress_roles", + "version" + ] + }, + "ChannelOverride": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_notifications", + "mute_config", + "muted" + ] + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "Webhook": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/WebhookType" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "token": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "source_channel_id": { + "type": "string" + }, + "source_channel": { + "$ref": "#/definitions/Channel" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "application", + "application_id", + "avatar", + "channel", + "channel_id", + "id", + "name", + "source_channel", + "source_channel_id", + "type", + "url", + "user", + "user_id" + ] + }, + "WebhookType": { + "enum": [ + 1, + 2, + 3 + ], + "type": "number" + }, + "Application": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "description": { + "type": "string" + }, + "summary": { + "type": "string", + "default": "" + }, + "type": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "hook": { + "type": "boolean", + "default": true + }, + "bot_public": { + "type": "boolean", + "default": true + }, + "bot_require_code_grant": { + "type": "boolean", + "default": false + }, + "verify_key": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "redirect_uris": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "rpc_application_state": { + "type": "integer", + "default": 0 + }, + "store_application_state": { + "type": "integer", + "default": 1 + }, + "verification_state": { + "type": "integer", + "default": 1 + }, + "interactions_endpoint_url": { + "type": "string" + }, + "integration_public": { + "type": "boolean", + "default": true + }, + "integration_require_code_grant": { + "type": "boolean", + "default": false + }, + "discoverability_state": { + "type": "integer", + "default": 1 + }, + "discovery_eligibility_flags": { + "type": "integer", + "default": 2240 + }, + "bot": { + "$ref": "#/definitions/User" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "cover_image": { + "type": "string" + }, + "install_params": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "permissions", + "scopes" + ] + }, + "terms_of_service_url": { + "type": "string" + }, + "privacy_policy_url": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "custom_install_url": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "discoverability_state", + "discovery_eligibility_flags", + "flags", + "hook", + "id", + "integration_public", + "integration_require_code_grant", + "name", + "owner", + "redirect_uris", + "rpc_application_state", + "store_application_state", + "summary", + "verification_state", + "verify_key" + ] + }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, + "TeamMember": { + "type": "object", + "properties": { + "membership_state": { + "$ref": "#/definitions/TeamMemberState" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/definitions/TeamMemberRole" + }, + "team_id": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "membership_state", + "permissions", + "role", + "team", + "team_id", + "user", + "user_id" + ] + }, + "TeamMemberState": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "TeamMemberRole": { + "enum": [ + "admin", + "developer", + "read_only" + ], + "type": "string" + }, + "Sticker": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "available": { + "type": "boolean" + }, + "tags": { + "type": "string" + }, + "pack_id": { + "type": "string" + }, + "pack": { + "$ref": "#/definitions/StickerPack" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "type": { + "$ref": "#/definitions/StickerType" + }, + "format_type": { + "$ref": "#/definitions/StickerFormatType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "format_type", + "id", + "name", + "pack", + "type" + ] + }, + "StickerPack": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "banner_asset_id": { + "type": "string" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "cover_sticker_id": { + "type": "string" + }, + "cover_sticker": { + "$ref": "#/definitions/Sticker" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "stickers" + ] + }, + "StickerType": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "StickerFormatType": { + "enum": [ + 0, + 1, + 2, + 3 + ], + "type": "number" + }, + "Attachment": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + }, + "content_type": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/Message" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id", + "message", + "message_id", + "proxy_url", + "size", + "url" + ] + }, + "Reaction": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "user_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "count", + "emoji", + "user_ids" + ] + }, + "MessageType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 19, + 2, + 20, + 255, + 3, + 4, + 41, + 42, + 43, + 5, + 50, + 6, + 63, + 7, + 8, + 9 + ], + "type": "number" + }, + "InteractionType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "Poll": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "allow_multiselect": { + "type": "boolean" + }, + "results": { + "$ref": "#/definitions/PollResult" + } + }, + "additionalProperties": false, + "required": [ + "allow_multiselect", + "answers", + "expiry", + "question" + ] + }, + "PollResult": { + "type": "object", + "properties": { + "is_finalized": { + "type": "boolean" + }, + "answer_counts": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswerCount" + } + } + }, + "additionalProperties": false, + "required": [ + "answer_counts", + "is_finalized" + ] + }, + "PollAnswerCount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "count": { + "type": "integer" + }, + "me_voted": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "id", + "me_voted" + ] + }, + "VoiceState": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "session_id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "self_deaf": { + "type": "boolean" + }, + "self_mute": { + "type": "boolean" + }, + "self_stream": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "suppress": { + "type": "boolean" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "deaf", + "guild_id", + "id", + "member", + "mute", + "self_deaf", + "self_mute", + "self_video", + "session_id", + "suppress", + "token", + "user", + "user_id" + ] + }, + "ReadState": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "last_message_id": { + "type": "string" + }, + "public_ack": { + "type": "string" + }, + "notifications_cursor": { + "type": "string" + }, + "last_pin_timestamp": { + "type": "string", + "format": "date-time" + }, + "mention_count": { + "type": "integer" + }, + "manual": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "id", + "last_message_id", + "manual", + "mention_count", + "notifications_cursor", + "public_ack", + "user", + "user_id" + ] + }, + "Ban": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "executor_id": { + "type": "string" + }, + "executor": { + "$ref": "#/definitions/User" + }, + "ip": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "executor", + "executor_id", + "guild", + "guild_id", + "id", + "ip", + "user", + "user_id" + ] + }, + "Template": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "usage_count": { + "type": "integer" + }, + "creator_id": { + "type": "string" + }, + "creator": { + "$ref": "#/definitions/User" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "serialized_source_guild": { + "$ref": "#/definitions/Guild" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "created_at", + "creator", + "creator_id", + "id", + "name", + "serialized_source_guild", + "source_guild", + "source_guild_id", + "updated_at" + ] + }, + "Emoji": { + "type": "object", + "properties": { + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "require_colons": { + "type": "boolean" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "available", + "groups", + "guild", + "guild_id", + "id", + "managed", + "name", + "require_colons", + "roles", + "user", + "user_id" + ] + }, + "GuildWelcomeScreen": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "channel_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "enabled", + "welcome_channels" + ] + }, + "HubGuild": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "name" + ] + }, + "EmojiGuild": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "premium_tier": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emojis", + "features", + "id", + "name", + "premium_tier" + ] + }, + "EmojiApplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name" + ] + }, + "GuildMessagesSearchMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "content": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/PublicUser" + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicUser" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "pinned": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "tts": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "edited_timestamp": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "hit": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "additionalProperties": false, + "required": [ + "attachments", + "author", + "channel_id", + "components", + "edited_timestamp", + "embeds", + "flags", + "hit", + "id", + "mention_roles", + "mentions", + "pinned", + "poll", + "timestamp", + "tts", + "type" + ] + }, + "PublicUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "avatar": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "premium_type", + "public_flags", + "username" + ] + }, + "GuildVanityUrl": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "uses": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "code", + "uses" + ] + }, + "GuildVanityUrlNoInvite": { + "type": "object", + "properties": { + "code": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "code" + ] + }, + "Snowflake": { + "description": "A container for useful snowflake-related methods.", + "type": "object", + "additionalProperties": false + }, + "HubDirectoryEntry": { + "type": "object", + "properties": { + "author_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory_channel_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "primary_category_id": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "author_id", + "created_at", + "description", + "directory_channel_id", + "guild", + "primary_category_id", + "type" + ] + }, + "GuildCreateResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "mfa_level": { + "type": "integer" + }, + "owner_id": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen" + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean" + }, + "parent": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "guild_template_code": { + "type": "string" + }, + "staff_only": { + "type": "boolean" + }, + "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" + }, + "discovery_splash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "nsfw", + "welcome_screen", + "widget_enabled" + ] + }, + "RefreshedUrl": { + "type": "object", + "properties": { + "original": { + "type": "string" + }, + "refreshed": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "original", + "refreshed" + ] + }, + "TenorGifResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "src": { + "type": "string" + }, + "gif_src": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "preview": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "gif_src", + "height", + "id", + "preview", + "src", + "title", + "url", + "width" + ] + }, + "BackupCode": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/User" + }, + "code": { + "type": "string" + }, + "consumed": { + "type": "boolean" + }, + "expired": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "consumed", + "expired", + "id", + "user" + ] + }, + "APIGuild": { + "type": "object", + "properties": { + "reload": { + "description": "Reloads entity data from the database.", + "type": "object", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "toJSON": { + "type": "object", + "additionalProperties": false + }, + "_do_validate": { + "type": "object", + "additionalProperties": false + }, + "assign": { + "type": "object", + "additionalProperties": false + }, + "hasId": { + "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", + "type": "object", + "additionalProperties": false + }, + "save": { + "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", + "type": "object", + "additionalProperties": false + }, + "remove": { + "description": "Removes current entity from the database.", + "type": "object", + "additionalProperties": false + }, + "softRemove": { + "description": "Records the delete date of current entity.", + "type": "object", + "additionalProperties": false + }, + "recover": { + "description": "Recovers a given entity in the database.", + "type": "object", + "additionalProperties": false + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "banner": { + "type": "string" + }, + "unavailable": { + "type": "boolean" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "splash": { + "type": "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" + }, + "discovery_splash": { + "type": "string" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "mfa_level": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "permissions": { + "type": "integer" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "_do_validate", + "assign", + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "hasId", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "recover", + "reload", + "remove", + "roles", + "save", + "softRemove", + "stickers", + "toJSON", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "DmChannelDTO": { + "type": "object", + "properties": { + "icon": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": "string" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "origin_channel_id": { + "type": [ + "null", + "string" + ] + }, + "owner_id": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/MinimalPublicUserDTO" + } + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "last_message_id", + "name", + "origin_channel_id", + "recipients", + "type" + ] + }, + "MinimalPublicUserDTO": { + "type": "object", + "properties": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "badge_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -25472,6 +73425,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -30025,6 +78492,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -30541,6 +79055,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -35094,6 +84122,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -35622,6 +84697,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -40175,6 +89764,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -40706,6 +90342,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -45259,6 +95409,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -45772,6 +95969,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -50325,6 +101036,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -50940,6 +101698,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -55493,6 +106765,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -56018,6 +107337,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -60571,6 +112404,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -61099,6 +112979,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -65652,6 +118046,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -66172,6 +118613,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -70725,6 +123680,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -71281,6 +124283,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -75834,6 +129350,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -76359,6 +129922,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -80912,6 +134989,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -81428,6 +135552,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -85981,6 +140619,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -86500,6 +141185,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -91053,6 +146252,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -91577,6 +146823,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -96130,6 +151890,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -96651,6 +152458,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -101204,6 +157525,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -101732,6 +158100,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -106285,6 +163167,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -106801,6 +163730,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -111354,6 +168797,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -111870,6 +169360,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -116423,6 +174427,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -116961,6 +175012,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -121514,6 +180079,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -122064,6 +180676,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -126617,6 +185743,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -127133,6 +186306,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -131686,6 +191373,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -132190,6 +191924,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -136743,6 +196991,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -137262,6 +197557,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -141815,6 +202624,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -142398,6 +203254,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -146951,6 +208321,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -147489,6 +208906,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -152042,6 +213973,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -152559,6 +214537,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -157112,6 +219604,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -157791,6 +220330,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -162344,6 +225397,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -162881,6 +225981,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -167434,6 +231048,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -167965,6 +231626,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -172518,6 +236693,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -173053,6 +237275,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -177606,6 +242342,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -178131,6 +242914,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -182684,6 +247981,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -183206,6 +248550,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -187759,6 +253617,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -188409,6 +254314,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -192962,6 +259381,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -193466,6 +259932,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -198019,6 +264999,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -198666,6 +265693,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -203219,6 +270760,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -203737,6 +271325,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -208290,6 +276392,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -208814,6 +276963,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -213367,6 +282030,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -213886,6 +282596,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -218439,6 +287663,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -218956,6 +288227,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -223509,6 +293294,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -224025,6 +293857,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -228578,6 +298924,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -229129,6 +299522,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -233682,6 +304589,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -234199,6 +305153,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -238752,6 +310220,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -239268,6 +310783,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -243821,6 +315850,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -244373,6 +316449,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -248926,6 +321516,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -249484,6 +322121,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -254037,6 +327188,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -254586,6 +327784,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -259139,6 +332851,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -259660,6 +333419,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -264213,6 +338486,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -264724,6 +339044,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -269277,6 +344111,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -269794,6 +344675,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -274347,6 +349742,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -274875,6 +350317,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -279428,6 +355384,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -279948,6 +355951,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -284501,6 +361018,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -285018,6 +361582,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -289571,6 +366649,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -290108,6 +367233,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -294661,6 +372300,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -295203,6 +372889,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -299756,6 +377956,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -300269,6 +378516,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -304822,6 +383583,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -305338,6 +384146,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -309891,6 +389213,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -310439,6 +389808,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -314992,6 +394875,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -315638,6 +395568,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -320191,6 +400635,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -320783,6 +401274,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -325336,6 +406341,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -325856,6 +406908,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -330409,6 +411975,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -330922,6 +412535,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -335475,6 +417602,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -335988,6 +418162,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -340541,6 +423229,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -341061,6 +423796,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -345614,6 +428863,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -346131,6 +429427,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -350684,6 +434494,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -351197,6 +435054,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -355750,6 +440121,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -356338,6 +440756,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -360891,6 +445823,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -361415,6 +446394,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -365968,6 +451461,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -366475,6 +452015,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -371028,6 +457082,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -371553,6 +457654,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -376106,6 +462721,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -376631,6 +463293,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -381184,6 +468360,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -381759,6 +468982,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -386312,6 +474049,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -386846,6 +474630,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -391399,6 +479697,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -391939,6 +480284,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -396492,6 +485351,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -397026,6 +485932,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -401579,6 +490999,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -402092,6 +491559,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -406645,6 +496626,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -407161,6 +497189,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -411714,6 +502256,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -412224,6 +502813,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -416777,6 +507880,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -417318,6 +508468,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -421871,6 +513535,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -422424,6 +514135,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -426977,6 +519202,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -427484,6 +519756,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -432037,6 +524823,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -432554,6 +525387,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -437107,6 +530454,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -437620,6 +531014,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -442173,6 +536081,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -442693,6 +536648,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -447246,6 +541715,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -447971,6 +542487,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -452524,6 +547554,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -453028,6 +548105,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -457581,6 +553172,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -458185,6 +553823,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -462738,6 +558890,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -463245,6 +559444,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -467798,6 +564511,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -468305,6 +565065,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -472858,6 +570132,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -473365,6 +570686,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -477918,6 +575753,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -478525,6 +576407,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -483078,6 +581474,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -483583,6 +582026,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -488136,6 +587093,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -488641,6 +587645,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -493194,6 +592712,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -493699,6 +593264,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -498252,6 +598331,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -498759,6 +598885,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -503312,6 +603952,5674 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, + "Categories": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "localizations": { + "type": "string" + }, + "is_primary": { + "type": "boolean" + }, + "icon": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "is_primary", + "localizations", + "name" + ] + }, + "GuildVoiceRegion": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "custom": { + "type": "boolean" + }, + "deprecated": { + "type": "boolean" + }, + "optimal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom", + "deprecated", + "id", + "name", + "optimal" + ] + }, + "UserLimits": { + "type": "object", + "properties": { + "maxGuilds": { + "type": "integer", + "default": 1048576 + }, + "maxUsername": { + "type": "integer", + "default": 32 + }, + "maxFriends": { + "type": "integer", + "default": 5000 + }, + "maxBio": { + "type": "integer", + "default": 190 + } + }, + "additionalProperties": false, + "required": [ + "maxBio", + "maxFriends", + "maxGuilds", + "maxUsername" + ] + }, + "GuildLimits": { + "type": "object", + "properties": { + "maxRoles": { + "type": "integer", + "default": 1000 + }, + "maxEmojis": { + "type": "integer", + "default": 2000 + }, + "maxMembers": { + "type": "integer", + "default": 25000000 + }, + "maxChannels": { + "type": "integer", + "default": 65535 + }, + "maxBulkBanUsers": { + "type": "integer", + "default": 200 + }, + "maxChannelsInCategory": { + "type": "integer", + "default": 65535 + } + }, + "additionalProperties": false, + "required": [ + "maxBulkBanUsers", + "maxChannels", + "maxChannelsInCategory", + "maxEmojis", + "maxMembers", + "maxRoles" + ] + }, + "MessageLimits": { + "type": "object", + "properties": { + "maxCharacters": { + "type": "integer", + "default": 1048576 + }, + "maxTTSCharacters": { + "type": "integer", + "default": 160 + }, + "maxReactions": { + "type": "integer", + "default": 2048 + }, + "maxAttachmentSize": { + "type": "integer", + "default": 1073741824 + }, + "maxBulkDelete": { + "type": "integer", + "default": 1000 + }, + "maxEmbedDownloadSize": { + "type": "integer", + "default": 5242880 + } + }, + "additionalProperties": false, + "required": [ + "maxAttachmentSize", + "maxBulkDelete", + "maxCharacters", + "maxEmbedDownloadSize", + "maxReactions", + "maxTTSCharacters" + ] + }, + "ChannelLimits": { + "type": "object", + "properties": { + "maxPins": { + "type": "integer", + "default": 500 + }, + "maxTopic": { + "type": "integer", + "default": 1024 + }, + "maxWebhooks": { + "type": "integer", + "default": 100 + } + }, + "additionalProperties": false, + "required": [ + "maxPins", + "maxTopic", + "maxWebhooks" + ] + }, + "RateLimits": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "default": false + }, + "ip": { + "$ref": "#/definitions/RateLimitOptions" + }, + "global": { + "$ref": "#/definitions/RateLimitOptions" + }, + "error": { + "$ref": "#/definitions/RateLimitOptions" + }, + "routes": { + "$ref": "#/definitions/RouteRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "error", + "global", + "ip", + "routes" + ] + }, + "RateLimitOptions": { + "type": "object", + "properties": { + "bot": { + "type": "integer" + }, + "count": { + "type": "integer" + }, + "window": { + "type": "integer" + }, + "onyIp": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "window" + ] + }, + "RouteRateLimit": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/definitions/RateLimitOptions" + }, + "webhook": { + "$ref": "#/definitions/RateLimitOptions" + }, + "channel": { + "$ref": "#/definitions/RateLimitOptions" + }, + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "auth", + "channel", + "guild", + "webhook" + ] + }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, + "GlobalRateLimits": { + "type": "object", + "properties": { + "register": { + "$ref": "#/definitions/GlobalRateLimit" + }, + "sendMessage": { + "$ref": "#/definitions/GlobalRateLimit" + } + }, + "additionalProperties": false, + "required": [ + "register", + "sendMessage" + ] + }, + "GlobalRateLimit": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "default": 100 + }, + "window": { + "type": "integer", + "default": 3600000 + }, + "enabled": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "enabled", + "limit", + "window" + ] + }, + "PublicConnectedAccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "UserProfile": { + "type": "object", + "properties": { + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio" + ] + }, + "Badge": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "icon", + "id" + ] + }, + "GenerateWebAuthnCredentialsSchema": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password" + ] + }, + "CreateWebAuthnCredentialSchema": { + "type": "object", + "properties": { + "credential": { + "type": "string" + }, + "name": { + "type": "string" + }, + "ticket": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "credential", + "name", + "ticket" + ] + }, + "TokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "settings": { + "$ref": "#/definitions/UserSettings" + } + }, + "additionalProperties": false, + "required": [ + "settings", + "token" + ] + }, + "MFAResponse": { + "type": "object", + "properties": { + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token" + ] + }, + "WebAuthnResponse": { + "type": "object", + "properties": { + "webauthn": { + "type": "string" + }, + "ticket": { + "type": "string" + }, + "mfa": { + "type": "boolean", + "enum": [ + true + ] + }, + "sms": { + "type": "boolean", + "enum": [ + false + ] + }, + "token": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "mfa", + "sms", + "ticket", + "token", + "webauthn" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIBansArray": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildBansResponse" + }, + "definitions": { + "Network.Headers": { + "description": "Request / response headers as keys / values of JSON object.", + "type": "object", + "additionalProperties": false + }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, + "ChannelPermissionOverwriteType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "ConnectedAccountTokenData": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "token_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "refresh_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "expires_at": { + "type": "integer" + }, + "fetched_at": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "access_token", + "fetched_at" + ] + }, + "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" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + }, + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + } + }, + "parent_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "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 + }, + "GuildSubscriptionSchema": { + "type": "object", + "properties": { + "channels": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "activities": { + "type": "boolean" + }, + "threads": { + "type": "boolean" + }, + "typing": { + "enum": [ + true + ], + "type": "boolean" + }, + "members": { + "type": "array", + "items": { + "type": "string" + } + }, + "member_updates": { + "type": "boolean" + }, + "thread_member_lists": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false + }, + "ActivitySchema": { + "type": "object", + "properties": { + "afk": { + "type": "boolean" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "since": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "Status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, + "Activity": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ActivityType" + }, + "url": { + "type": "string" + }, + "created_at": { + "type": "integer" + }, + "timestamps": { + "type": "object", + "properties": { + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "application_id": { + "type": "string" + }, + "details": { + "type": "string" + }, + "state": { + "type": "string" + }, + "emoji": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "name" + ] + }, + "party": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "size": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "assets": { + "type": "object", + "properties": { + "large_image": { + "type": "string" + }, + "large_text": { + "type": "string" + }, + "small_image": { + "type": "string" + }, + "small_text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "secrets": { + "type": "object", + "properties": { + "join": { + "type": "string" + }, + "spectate": { + "type": "string" + }, + "match": { + "type": "string" + } + }, + "additionalProperties": false + }, + "instance": { + "type": "boolean" + }, + "flags": { + "type": "string" + }, + "id": { + "type": "string" + }, + "sync_id": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "context_uri": { + "type": "string" + }, + "album_id": { + "type": "string" + }, + "artist_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "album_id", + "artist_ids" + ] + }, + "session_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "name", + "session_id", + "type" + ] + }, + "ActivityType": { + "enum": [ + 0, + 1, + 2, + 4, + 5 + ], + "type": "number" + }, + "Embed": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "type": { + "enum": [ + "article", + "gifv", + "image", + "link", + "rich", + "video" + ], + "type": "string" + }, + "description": { + "type": "string" + }, + "url": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "color": { + "type": "integer" + }, + "footer": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "image": { + "$ref": "#/definitions/EmbedImage" + }, + "thumbnail": { + "$ref": "#/definitions/EmbedImage" + }, + "video": { + "$ref": "#/definitions/EmbedImage" + }, + "provider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "author": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "icon_url": { + "type": "string" + }, + "proxy_icon_url": { + "type": "string" + } + }, + "additionalProperties": false + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "inline": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "value" + ] + } + } + }, + "additionalProperties": false + }, + "EmbedImage": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "ActionRowComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.ActionRow" + }, + "components": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/ButtonComponent" + }, + { + "$ref": "#/definitions/SelectMenuComponent" + }, + { + "$ref": "#/definitions/StringSelectMenuComponent" + }, + { + "$ref": "#/definitions/TextInputComponent" + } + ] + } + } + }, + "additionalProperties": false, + "required": [ + "components", + "type" + ] + }, + "MessageComponentType.ActionRow": { + "type": "number", + "enum": [ + 1 + ] + }, + "ButtonComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.Button" + }, + "style": { + "$ref": "#/definitions/ButtonStyle" + }, + "label": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "custom_id": { + "type": "string" + }, + "sku_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "style", + "type" + ] + }, + "MessageComponentType.Button": { + "type": "number", + "enum": [ + 2 + ] + }, + "ButtonStyle": { + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "type": "number" + }, + "PartialEmoji": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "animated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "SelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "enum": [ + 3, + 5, + 6, + 7, + 8 + ], + "type": "number" + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "type" + ] + }, + "SelectMenuDefaultOption": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "enum": [ + "channel", + "role", + "user" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ] + }, + "StringSelectMenuComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.StringSelect" + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuOption" + } + }, + "custom_id": { + "type": "string" + }, + "channel_types": { + "type": "array", + "items": { + "type": "integer" + } + }, + "placeholder": { + "type": "string" + }, + "default_values": { + "type": "array", + "items": { + "$ref": "#/definitions/SelectMenuDefaultOption" + } + }, + "min_values": { + "type": "integer" + }, + "max_values": { + "type": "integer" + }, + "disabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "options", + "type" + ] + }, + "MessageComponentType.StringSelect": { + "type": "number", + "enum": [ + 3 + ] + }, + "SelectMenuOption": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "description": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "default": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "TextInputComponent": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/MessageComponentType.TextInput" + }, + "custom_id": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/TextInputStyle" + }, + "label": { + "type": "string" + }, + "min_length": { + "type": "integer" + }, + "max_length": { + "type": "integer" + }, + "required": { + "type": "boolean" + }, + "value": { + "type": "string" + }, + "placeholder": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "custom_id", + "label", + "style", + "type" + ] + }, + "MessageComponentType.TextInput": { + "type": "number", + "enum": [ + 4 + ] + }, + "TextInputStyle": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "PollCreationSchema": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "duration": { + "type": "integer" + }, + "allow_multiselect": { + "type": "boolean" + }, + "layout_type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "answers", + "question" + ] + }, + "PollMedia": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + } + }, + "additionalProperties": false + }, + "PollAnswer": { + "type": "object", + "properties": { + "answer_id": { + "type": "string" + }, + "poll_media": { + "$ref": "#/definitions/PollMedia" + } + }, + "additionalProperties": false, + "required": [ + "poll_media" + ] + }, + "APIErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "_errors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "code": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "_errors" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ] + }, + "CaptchaRequiredResponse": { + "type": "object", + "properties": { + "captcha_key": { + "type": "string" + }, + "captcha_sitekey": { + "type": "string" + }, + "captcha_service": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "captcha_key", + "captcha_service", + "captcha_sitekey" + ] + }, + "Guild": { + "type": "object", + "properties": { + "afk_channel_id": { + "type": "string" + }, + "afk_channel": { + "$ref": "#/definitions/Channel" + }, + "afk_timeout": { + "type": "integer" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "banner": { + "type": "string" + }, + "default_message_notifications": { + "type": "integer" + }, + "description": { + "type": "string" + }, + "discovery_splash": { + "type": "string" + }, + "explicit_content_filter": { + "type": "integer" + }, + "features": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "primary_category_id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "large": { + "type": "boolean", + "default": false + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "template_id": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/Template" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "mfa_level": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "preferred_locale": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "public_updates_channel_id": { + "type": "string" + }, + "public_updates_channel": { + "$ref": "#/definitions/Channel" + }, + "rules_channel_id": { + "type": "string" + }, + "rules_channel": { + "type": "string" + }, + "region": { + "type": "string" + }, + "splash": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "system_channel": { + "$ref": "#/definitions/Channel" + }, + "system_channel_flags": { + "type": "integer" + }, + "unavailable": { + "type": "boolean", + "default": false + }, + "verification_level": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_channel": { + "$ref": "#/definitions/Channel" + }, + "widget_enabled": { + "type": "boolean", + "default": true + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "parent": { + "type": "string" + }, + "permissions": { + "type": "integer" + }, + "premium_progress_bar_enabled": { + "type": "boolean", + "default": false + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "roles", + "stickers", + "template", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "Channel": { + "type": "object", + "properties": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "last_message_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "parent": { + "$ref": "#/definitions/Channel" + }, + "owner_id": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "last_pin_timestamp": { + "type": "integer" + }, + "default_auto_archive_duration": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "video_quality_mode": { + "type": "integer" + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "nsfw": { + "type": "boolean", + "default": false + }, + "rate_limit_per_user": { + "type": "integer" + }, + "topic": { + "type": "string" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "retention_policy_id": { + "type": "string" + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/Message" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "read_states": { + "type": "array", + "items": { + "$ref": "#/definitions/ReadState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "flags": { + "type": "integer", + "default": 0 + }, + "default_thread_rate_limit_per_user": { + "type": "integer", + "default": 0 + }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "default_thread_rate_limit_per_user", + "flags", + "id", + "nsfw", + "owner", + "parent_id", + "position", + "type" + ] + }, + "ChannelType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 2, + 255, + 3, + 33, + 34, + 35, + 4, + 5, + 6, + 64, + 7, + 8, + 9 + ], + "type": "number" + }, + "Recipient": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "closed": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "closed", + "id", + "user", + "user_id" + ] + }, + "User": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "desktop": { + "type": "boolean", + "default": false + }, + "mobile": { + "type": "boolean", + "default": false + }, + "premium": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "bot": { + "type": "boolean", + "default": false + }, + "bio": { + "type": "string", + "default": "" + }, + "system": { + "type": "boolean", + "default": false + }, + "nsfw_allowed": { + "type": "boolean", + "default": true + }, + "mfa_enabled": { + "type": "boolean", + "default": false + }, + "webauthn_enabled": { + "type": "boolean", + "default": false + }, + "totp_secret": { + "type": "string", + "default": "" + }, + "totp_last_ticket": { + "type": "string", + "default": "" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "verified": { + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "deleted": { + "type": "boolean", + "default": false + }, + "email": { + "type": "string" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "public_flags": { + "type": "integer", + "default": 0 + }, + "purchased_flags": { + "type": "integer", + "default": 0 + }, + "premium_usage_flags": { + "type": "integer", + "default": 0 + }, + "rights": { + "type": "string" + }, + "sessions": { + "type": "array", + "items": { + "$ref": "#/definitions/Session" + } + }, + "relationships": { + "type": "array", + "items": { + "$ref": "#/definitions/Relationship" + } + }, + "connected_accounts": { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedAccount" + } + }, + "data": { + "type": "object", + "properties": { + "valid_tokens_since": { + "type": "string", + "format": "date-time" + }, + "hash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "valid_tokens_since" + ] + }, + "fingerprints": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "settings": { + "$ref": "#/definitions/UserSettings" + }, + "extended_settings": { + "type": "string", + "default": "{}" + }, + "security_keys": { + "type": "array", + "items": { + "$ref": "#/definitions/SecurityKey" + } + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "connected_accounts", + "created_at", + "data", + "deleted", + "desktop", + "disabled", + "discriminator", + "extended_settings", + "fingerprints", + "flags", + "id", + "mfa_enabled", + "mobile", + "nsfw_allowed", + "premium", + "premium_since", + "premium_type", + "premium_usage_flags", + "public_flags", + "purchased_flags", + "relationships", + "rights", + "security_keys", + "sessions", + "settings", + "system", + "username", + "verified", + "webauthn_enabled" + ] + }, + "Session": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "session_id": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "$ref": "#/definitions/Activity" + } + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "client", + "os", + "version" + ] + }, + "client_status": { + "$ref": "#/definitions/ClientStatus" + }, + "status": { + "$ref": "#/definitions/Status" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "client_info", + "client_status", + "id", + "session_id", + "status", + "user", + "user_id" + ] + }, + "ClientStatus": { + "type": "object", + "properties": { + "desktop": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "web": { + "type": "string" + }, + "embedded": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Relationship": { + "type": "object", + "properties": { + "from_id": { + "type": "string" + }, + "from": { + "$ref": "#/definitions/User" + }, + "to_id": { + "type": "string" + }, + "to": { + "$ref": "#/definitions/User" + }, + "nickname": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "from", + "from_id", + "id", + "to", + "to_id", + "type" + ] + }, + "RelationshipType": { + "enum": [ + 1, + 2, + 3, + 4 + ], + "type": "number" + }, + "ConnectedAccount": { + "type": "object", + "properties": { + "external_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "friend_sync": { + "type": "boolean", + "default": false + }, + "name": { + "type": "string" + }, + "revoked": { + "type": "boolean", + "default": false + }, + "show_activity": { + "type": "integer", + "default": 0 + }, + "type": { + "type": "string" + }, + "verified": { + "type": "boolean", + "default": true + }, + "visibility": { + "type": "integer", + "default": 0 + }, + "integrations": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "metadata_": {}, + "metadata_visibility": { + "type": "integer", + "default": 0 + }, + "two_way_link": { + "type": "boolean", + "default": false + }, + "token_data": { + "anyOf": [ + { + "$ref": "#/definitions/ConnectedAccountTokenData" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "external_id", + "id", + "name", + "type", + "user", + "user_id" + ] + }, + "UserSettings": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "afk_timeout": { + "type": "integer", + "default": 3600 + }, + "allow_accessibility_detection": { + "type": "boolean", + "default": true + }, + "animate_emoji": { + "type": "boolean", + "default": true + }, + "animate_stickers": { + "type": "integer", + "default": 0 + }, + "contact_sync_enabled": { + "type": "boolean", + "default": false + }, + "convert_emoticons": { + "type": "boolean", + "default": false + }, + "custom_status": { + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ], + "default": null + }, + "default_guilds_restricted": { + "type": "boolean", + "default": false + }, + "detect_platform_accounts": { + "type": "boolean", + "default": false + }, + "developer_mode": { + "type": "boolean", + "default": true + }, + "disable_games_tab": { + "type": "boolean", + "default": true + }, + "enable_tts_command": { + "type": "boolean", + "default": false + }, + "explicit_content_filter": { + "type": "integer", + "default": 0 + }, + "friend_discovery_flags": { + "type": "integer", + "default": 0 + }, + "friend_source_flags": { + "$ref": "#/definitions/FriendSourceFlags" + }, + "gateway_connected": { + "type": "boolean", + "default": false + }, + "gif_auto_play": { + "type": "boolean", + "default": false + }, + "guild_folders": { + "type": "array", + "items": { + "$ref": "#/definitions/GuildFolder" + }, + "default": [] + }, + "guild_positions": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "inline_attachment_media": { + "type": "boolean", + "default": true + }, + "inline_embed_media": { + "type": "boolean", + "default": true + }, + "locale": { + "type": "string", + "default": "en-US" + }, + "message_display_compact": { + "type": "boolean", + "default": false + }, + "native_phone_integration_enabled": { + "type": "boolean", + "default": true + }, + "render_embeds": { + "type": "boolean", + "default": true + }, + "render_reactions": { + "type": "boolean", + "default": true + }, + "restricted_guilds": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "show_current_game": { + "type": "boolean", + "default": true + }, + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string", + "default": "online" + }, + "stream_notifications_enabled": { + "type": "boolean", + "default": false + }, + "theme": { + "enum": [ + "dark", + "light" + ], + "type": "string", + "default": "dark" + }, + "timezone_offset": { + "type": "integer", + "default": 0 + }, + "view_nsfw_guilds": { + "type": "boolean", + "default": true + } + }, + "additionalProperties": false, + "required": [ + "afk_timeout", + "allow_accessibility_detection", + "animate_emoji", + "animate_stickers", + "contact_sync_enabled", + "convert_emoticons", + "custom_status", + "default_guilds_restricted", + "detect_platform_accounts", + "developer_mode", + "disable_games_tab", + "enable_tts_command", + "explicit_content_filter", + "friend_discovery_flags", + "friend_source_flags", + "gateway_connected", + "gif_auto_play", + "guild_folders", + "guild_positions", + "index", + "inline_attachment_media", + "inline_embed_media", + "locale", + "message_display_compact", + "native_phone_integration_enabled", + "render_embeds", + "render_reactions", + "restricted_guilds", + "show_current_game", + "status", + "stream_notifications_enabled", + "theme", + "timezone_offset", + "view_nsfw_guilds" + ] + }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "GuildFolder": { + "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" + ] + }, + "SecurityKey": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "key_id": { + "type": "string" + }, + "public_key": { + "type": "string" + }, + "counter": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "counter", + "id", + "key_id", + "name", + "public_key", + "user", + "user_id" + ] + }, + "ChannelPermissionOverwrite": { + "type": "object", + "properties": { + "allow": { + "type": "string" + }, + "deny": { + "type": "string" + }, + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelPermissionOverwriteType" + } + }, + "additionalProperties": false, + "required": [ + "allow", + "deny", + "id", + "type" + ] + }, + "Invite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "temporary": { + "type": "boolean" + }, + "uses": { + "type": "integer" + }, + "max_uses": { + "type": "integer" + }, + "max_age": { + "type": "integer" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "expires_at": { + "type": "string", + "format": "date-time" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "inviter_id": { + "type": "string" + }, + "inviter": { + "$ref": "#/definitions/User" + }, + "target_user_id": { + "type": "string" + }, + "target_user": { + "type": "string" + }, + "target_user_type": { + "type": "integer" + }, + "vanity_url": { + "type": "boolean" + }, + "flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "code", + "created_at", + "flags", + "guild", + "guild_id", + "inviter", + "max_age", + "max_uses", + "target_user_id", + "temporary", + "uses" + ] + }, + "Message": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "author_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/User" + }, + "member_id": { + "type": "string" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "webhook_id": { + "type": "string" + }, + "webhook": { + "$ref": "#/definitions/Webhook" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "content": { + "type": "string" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "edited_timestamp": { + "type": "string", + "format": "date-time" + }, + "tts": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "mention_channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "sticker_items": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "reactions": { + "type": "array", + "items": { + "$ref": "#/definitions/Reaction" + } + }, + "nonce": { + "type": "string" + }, + "pinned": { + "type": "boolean" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "activity": { + "type": "object", + "properties": { + "type": { + "type": "integer" + }, + "party_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "party_id", + "type" + ] + }, + "flags": { + "type": "integer" + }, + "message_reference": { + "type": "object", + "properties": { + "message_id": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "guild_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message_id" + ] + }, + "referenced_message": { + "$ref": "#/definitions/Message" + }, + "interaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InteractionType" + }, + "name": { + "type": "string" + }, + "user_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "type", + "user_id" + ] + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "username": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "embeds", + "flags", + "id", + "mention_channels", + "mention_roles", + "mentions", + "reactions", + "timestamp", + "type" + ] + }, + "Member": { + "type": "object", + "properties": { + "index": { + "type": "string" + }, + "id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "nick": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "joined_at": { + "type": "string", + "format": "date-time" + }, + "premium_since": { + "type": "integer" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "pending": { + "type": "boolean" + }, + "settings": { + "$ref": "#/definitions/UserGuildSettings" + }, + "last_message_id": { + "type": "string" + }, + "joined_by": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "communication_disabled_until": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "bio", + "communication_disabled_until", + "deaf", + "guild", + "guild_id", + "id", + "index", + "joined_at", + "joined_by", + "mute", + "pending", + "roles", + "settings", + "user" + ] + }, + "Role": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "color": { + "type": "integer" + }, + "hoist": { + "type": "boolean" + }, + "managed": { + "type": "boolean" + }, + "mentionable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "icon": { + "type": "string" + }, + "unicode_emoji": { + "type": "string" + }, + "tags": { + "type": "object", + "properties": { + "bot_id": { + "type": "string" + }, + "integration_id": { + "type": "string" + }, + "premium_subscriber": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "flags": { + "type": "integer" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "color", + "flags", + "guild", + "guild_id", + "hoist", + "id", + "managed", + "mentionable", + "name", + "permissions", + "position" + ] + }, + "UserGuildSettings": { + "type": "object", + "properties": { + "channel_overrides": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ChannelOverride" + } + }, + { + "type": "null" + } + ] + }, + "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" + }, + "version": { + "type": "integer" + }, + "guild_id": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "mute_scheduled_events": { + "type": "boolean" + }, + "hide_muted_channels": { + "type": "boolean" + }, + "notify_highlights": { + "type": "number", + "enum": [ + 0 + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_overrides", + "flags", + "guild_id", + "hide_muted_channels", + "message_notifications", + "mobile_push", + "mute_config", + "mute_scheduled_events", + "muted", + "notify_highlights", + "suppress_everyone", + "suppress_roles", + "version" + ] + }, + "ChannelOverride": { + "type": "object", + "properties": { + "message_notifications": { + "type": "integer" + }, + "mute_config": { + "$ref": "#/definitions/MuteConfig" + }, + "muted": { + "type": "boolean" + }, + "channel_id": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "message_notifications", + "mute_config", + "muted" + ] + }, + "MuteConfig": { + "type": "object", + "properties": { + "end_time": { + "type": "integer" + }, + "selected_time_window": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "end_time", + "selected_time_window" + ] + }, + "Webhook": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/WebhookType" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "token": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "application_id": { + "type": "string" + }, + "application": { + "$ref": "#/definitions/Application" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "source_channel_id": { + "type": "string" + }, + "source_channel": { + "$ref": "#/definitions/Channel" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "application", + "application_id", + "avatar", + "channel", + "channel_id", + "id", + "name", + "source_channel", + "source_channel_id", + "type", + "url", + "user", + "user_id" + ] + }, + "WebhookType": { + "enum": [ + 1, + 2, + 3 + ], + "type": "number" + }, + "Application": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "description": { + "type": "string" + }, + "summary": { + "type": "string", + "default": "" + }, + "type": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "hook": { + "type": "boolean", + "default": true + }, + "bot_public": { + "type": "boolean", + "default": true + }, + "bot_require_code_grant": { + "type": "boolean", + "default": false + }, + "verify_key": { + "type": "string" + }, + "owner": { + "$ref": "#/definitions/User" + }, + "flags": { + "type": "integer", + "default": 0 + }, + "redirect_uris": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "rpc_application_state": { + "type": "integer", + "default": 0 + }, + "store_application_state": { + "type": "integer", + "default": 1 + }, + "verification_state": { + "type": "integer", + "default": 1 + }, + "interactions_endpoint_url": { + "type": "string" + }, + "integration_public": { + "type": "boolean", + "default": true + }, + "integration_require_code_grant": { + "type": "boolean", + "default": false + }, + "discoverability_state": { + "type": "integer", + "default": 1 + }, + "discovery_eligibility_flags": { + "type": "integer", + "default": 2240 + }, + "bot": { + "$ref": "#/definitions/User" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "cover_image": { + "type": "string" + }, + "install_params": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "permissions": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "permissions", + "scopes" + ] + }, + "terms_of_service_url": { + "type": "string" + }, + "privacy_policy_url": { + "type": "string" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "custom_install_url": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "discoverability_state", + "discovery_eligibility_flags", + "flags", + "hook", + "id", + "integration_public", + "integration_require_code_grant", + "name", + "owner", + "redirect_uris", + "rpc_application_state", + "store_application_state", + "summary", + "verification_state", + "verify_key" + ] + }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, + "TeamMember": { + "type": "object", + "properties": { + "membership_state": { + "$ref": "#/definitions/TeamMemberState" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/definitions/TeamMemberRole" + }, + "team_id": { + "type": "string" + }, + "team": { + "$ref": "#/definitions/Team" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "membership_state", + "permissions", + "role", + "team", + "team_id", + "user", + "user_id" + ] + }, + "TeamMemberState": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "TeamMemberRole": { + "enum": [ + "admin", + "developer", + "read_only" + ], + "type": "string" + }, + "Sticker": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "available": { + "type": "boolean" + }, + "tags": { + "type": "string" + }, + "pack_id": { + "type": "string" + }, + "pack": { + "$ref": "#/definitions/StickerPack" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "type": { + "$ref": "#/definitions/StickerType" + }, + "format_type": { + "$ref": "#/definitions/StickerFormatType" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "format_type", + "id", + "name", + "pack", + "type" + ] + }, + "StickerPack": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "banner_asset_id": { + "type": "string" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "cover_sticker_id": { + "type": "string" + }, + "cover_sticker": { + "$ref": "#/definitions/Sticker" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "stickers" + ] + }, + "StickerType": { + "enum": [ + 1, + 2 + ], + "type": "number" + }, + "StickerFormatType": { + "enum": [ + 0, + 1, + 2, + 3 + ], + "type": "number" + }, + "Attachment": { + "type": "object", + "properties": { + "filename": { + "type": "string" + }, + "size": { + "type": "integer" + }, + "url": { + "type": "string" + }, + "proxy_url": { + "type": "string" + }, + "height": { + "type": "integer" + }, + "width": { + "type": "integer" + }, + "content_type": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/Message" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id", + "message", + "message_id", + "proxy_url", + "size", + "url" + ] + }, + "Reaction": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "emoji": { + "$ref": "#/definitions/PartialEmoji" + }, + "user_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "count", + "emoji", + "user_ids" + ] + }, + "MessageType": { + "enum": [ + 0, + 1, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 19, + 2, + 20, + 255, + 3, + 4, + 41, + 42, + 43, + 5, + 50, + 6, + 63, + 7, + 8, + 9 + ], + "type": "number" + }, + "InteractionType": { + "enum": [ + 0, + 1, + 2 + ], + "type": "number" + }, + "Poll": { + "type": "object", + "properties": { + "question": { + "$ref": "#/definitions/PollMedia" + }, + "answers": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswer" + } + }, + "expiry": { + "type": "string", + "format": "date-time" + }, + "allow_multiselect": { + "type": "boolean" + }, + "results": { + "$ref": "#/definitions/PollResult" + } + }, + "additionalProperties": false, + "required": [ + "allow_multiselect", + "answers", + "expiry", + "question" + ] + }, + "PollResult": { + "type": "object", + "properties": { + "is_finalized": { + "type": "boolean" + }, + "answer_counts": { + "type": "array", + "items": { + "$ref": "#/definitions/PollAnswerCount" + } + } + }, + "additionalProperties": false, + "required": [ + "answer_counts", + "is_finalized" + ] + }, + "PollAnswerCount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "count": { + "type": "integer" + }, + "me_voted": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "count", + "id", + "me_voted" + ] + }, + "VoiceState": { + "type": "object", + "properties": { + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "member": { + "$ref": "#/definitions/Member" + }, + "session_id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "deaf": { + "type": "boolean" + }, + "mute": { + "type": "boolean" + }, + "self_deaf": { + "type": "boolean" + }, + "self_mute": { + "type": "boolean" + }, + "self_stream": { + "type": "boolean" + }, + "self_video": { + "type": "boolean" + }, + "suppress": { + "type": "boolean" + }, + "request_to_speak_timestamp": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "deaf", + "guild_id", + "id", + "member", + "mute", + "self_deaf", + "self_mute", + "self_video", + "session_id", + "suppress", + "token", + "user", + "user_id" + ] + }, + "ReadState": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/definitions/Channel" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "last_message_id": { + "type": "string" + }, + "public_ack": { + "type": "string" + }, + "notifications_cursor": { + "type": "string" + }, + "last_pin_timestamp": { + "type": "string", + "format": "date-time" + }, + "mention_count": { + "type": "integer" + }, + "manual": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "channel_id", + "id", + "last_message_id", + "manual", + "mention_count", + "notifications_cursor", + "public_ack", + "user", + "user_id" + ] + }, + "Ban": { + "type": "object", + "properties": { + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "executor_id": { + "type": "string" + }, + "executor": { + "$ref": "#/definitions/User" + }, + "ip": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "executor", + "executor_id", + "guild", + "guild_id", + "id", + "ip", + "user", + "user_id" + ] + }, + "Template": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "usage_count": { + "type": "integer" + }, + "creator_id": { + "type": "string" + }, + "creator": { + "$ref": "#/definitions/User" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "source_guild_id": { + "type": "string" + }, + "source_guild": { + "$ref": "#/definitions/Guild" + }, + "serialized_source_guild": { + "$ref": "#/definitions/Guild" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "created_at", + "creator", + "creator_id", + "id", + "name", + "serialized_source_guild", + "source_guild", + "source_guild_id", + "updated_at" + ] + }, + "Emoji": { + "type": "object", + "properties": { + "animated": { + "type": "boolean" + }, + "available": { + "type": "boolean" + }, + "guild_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "user_id": { + "type": "string" + }, + "user": { + "$ref": "#/definitions/User" + }, + "managed": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "require_colons": { + "type": "boolean" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "animated", + "available", + "groups", + "guild", + "guild_id", + "id", + "managed", + "name", + "require_colons", + "roles", + "user", + "user_id" + ] + }, + "GuildWelcomeScreen": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "welcome_channels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "channel_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "channel_id", + "description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "enabled", + "welcome_channels" + ] + }, + "HubGuild": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "name" + ] + }, + "EmojiGuild": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "premium_tier": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emojis", + "features", + "id", + "name", + "premium_tier" + ] + }, + "EmojiApplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name" + ] + }, + "GuildMessagesSearchMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/MessageType" + }, + "content": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "author": { + "$ref": "#/definitions/PublicUser" + }, + "attachments": { + "type": "array", + "items": { + "$ref": "#/definitions/Attachment" + } + }, + "embeds": { + "type": "array", + "items": { + "$ref": "#/definitions/Embed" + } + }, + "mentions": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicUser" + } + }, + "mention_roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "pinned": { + "type": "boolean" + }, + "mention_everyone": { + "type": "boolean" + }, + "tts": { + "type": "boolean" + }, + "timestamp": { + "type": "string" + }, + "edited_timestamp": { + "type": [ + "null", + "string" + ] + }, + "flags": { + "type": "integer" + }, + "components": { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + "poll": { + "$ref": "#/definitions/Poll" + }, + "hit": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "additionalProperties": false, + "required": [ + "attachments", + "author", + "channel_id", + "components", + "edited_timestamp", + "embeds", + "flags", + "hit", + "id", + "mention_roles", + "mentions", + "pinned", + "poll", + "timestamp", + "tts", + "type" + ] + }, + "PublicUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "premium_since": { + "type": "string", + "format": "date-time" + }, + "avatar": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "bot": { + "type": "boolean" + }, + "premium_type": { + "type": "integer" + }, + "theme_colors": { + "type": "array", + "items": { + "type": "integer" + } + }, + "pronouns": { + "type": "string" + }, + "badge_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "bio", + "bot", + "discriminator", + "id", + "premium_since", + "premium_type", + "public_flags", + "username" + ] + }, + "GuildVanityUrl": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "uses": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "code", + "uses" + ] + }, + "GuildVanityUrlNoInvite": { + "type": "object", + "properties": { + "code": { + "type": "null" + } + }, + "additionalProperties": false, + "required": [ + "code" + ] + }, + "Snowflake": { + "description": "A container for useful snowflake-related methods.", + "type": "object", + "additionalProperties": false + }, + "HubDirectoryEntry": { + "type": "object", + "properties": { + "author_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "directory_channel_id": { + "type": "string" + }, + "guild": { + "$ref": "#/definitions/Guild" + }, + "primary_category_id": { + "type": "integer" + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "author_id", + "created_at", + "description", + "directory_channel_id", + "guild", + "primary_category_id", + "type" + ] + }, + "GuildCreateResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "mfa_level": { + "type": "integer" + }, + "owner_id": { + "type": "string" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen" + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "nsfw": { + "type": "boolean" + }, + "parent": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "guild_template_code": { + "type": "string" + }, + "staff_only": { + "type": "boolean" + }, + "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" + }, + "discovery_splash": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "name", + "nsfw", + "welcome_screen", + "widget_enabled" + ] + }, + "RefreshedUrl": { + "type": "object", + "properties": { + "original": { + "type": "string" + }, + "refreshed": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "original", + "refreshed" + ] + }, + "TenorGifResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "url": { + "type": "string" + }, + "src": { + "type": "string" + }, + "gif_src": { + "type": "string" + }, + "width": { + "type": "integer" + }, + "height": { + "type": "integer" + }, + "preview": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "gif_src", + "height", + "id", + "preview", + "src", + "title", + "url", + "width" + ] + }, + "BackupCode": { + "type": "object", + "properties": { + "user": { + "$ref": "#/definitions/User" + }, + "code": { + "type": "string" + }, + "consumed": { + "type": "boolean" + }, + "expired": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "consumed", + "expired", + "id", + "user" + ] + }, + "APIGuild": { + "type": "object", + "properties": { + "reload": { + "description": "Reloads entity data from the database.", + "type": "object", + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "parent": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "nsfw": { + "type": "boolean" + }, + "invites": { + "type": "array", + "items": { + "$ref": "#/definitions/Invite" + } + }, + "voice_states": { + "type": "array", + "items": { + "$ref": "#/definitions/VoiceState" + } + }, + "webhooks": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook" + } + }, + "toJSON": { + "type": "object", + "additionalProperties": false + }, + "_do_validate": { + "type": "object", + "additionalProperties": false + }, + "assign": { + "type": "object", + "additionalProperties": false + }, + "hasId": { + "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.", + "type": "object", + "additionalProperties": false + }, + "save": { + "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.", + "type": "object", + "additionalProperties": false + }, + "remove": { + "description": "Removes current entity from the database.", + "type": "object", + "additionalProperties": false + }, + "softRemove": { + "description": "Records the delete date of current entity.", + "type": "object", + "additionalProperties": false + }, + "recover": { + "description": "Recovers a given entity in the database.", + "type": "object", + "additionalProperties": false + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + "banner": { + "type": "string" + }, + "unavailable": { + "type": "boolean" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/definitions/Channel" + } + }, + "members": { + "type": "array", + "items": { + "$ref": "#/definitions/Member" + } + }, + "region": { + "type": "string" + }, + "system_channel_id": { + "type": "string" + }, + "rules_channel_id": { + "type": "string" + }, + "splash": { + "type": "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" + }, + "discovery_splash": { + "type": "string" + }, + "bans": { + "type": "array", + "items": { + "$ref": "#/definitions/Ban" + } + }, + "primary_category_id": { + "type": "string" + }, + "large": { + "type": "boolean" + }, + "max_members": { + "type": "integer" + }, + "max_presences": { + "type": "integer" + }, + "max_video_channel_users": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "presence_count": { + "type": "integer" + }, + "template_id": { + "type": "string" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/definitions/Emoji" + } + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/definitions/Sticker" + } + }, + "mfa_level": { + "type": "integer" + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "type": "integer" + }, + "welcome_screen": { + "$ref": "#/definitions/GuildWelcomeScreen", + "description": "DEPRECATED: Look at the new Guild onboarding screens." + }, + "widget_channel_id": { + "type": "string" + }, + "widget_enabled": { + "type": "boolean" + }, + "nsfw_level": { + "type": "integer" + }, + "permissions": { + "type": "integer" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "_do_validate", + "assign", + "bans", + "channel_ordering", + "channels", + "emojis", + "features", + "hasId", + "id", + "invites", + "members", + "name", + "nsfw", + "premium_progress_bar_enabled", + "public_updates_channel_id", + "recover", + "reload", + "remove", + "roles", + "save", + "softRemove", + "stickers", + "toJSON", + "unavailable", + "voice_states", + "webhooks", + "welcome_screen", + "widget_enabled" + ] + }, + "DmChannelDTO": { + "type": "object", + "properties": { + "icon": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": "string" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "origin_channel_id": { + "type": [ + "null", + "string" + ] + }, + "owner_id": { + "type": "string" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/MinimalPublicUserDTO" + } + }, + "type": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "icon", + "id", + "last_message_id", + "name", + "origin_channel_id", + "recipients", + "type" + ] + }, + "MinimalPublicUserDTO": { + "type": "object", + "properties": { + "avatar": { + "type": [ + "null", + "string" + ] + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "public_flags": { + "type": "integer" + }, + "username": { + "type": "string" + }, + "badge_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -503819,6 +610127,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -508372,6 +615194,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -508879,6 +615748,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -513432,6 +620815,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -513939,6 +621369,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -518492,6 +626436,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -518999,6 +626990,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -523552,6 +632057,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -524123,6 +632675,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -528676,6 +637742,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -529183,6 +638296,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -533736,6 +643363,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -534243,6 +643917,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -538796,6 +648984,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -539303,6 +649538,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -543856,6 +654605,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -544410,6 +655206,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -548963,6 +660273,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -549613,6 +660970,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -554166,6 +666037,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -554673,6 +666591,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -559226,6 +671658,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -559733,6 +672212,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -564286,6 +677279,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -564793,6 +677833,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -569346,6 +682900,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -569853,6 +683454,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -574406,6 +688521,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -574939,6 +689101,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -579492,6 +694168,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -579999,6 +694722,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -584552,6 +699789,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -585057,6 +700341,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -589610,6 +705408,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -590138,6 +705983,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -594691,6 +711050,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -595212,6 +711618,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -599765,6 +716685,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -600405,6 +717372,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -604958,6 +722439,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -605483,6 +723011,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -610036,6 +728078,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -610567,6 +728656,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -615120,6 +733723,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -615637,6 +734287,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -620190,6 +739354,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -620707,6 +739918,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -625260,6 +744985,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -625791,6 +745563,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -630344,6 +750630,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -630864,6 +751197,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -635417,6 +756264,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -636008,6 +756902,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -640561,6 +761969,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -641088,6 +762543,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -645641,6 +767610,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -646154,6 +768170,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -650707,6 +773237,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -651220,6 +773797,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -655773,6 +778864,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -656286,6 +779424,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -660839,6 +784491,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -661355,6 +785054,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -665908,6 +790121,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -666424,6 +790684,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -670977,6 +795751,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -671492,6 +796313,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -676045,6 +801380,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -676568,6 +801950,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -681121,6 +807017,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -681650,6 +807593,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -686203,6 +812660,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -686716,6 +813220,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -691269,6 +818287,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -691831,6 +818896,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -696384,6 +823963,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -696937,6 +824563,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -701490,6 +829630,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -702003,6 +830190,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -706556,6 +835257,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -707094,6 +835842,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -711647,6 +840909,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -712280,6 +841589,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -716833,6 +846656,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -717345,6 +847215,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -721898,6 +852282,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -722457,6 +852888,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -727010,6 +857955,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -727549,6 +858541,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -732102,6 +863608,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -732694,6 +864247,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -737247,6 +869314,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -737760,6 +869874,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -742313,6 +874941,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -742834,6 +875509,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -747387,6 +880576,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -747898,6 +881134,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -752451,6 +886201,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -752968,6 +886765,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -757521,6 +891832,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -758038,6 +892396,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -762591,6 +897463,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -763230,6 +898149,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -767783,6 +903216,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -768299,6 +903779,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -772852,6 +908846,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -773369,6 +909410,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -777922,6 +914477,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -778426,6 +915028,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -782979,6 +920095,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -783498,6 +920661,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -788051,6 +925728,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -788567,6 +926291,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -793120,6 +931358,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -793651,6 +931936,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -798204,6 +937003,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -798739,6 +937585,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -803292,6 +942652,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -803806,6 +943213,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -808359,6 +948280,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -808872,6 +948840,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -813425,6 +953907,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -813938,6 +954467,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -818491,6 +959534,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { @@ -819010,6 +960100,520 @@ "type": "object", "additionalProperties": false }, + "OpenAiChatCompletionObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "chat.completion" + ] + }, + "created": { + "type": "integer" + }, + "model": { + "type": "string" + }, + "choices": { + "type": "array", + "items": { + "type": "object", + "properties": { + "index": { + "type": "integer" + }, + "message": { + "type": "object", + "properties": { + "role": { + "type": "string" + }, + "content": { + "type": [ + "null", + "string" + ] + }, + "refusal": { + "type": [ + "null", + "string" + ] + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "content", + "role" + ] + }, + "logprobs": {}, + "finish_reason": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "finish_reason", + "index", + "message" + ] + } + }, + "usage": { + "type": "object", + "properties": { + "prompt_tokens": { + "type": "integer" + }, + "completion_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + }, + "prompt_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "completion_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + }, + "audio_tokens": { + "type": "integer" + }, + "accepted_prediction_tokens": { + "type": "integer" + }, + "rejected_prediction_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "completion_tokens", + "prompt_tokens", + "total_tokens" + ] + }, + "service_tier": { + "type": "string" + }, + "system_fingerprint": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "choices", + "created", + "id", + "model", + "object", + "usage" + ] + }, + "OpenAIResponseObject": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string", + "enum": [ + "response" + ] + }, + "created_at": { + "type": "integer" + }, + "status": { + "enum": [ + "cancelled", + "completed", + "failed", + "in_progress" + ], + "type": "string" + }, + "error": { + "type": [ + "null", + "string" + ] + }, + "incomplete_details": {}, + "instructions": {}, + "max_output_tokens": { + "type": [ + "null", + "integer" + ] + }, + "model": { + "type": "string" + }, + "output": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "message" + ] + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "role": { + "type": "string" + }, + "content": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "output_text" + ] + }, + "text": { + "type": "string" + }, + "annotations": { + "type": "array", + "items": {} + } + }, + "additionalProperties": false, + "required": [ + "annotations", + "text", + "type" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "content", + "id", + "role", + "status", + "type" + ] + } + }, + "output_text": { + "type": "string" + }, + "parallel_tool_calls": { + "type": "boolean" + }, + "previous_response_id": { + "type": [ + "null", + "string" + ] + }, + "reasoning": { + "type": "object", + "properties": { + "effort": { + "type": [ + "null", + "string" + ] + }, + "summary": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "effort", + "summary" + ] + }, + "store": { + "type": "boolean" + }, + "temperature": { + "type": "integer" + }, + "text": { + "type": "object", + "properties": { + "format": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + } + }, + "additionalProperties": false, + "required": [ + "format" + ] + }, + "tool_choice": { + "type": "string" + }, + "tools": { + "type": "array", + "items": {} + }, + "top_p": { + "type": "integer" + }, + "truncation": { + "type": "string" + }, + "usage": { + "type": "object", + "properties": { + "input_tokens": { + "type": "integer" + }, + "input_tokens_details": { + "type": "object", + "properties": { + "cached_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "output_tokens": { + "type": "integer" + }, + "output_tokens_details": { + "type": "object", + "properties": { + "reasoning_tokens": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "total_tokens": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "input_tokens", + "output_tokens", + "total_tokens" + ] + }, + "user": { + "type": [ + "null", + "string" + ] + }, + "metadata": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "error", + "id", + "incomplete_details", + "instructions", + "max_output_tokens", + "metadata", + "model", + "object", + "output", + "output_text", + "parallel_tool_calls", + "previous_response_id", + "reasoning", + "status", + "store", + "temperature", + "text", + "tool_choice", + "tools", + "top_p", + "truncation", + "usage", + "user" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "MessageName": { + "enum": [ + "authenticationCleartextPassword", + "authenticationMD5Password", + "authenticationOk", + "authenticationSASL", + "authenticationSASLContinue", + "authenticationSASLFinal", + "backendKeyData", + "bindComplete", + "closeComplete", + "commandComplete", + "copyData", + "copyDone", + "copyInResponse", + "copyOutResponse", + "dataRow", + "emptyQuery", + "error", + "noData", + "notice", + "notification", + "parameterDescription", + "parameterStatus", + "parseComplete", + "portalSuspended", + "readyForQuery", + "replicationStart", + "rowDescription" + ], + "type": "string" + }, + "AutomodMentionSpamRuleSchema": { + "type": "object", + "properties": { + "mention_total_limit": { + "type": "integer" + }, + "mention_raid_protection_enabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "mention_raid_protection_enabled", + "mention_total_limit" + ] + }, + "AutomodSuspectedSpamRuleSchema": { + "type": "object", + "additionalProperties": false + }, + "AutomodCommonlyFlaggedWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "presets": { + "type": "array", + "items": [ + { + "type": "integer" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "presets" + ] + }, + "AutomodCustomWordsRuleSchema": { + "type": "object", + "properties": { + "allow_list": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "keyword_filter": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + }, + "regex_patterns": { + "type": "array", + "items": [ + { + "type": "string" + } + ], + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ + "allow_list", + "keyword_filter", + "regex_patterns" + ] + }, "ChannelPermissionOverwriteType": { "enum": [ 0, @@ -823563,6 +965167,53 @@ "username" ] }, + "GuildBansResponse": { + "type": "object", + "properties": { + "reason": { + "type": [ + "null", + "string" + ] + }, + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "id": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "public_flags": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "avatar", + "discriminator", + "id", + "public_flags", + "username" + ] + } + }, + "additionalProperties": false, + "required": [ + "reason", + "user" + ] + }, "Categories": { "type": "object", "properties": { diff --git a/src/api/routes/users/@me/settings.ts b/src/api/routes/users/@me/settings.ts index d22d6de..172f779 100644 --- a/src/api/routes/users/@me/settings.ts +++ b/src/api/routes/users/@me/settings.ts @@ -69,6 +69,8 @@ }); user.settings.assign(body); + if (body.guild_folders) + user.settings.guild_folders = body.guild_folders; await user.settings.save();