diff --git a/assets/schemas.json b/assets/schemas.json index 919d49811..37ede4fac 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -4365,7 +4365,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -4375,6 +4377,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -8536,7 +8554,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -8546,6 +8566,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -12707,7 +12743,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -12717,6 +12755,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -16873,7 +16927,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -16883,6 +16939,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -21075,7 +21147,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -21085,6 +21159,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -25246,7 +25336,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -25256,6 +25348,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -29408,7 +29516,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -29418,6 +29528,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -33573,7 +33699,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -33583,6 +33711,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -37747,7 +37891,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -37757,6 +37903,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -41909,7 +42071,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -41919,6 +42083,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -46071,7 +46251,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -46081,6 +46263,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -50252,7 +50450,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -50262,6 +50462,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -54417,7 +54633,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -54427,6 +54645,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -58642,7 +58876,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -58652,6 +58888,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -62826,7 +63078,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -62836,6 +63090,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -67151,7 +67421,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -67161,6 +67433,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -71331,7 +71619,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -71341,6 +71631,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -75524,7 +75830,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -75534,6 +75842,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -79699,7 +80023,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -79709,6 +80035,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -83880,7 +84222,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -83890,6 +84234,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -88051,7 +88411,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -88061,6 +88423,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -92210,7 +92588,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -92220,6 +92600,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -96480,7 +96876,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -96490,6 +96888,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -100747,7 +101161,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -100757,6 +101173,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -104909,7 +105341,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -104919,6 +105353,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -109079,7 +109529,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -109089,6 +109541,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -113242,7 +113710,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -113252,6 +113722,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -117405,7 +117891,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -117415,6 +117903,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -121597,7 +122101,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -121607,6 +122113,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -125760,7 +126282,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -125770,6 +126294,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -129922,7 +130462,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -129932,6 +130474,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -134099,7 +134657,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -134109,6 +134669,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -138265,7 +138841,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -138275,6 +138853,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -142505,7 +143099,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -142515,6 +143111,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -146667,7 +147279,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -146677,6 +147291,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -150829,7 +151459,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -150839,6 +151471,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -154988,7 +155636,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -154998,6 +155648,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -159153,7 +159819,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -159163,6 +159831,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -163328,7 +164012,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -163338,6 +164024,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -167487,7 +168189,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -167497,6 +168201,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -171695,7 +172415,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -171705,6 +172427,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -175889,7 +176627,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -175899,6 +176639,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -180048,7 +180804,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -180058,6 +180816,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -184232,7 +185006,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -184242,6 +185018,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -188505,7 +189297,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -188515,6 +189309,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -192663,7 +193473,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -192673,6 +193485,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -196860,7 +197688,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -196870,6 +197700,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -201045,7 +201891,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -201055,6 +201903,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -205282,7 +206146,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -205292,6 +206158,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -209441,7 +210323,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -209451,6 +210335,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -213608,7 +214508,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -213618,6 +214520,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -217765,7 +218683,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -217775,6 +218695,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -221928,7 +222864,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -221938,6 +222876,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -226091,7 +227045,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -226101,6 +227057,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -230254,7 +231226,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -230264,6 +231238,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -234449,7 +235439,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -234459,6 +235451,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -238616,7 +239624,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -238626,6 +239636,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -242773,7 +243799,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -242783,6 +243811,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -246936,7 +247980,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -246946,6 +247992,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -251110,7 +252172,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -251120,6 +252184,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -255298,7 +256378,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -255308,6 +256390,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -259457,7 +260555,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -259467,6 +260567,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -263619,7 +264735,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -263629,6 +264747,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -267810,7 +268944,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -267820,6 +268956,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -271969,7 +273121,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -271979,6 +273133,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -276207,7 +277377,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -276217,6 +277389,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -280373,7 +281561,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -280383,6 +281573,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -284532,7 +285738,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -284542,6 +285750,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -288691,7 +289915,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -288701,6 +289927,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -292857,7 +294099,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -292867,6 +294111,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -297020,7 +298280,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -297030,6 +298292,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -301179,7 +302457,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -301189,6 +302469,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -305413,7 +306709,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -305423,6 +306721,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -309583,7 +310897,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -309593,6 +310909,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -313754,7 +315086,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -313764,6 +315098,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -317975,7 +319325,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -317985,6 +319337,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -322155,7 +323523,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -322165,6 +323535,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -326341,7 +327727,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -326351,6 +327739,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -330521,7 +331925,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -330531,6 +331937,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -334680,7 +336102,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -334690,6 +336114,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -338867,7 +340307,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -338877,6 +340319,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -343066,7 +344524,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -343076,6 +344536,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -347219,7 +348695,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -347229,6 +348707,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -351382,7 +352876,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -351392,6 +352888,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -355541,7 +357053,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -355551,6 +357065,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -359707,7 +361237,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -359717,6 +361249,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -364070,7 +365618,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -364080,6 +365630,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -368220,7 +369786,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -368230,6 +369798,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -372464,7 +374048,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -372474,6 +374060,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -376617,7 +378219,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -376627,6 +378231,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -380770,7 +382390,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -380780,6 +382402,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -384923,7 +386561,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -384933,6 +386573,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -389170,7 +390826,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -389180,6 +390838,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -393321,7 +394995,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -393331,6 +395007,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -397472,7 +399164,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -397482,6 +399176,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -401623,7 +403333,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -401633,6 +403345,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -405776,7 +407504,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -405786,6 +407516,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -409929,7 +411675,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -409939,6 +411687,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -414082,7 +415846,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -414092,6 +415858,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -418235,7 +420017,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -418245,6 +420029,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -422388,7 +424188,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -422398,6 +424200,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -426605,7 +428423,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -426615,6 +428435,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -430758,7 +432594,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -430768,6 +432606,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -434911,7 +436765,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -434921,6 +436777,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -439064,7 +440936,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -439074,6 +440948,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -443446,7 +445336,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -443456,6 +445348,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -447599,7 +449507,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -447609,6 +449519,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -451752,7 +453678,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -451762,6 +453690,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -455905,7 +457849,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -455915,6 +457861,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -460058,7 +462020,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -460068,6 +462032,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -464237,7 +466217,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -464247,6 +466229,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -468390,7 +470388,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -468400,6 +470400,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -472564,7 +474580,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -472574,6 +474592,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -476731,7 +478765,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -476741,6 +478777,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -480902,7 +482954,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -480912,6 +482966,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -485073,7 +487143,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -485083,6 +487155,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -489250,7 +491338,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -489260,6 +491350,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -493413,7 +495519,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -493423,6 +495531,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -497576,7 +499700,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -497586,6 +499712,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -501726,7 +503868,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -501736,6 +503880,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -505888,7 +508048,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -505898,6 +508060,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -510065,7 +512243,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -510075,6 +512255,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -514246,7 +516442,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -514256,6 +516454,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -518406,7 +520620,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -518416,6 +520632,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -522565,7 +524797,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -522575,6 +524809,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -526724,7 +528974,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -526734,6 +528986,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { @@ -530889,7 +533157,9 @@ "channel": { "$ref": "#/definitions/RateLimitOptions" }, - "auth": {} + "auth": { + "$ref": "#/definitions/AuthRateLimit" + } }, "additionalProperties": false, "required": [ @@ -530899,6 +533169,22 @@ "webhook" ] }, + "AuthRateLimit": { + "type": "object", + "properties": { + "login": { + "$ref": "#/definitions/RateLimitOptions" + }, + "register": { + "$ref": "#/definitions/RateLimitOptions" + } + }, + "additionalProperties": false, + "required": [ + "login", + "register" + ] + }, "GlobalRateLimits": { "type": "object", "properties": { diff --git a/src/api/routes/invites/index.ts b/src/api/routes/invites/index.ts index 6de4d583c..5dadb8682 100644 --- a/src/api/routes/invites/index.ts +++ b/src/api/routes/invites/index.ts @@ -76,8 +76,6 @@ router.post( }, }), async (req: Request, res: Response) => { - if (req.user_bot) throw DiscordApiErrors.BOT_PROHIBITED_ENDPOINT; - const { code } = req.params; const { guild_id } = await Invite.findOneOrFail({ where: { code: code }, diff --git a/src/util/config/types/RegisterConfiguration.ts b/src/util/config/types/RegisterConfiguration.ts index 9d8e036e1..157b954cb 100644 --- a/src/util/config/types/RegisterConfiguration.ts +++ b/src/util/config/types/RegisterConfiguration.ts @@ -36,4 +36,5 @@ export class RegisterConfiguration { blockProxies: boolean = true; incrementingDiscriminators: boolean = false; // random otherwise defaultRights: string = "875069521787904"; // See `npm run generate:rights` + botDefaultRights: string = "303323475344384"; } diff --git a/src/util/util/Application.ts b/src/util/util/Application.ts index 23019a7ff..9be1aab84 100644 --- a/src/util/util/Application.ts +++ b/src/util/util/Application.ts @@ -1,5 +1,6 @@ import { Request } from "express"; import { Application, User } from "../entities"; +import { Config } from "./Config"; export async function createAppBotUser(app: Application, req: Request) { const user = await User.register({ @@ -12,6 +13,7 @@ export async function createAppBotUser(app: Application, req: Request) { user.id = app.id; user.premium_since = new Date(); user.bot = true; + user.rights = Config.get().register.botDefaultRights; // TODO: allow supplying rights in the request await user.save();