diff options
-rw-r--r-- | assets/openapi.json | 43 | ||||
-rw-r--r-- | assets/schemas.json | 2712 | ||||
-rw-r--r-- | src/api/routes/channels/#channel_id/messages/index.ts | 5 | ||||
-rw-r--r-- | src/api/routes/guilds/#guild_id/bans.ts | 1 | ||||
-rw-r--r-- | src/api/routes/guilds/#guild_id/messages/search.ts | 1 | ||||
-rw-r--r-- | src/api/routes/oauth2/authorize.ts | 3 | ||||
-rw-r--r-- | src/api/routes/users/#id/relationships.ts | 1 | ||||
-rw-r--r-- | src/connections/Discord/index.ts | 10 | ||||
-rw-r--r-- | src/util/dtos/UserDTO.ts | 7 | ||||
-rw-r--r-- | src/util/entities/User.ts | 8 | ||||
-rw-r--r-- | src/util/schemas/responses/GuildBansResponse.ts | 3 | ||||
-rw-r--r-- | src/util/schemas/responses/GuildWidgetJsonResponse.ts | 3 | ||||
-rw-r--r-- | src/util/schemas/responses/UserRelationsResponse.ts | 1 | ||||
-rw-r--r-- | src/util/util/email/index.ts | 2 |
14 files changed, 915 insertions, 1885 deletions
diff --git a/assets/openapi.json b/assets/openapi.json index d1796bbd..7132ad93 100644 --- a/assets/openapi.json +++ b/assets/openapi.json @@ -1362,9 +1362,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -1530,7 +1527,7 @@ "$ref": "#/components/schemas/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -1550,8 +1547,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -1568,6 +1563,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -3500,9 +3496,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -3538,7 +3531,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -3971,10 +3963,9 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": "string", + "default": null, + "nullable": true }, "discriminator": { "type": "string" @@ -6383,12 +6374,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "string" }, @@ -6406,8 +6391,6 @@ "required": [ "avatar", "discriminator", - "display_name", - "global_name", "id", "public_flags", "username" @@ -6652,9 +6635,6 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { "type": [ "null", "string" @@ -6681,7 +6661,6 @@ "avatar", "avatar_url", "discriminator", - "display_name", "global_name", "id", "status", @@ -7047,9 +7026,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -7111,7 +7087,6 @@ "disabled", "discriminator", "flags", - "global_name", "id", "mfa_enabled", "nsfw_allowed", @@ -7171,9 +7146,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -7235,7 +7207,6 @@ "disabled", "discriminator", "flags", - "global_name", "id", "mfa_enabled", "nsfw_allowed", @@ -7914,9 +7885,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -7929,7 +7897,6 @@ }, "required": [ "discriminator", - "global_name", "id", "public_flags", "username" diff --git a/assets/schemas.json b/assets/schemas.json index 682c7bb5..24c016c2 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -1493,9 +1493,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -1661,7 +1658,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -1682,8 +1679,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -1700,6 +1695,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -3664,9 +3660,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -3703,7 +3696,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -4152,10 +4144,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -5737,9 +5730,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -5905,7 +5895,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -5926,8 +5916,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -5944,6 +5932,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -7908,9 +7897,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -7947,7 +7933,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -8396,10 +8381,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -9981,9 +9967,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -10149,7 +10132,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -10170,8 +10153,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -10188,6 +10169,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -12152,9 +12134,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -12191,7 +12170,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -12640,10 +12618,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -14220,9 +14199,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -14388,7 +14364,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -14409,8 +14385,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -14427,6 +14401,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -16391,9 +16366,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -16430,7 +16402,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -16879,10 +16850,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -18495,9 +18467,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -18663,7 +18632,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -18684,8 +18653,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -18702,6 +18669,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -20666,9 +20634,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -20705,7 +20670,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -21154,10 +21118,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -22739,9 +22704,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -22907,7 +22869,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -22928,8 +22890,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -22946,6 +22906,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -24910,9 +24871,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -24949,7 +24907,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -25398,10 +25355,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -26974,9 +26932,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -27142,7 +27097,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -27163,8 +27118,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -27181,6 +27134,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -29145,9 +29099,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -29184,7 +29135,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -29633,10 +29583,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -31212,9 +31163,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -31380,7 +31328,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -31401,8 +31349,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -31419,6 +31365,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -33383,9 +33330,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -33422,7 +33366,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -33871,10 +33814,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -35459,9 +35403,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -35627,7 +35568,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -35648,8 +35589,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -35666,6 +35605,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -37630,9 +37570,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -37669,7 +37606,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -38118,10 +38054,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -39694,9 +39631,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -39862,7 +39796,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -39883,8 +39817,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -39901,6 +39833,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -41865,9 +41798,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -41904,7 +41834,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -42353,10 +42282,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -43929,9 +43859,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -44097,7 +44024,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -44118,8 +44045,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -44136,6 +44061,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -46100,9 +46026,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -46139,7 +46062,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -46588,10 +46510,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -48183,9 +48106,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -48351,7 +48271,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -48372,8 +48292,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -48390,6 +48308,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -50354,9 +50273,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -50393,7 +50309,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -50842,10 +50757,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -52421,9 +52337,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -52589,7 +52502,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -52610,8 +52523,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -52628,6 +52539,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -54592,9 +54504,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -54631,7 +54540,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -55080,10 +54988,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -56719,9 +56628,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -56887,7 +56793,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -56908,8 +56814,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -56926,6 +56830,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -58890,9 +58795,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -58929,7 +58831,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -59378,10 +59279,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -60976,9 +60878,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -61144,7 +61043,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -61165,8 +61064,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -61183,6 +61080,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -63147,9 +63045,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -63186,7 +63081,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -63635,10 +63529,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -65374,9 +65269,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -65542,7 +65434,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -65563,8 +65455,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -65581,6 +65471,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -67545,9 +67436,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -67584,7 +67472,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -68033,10 +67920,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -69630,9 +69518,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -69798,7 +69683,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -69819,8 +69704,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -69837,6 +69720,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -71801,9 +71685,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -71840,7 +71721,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -72289,10 +72169,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -73896,9 +73777,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -74064,7 +73942,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -74085,8 +73963,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -74103,6 +73979,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -76067,9 +75944,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -76106,7 +75980,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -76555,10 +76428,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -78144,9 +78018,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -78312,7 +78183,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -78333,8 +78204,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -78351,6 +78220,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -80315,9 +80185,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -80354,7 +80221,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -80803,10 +80669,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -82398,9 +82265,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -82566,7 +82430,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -82587,8 +82451,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -82605,6 +82467,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -84569,9 +84432,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -84608,7 +84468,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -85057,10 +84916,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -86642,9 +86502,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -86810,7 +86667,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -86831,8 +86688,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -86849,6 +86704,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -88813,9 +88669,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -88852,7 +88705,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -89301,10 +89153,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -90874,9 +90727,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -91042,7 +90892,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -91063,8 +90913,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -91081,6 +90929,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -93045,9 +92894,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -93084,7 +92930,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -93533,10 +93378,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -95224,9 +95070,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -95392,7 +95235,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -95413,8 +95256,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -95431,6 +95272,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -97395,9 +97237,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -97434,7 +97273,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -97883,10 +97721,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -99571,9 +99410,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -99739,7 +99575,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -99760,8 +99596,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -99778,6 +99612,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -101742,9 +101577,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -101781,7 +101613,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -102230,10 +102061,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -103806,9 +103638,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -103974,7 +103803,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -103995,8 +103824,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -104013,6 +103840,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -105977,9 +105805,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -106016,7 +105841,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -106465,10 +106289,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -108049,9 +107874,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -108217,7 +108039,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -108238,8 +108060,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -108256,6 +108076,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -110220,9 +110041,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -110259,7 +110077,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -110708,10 +110525,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -112285,9 +112103,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -112453,7 +112268,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -112474,8 +112289,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -112492,6 +112305,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -114456,9 +114270,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -114495,7 +114306,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -114944,10 +114754,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -116521,9 +116332,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -116689,7 +116497,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -116710,8 +116518,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -116728,6 +116534,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -118692,9 +118499,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -118731,7 +118535,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -119180,10 +118983,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -120792,9 +120596,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -120960,7 +120761,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -120981,8 +120782,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -120999,6 +120798,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -122963,9 +122763,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -123002,7 +122799,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -123451,10 +123247,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -125028,9 +124825,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -125196,7 +124990,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -125217,8 +125011,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -125235,6 +125027,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -127199,9 +126992,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -127238,7 +127028,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -127687,10 +127476,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -129263,9 +129053,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -129431,7 +129218,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -129452,8 +129239,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -129470,6 +129255,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -131434,9 +131220,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -131473,7 +131256,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -131922,10 +131704,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -133513,9 +133296,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -133681,7 +133461,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -133702,8 +133482,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -133720,6 +133498,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -135684,9 +135463,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -135723,7 +135499,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -136172,10 +135947,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -137752,9 +137528,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -137920,7 +137693,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -137941,8 +137714,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -137959,6 +137730,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -139923,9 +139695,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -139962,7 +139731,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -140411,10 +140179,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -142065,9 +141834,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -142233,7 +141999,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -142254,8 +142020,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -142272,6 +142036,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -144236,9 +144001,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -144275,7 +144037,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -144724,10 +144485,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -146300,9 +146062,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -146468,7 +146227,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -146489,8 +146248,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -146507,6 +146264,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -148471,9 +148229,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -148510,7 +148265,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -148959,10 +148713,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -150535,9 +150290,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -150703,7 +150455,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -150724,8 +150476,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -150742,6 +150492,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -152706,9 +152457,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -152745,7 +152493,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -153194,10 +152941,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -154767,9 +154515,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -154935,7 +154680,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -154956,8 +154701,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -154974,6 +154717,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -156938,9 +156682,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -156977,7 +156718,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -157426,10 +157166,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -159005,9 +158746,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -159173,7 +158911,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -159194,8 +158932,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -159212,6 +158948,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -161176,9 +160913,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -161215,7 +160949,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -161664,10 +161397,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -163253,9 +162987,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -163421,7 +163152,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -163442,8 +163173,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -163460,6 +163189,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -165424,9 +165154,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -165463,7 +165190,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -165912,10 +165638,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -167485,9 +167212,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -167653,7 +167377,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -167674,8 +167398,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -167692,6 +167414,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -169656,9 +169379,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -169695,7 +169415,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -170144,10 +169863,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -171766,9 +171486,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -171934,7 +171651,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -171955,8 +171672,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -171973,6 +171688,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -173937,9 +173653,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -173976,7 +173689,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -174425,10 +174137,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -176033,9 +175746,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -176201,7 +175911,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -176222,8 +175932,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -176240,6 +175948,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -178204,9 +177913,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -178243,7 +177949,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -178692,10 +178397,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -180265,9 +179971,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -180433,7 +180136,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -180454,8 +180157,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -180472,6 +180173,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -182436,9 +182138,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -182475,7 +182174,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -182924,10 +182622,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -184522,9 +184221,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -184690,7 +184386,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -184711,8 +184407,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -184729,6 +184423,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -186693,9 +186388,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -186732,7 +186424,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -187181,10 +186872,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -188868,9 +188560,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -189036,7 +188725,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -189057,8 +188746,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -189075,6 +188762,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -191039,9 +190727,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -191078,7 +190763,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -191527,10 +191211,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -193099,9 +192784,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -193267,7 +192949,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -193288,8 +192970,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -193306,6 +192986,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -195270,9 +194951,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -195309,7 +194987,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -195758,10 +195435,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -197369,9 +197047,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -197537,7 +197212,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -197558,8 +197233,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -197576,6 +197249,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -199540,9 +199214,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -199579,7 +199250,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -200028,10 +199698,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -201627,9 +201298,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -201795,7 +201463,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -201816,8 +201484,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -201834,6 +201500,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -203798,9 +203465,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -203837,7 +203501,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -204286,10 +203949,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -205937,9 +205601,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -206105,7 +205766,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -206126,8 +205787,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -206144,6 +205803,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -208108,9 +207768,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -208147,7 +207804,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -208596,10 +208252,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -210169,9 +209826,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -210337,7 +209991,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -210358,8 +210012,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -210376,6 +210028,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -212340,9 +211993,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -212379,7 +212029,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -212828,10 +212477,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -214409,9 +214059,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -214577,7 +214224,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -214598,8 +214245,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -214616,6 +214261,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -216580,9 +216226,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -216619,7 +216262,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -217068,10 +216710,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -218639,9 +218282,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -218807,7 +218447,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -218828,8 +218468,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -218846,6 +218484,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -220810,9 +220449,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -220849,7 +220485,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -221298,10 +220933,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -222875,9 +222511,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -223043,7 +222676,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -223064,8 +222697,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -223082,6 +222713,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -225046,9 +224678,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -225085,7 +224714,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -225534,10 +225162,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -227111,9 +226740,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -227279,7 +226905,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -227300,8 +226926,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -227318,6 +226942,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -229282,9 +228907,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -229321,7 +228943,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -229770,10 +229391,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -231347,9 +230969,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -231515,7 +231134,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -231536,8 +231155,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -231554,6 +231171,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -233518,9 +233136,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -233557,7 +233172,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -234006,10 +233620,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -235615,9 +235230,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -235783,7 +235395,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -235804,8 +235416,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -235822,6 +235432,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -237786,9 +237397,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -237825,7 +237433,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -238274,10 +237881,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -239855,9 +239463,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -240023,7 +239628,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -240044,8 +239649,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -240062,6 +239665,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -242026,9 +241630,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -242065,7 +241666,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -242514,10 +242114,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -244085,9 +243686,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -244253,7 +243851,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -244274,8 +243872,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -244292,6 +243888,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -246256,9 +245853,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -246295,7 +245889,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -246744,10 +246337,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -248321,9 +247915,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -248489,7 +248080,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -248510,8 +248101,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -248528,6 +248117,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -250492,9 +250082,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -250531,7 +250118,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -250980,10 +250566,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -252568,9 +252155,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -252736,7 +252320,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -252757,8 +252341,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -252775,6 +252357,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -254739,9 +254322,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -254778,7 +254358,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -255227,10 +254806,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -256829,9 +256409,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -256997,7 +256574,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -257018,8 +256595,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -257036,6 +256611,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -259000,9 +258576,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -259039,7 +258612,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -259488,10 +259060,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -261061,9 +260634,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -261229,7 +260799,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -261250,8 +260820,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -261268,6 +260836,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -263232,9 +262801,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -263271,7 +262837,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -263720,10 +263285,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -265296,9 +264862,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -265464,7 +265027,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -265485,8 +265048,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -265503,6 +265064,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -267467,9 +267029,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -267506,7 +267065,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -267955,10 +267513,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -268410,12 +267969,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "string" }, @@ -268433,8 +267986,6 @@ "required": [ "avatar", "discriminator", - "display_name", - "global_name", "id", "public_flags", "username" @@ -269571,9 +269122,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -269739,7 +269287,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -269760,8 +269308,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -269778,6 +269324,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -271742,9 +271289,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -271781,7 +271325,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -272230,10 +271773,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -273803,9 +273347,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -273971,7 +273512,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -273992,8 +273533,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -274010,6 +273549,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -275974,9 +275514,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -276013,7 +275550,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -276462,10 +275998,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -278114,9 +277651,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -278282,7 +277816,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -278303,8 +277837,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -278321,6 +277853,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -280285,9 +279818,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -280324,7 +279854,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -280773,10 +280302,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -282353,9 +281883,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -282521,7 +282048,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -282542,8 +282069,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -282560,6 +282085,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -284524,9 +284050,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -284563,7 +284086,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -285012,10 +284534,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -286585,9 +286108,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -286753,7 +286273,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -286774,8 +286294,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -286792,6 +286310,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -288756,9 +288275,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -288795,7 +288311,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -289244,10 +288759,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -290817,9 +290333,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -290985,7 +290498,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -291006,8 +290519,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -291024,6 +290535,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -292988,9 +292500,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -293027,7 +292536,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -293476,10 +292984,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -295056,9 +294565,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -295224,7 +294730,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -295245,8 +294751,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -295263,6 +294767,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -297227,9 +296732,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -297266,7 +296768,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -297715,10 +297216,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -299292,9 +298794,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -299460,7 +298959,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -299481,8 +298980,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -299499,6 +298996,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -301463,9 +300961,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -301502,7 +300997,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -301951,10 +301445,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -303524,9 +303019,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -303692,7 +303184,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -303713,8 +303205,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -303731,6 +303221,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -305695,9 +305186,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -305734,7 +305222,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -306183,10 +305670,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -306667,9 +306155,6 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { "type": [ "null", "string" @@ -306696,7 +306181,6 @@ "avatar", "avatar_url", "discriminator", - "display_name", "global_name", "id", "status", @@ -307842,9 +307326,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -308010,7 +307491,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -308031,8 +307512,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -308049,6 +307528,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -310013,9 +309493,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -310052,7 +309529,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -310501,10 +309977,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -312085,9 +311562,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -312253,7 +311727,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -312274,8 +311748,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -312292,6 +311764,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -314256,9 +313729,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -314295,7 +313765,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -314744,10 +314213,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -316329,9 +315799,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -316497,7 +315964,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -316518,8 +315985,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -316536,6 +316001,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -318500,9 +317966,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -318539,7 +318002,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -318988,10 +318450,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -320623,9 +320086,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -320791,7 +320251,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -320812,8 +320272,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -320830,6 +320288,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -322794,9 +322253,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -322833,7 +322289,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -323282,10 +322737,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -324876,9 +324332,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -325044,7 +324497,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -325065,8 +324518,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -325083,6 +324534,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -327047,9 +326499,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -327086,7 +326535,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -327535,10 +326983,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -329135,9 +328584,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -329303,7 +328749,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -329324,8 +328770,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -329342,6 +328786,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -331306,9 +330751,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -331345,7 +330787,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -331794,10 +331235,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -333388,9 +332830,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -333556,7 +332995,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -333577,8 +333016,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -333595,6 +333032,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -335559,9 +334997,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -335598,7 +335033,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -336047,10 +335481,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -337620,9 +337055,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -337788,7 +337220,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -337809,8 +337241,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -337827,6 +337257,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -339791,9 +339222,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -339830,7 +339258,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -340279,10 +339706,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -341880,9 +341308,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -342048,7 +341473,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -342069,8 +341494,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -342087,6 +341510,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -344051,9 +343475,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -344090,7 +343511,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -344539,10 +343959,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -346152,9 +345573,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -346320,7 +345738,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -346341,8 +345759,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -346359,6 +345775,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -348323,9 +347740,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -348362,7 +347776,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -348811,10 +348224,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -350378,9 +349792,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -350546,7 +349957,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -350567,8 +349978,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -350585,6 +349994,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -352549,9 +351959,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -352588,7 +351995,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -353037,10 +352443,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -354614,9 +354021,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -354782,7 +354186,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -354803,8 +354207,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -354821,6 +354223,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -356785,9 +356188,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -356824,7 +356224,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -357273,10 +356672,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -358846,9 +358246,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -359014,7 +358411,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -359035,8 +358432,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -359053,6 +358448,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -361017,9 +360413,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -361056,7 +360449,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -361505,10 +360897,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -363085,9 +362478,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -363253,7 +362643,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -363274,8 +362664,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -363292,6 +362680,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -365256,9 +364645,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -365295,7 +364681,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -365744,10 +365129,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -367528,9 +366914,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -367696,7 +367079,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -367717,8 +367100,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -367735,6 +367116,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -369699,9 +369081,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -369738,7 +369117,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -370187,10 +369565,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -371751,9 +371130,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -371919,7 +371295,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -371940,8 +371316,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -371958,6 +371332,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -373922,9 +373297,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -373961,7 +373333,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -374410,10 +373781,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -374872,9 +374244,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -374937,7 +374306,6 @@ "disabled", "discriminator", "flags", - "global_name", "id", "mfa_enabled", "nsfw_allowed", @@ -376075,9 +375443,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -376243,7 +375608,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -376264,8 +375629,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -376282,6 +375645,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -378246,9 +377610,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -378285,7 +377646,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -378734,10 +378094,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -380301,9 +379662,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -380469,7 +379827,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -380490,8 +379848,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -380508,6 +379864,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -382472,9 +381829,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -382511,7 +381865,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -382960,10 +382313,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -384527,9 +383881,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -384695,7 +384046,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -384716,8 +384067,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -384734,6 +384083,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -386698,9 +386048,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -386737,7 +386084,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -387186,10 +386532,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -388753,9 +388100,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -388921,7 +388265,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -388942,8 +388286,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -388960,6 +388302,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -390924,9 +390267,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -390963,7 +390303,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -391412,10 +390751,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -391877,9 +391217,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -391942,7 +391279,6 @@ "disabled", "discriminator", "flags", - "global_name", "id", "mfa_enabled", "nsfw_allowed", @@ -393080,9 +392416,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -393248,7 +392581,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -393269,8 +392602,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -393287,6 +392618,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -395251,9 +394583,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -395290,7 +394619,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -395739,10 +395067,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -397304,9 +396633,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -397472,7 +396798,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -397493,8 +396819,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -397511,6 +396835,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -399475,9 +398800,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -399514,7 +398836,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -399963,10 +399284,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -401528,9 +400850,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -401696,7 +401015,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -401717,8 +401036,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -401735,6 +401052,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -403699,9 +403017,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -403738,7 +403053,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -404187,10 +403501,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -405752,9 +405067,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -405920,7 +405232,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -405941,8 +405253,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -405959,6 +405269,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -407923,9 +407234,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -407962,7 +407270,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -408411,10 +407718,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -409978,9 +409286,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -410146,7 +409451,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -410167,8 +409472,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -410185,6 +409488,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -412149,9 +411453,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -412188,7 +411489,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -412637,10 +411937,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -414204,9 +413505,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -414372,7 +413670,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -414393,8 +413691,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -414411,6 +413707,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -416375,9 +415672,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -416414,7 +415708,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -416863,10 +416156,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -418430,9 +417724,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -418598,7 +417889,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -418619,8 +417910,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -418637,6 +417926,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -420601,9 +419891,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -420640,7 +419927,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -421089,10 +420375,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -422656,9 +421943,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -422824,7 +422108,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -422845,8 +422129,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -422863,6 +422145,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -424827,9 +424110,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -424866,7 +424146,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -425315,10 +424594,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -426882,9 +426162,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -427050,7 +426327,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -427071,8 +426348,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -427089,6 +426364,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -429053,9 +428329,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -429092,7 +428365,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -429541,10 +428813,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -431177,9 +430450,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -431345,7 +430615,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -431366,8 +430636,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -431384,6 +430652,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -433348,9 +432617,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -433387,7 +432653,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -433836,10 +433101,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -435403,9 +434669,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -435571,7 +434834,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -435592,8 +434855,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -435610,6 +434871,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -437574,9 +436836,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -437613,7 +436872,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -438062,10 +437320,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -439629,9 +438888,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -439797,7 +439053,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -439818,8 +439074,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -439836,6 +439090,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -441800,9 +441055,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -441839,7 +441091,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -442288,10 +441539,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -443855,9 +443107,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -444023,7 +443272,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -444044,8 +443293,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -444062,6 +443309,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -446026,9 +445274,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -446065,7 +445310,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -446514,10 +445758,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -448128,9 +447373,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -448296,7 +447538,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -448317,8 +447559,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -448335,6 +447575,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -450299,9 +449540,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -450338,7 +449576,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -450787,10 +450024,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -452590,9 +451828,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -452758,7 +451993,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -452779,8 +452014,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -452797,6 +452030,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -454761,9 +453995,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -454800,7 +454031,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -455249,10 +454479,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -456816,9 +456047,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -456984,7 +456212,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -457005,8 +456233,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -457023,6 +456249,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -458987,9 +458214,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -459026,7 +458250,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -459475,10 +458698,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -461042,9 +460266,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -461210,7 +460431,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -461231,8 +460452,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -461249,6 +460468,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -463213,9 +462433,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -463252,7 +462469,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -463701,10 +462917,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -465268,9 +464485,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -465436,7 +464650,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -465457,8 +464671,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -465475,6 +464687,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -467439,9 +466652,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -467478,7 +466688,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -467927,10 +467136,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -469494,9 +468704,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -469662,7 +468869,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -469683,8 +468890,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -469701,6 +468906,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -471665,9 +470871,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -471704,7 +470907,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -472153,10 +471355,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -473746,9 +472949,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -473914,7 +473114,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -473935,8 +473135,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -473953,6 +473151,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -475917,9 +475116,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -475956,7 +475152,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -476405,10 +475600,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -477972,9 +477168,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -478140,7 +477333,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -478161,8 +477354,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -478179,6 +477370,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -480143,9 +479335,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -480182,7 +479371,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -480631,10 +479819,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -482219,9 +481408,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -482387,7 +481573,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -482408,8 +481594,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -482426,6 +481610,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -484390,9 +483575,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -484429,7 +483611,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -484878,10 +484059,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -486459,9 +485641,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -486627,7 +485806,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -486648,8 +485827,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -486666,6 +485843,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -488630,9 +487808,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -488669,7 +487844,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -489118,10 +488292,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -490811,9 +489986,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -490979,7 +490151,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -491000,8 +490172,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -491018,6 +490188,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -492982,9 +492153,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -493021,7 +492189,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -493470,10 +492637,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -493922,9 +493090,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -493937,7 +493102,6 @@ }, "required": [ "discriminator", - "global_name", "id", "public_flags", "username" @@ -495068,9 +494232,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -495236,7 +494397,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -495257,8 +494418,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -495275,6 +494434,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -497239,9 +496399,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -497278,7 +496435,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -497727,10 +496883,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -499312,9 +498469,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -499480,7 +498634,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -499501,8 +498655,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -499519,6 +498671,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -501483,9 +500636,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -501522,7 +500672,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -501971,10 +501120,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -503548,9 +502698,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -503716,7 +502863,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -503737,8 +502884,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -503755,6 +502900,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -505719,9 +504865,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -505758,7 +504901,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -506207,10 +505349,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -507784,9 +506927,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -507952,7 +507092,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -507973,8 +507113,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -507991,6 +507129,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -509955,9 +509094,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -509994,7 +509130,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -510443,10 +509578,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -512007,9 +511143,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -512175,7 +511308,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -512196,8 +511329,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -512214,6 +511345,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -514178,9 +513310,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -514217,7 +513346,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -514666,10 +513794,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -516242,9 +515371,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -516410,7 +515536,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -516431,8 +515557,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -516449,6 +515573,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -518413,9 +517538,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -518452,7 +517574,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -518901,10 +518022,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -520492,9 +519614,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -520660,7 +519779,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -520681,8 +519800,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -520699,6 +519816,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -522663,9 +521781,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -522702,7 +521817,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -523151,10 +522265,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -524746,9 +523861,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -524914,7 +524026,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -524935,8 +524047,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -524953,6 +524063,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -526917,9 +526028,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -526956,7 +526064,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -527405,10 +526512,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -528979,9 +528087,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -529147,7 +528252,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -529168,8 +528273,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -529186,6 +528289,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -531150,9 +530254,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -531189,7 +530290,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -531638,10 +530738,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -533211,9 +532312,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -533379,7 +532477,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -533400,8 +532498,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -533418,6 +532514,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -535382,9 +534479,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -535421,7 +534515,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -535870,10 +534963,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -537443,9 +536537,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -537611,7 +536702,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -537632,8 +536723,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -537650,6 +536739,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -539614,9 +538704,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -539653,7 +538740,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -540102,10 +539188,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" @@ -541681,9 +540768,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -541849,7 +540933,7 @@ "$ref": "#/definitions/SecurityKey" } }, - "handle": { + "tag": { "type": "string" }, "id": { @@ -541870,8 +540954,6 @@ "extended_settings", "fingerprints", "flags", - "global_name", - "handle", "id", "mfa_enabled", "mobile", @@ -541888,6 +540970,7 @@ "sessions", "settings", "system", + "tag", "username", "verified", "webauthn_enabled" @@ -543852,9 +542935,6 @@ "global_name": { "type": "string" }, - "display_name": { - "type": "string" - }, "discriminator": { "type": "string" }, @@ -543891,7 +542971,6 @@ "bio", "bot", "discriminator", - "global_name", "id", "premium_since", "premium_type", @@ -544340,10 +543419,11 @@ "type": "string" }, "global_name": { - "type": "string" - }, - "display_name": { - "type": "string" + "type": [ + "null", + "string" + ], + "default": null }, "discriminator": { "type": "string" diff --git a/src/api/routes/channels/#channel_id/messages/index.ts b/src/api/routes/channels/#channel_id/messages/index.ts index 8b028f43..1fe6d0ee 100644 --- a/src/api/routes/channels/#channel_id/messages/index.ts +++ b/src/api/routes/channels/#channel_id/messages/index.ts @@ -176,9 +176,8 @@ router.get( x.author = User.create({ id: "4", discriminator: pomeloEnabled ? "0" : "0000", - username: "Spacebar Ghost", - global_name: "spacebarghost", - display_name: "Spacebar Ghost", + username: "spacebarghost", + global_name: "Spacebar Ghost", public_flags: 0, }); x.attachments?.forEach((y: Attachment) => { diff --git a/src/api/routes/guilds/#guild_id/bans.ts b/src/api/routes/guilds/#guild_id/bans.ts index ede9f4bd..87fcc7f1 100644 --- a/src/api/routes/guilds/#guild_id/bans.ts +++ b/src/api/routes/guilds/#guild_id/bans.ts @@ -71,7 +71,6 @@ router.get( username: user.username, discriminator: user.discriminator, global_name: user.global_name, - display_name: user.display_name, id: user.id, avatar: user.avatar, public_flags: user.public_flags, diff --git a/src/api/routes/guilds/#guild_id/messages/search.ts b/src/api/routes/guilds/#guild_id/messages/search.ts index bf5fc4cd..158c83f3 100644 --- a/src/api/routes/guilds/#guild_id/messages/search.ts +++ b/src/api/routes/guilds/#guild_id/messages/search.ts @@ -150,7 +150,6 @@ router.get( avatar_decoration: null, discriminator: x.author?.discriminator, global_name: x.author?.global_name, - display_name: x.author?.display_name, public_flags: x.author?.public_flags, }, attachments: x.attachments, diff --git a/src/api/routes/oauth2/authorize.ts b/src/api/routes/oauth2/authorize.ts index 11255b98..b7d1cb71 100644 --- a/src/api/routes/oauth2/authorize.ts +++ b/src/api/routes/oauth2/authorize.ts @@ -90,7 +90,6 @@ router.get( "avatar", "discriminator", "global_name", - "display_name", "public_flags", ], }); @@ -140,7 +139,6 @@ router.get( avatar_decoration: null, // TODO discriminator: user.discriminator, global_name: user.global_name, - display_name: user.display_name, public_flags: user.public_flags, }, application: { @@ -164,7 +162,6 @@ router.get( avatar_decoration: null, // TODO discriminator: bot.discriminator, global_name: bot.global_name, - display_name: bot.display_name, public_flags: bot.public_flags, bot: true, approximated_guild_count: 0, // TODO diff --git a/src/api/routes/users/#id/relationships.ts b/src/api/routes/users/#id/relationships.ts index 0008e75d..323ce44b 100644 --- a/src/api/routes/users/#id/relationships.ts +++ b/src/api/routes/users/#id/relationships.ts @@ -59,7 +59,6 @@ router.get( avatar: relation_user.avatar, discriminator: relation_user.discriminator, global_name: relation_user.global_name, - display_name: relation_user.display_name, public_flags: relation_user.public_flags, }); } diff --git a/src/connections/Discord/index.ts b/src/connections/Discord/index.ts index 206aa671..a88a38ce 100644 --- a/src/connections/Discord/index.ts +++ b/src/connections/Discord/index.ts @@ -17,6 +17,7 @@ */ import { + Config, ConnectedAccount, ConnectedAccountCommonOAuthTokenResponse, Connection, @@ -31,8 +32,7 @@ interface UserResponse { id: string; username: string; discriminator: string; - global_name: string; - display_name?: string; + global_name: string | null; avatar_url: string | null; } @@ -130,12 +130,14 @@ export default class DiscordConnection extends Connection { if (exists) return null; - // TODO: pomelo + const { pomeloEnabled } = Config.get().general; return await this.createConnection({ user_id: userId, external_id: userInfo.id, friend_sync: params.friend_sync, - name: `${userInfo.username}#${userInfo.discriminator}`, + name: pomeloEnabled + ? userInfo.username + : `${userInfo.username}#${userInfo.discriminator}`, type: this.id, }); } diff --git a/src/util/dtos/UserDTO.ts b/src/util/dtos/UserDTO.ts index 5687bcef..063490fa 100644 --- a/src/util/dtos/UserDTO.ts +++ b/src/util/dtos/UserDTO.ts @@ -21,8 +21,7 @@ import { User } from "../entities"; export class MinimalPublicUserDTO { id: string; username: string; - global_name: string; - display_name?: string; + global_name: string | null = null; discriminator: string; public_flags: number; avatar?: string | null; @@ -30,10 +29,10 @@ export class MinimalPublicUserDTO { constructor(user: User) { this.id = user.id; this.username = user.username; - this.global_name = user.global_name; - this.display_name = user.display_name; this.discriminator = user.discriminator; this.public_flags = user.public_flags; this.avatar = user.avatar; + + if (user.global_name) this.global_name = user.global_name; } } diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts index 85dc56ee..c1a05e51 100644 --- a/src/util/entities/User.ts +++ b/src/util/entities/User.ts @@ -38,7 +38,6 @@ import { UserSettings } from "./UserSettings"; export enum PublicUserEnum { username, global_name, - display_name, discriminator, id, public_flags, @@ -93,10 +92,7 @@ export class User extends BaseClass { username: string; // username max length 32, min 2 (should be configurable) @Column({ nullable: true }) - global_name: string; // puyo: pomelo - - @Column({ nullable: true }) - display_name?: string; // puyo: pomelo + global_name?: string; // puyo: pomelo @Column() discriminator: string; // opaque string: 4 digits on discord.com, 0 for pomelo @@ -388,8 +384,6 @@ export class User extends BaseClass { const user = User.create({ username: username, - global_name: username, // TODO: convert to lowercase, strip special characters,etc??? - // display_name: username, // TODO: how should we do this? discriminator, id: id || Snowflake.generate(), email: email, diff --git a/src/util/schemas/responses/GuildBansResponse.ts b/src/util/schemas/responses/GuildBansResponse.ts index aa53105d..0505327a 100644 --- a/src/util/schemas/responses/GuildBansResponse.ts +++ b/src/util/schemas/responses/GuildBansResponse.ts @@ -21,8 +21,7 @@ export interface GuildBansResponse { user: { username: string; discriminator: string; - global_name: string; - display_name: string | null; + global_name?: string; id: string; avatar: string | null; public_flags: number; diff --git a/src/util/schemas/responses/GuildWidgetJsonResponse.ts b/src/util/schemas/responses/GuildWidgetJsonResponse.ts index 60e8e7cc..320f14dd 100644 --- a/src/util/schemas/responses/GuildWidgetJsonResponse.ts +++ b/src/util/schemas/responses/GuildWidgetJsonResponse.ts @@ -30,8 +30,7 @@ export interface GuildWidgetJsonResponse { members: { id: string; username: string; - global_name: string; - display_name: string | null; + global_name: string | null; discriminator: string; avatar: string | null; status: ClientStatus; diff --git a/src/util/schemas/responses/UserRelationsResponse.ts b/src/util/schemas/responses/UserRelationsResponse.ts index 59db277f..586c8fac 100644 --- a/src/util/schemas/responses/UserRelationsResponse.ts +++ b/src/util/schemas/responses/UserRelationsResponse.ts @@ -20,7 +20,6 @@ import { User } from "@spacebar/util"; export type UserRelationsResponse = (Pick<User, "id"> & Pick<User, "username"> & Pick<User, "global_name"> & - Pick<User, "display_name"> & Pick<User, "discriminator"> & Pick<User, "avatar"> & Pick<User, "public_flags">)[]; diff --git a/src/util/util/email/index.ts b/src/util/util/email/index.ts index 6d34e234..b7df5cb9 100644 --- a/src/util/util/email/index.ts +++ b/src/util/util/email/index.ts @@ -112,12 +112,10 @@ export const Email: { ) { const { instanceName } = Config.get().general; - // TODO: pomelo: display_name should take precedence over username if pomelo is enabled. maybe we should use global_name as the username? const replacements = [ ["{instanceName}", instanceName], ["{userUsername}", user.username], ["{userGlobalName}", user.global_name], - ["{userDisplayName}", user.display_name], ["{userDiscriminator}", user.discriminator], ["{userId}", user.id], ["{phoneNumber}", user.phone?.slice(-4)], |