summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--assets/openapi.json1892
-rw-r--r--assets/schemas.json2058
-rw-r--r--scripts/schemaExclusions.json808
-rw-r--r--src/api/start.ts2
4 files changed, 2381 insertions, 2379 deletions
diff --git a/assets/openapi.json b/assets/openapi.json

index 509181b40..c06b5c11e 100644 --- a/assets/openapi.json +++ b/assets/openapi.json
@@ -1832,6 +1832,213 @@ "user_sessions" ] }, + "JsonArray": { + "type": "object", + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/components/schemas/JsonValue" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@751": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "__@iterator@749": { + "type": "boolean" + }, + "__@unscopables@751": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@751", + "length" + ] + }, + "GuildAvailableSchema": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "available": { + "type": "boolean" + } + }, + "required": [ + "available", + "id" + ] + }, + "Tag": { + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "channel": { + "$ref": "#/components/schemas/Channel" + }, + "name": { + "type": "string" + }, + "moderated": { + "type": "boolean", + "default": false + }, + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "channel", + "channel_id", + "id", + "moderated", + "name" + ] + }, + "InviteListResponse": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PublicInvite" + } + }, "UserAccountModifySchema": { "type": "object", "properties": { @@ -3130,40 +3337,6 @@ "verified" ] }, - "Tag": { - "type": "object", - "properties": { - "channel_id": { - "type": "string" - }, - "channel": { - "$ref": "#/components/schemas/Channel" - }, - "name": { - "type": "string" - }, - "moderated": { - "type": "boolean", - "default": false - }, - "emoji_id": { - "type": "string" - }, - "emoji_name": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": [ - "channel", - "channel_id", - "id", - "moderated", - "name" - ] - }, "Channel": { "type": "object", "properties": { @@ -3362,157 +3535,6 @@ "refreshed_urls" ] }, - "JsonArray": { - "type": "object", - "patternProperties": { - "^[0-9]+$": { - "$ref": "#/components/schemas/JsonValue" - } - }, - "properties": { - "length": { - "type": "integer" - }, - "__@unscopables@751": { - "type": "object", - "additionalProperties": false, - "patternProperties": { - "^[0-9]+$": { - "type": "boolean" - } - }, - "properties": { - "length": { - "type": "boolean" - }, - "toString": { - "type": "boolean" - }, - "toLocaleString": { - "type": "boolean" - }, - "pop": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "concat": { - "type": "boolean" - }, - "join": { - "type": "boolean" - }, - "reverse": { - "type": "boolean" - }, - "shift": { - "type": "boolean" - }, - "slice": { - "type": "boolean" - }, - "sort": { - "type": "boolean" - }, - "splice": { - "type": "boolean" - }, - "unshift": { - "type": "boolean" - }, - "indexOf": { - "type": "boolean" - }, - "lastIndexOf": { - "type": "boolean" - }, - "every": { - "type": "boolean" - }, - "some": { - "type": "boolean" - }, - "forEach": { - "type": "boolean" - }, - "map": { - "type": "boolean" - }, - "filter": { - "type": "boolean" - }, - "reduce": { - "type": "boolean" - }, - "reduceRight": { - "type": "boolean" - }, - "find": { - "type": "boolean" - }, - "findIndex": { - "type": "boolean" - }, - "fill": { - "type": "boolean" - }, - "copyWithin": { - "type": "boolean" - }, - "entries": { - "type": "boolean" - }, - "keys": { - "type": "boolean" - }, - "values": { - "type": "boolean" - }, - "includes": { - "type": "boolean" - }, - "flatMap": { - "type": "boolean" - }, - "flat": { - "type": "boolean" - }, - "at": { - "type": "boolean" - }, - "findLast": { - "type": "boolean" - }, - "findLastIndex": { - "type": "boolean" - }, - "toReversed": { - "type": "boolean" - }, - "toSorted": { - "type": "boolean" - }, - "toSpliced": { - "type": "boolean" - }, - "with": { - "type": "boolean" - }, - "__@iterator@749": { - "type": "boolean" - }, - "__@unscopables@751": { - "type": "boolean" - } - } - } - }, - "required": [ - "__@unscopables@751", - "length" - ] - }, "SettingsProtoResponse": { "type": "object", "properties": { @@ -7233,22 +7255,6 @@ "visibility" ] }, - "GuildAvailableSchema": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "available": { - "type": "boolean" - } - }, - "required": [ - "available", - "id" - ] - }, "RoleResponse": { "type": "object", "properties": { @@ -8378,12 +8384,6 @@ "$ref": "#/components/schemas/VoiceRegionResponse" } }, - "InviteListResponse": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PublicInvite" - } - }, "FieldErrorResponse": { "type": "object", "properties": { @@ -14713,6 +14713,745 @@ 2 ] }, + "JsonValue": { + "description": "Represents any possible JSON value:\n- number\n- string\n- boolean\n- null\n- object (with any JSON value as property)\n- array (with any JSON value as element)", + "anyOf": [ + { + "description": "Represents a JSON object.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/JsonValue" + } + }, + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/components/schemas/JsonValue" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@751": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "__@iterator@749": { + "type": "boolean" + }, + "__@unscopables@751": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@751", + "length" + ] + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "PublicInvite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/InviteType" + }, + "channel": { + "anyOf": [ + { + "$ref": "#/components/schemas/PublicChannel" + }, + { + "type": "null" + } + ] + }, + "guild_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "guild": { + "$ref": "#/components/schemas/InviteGuild" + }, + "profile": { + "$ref": "#/components/schemas/GuildProfileResponse" + }, + "inviter": { + "$ref": "#/components/schemas/PartialUser" + }, + "flags": { + "enum": [ + 1, + 2, + 4, + 8 + ], + "type": "number" + }, + "target_type": { + "type": "integer" + }, + "target_user": { + "$ref": "#/components/schemas/PartialUser" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InviteRole" + } + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + }, + "expires_at": { + "type": "string", + "nullable": true + }, + "new_member": { + "type": "boolean" + }, + "show_verification_form": { + "type": "boolean" + }, + "is_nickname_changeable": { + "type": "boolean" + }, + "target_users_job_status": { + "$ref": "#/components/schemas/InviteTargetUsersJob" + } + }, + "required": [ + "channel", + "code", + "expires_at", + "type" + ] + }, + "InviteType": { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + "PublicChannel": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/ChannelType" + }, + "guild_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "position": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChannelPermissionOverwrite" + } + }, + "name": { + "type": "string", + "nullable": true + }, + "topic": { + "type": "string", + "nullable": true + }, + "nsfw": { + "type": "boolean" + }, + "last_message_id": { + "type": "string", + "nullable": true + }, + "last_pin_timestamp": { + "type": "string", + "nullable": true + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "rate_limit_per_user": { + "type": "integer" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PartialUser" + } + }, + "recipient_flags": { + "type": "integer" + }, + "icon": { + "type": "string", + "nullable": true + }, + "managed": { + "type": "boolean" + }, + "blocked_user_warning_dismissed": { + "type": "boolean" + }, + "application_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "owner_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "owner": { + "anyOf": [ + { + "$ref": "#/components/schemas/PublicMember" + }, + { + "type": "null" + } + ] + }, + "parent_id": { + "type": "string", + "nullable": true + }, + "rtc_region": { + "type": "string", + "nullable": true + }, + "video_quality_mode": { + "type": "integer" + }, + "total_message_sent": { + "type": "integer" + }, + "message_count": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "member_ids_preview": { + "type": "array", + "items": { + "type": "string" + } + }, + "thread_metadata": { + "$ref": "#/components/schemas/ThreadMetadata" + }, + "member": { + "$ref": "#/components/schemas/PublicThreadMember" + }, + "default_auto_archive_duration": { + "type": "integer", + "nullable": true + }, + "default_thread_rate_limit_per_user": { + "type": "integer" + }, + "permissions": { + "type": "string" + }, + "flags": { + "type": "integer" + }, + "available_tags": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Tag" + } + }, + "applied_tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "default_reaction_emoji": { + "type": "string", + "nullable": true + }, + "default_forum_layout": { + "type": "integer" + }, + "default_sort_order": { + "type": "integer", + "nullable": true + }, + "default_tag_setting": { + "type": "string" + }, + "is_message_request": { + "type": "boolean" + }, + "is_message_request_timestamp": { + "type": "string", + "nullable": true + }, + "is_spam": { + "type": "boolean" + }, + "theme_color": { + "type": "integer", + "nullable": true + }, + "status": { + "type": "string", + "nullable": true + }, + "hd_streaming_until": { + "type": "string", + "nullable": true + }, + "hd_streaming_buyer_id": { + "type": "string", + "nullable": true + }, + "is_linkable": { + "type": "boolean" + }, + "is_viewable_and_writeable_by_all_members": { + "type": "boolean" + } + }, + "required": [ + "id", + "type" + ] + }, + "PublicThreadMember": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "user_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "join_timestamp": { + "type": "string" + }, + "flags": { + "$ref": "#/components/schemas/ThreadMemberFlags" + }, + "muted": { + "type": "boolean" + }, + "mute_config": { + "anyOf": [ + { + "$ref": "#/components/schemas/MuteConfig" + }, + { + "type": "null" + } + ] + }, + "member": { + "$ref": "#/components/schemas/PublicMember" + } + }, + "required": [ + "flags", + "join_timestamp" + ] + }, + "InviteGuild": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "banner": { + "type": "string", + "nullable": true + }, + "splash": { + "type": "string", + "nullable": true + }, + "verification_level": { + "$ref": "#/components/schemas/GuildVerificationLevel" + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "vanity_url_code": { + "type": "string", + "nullable": true + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "$ref": "#/components/schemas/GuildPremiumTier" + }, + "nsfw": { + "type": "boolean" + }, + "nsfw_level": { + "$ref": "#/components/schemas/GuildNsfwLevel" + } + }, + "required": [ + "banner", + "description", + "features", + "icon", + "id", + "name", + "nsfw", + "nsfw_level", + "premium_tier", + "splash", + "vanity_url_code", + "verification_level" + ] + }, + "GuildVerificationLevel": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ] + }, + "GuildPremiumTier": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3 + ] + }, + "GuildNsfwLevel": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3 + ] + }, + "GameActivity": { + "type": "object", + "properties": { + "activity_level": { + "type": "integer" + }, + "activity_score": { + "type": "integer" + } + }, + "required": [ + "activity_level", + "activity_score" + ] + }, + "GuildTrait": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string", + "nullable": true + }, + "emoji_name": { + "type": "string", + "nullable": true + }, + "emoji_animated": { + "type": "boolean" + }, + "label": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "required": [ + "emoji_animated", + "emoji_id", + "emoji_name", + "label", + "position" + ] + }, + "GuildVisibilityLevel": { + "type": "number", + "enum": [ + 1, + 2, + 3 + ] + }, + "InviteRole": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "color": { + "type": "integer" + }, + "colors": { + "$ref": "#/components/schemas/RoleColors" + }, + "icon": { + "type": "string", + "nullable": true + }, + "unicode_emoji": { + "type": "string", + "nullable": true + } + }, + "required": [ + "color", + "colors", + "id", + "name", + "position" + ] + }, + "InviteTargetUsersJob": { + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/InviteTargetUsersJobStatus" + }, + "total_users": { + "type": "integer" + }, + "processed_users": { + "type": "integer" + }, + "created_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } + ] + }, + "completed_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } + ] + }, + "error_message": { + "type": "string", + "nullable": true + } + }, + "required": [ + "completed_at", + "created_at", + "error_message", + "processed_users", + "status", + "total_users" + ] + }, + "InviteTargetUsersJobStatus": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3 + ] + }, "EmojiGuild": { "type": "object", "properties": { @@ -15139,242 +15878,6 @@ "webhook" ] }, - "PublicChannel": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/ChannelType" - }, - "guild_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "position": { - "type": "integer" - }, - "permission_overwrites": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ChannelPermissionOverwrite" - } - }, - "name": { - "type": "string", - "nullable": true - }, - "topic": { - "type": "string", - "nullable": true - }, - "nsfw": { - "type": "boolean" - }, - "last_message_id": { - "type": "string", - "nullable": true - }, - "last_pin_timestamp": { - "type": "string", - "nullable": true - }, - "bitrate": { - "type": "integer" - }, - "user_limit": { - "type": "integer" - }, - "rate_limit_per_user": { - "type": "integer" - }, - "recipients": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PartialUser" - } - }, - "recipient_flags": { - "type": "integer" - }, - "icon": { - "type": "string", - "nullable": true - }, - "managed": { - "type": "boolean" - }, - "blocked_user_warning_dismissed": { - "type": "boolean" - }, - "application_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "owner_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "owner": { - "anyOf": [ - { - "$ref": "#/components/schemas/PublicMember" - }, - { - "type": "null" - } - ] - }, - "parent_id": { - "type": "string", - "nullable": true - }, - "rtc_region": { - "type": "string", - "nullable": true - }, - "video_quality_mode": { - "type": "integer" - }, - "total_message_sent": { - "type": "integer" - }, - "message_count": { - "type": "integer" - }, - "member_count": { - "type": "integer" - }, - "member_ids_preview": { - "type": "array", - "items": { - "type": "string" - } - }, - "thread_metadata": { - "$ref": "#/components/schemas/ThreadMetadata" - }, - "member": { - "$ref": "#/components/schemas/PublicThreadMember" - }, - "default_auto_archive_duration": { - "type": "integer", - "nullable": true - }, - "default_thread_rate_limit_per_user": { - "type": "integer" - }, - "permissions": { - "type": "string" - }, - "flags": { - "type": "integer" - }, - "available_tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tag" - } - }, - "applied_tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "default_reaction_emoji": { - "type": "string", - "nullable": true - }, - "default_forum_layout": { - "type": "integer" - }, - "default_sort_order": { - "type": "integer", - "nullable": true - }, - "default_tag_setting": { - "type": "string" - }, - "is_message_request": { - "type": "boolean" - }, - "is_message_request_timestamp": { - "type": "string", - "nullable": true - }, - "is_spam": { - "type": "boolean" - }, - "theme_color": { - "type": "integer", - "nullable": true - }, - "status": { - "type": "string", - "nullable": true - }, - "hd_streaming_until": { - "type": "string", - "nullable": true - }, - "hd_streaming_buyer_id": { - "type": "string", - "nullable": true - }, - "is_linkable": { - "type": "boolean" - }, - "is_viewable_and_writeable_by_all_members": { - "type": "boolean" - } - }, - "required": [ - "id", - "type" - ] - }, - "PublicThreadMember": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "user_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "join_timestamp": { - "type": "string" - }, - "flags": { - "$ref": "#/components/schemas/ThreadMemberFlags" - }, - "muted": { - "type": "boolean" - }, - "mute_config": { - "anyOf": [ - { - "$ref": "#/components/schemas/MuteConfig" - }, - { - "type": "null" - } - ] - }, - "member": { - "$ref": "#/components/schemas/PublicMember" - } - }, - "required": [ - "flags", - "join_timestamp" - ] - }, "MessageActivity": { "type": "object", "properties": { @@ -15578,178 +16081,6 @@ "refreshed" ] }, - "JsonValue": { - "description": "Represents any possible JSON value:\n- number\n- string\n- boolean\n- null\n- object (with any JSON value as property)\n- array (with any JSON value as element)", - "anyOf": [ - { - "description": "Represents a JSON object.", - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/JsonValue" - } - }, - { - "type": "object", - "additionalProperties": false, - "patternProperties": { - "^[0-9]+$": { - "$ref": "#/components/schemas/JsonValue" - } - }, - "properties": { - "length": { - "type": "integer" - }, - "__@unscopables@751": { - "type": "object", - "additionalProperties": false, - "patternProperties": { - "^[0-9]+$": { - "type": "boolean" - } - }, - "properties": { - "length": { - "type": "boolean" - }, - "toString": { - "type": "boolean" - }, - "toLocaleString": { - "type": "boolean" - }, - "pop": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "concat": { - "type": "boolean" - }, - "join": { - "type": "boolean" - }, - "reverse": { - "type": "boolean" - }, - "shift": { - "type": "boolean" - }, - "slice": { - "type": "boolean" - }, - "sort": { - "type": "boolean" - }, - "splice": { - "type": "boolean" - }, - "unshift": { - "type": "boolean" - }, - "indexOf": { - "type": "boolean" - }, - "lastIndexOf": { - "type": "boolean" - }, - "every": { - "type": "boolean" - }, - "some": { - "type": "boolean" - }, - "forEach": { - "type": "boolean" - }, - "map": { - "type": "boolean" - }, - "filter": { - "type": "boolean" - }, - "reduce": { - "type": "boolean" - }, - "reduceRight": { - "type": "boolean" - }, - "find": { - "type": "boolean" - }, - "findIndex": { - "type": "boolean" - }, - "fill": { - "type": "boolean" - }, - "copyWithin": { - "type": "boolean" - }, - "entries": { - "type": "boolean" - }, - "keys": { - "type": "boolean" - }, - "values": { - "type": "boolean" - }, - "includes": { - "type": "boolean" - }, - "flatMap": { - "type": "boolean" - }, - "flat": { - "type": "boolean" - }, - "at": { - "type": "boolean" - }, - "findLast": { - "type": "boolean" - }, - "findLastIndex": { - "type": "boolean" - }, - "toReversed": { - "type": "boolean" - }, - "toSorted": { - "type": "boolean" - }, - "toSpliced": { - "type": "boolean" - }, - "with": { - "type": "boolean" - }, - "__@iterator@749": { - "type": "boolean" - }, - "__@unscopables@751": { - "type": "boolean" - } - } - } - }, - "required": [ - "__@unscopables@751", - "length" - ] - }, - { - "type": [ - "null", - "string", - "integer", - "boolean" - ] - } - ] - }, "DmChannelDTO": { "type": "object", "properties": { @@ -17502,67 +17833,6 @@ "type": "number", "const": 3 }, - "GameActivity": { - "type": "object", - "properties": { - "activity_level": { - "type": "integer" - }, - "activity_score": { - "type": "integer" - } - }, - "required": [ - "activity_level", - "activity_score" - ] - }, - "GuildTrait": { - "type": "object", - "properties": { - "emoji_id": { - "type": "string", - "nullable": true - }, - "emoji_name": { - "type": "string", - "nullable": true - }, - "emoji_animated": { - "type": "boolean" - }, - "label": { - "type": "string" - }, - "position": { - "type": "integer" - } - }, - "required": [ - "emoji_animated", - "emoji_id", - "emoji_name", - "label", - "position" - ] - }, - "GuildVisibilityLevel": { - "type": "number", - "enum": [ - 1, - 2, - 3 - ] - }, - "GuildPremiumTier": { - "type": "number", - "enum": [ - 0, - 1, - 2, - 3 - ] - }, "GifTrendingCategory": { "type": "object", "properties": { @@ -17733,276 +18003,6 @@ } } }, - "PublicInvite": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/InviteType" - }, - "channel": { - "anyOf": [ - { - "$ref": "#/components/schemas/PublicChannel" - }, - { - "type": "null" - } - ] - }, - "guild_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "guild": { - "$ref": "#/components/schemas/InviteGuild" - }, - "profile": { - "$ref": "#/components/schemas/GuildProfileResponse" - }, - "inviter": { - "$ref": "#/components/schemas/PartialUser" - }, - "flags": { - "enum": [ - 1, - 2, - 4, - 8 - ], - "type": "number" - }, - "target_type": { - "type": "integer" - }, - "target_user": { - "$ref": "#/components/schemas/PartialUser" - }, - "roles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InviteRole" - } - }, - "approximate_member_count": { - "type": "integer" - }, - "approximate_presence_count": { - "type": "integer" - }, - "expires_at": { - "type": "string", - "nullable": true - }, - "new_member": { - "type": "boolean" - }, - "show_verification_form": { - "type": "boolean" - }, - "is_nickname_changeable": { - "type": "boolean" - }, - "target_users_job_status": { - "$ref": "#/components/schemas/InviteTargetUsersJob" - } - }, - "required": [ - "channel", - "code", - "expires_at", - "type" - ] - }, - "InviteType": { - "type": "number", - "enum": [ - 0, - 1, - 2 - ] - }, - "InviteGuild": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "name": { - "type": "string" - }, - "icon": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "banner": { - "type": "string", - "nullable": true - }, - "splash": { - "type": "string", - "nullable": true - }, - "verification_level": { - "$ref": "#/components/schemas/GuildVerificationLevel" - }, - "features": { - "type": "array", - "items": { - "type": "string" - } - }, - "vanity_url_code": { - "type": "string", - "nullable": true - }, - "premium_subscription_count": { - "type": "integer" - }, - "premium_tier": { - "$ref": "#/components/schemas/GuildPremiumTier" - }, - "nsfw": { - "type": "boolean" - }, - "nsfw_level": { - "$ref": "#/components/schemas/GuildNsfwLevel" - } - }, - "required": [ - "banner", - "description", - "features", - "icon", - "id", - "name", - "nsfw", - "nsfw_level", - "premium_tier", - "splash", - "vanity_url_code", - "verification_level" - ] - }, - "GuildVerificationLevel": { - "type": "number", - "enum": [ - 0, - 1, - 2, - 3, - 4 - ] - }, - "GuildNsfwLevel": { - "type": "number", - "enum": [ - 0, - 1, - 2, - 3 - ] - }, - "InviteRole": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "name": { - "type": "string" - }, - "position": { - "type": "integer" - }, - "color": { - "type": "integer" - }, - "colors": { - "$ref": "#/components/schemas/RoleColors" - }, - "icon": { - "type": "string", - "nullable": true - }, - "unicode_emoji": { - "type": "string", - "nullable": true - } - }, - "required": [ - "color", - "colors", - "id", - "name", - "position" - ] - }, - "InviteTargetUsersJob": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/InviteTargetUsersJobStatus" - }, - "total_users": { - "type": "integer" - }, - "processed_users": { - "type": "integer" - }, - "created_at": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ] - }, - "completed_at": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ] - }, - "error_message": { - "type": "string", - "nullable": true - } - }, - "required": [ - "completed_at", - "created_at", - "error_message", - "processed_users", - "status", - "total_users" - ] - }, - "InviteTargetUsersJobStatus": { - "type": "number", - "enum": [ - 0, - 1, - 2, - 3 - ] - }, "ErrorList": { "type": "object" } diff --git a/assets/schemas.json b/assets/schemas.json
index 760fed831..c8167e6f4 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -1956,6 +1956,221 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, + "JsonArray": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JsonValue" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@751": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "__@iterator@749": { + "type": "boolean" + }, + "__@unscopables@751": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@751", + "length" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GuildAvailableSchema": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "available": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "available", + "id" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InviteListResponse": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicInvite" + }, + "definitions": { + "Tag": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "name": { + "type": "string" + }, + "moderated": { + "type": "boolean" + }, + "emoji_id": { + "type": [ + "null", + "string" + ] + }, + "emoji_name": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "emoji_id", + "emoji_name", + "id", + "moderated", + "name" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, "UserAccountModifySchema": { "type": "object", "properties": { @@ -3589,159 +3804,6 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, - "JsonArray": { - "type": "object", - "additionalProperties": false, - "patternProperties": { - "^[0-9]+$": { - "$ref": "#/definitions/JsonValue" - } - }, - "properties": { - "length": { - "type": "integer" - }, - "__@unscopables@751": { - "type": "object", - "additionalProperties": false, - "patternProperties": { - "^[0-9]+$": { - "type": "boolean" - } - }, - "properties": { - "length": { - "type": "boolean" - }, - "toString": { - "type": "boolean" - }, - "toLocaleString": { - "type": "boolean" - }, - "pop": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "concat": { - "type": "boolean" - }, - "join": { - "type": "boolean" - }, - "reverse": { - "type": "boolean" - }, - "shift": { - "type": "boolean" - }, - "slice": { - "type": "boolean" - }, - "sort": { - "type": "boolean" - }, - "splice": { - "type": "boolean" - }, - "unshift": { - "type": "boolean" - }, - "indexOf": { - "type": "boolean" - }, - "lastIndexOf": { - "type": "boolean" - }, - "every": { - "type": "boolean" - }, - "some": { - "type": "boolean" - }, - "forEach": { - "type": "boolean" - }, - "map": { - "type": "boolean" - }, - "filter": { - "type": "boolean" - }, - "reduce": { - "type": "boolean" - }, - "reduceRight": { - "type": "boolean" - }, - "find": { - "type": "boolean" - }, - "findIndex": { - "type": "boolean" - }, - "fill": { - "type": "boolean" - }, - "copyWithin": { - "type": "boolean" - }, - "entries": { - "type": "boolean" - }, - "keys": { - "type": "boolean" - }, - "values": { - "type": "boolean" - }, - "includes": { - "type": "boolean" - }, - "flatMap": { - "type": "boolean" - }, - "flat": { - "type": "boolean" - }, - "at": { - "type": "boolean" - }, - "findLast": { - "type": "boolean" - }, - "findLastIndex": { - "type": "boolean" - }, - "toReversed": { - "type": "boolean" - }, - "toSorted": { - "type": "boolean" - }, - "toSpliced": { - "type": "boolean" - }, - "with": { - "type": "boolean" - }, - "__@iterator@749": { - "type": "boolean" - }, - "__@unscopables@751": { - "type": "boolean" - } - } - } - }, - "required": [ - "__@unscopables@751", - "length" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, "SettingsProtoResponse": { "type": "object", "properties": { @@ -8240,24 +8302,6 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, - "GuildAvailableSchema": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "available": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "available", - "id" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, "RoleResponse": { "type": "object", "properties": { @@ -9444,50 +9488,6 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "InviteListResponse": { - "type": "array", - "items": { - "$ref": "#/definitions/PublicInvite" - }, - "definitions": { - "Tag": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "name": { - "type": "string" - }, - "moderated": { - "type": "boolean" - }, - "emoji_id": { - "type": [ - "null", - "string" - ] - }, - "emoji_name": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false, - "required": [ - "emoji_id", - "emoji_name", - "id", - "moderated", - "name" - ] - } - }, - "$schema": "http://json-schema.org/draft-07/schema#" - }, "FieldErrorResponse": { "type": "object", "properties": { @@ -16444,6 +16444,820 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, + "JsonValue": { + "description": "Represents any possible JSON value:\n- number\n- string\n- boolean\n- null\n- object (with any JSON value as property)\n- array (with any JSON value as element)", + "anyOf": [ + { + "description": "Represents a JSON object.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JsonValue" + } + }, + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JsonValue" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@751": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "__@iterator@749": { + "type": "boolean" + }, + "__@unscopables@751": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@751", + "length" + ] + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "PublicInvite": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/InviteType" + }, + "channel": { + "anyOf": [ + { + "$ref": "#/definitions/PublicChannel" + }, + { + "type": "null" + } + ] + }, + "guild_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "guild": { + "$ref": "#/definitions/InviteGuild" + }, + "profile": { + "$ref": "#/definitions/GuildProfileResponse" + }, + "inviter": { + "$ref": "#/definitions/PartialUser" + }, + "flags": { + "enum": [ + 1, + 2, + 4, + 8 + ], + "type": "number" + }, + "target_type": { + "type": "integer" + }, + "target_user": { + "$ref": "#/definitions/PartialUser" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/definitions/InviteRole" + } + }, + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + }, + "expires_at": { + "type": [ + "null", + "string" + ] + }, + "new_member": { + "type": "boolean" + }, + "show_verification_form": { + "type": "boolean" + }, + "is_nickname_changeable": { + "type": "boolean" + }, + "target_users_job_status": { + "$ref": "#/definitions/InviteTargetUsersJob" + } + }, + "additionalProperties": false, + "required": [ + "channel", + "code", + "expires_at", + "type" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InviteType": { + "type": "number", + "enum": [ + 0, + 1, + 2 + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "PublicChannel": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "type": { + "$ref": "#/definitions/ChannelType" + }, + "guild_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "position": { + "type": "integer" + }, + "permission_overwrites": { + "type": "array", + "items": { + "$ref": "#/definitions/ChannelPermissionOverwrite" + } + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "topic": { + "type": [ + "null", + "string" + ] + }, + "nsfw": { + "type": "boolean" + }, + "last_message_id": { + "type": [ + "null", + "string" + ] + }, + "last_pin_timestamp": { + "type": [ + "null", + "string" + ] + }, + "bitrate": { + "type": "integer" + }, + "user_limit": { + "type": "integer" + }, + "rate_limit_per_user": { + "type": "integer" + }, + "recipients": { + "type": "array", + "items": { + "$ref": "#/definitions/PartialUser" + } + }, + "recipient_flags": { + "type": "integer" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "managed": { + "type": "boolean" + }, + "blocked_user_warning_dismissed": { + "type": "boolean" + }, + "application_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "owner_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "owner": { + "anyOf": [ + { + "$ref": "#/definitions/PublicMember" + }, + { + "type": "null" + } + ] + }, + "parent_id": { + "type": [ + "null", + "string" + ] + }, + "rtc_region": { + "type": [ + "null", + "string" + ] + }, + "video_quality_mode": { + "type": "integer" + }, + "total_message_sent": { + "type": "integer" + }, + "message_count": { + "type": "integer" + }, + "member_count": { + "type": "integer" + }, + "member_ids_preview": { + "type": "array", + "items": { + "type": "string" + } + }, + "thread_metadata": { + "$ref": "#/definitions/ThreadMetadata" + }, + "member": { + "$ref": "#/definitions/PublicThreadMember" + }, + "default_auto_archive_duration": { + "type": [ + "null", + "integer" + ] + }, + "default_thread_rate_limit_per_user": { + "type": "integer" + }, + "permissions": { + "type": "string" + }, + "flags": { + "type": "integer" + }, + "available_tags": { + "type": "array", + "items": { + "$ref": "#/definitions/Tag" + } + }, + "applied_tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "default_reaction_emoji": { + "type": [ + "null", + "string" + ] + }, + "default_forum_layout": { + "type": "integer" + }, + "default_sort_order": { + "type": [ + "null", + "integer" + ] + }, + "default_tag_setting": { + "type": "string" + }, + "is_message_request": { + "type": "boolean" + }, + "is_message_request_timestamp": { + "type": [ + "null", + "string" + ] + }, + "is_spam": { + "type": "boolean" + }, + "theme_color": { + "type": [ + "null", + "integer" + ] + }, + "status": { + "type": [ + "null", + "string" + ] + }, + "hd_streaming_until": { + "type": [ + "null", + "string" + ] + }, + "hd_streaming_buyer_id": { + "type": [ + "null", + "string" + ] + }, + "is_linkable": { + "type": "boolean" + }, + "is_viewable_and_writeable_by_all_members": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "id", + "type" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "PublicThreadMember": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "user_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "join_timestamp": { + "type": "string" + }, + "flags": { + "$ref": "#/definitions/ThreadMemberFlags" + }, + "muted": { + "type": "boolean" + }, + "mute_config": { + "anyOf": [ + { + "$ref": "#/definitions/MuteConfig" + }, + { + "type": "null" + } + ] + }, + "member": { + "$ref": "#/definitions/PublicMember" + } + }, + "additionalProperties": false, + "required": [ + "flags", + "join_timestamp" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InviteGuild": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "name": { + "type": "string" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "banner": { + "type": [ + "null", + "string" + ] + }, + "splash": { + "type": [ + "null", + "string" + ] + }, + "verification_level": { + "$ref": "#/definitions/GuildVerificationLevel" + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "vanity_url_code": { + "type": [ + "null", + "string" + ] + }, + "premium_subscription_count": { + "type": "integer" + }, + "premium_tier": { + "$ref": "#/definitions/GuildPremiumTier" + }, + "nsfw": { + "type": "boolean" + }, + "nsfw_level": { + "$ref": "#/definitions/GuildNsfwLevel" + } + }, + "additionalProperties": false, + "required": [ + "banner", + "description", + "features", + "icon", + "id", + "name", + "nsfw", + "nsfw_level", + "premium_tier", + "splash", + "vanity_url_code", + "verification_level" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GuildVerificationLevel": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GuildPremiumTier": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3 + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GuildNsfwLevel": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3 + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GameActivity": { + "type": "object", + "properties": { + "activity_level": { + "type": "integer" + }, + "activity_score": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "activity_level", + "activity_score" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GuildTrait": { + "type": "object", + "properties": { + "emoji_id": { + "type": [ + "null", + "string" + ] + }, + "emoji_name": { + "type": [ + "null", + "string" + ] + }, + "emoji_animated": { + "type": "boolean" + }, + "label": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "emoji_animated", + "emoji_id", + "emoji_name", + "label", + "position" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GuildVisibilityLevel": { + "type": "number", + "enum": [ + 1, + 2, + 3 + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InviteRole": { + "type": "object", + "properties": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer" + }, + "color": { + "type": "integer" + }, + "colors": { + "$ref": "#/definitions/RoleColors" + }, + "icon": { + "type": [ + "null", + "string" + ] + }, + "unicode_emoji": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "color", + "colors", + "id", + "name", + "position" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InviteTargetUsersJob": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/InviteTargetUsersJobStatus" + }, + "total_users": { + "type": "integer" + }, + "processed_users": { + "type": "integer" + }, + "created_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } + ] + }, + "completed_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "null" + } + ] + }, + "error_message": { + "type": [ + "null", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "completed_at", + "created_at", + "error_message", + "processed_users", + "status", + "total_users" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InviteTargetUsersJobStatus": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3 + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, "EmojiGuild": { "type": "object", "properties": { @@ -16901,276 +17715,6 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, - "PublicChannel": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "type": { - "$ref": "#/definitions/ChannelType" - }, - "guild_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "position": { - "type": "integer" - }, - "permission_overwrites": { - "type": "array", - "items": { - "$ref": "#/definitions/ChannelPermissionOverwrite" - } - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "topic": { - "type": [ - "null", - "string" - ] - }, - "nsfw": { - "type": "boolean" - }, - "last_message_id": { - "type": [ - "null", - "string" - ] - }, - "last_pin_timestamp": { - "type": [ - "null", - "string" - ] - }, - "bitrate": { - "type": "integer" - }, - "user_limit": { - "type": "integer" - }, - "rate_limit_per_user": { - "type": "integer" - }, - "recipients": { - "type": "array", - "items": { - "$ref": "#/definitions/PartialUser" - } - }, - "recipient_flags": { - "type": "integer" - }, - "icon": { - "type": [ - "null", - "string" - ] - }, - "managed": { - "type": "boolean" - }, - "blocked_user_warning_dismissed": { - "type": "boolean" - }, - "application_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "owner_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "owner": { - "anyOf": [ - { - "$ref": "#/definitions/PublicMember" - }, - { - "type": "null" - } - ] - }, - "parent_id": { - "type": [ - "null", - "string" - ] - }, - "rtc_region": { - "type": [ - "null", - "string" - ] - }, - "video_quality_mode": { - "type": "integer" - }, - "total_message_sent": { - "type": "integer" - }, - "message_count": { - "type": "integer" - }, - "member_count": { - "type": "integer" - }, - "member_ids_preview": { - "type": "array", - "items": { - "type": "string" - } - }, - "thread_metadata": { - "$ref": "#/definitions/ThreadMetadata" - }, - "member": { - "$ref": "#/definitions/PublicThreadMember" - }, - "default_auto_archive_duration": { - "type": [ - "null", - "integer" - ] - }, - "default_thread_rate_limit_per_user": { - "type": "integer" - }, - "permissions": { - "type": "string" - }, - "flags": { - "type": "integer" - }, - "available_tags": { - "type": "array", - "items": { - "$ref": "#/definitions/Tag" - } - }, - "applied_tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "default_reaction_emoji": { - "type": [ - "null", - "string" - ] - }, - "default_forum_layout": { - "type": "integer" - }, - "default_sort_order": { - "type": [ - "null", - "integer" - ] - }, - "default_tag_setting": { - "type": "string" - }, - "is_message_request": { - "type": "boolean" - }, - "is_message_request_timestamp": { - "type": [ - "null", - "string" - ] - }, - "is_spam": { - "type": "boolean" - }, - "theme_color": { - "type": [ - "null", - "integer" - ] - }, - "status": { - "type": [ - "null", - "string" - ] - }, - "hd_streaming_until": { - "type": [ - "null", - "string" - ] - }, - "hd_streaming_buyer_id": { - "type": [ - "null", - "string" - ] - }, - "is_linkable": { - "type": "boolean" - }, - "is_viewable_and_writeable_by_all_members": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "id", - "type" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "PublicThreadMember": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "user_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "join_timestamp": { - "type": "string" - }, - "flags": { - "$ref": "#/definitions/ThreadMemberFlags" - }, - "muted": { - "type": "boolean" - }, - "mute_config": { - "anyOf": [ - { - "$ref": "#/definitions/MuteConfig" - }, - { - "type": "null" - } - ] - }, - "member": { - "$ref": "#/definitions/PublicMember" - } - }, - "additionalProperties": false, - "required": [ - "flags", - "join_timestamp" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, "MessageActivity": { "type": "object", "properties": { @@ -17390,179 +17934,6 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, - "JsonValue": { - "description": "Represents any possible JSON value:\n- number\n- string\n- boolean\n- null\n- object (with any JSON value as property)\n- array (with any JSON value as element)", - "anyOf": [ - { - "description": "Represents a JSON object.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/JsonValue" - } - }, - { - "type": "object", - "additionalProperties": false, - "patternProperties": { - "^[0-9]+$": { - "$ref": "#/definitions/JsonValue" - } - }, - "properties": { - "length": { - "type": "integer" - }, - "__@unscopables@751": { - "type": "object", - "additionalProperties": false, - "patternProperties": { - "^[0-9]+$": { - "type": "boolean" - } - }, - "properties": { - "length": { - "type": "boolean" - }, - "toString": { - "type": "boolean" - }, - "toLocaleString": { - "type": "boolean" - }, - "pop": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "concat": { - "type": "boolean" - }, - "join": { - "type": "boolean" - }, - "reverse": { - "type": "boolean" - }, - "shift": { - "type": "boolean" - }, - "slice": { - "type": "boolean" - }, - "sort": { - "type": "boolean" - }, - "splice": { - "type": "boolean" - }, - "unshift": { - "type": "boolean" - }, - "indexOf": { - "type": "boolean" - }, - "lastIndexOf": { - "type": "boolean" - }, - "every": { - "type": "boolean" - }, - "some": { - "type": "boolean" - }, - "forEach": { - "type": "boolean" - }, - "map": { - "type": "boolean" - }, - "filter": { - "type": "boolean" - }, - "reduce": { - "type": "boolean" - }, - "reduceRight": { - "type": "boolean" - }, - "find": { - "type": "boolean" - }, - "findIndex": { - "type": "boolean" - }, - "fill": { - "type": "boolean" - }, - "copyWithin": { - "type": "boolean" - }, - "entries": { - "type": "boolean" - }, - "keys": { - "type": "boolean" - }, - "values": { - "type": "boolean" - }, - "includes": { - "type": "boolean" - }, - "flatMap": { - "type": "boolean" - }, - "flat": { - "type": "boolean" - }, - "at": { - "type": "boolean" - }, - "findLast": { - "type": "boolean" - }, - "findLastIndex": { - "type": "boolean" - }, - "toReversed": { - "type": "boolean" - }, - "toSorted": { - "type": "boolean" - }, - "toSpliced": { - "type": "boolean" - }, - "with": { - "type": "boolean" - }, - "__@iterator@749": { - "type": "boolean" - }, - "__@unscopables@751": { - "type": "boolean" - } - } - } - }, - "required": [ - "__@unscopables@751", - "length" - ] - }, - { - "type": [ - "null", - "string", - "integer", - "boolean" - ] - } - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, "DmChannelDTO": { "type": "object", "properties": { @@ -19451,77 +19822,6 @@ "const": 3, "$schema": "http://json-schema.org/draft-07/schema#" }, - "GameActivity": { - "type": "object", - "properties": { - "activity_level": { - "type": "integer" - }, - "activity_score": { - "type": "integer" - } - }, - "additionalProperties": false, - "required": [ - "activity_level", - "activity_score" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "GuildTrait": { - "type": "object", - "properties": { - "emoji_id": { - "type": [ - "null", - "string" - ] - }, - "emoji_name": { - "type": [ - "null", - "string" - ] - }, - "emoji_animated": { - "type": "boolean" - }, - "label": { - "type": "string" - }, - "position": { - "type": "integer" - } - }, - "additionalProperties": false, - "required": [ - "emoji_animated", - "emoji_id", - "emoji_name", - "label", - "position" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "GuildVisibilityLevel": { - "type": "number", - "enum": [ - 1, - 2, - 3 - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "GuildPremiumTier": { - "type": "number", - "enum": [ - 0, - 1, - 2, - 3 - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, "GifTrendingCategory": { "type": "object", "properties": { @@ -19708,306 +20008,6 @@ "additionalProperties": false, "$schema": "http://json-schema.org/draft-07/schema#" }, - "PublicInvite": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/InviteType" - }, - "channel": { - "anyOf": [ - { - "$ref": "#/definitions/PublicChannel" - }, - { - "type": "null" - } - ] - }, - "guild_id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "guild": { - "$ref": "#/definitions/InviteGuild" - }, - "profile": { - "$ref": "#/definitions/GuildProfileResponse" - }, - "inviter": { - "$ref": "#/definitions/PartialUser" - }, - "flags": { - "enum": [ - 1, - 2, - 4, - 8 - ], - "type": "number" - }, - "target_type": { - "type": "integer" - }, - "target_user": { - "$ref": "#/definitions/PartialUser" - }, - "roles": { - "type": "array", - "items": { - "$ref": "#/definitions/InviteRole" - } - }, - "approximate_member_count": { - "type": "integer" - }, - "approximate_presence_count": { - "type": "integer" - }, - "expires_at": { - "type": [ - "null", - "string" - ] - }, - "new_member": { - "type": "boolean" - }, - "show_verification_form": { - "type": "boolean" - }, - "is_nickname_changeable": { - "type": "boolean" - }, - "target_users_job_status": { - "$ref": "#/definitions/InviteTargetUsersJob" - } - }, - "additionalProperties": false, - "required": [ - "channel", - "code", - "expires_at", - "type" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "InviteType": { - "type": "number", - "enum": [ - 0, - 1, - 2 - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "InviteGuild": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "name": { - "type": "string" - }, - "icon": { - "type": [ - "null", - "string" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "banner": { - "type": [ - "null", - "string" - ] - }, - "splash": { - "type": [ - "null", - "string" - ] - }, - "verification_level": { - "$ref": "#/definitions/GuildVerificationLevel" - }, - "features": { - "type": "array", - "items": { - "type": "string" - } - }, - "vanity_url_code": { - "type": [ - "null", - "string" - ] - }, - "premium_subscription_count": { - "type": "integer" - }, - "premium_tier": { - "$ref": "#/definitions/GuildPremiumTier" - }, - "nsfw": { - "type": "boolean" - }, - "nsfw_level": { - "$ref": "#/definitions/GuildNsfwLevel" - } - }, - "additionalProperties": false, - "required": [ - "banner", - "description", - "features", - "icon", - "id", - "name", - "nsfw", - "nsfw_level", - "premium_tier", - "splash", - "vanity_url_code", - "verification_level" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "GuildVerificationLevel": { - "type": "number", - "enum": [ - 0, - 1, - 2, - 3, - 4 - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "GuildNsfwLevel": { - "type": "number", - "enum": [ - 0, - 1, - 2, - 3 - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "InviteRole": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "name": { - "type": "string" - }, - "position": { - "type": "integer" - }, - "color": { - "type": "integer" - }, - "colors": { - "$ref": "#/definitions/RoleColors" - }, - "icon": { - "type": [ - "null", - "string" - ] - }, - "unicode_emoji": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false, - "required": [ - "color", - "colors", - "id", - "name", - "position" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "InviteTargetUsersJob": { - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/InviteTargetUsersJobStatus" - }, - "total_users": { - "type": "integer" - }, - "processed_users": { - "type": "integer" - }, - "created_at": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ] - }, - "completed_at": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ] - }, - "error_message": { - "type": [ - "null", - "string" - ] - } - }, - "additionalProperties": false, - "required": [ - "completed_at", - "created_at", - "error_message", - "processed_users", - "status", - "total_users" - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, - "InviteTargetUsersJobStatus": { - "type": "number", - "enum": [ - 0, - 1, - 2, - 3 - ], - "$schema": "http://json-schema.org/draft-07/schema#" - }, "ErrorList": { "type": "object", "additionalProperties": false, diff --git a/scripts/schemaExclusions.json b/scripts/schemaExclusions.json
index 39d82add8..6c5ad24f2 100644 --- a/scripts/schemaExclusions.json +++ b/scripts/schemaExclusions.json
@@ -11,413 +11,415 @@ "^AutomodRuleTriggerType\\..*", "^AutomodRuleActionType\\..*" ], - "manual": [ - "DefaultSchema", - "Schema", - "EntitySchema", - "ReadableStream<any>", - "SomeJSONSchema", - "UncheckedPartialSchema", - "PartialSchema", - "UncheckedPropertiesSchema", - "PropertiesSchema", - "AsyncSchema", - "AnySchema", - "SMTPConnection.CustomAuthenticationResponse", - "TransportMakeRequestResponse", - "StaticSchema", - "CSVImportResponse", - "NewMultipleMembersResponse", - "EventsResponse", - "NotificationAPIResponse", - "MetricsAPIResponse", - "ValidationResponse", - "MultipleValidationJobsListResponse", - "UpdateRouteResponse", - "MessagesSendAPIResponse", - "APIWebhook", - "WebhookValidationResponse", - "MessageResponse", - "ConnectionSettingsResponse", - "UpdatedDKIMSelectorResponse", - "UpdatedWebPrefixResponse", - "APIResponse", - "APIErrorOptions", - "APIErrorType", - "ListTagsForResourceResponse", - "GetContactResponse", - "LibraryResponse", - "LibraryLocalResponse", - "SchemaTraits", - "TraitsSchema", + "manual": [ + "DefaultSchema", + "Schema", + "EntitySchema", + "ReadableStream<any>", + "SomeJSONSchema", + "UncheckedPartialSchema", + "PartialSchema", + "UncheckedPropertiesSchema", + "PropertiesSchema", + "AsyncSchema", + "AnySchema", + "SMTPConnection.CustomAuthenticationResponse", + "TransportMakeRequestResponse", + "StaticSchema", + "CSVImportResponse", + "NewMultipleMembersResponse", + "EventsResponse", + "NotificationAPIResponse", + "MetricsAPIResponse", + "ValidationResponse", + "MultipleValidationJobsListResponse", + "UpdateRouteResponse", + "MessagesSendAPIResponse", + "APIWebhook", + "WebhookValidationResponse", + "MessageResponse", + "ConnectionSettingsResponse", + "UpdatedDKIMSelectorResponse", + "UpdatedWebPrefixResponse", + "APIResponse", + "APIErrorOptions", + "APIErrorType", + "ListTagsForResourceResponse", + "GetContactResponse", + "LibraryResponse", + "LibraryLocalResponse", + "SchemaTraits", + "TraitsSchema", "AbuseIpDbBlacklistResponse", - "AbuseIpDbCheckResponse", + "AbuseIpDbCheckResponse", "IpDataIpLookupResponse", "StopForumSpamResponse", "recaptchaResponse", "hcaptchaResponse", "KeySchema" - ], - "manualRe": [ - ".*\\.Response$", - "^(Http2Server|Server|Express|(Resolved|)Http|Client|_|)Response$", - ".*\\..*", - "^Axios.*", - "^Internal", - "^Record<", - "^Omit<", - "^ListContact(s|Lists)Response$", - "^APIKeyConfiguration\\..*", - "^AccountSetting\\..*", - "^BulkContactManagement\\..*", - "^Campaign.*", - "^Contact.*", - "^DNS\\..*", - "^Delete.*", - "^Destroy.*", - "^Template\\..*", - "^Webhook\\..*", + ], + "manualRe": [ + ".*\\.Response$", + "^(Http2Server|Server|Express|(Resolved|)Http|Client|_|)Response$", + ".*\\..*", + "^Axios.*", + "^Internal", + "^Record<", + "^Omit<", + "^ListContact(s|Lists)Response$", + "^APIKeyConfiguration\\..*", + "^AccountSetting\\..*", + "^BulkContactManagement\\..*", + "^Campaign.*", + "^Contact.*", + "^DNS\\..*", + "^Delete.*", + "^Destroy.*", + "^Template\\..*", + "^Webhook\\..*", "^(BigDecimal|BigInteger|Blob|Boolean|Document|Error|List|Map|Normalized|Numeric|StreamingBlob|TimestampDateTime|TimestampHttpDate|TimestampEpochSeconds|Simple)Schema", - "^((Create|Update)Contact(|List))Response$", - "^(T|Unt)agResourceResponse$", - "^Put", - "^Inbox", - "^Seed", - "^DomainTag", - "^IpPool", - "DomainTemplate", - "^\\$", - "^Suppression", - "^Mail(|ing)List", - "DomainTracking", - "UpdatedDomain", - "ConfigurationSet", - "ContactList", - "^IPR", - "^Job" - ], - "manualWarn": [], - "manualWarnRe": [".*<.*>$"], - "auto": [ - { - "value": "StringSchema", - "reason": "AWS Smithy schema" - }, - { - "value": "TimestampDefaultSchema", - "reason": "AWS Smithy schema" - }, - { - "value": "StaticSimpleSchema", - "reason": "Self-reference only schema" - }, - { - "value": "StaticListSchema", - "reason": "Self-reference only schema" - }, - { - "value": "StaticMapSchema", - "reason": "Self-reference only schema" - }, - { - "value": "StaticStructureSchema", - "reason": "Self-reference only schema" - }, - { - "value": "StaticErrorSchema", - "reason": "Self-reference only schema" - }, - { - "value": "StaticOperationSchema", - "reason": "Self-reference only schema" - }, - { - "value": "UnitSchema", - "reason": "AWS Smithy schema" - }, - { - "value": "MemberSchema", - "reason": "Self-reference only schema" - }, - { - "value": "StructureSchema", - "reason": "Self-reference only schema" - }, - { - "value": "OperationSchema", - "reason": "Self-reference only schema" - }, - { - "value": "BatchGetMetricDataResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CancelExportJobResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateCustomVerificationEmailTemplateResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateDedicatedIpPoolResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateDeliverabilityTestReportResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateEmailIdentityResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateEmailIdentityPolicyResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateEmailTemplateResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateExportJobResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateImportJobResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateMultiRegionEndpointResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateTenantResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "CreateTenantResourceAssociationResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetAccountResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetBlacklistReportsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetCustomVerificationEmailTemplateResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetDedicatedIpResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetDedicatedIpPoolResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetDedicatedIpsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetDeliverabilityDashboardOptionsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetDeliverabilityTestReportResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetDomainDeliverabilityCampaignResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetDomainStatisticsReportResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetEmailIdentityResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetEmailIdentityPoliciesResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetEmailTemplateResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetExportJobResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetImportJobResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetMessageInsightsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetMultiRegionEndpointResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetReputationEntityResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetSuppressedDestinationResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "GetTenantResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListCustomVerificationEmailTemplatesResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListDedicatedIpPoolsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListDeliverabilityTestReportsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListDomainDeliverabilityCampaignsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListEmailIdentitiesResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListEmailTemplatesResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListExportJobsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListImportJobsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListMultiRegionEndpointsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListRecommendationsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListReputationEntitiesResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListResourceTenantsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListSuppressedDestinationsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListTenantResourcesResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "ListTenantsResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "SendBulkEmailResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "SendCustomVerificationEmailResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "SendEmailResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "TestRenderEmailTemplateResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "UpdateCustomVerificationEmailTemplateResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "UpdateEmailIdentityPolicyResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "UpdateEmailTemplateResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "UpdateReputationEntityCustomerManagedStatusResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "UpdateReputationEntityPolicyResponse", - "reason": "HTML paragraph in description" - }, - { - "value": "UpdatedDKIMAuthorityResponse", - "reason": "Uses import()" - }, - { - "value": "ListRecipientResponse", - "reason": "Schema with only uppercase properties" - }, - { - "value": "TemplateResponse", - "reason": "Schema with only uppercase properties" - }, - { - "value": "TemplateDetailContentResponse", - "reason": "Schema with only uppercase properties" - }, - { - "value": "EventCallbackUrlResponse", - "reason": "Schema with only uppercase properties" - }, - { - "value": "ParseRouteResponse", - "reason": "Schema with only uppercase properties" - }, - { - "value": "SenderResponse", - "reason": "Schema with only uppercase properties" - }, - { - "value": "MetaSenderResponse", - "reason": "Schema with only uppercase properties" - }, - { - "value": "ApiKeyResponse", - "reason": "Schema with only uppercase properties" - }, - { - "value": "MyProfileResponse", - "reason": "Schema with only uppercase properties" - }, - { - "value": "UserResponse", - "reason": "Schema with only uppercase properties" - } - ] -} + "^((Create|Update)Contact(|List))Response$", + "^(T|Unt)agResourceResponse$", + "^Put", + "^Inbox", + "^Seed", + "^DomainTag", + "^IpPool", + "DomainTemplate", + "^\\$", + "^Suppression", + "^Mail(|ing)List", + "DomainTracking", + "UpdatedDomain", + "ConfigurationSet", + "ContactList", + "^IPR", + "^Job" + ], + "manualWarn": [], + "manualWarnRe": [ + ".*<.*>$" + ], + "auto": [ + { + "value": "StringSchema", + "reason": "AWS Smithy schema" + }, + { + "value": "TimestampDefaultSchema", + "reason": "AWS Smithy schema" + }, + { + "value": "StaticSimpleSchema", + "reason": "Self-reference only schema" + }, + { + "value": "StaticListSchema", + "reason": "Self-reference only schema" + }, + { + "value": "StaticMapSchema", + "reason": "Self-reference only schema" + }, + { + "value": "StaticStructureSchema", + "reason": "Self-reference only schema" + }, + { + "value": "StaticErrorSchema", + "reason": "Self-reference only schema" + }, + { + "value": "StaticOperationSchema", + "reason": "Self-reference only schema" + }, + { + "value": "UnitSchema", + "reason": "AWS Smithy schema" + }, + { + "value": "MemberSchema", + "reason": "Self-reference only schema" + }, + { + "value": "StructureSchema", + "reason": "Self-reference only schema" + }, + { + "value": "OperationSchema", + "reason": "Self-reference only schema" + }, + { + "value": "BatchGetMetricDataResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CancelExportJobResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateCustomVerificationEmailTemplateResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateDedicatedIpPoolResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateDeliverabilityTestReportResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateEmailIdentityResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateEmailIdentityPolicyResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateEmailTemplateResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateExportJobResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateImportJobResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateMultiRegionEndpointResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateTenantResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "CreateTenantResourceAssociationResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetAccountResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetBlacklistReportsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetCustomVerificationEmailTemplateResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetDedicatedIpResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetDedicatedIpPoolResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetDedicatedIpsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetDeliverabilityDashboardOptionsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetDeliverabilityTestReportResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetDomainDeliverabilityCampaignResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetDomainStatisticsReportResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetEmailIdentityResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetEmailIdentityPoliciesResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetEmailTemplateResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetExportJobResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetImportJobResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetMessageInsightsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetMultiRegionEndpointResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetReputationEntityResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetSuppressedDestinationResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "GetTenantResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListCustomVerificationEmailTemplatesResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListDedicatedIpPoolsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListDeliverabilityTestReportsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListDomainDeliverabilityCampaignsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListEmailIdentitiesResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListEmailTemplatesResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListExportJobsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListImportJobsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListMultiRegionEndpointsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListRecommendationsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListReputationEntitiesResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListResourceTenantsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListSuppressedDestinationsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListTenantResourcesResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "ListTenantsResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "SendBulkEmailResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "SendCustomVerificationEmailResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "SendEmailResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "TestRenderEmailTemplateResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "UpdateCustomVerificationEmailTemplateResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "UpdateEmailIdentityPolicyResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "UpdateEmailTemplateResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "UpdateReputationEntityCustomerManagedStatusResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "UpdateReputationEntityPolicyResponse", + "reason": "HTML paragraph in description" + }, + { + "value": "UpdatedDKIMAuthorityResponse", + "reason": "Uses import()" + }, + { + "value": "ListRecipientResponse", + "reason": "Schema with only uppercase properties" + }, + { + "value": "TemplateResponse", + "reason": "Schema with only uppercase properties" + }, + { + "value": "TemplateDetailContentResponse", + "reason": "Schema with only uppercase properties" + }, + { + "value": "EventCallbackUrlResponse", + "reason": "Schema with only uppercase properties" + }, + { + "value": "ParseRouteResponse", + "reason": "Schema with only uppercase properties" + }, + { + "value": "SenderResponse", + "reason": "Schema with only uppercase properties" + }, + { + "value": "MetaSenderResponse", + "reason": "Schema with only uppercase properties" + }, + { + "value": "ApiKeyResponse", + "reason": "Schema with only uppercase properties" + }, + { + "value": "MyProfileResponse", + "reason": "Schema with only uppercase properties" + }, + { + "value": "UserResponse", + "reason": "Schema with only uppercase properties" + } + ] +} \ No newline at end of file diff --git a/src/api/start.ts b/src/api/start.ts
index bfc4a143b..2309d1674 100644 --- a/src/api/start.ts +++ b/src/api/start.ts
@@ -28,7 +28,7 @@ import cluster from "node:cluster"; import os from "node:os"; import fs from "node:fs"; import { SpacebarServer } from "./Server"; -import { EnvConfig } from "@spacebar/util"; +import { EnvConfig } from "@spacebar/util/config/EnvConfig"; let cores = 1; try {