diff --git a/assets/openapi.json b/assets/openapi.json
index c9fdd76c..c3124e1e 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -212,6 +212,48 @@
}
}
},
+ "GuildSubscriptionSchema": {
+ "type": "object",
+ "properties": {
+ "channels": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "activities": {
+ "type": "boolean"
+ },
+ "threads": {
+ "type": "boolean"
+ },
+ "typing": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "member_updates": {
+ "type": "boolean"
+ },
+ "thread_member_lists": {
+ "type": "array",
+ "items": {}
+ }
+ }
+ },
"ActivitySchema": {
"type": "object",
"properties": {
@@ -3972,6 +4014,21 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -4137,6 +4194,12 @@
"$ref": "#/components/schemas/Channel"
}
},
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Member"
+ }
+ },
"region": {
"type": "string"
},
@@ -4215,12 +4278,6 @@
"presence_count": {
"type": "integer"
},
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Member"
- }
- },
"template_id": {
"type": "string"
},
@@ -4620,9 +4677,7 @@
"channel": {
"$ref": "#/components/schemas/RateLimitOptions"
},
- "auth": {
- "$ref": "#/components/schemas/AuthRateLimit"
- }
+ "auth": {}
},
"required": [
"auth",
@@ -4631,21 +4686,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/components/schemas/RateLimitOptions"
- },
- "register": {
- "$ref": "#/components/schemas/RateLimitOptions"
- }
- },
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -5390,6 +5430,68 @@
}
}
},
+ "LazyRequestSchema": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "channels": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "activities": {
+ "type": "boolean"
+ },
+ "threads": {
+ "type": "boolean"
+ },
+ "typing": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "member_updates": {
+ "type": "boolean"
+ },
+ "thread_member_lists": {
+ "type": "array",
+ "items": {}
+ }
+ },
+ "required": [
+ "guild_id"
+ ]
+ },
+ "GuildSubscriptionsBulkSchema": {
+ "type": "object",
+ "properties": {
+ "subscriptions": {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/components/schemas/GuildSubscriptionSchema"
+ }
+ }
+ },
+ "required": [
+ "subscriptions"
+ ]
+ },
"GuildTemplateCreateSchema": {
"type": "object",
"properties": {
@@ -5740,51 +5842,6 @@
}
}
},
- "LazyRequestSchema": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "channels": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- },
- "activities": {
- "type": "boolean"
- },
- "threads": {
- "type": "boolean"
- },
- "typing": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "members": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "thread_member_lists": {
- "type": "array",
- "items": {}
- }
- },
- "required": [
- "guild_id"
- ]
- },
"LoginSchema": {
"type": "object",
"properties": {
@@ -6249,6 +6306,20 @@
"before"
]
},
+ "RefreshUrlsRequestSchema": {
+ "type": "object",
+ "properties": {
+ "attachment_urls": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "attachment_urls"
+ ]
+ },
"RegisterSchema": {
"type": "object",
"properties": {
@@ -7090,6 +7161,20 @@
"location"
]
},
+ "RefreshUrlsResponse": {
+ "type": "object",
+ "properties": {
+ "refreshed_urls": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/RefreshedUrl"
+ }
+ }
+ },
+ "required": [
+ "refreshed_urls"
+ ]
+ },
"TeamListResponse": {
"type": "object",
"patternProperties": {
@@ -9055,6 +9140,9 @@
{
"name": "applications"
},
+ {
+ "name": "attachments"
+ },
{
"name": "auth"
},
@@ -11652,6 +11740,25 @@
]
}
},
+ "/policies/instance/config/": {
+ "get": {
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Object"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "policies"
+ ]
+ }
+ },
"/ping/": {
"get": {
"responses": {
@@ -18302,6 +18409,50 @@
]
}
},
+ "/attachments/refresh-urls/": {
+ "post": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RefreshUrlsRequestSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RefreshUrlsResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "attachments"
+ ]
+ }
+ },
"/applications/": {
"get": {
"security": [
diff --git a/assets/schemas.json b/assets/schemas.json
index ef00cc31..44c77a77 100755
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -4097,6 +4097,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -4768,9 +4784,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -4780,22 +4794,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -9085,6 +9083,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -9756,9 +9770,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -9768,22 +9780,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -14075,6 +14071,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -14746,9 +14758,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -14758,22 +14768,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -19052,6 +19046,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -19723,9 +19733,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -19735,22 +19743,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -24071,6 +24063,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -24742,9 +24750,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -24754,22 +24760,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -29047,6 +29037,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -29718,9 +29724,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -29730,22 +29734,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -34024,6 +34012,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -34695,9 +34699,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -34707,22 +34709,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -39013,6 +38999,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -39684,9 +39686,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -39696,22 +39696,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -44005,6 +43989,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -44676,9 +44676,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -44688,22 +44686,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -48979,6 +48961,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -49650,9 +49648,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -49662,22 +49658,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -54055,6 +54035,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -54726,9 +54722,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -54738,22 +54732,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -59041,6 +59019,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -59712,9 +59706,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -59724,22 +59716,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -64027,6 +64003,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -64698,9 +64690,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -64710,22 +64700,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -69008,6 +68982,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -69679,9 +69669,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -69691,22 +69679,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -74025,6 +73997,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -74696,9 +74684,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -74708,22 +74694,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -79011,6 +78981,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -79682,9 +79668,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -79694,22 +79678,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -83988,6 +83956,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -84659,9 +84643,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -84671,22 +84653,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -88968,6 +88934,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -89639,9 +89621,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -89651,22 +89631,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -93953,6 +93917,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -94624,9 +94604,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -94636,22 +94614,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -98935,6 +98897,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -99606,9 +99584,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -99618,22 +99594,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -103924,6 +103884,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -104595,9 +104571,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -104607,22 +104581,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -108901,6 +108859,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -109572,9 +109546,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -109584,22 +109556,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -113878,6 +113834,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -114549,9 +114521,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -114561,22 +114531,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -118874,6 +118828,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -119545,9 +119515,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -119557,22 +119525,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -123885,6 +123837,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -124556,9 +124524,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -124568,22 +124534,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -128862,6 +128812,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -129533,9 +129499,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -129545,22 +129509,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -133827,6 +133775,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -134498,9 +134462,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -134510,22 +134472,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -138807,6 +138753,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -139478,9 +139440,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -139490,22 +139450,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -143848,6 +143792,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -144519,9 +144479,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -144531,22 +144489,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -148847,6 +148789,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -149518,9 +149476,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -149530,22 +149486,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -153825,6 +153765,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -154496,9 +154452,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -154508,22 +154462,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -158965,6 +158903,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -159636,9 +159590,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -159648,22 +159600,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -163963,6 +163899,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -164634,9 +164586,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -164646,22 +164596,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -168955,6 +168889,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -169626,9 +169576,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -169638,22 +169586,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -173951,6 +173883,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -174622,9 +174570,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -174634,22 +174580,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -178937,6 +178867,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -179608,9 +179554,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -179620,22 +179564,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -183920,6 +183848,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -184591,9 +184535,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -184603,22 +184545,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -189031,6 +188957,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -189702,9 +189644,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -189714,22 +189654,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -193996,6 +193920,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -194667,9 +194607,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -194679,22 +194617,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -199104,6 +199026,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -199775,9 +199713,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -199787,22 +199723,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -204083,6 +204003,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -204754,9 +204690,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -204766,22 +204700,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -209068,6 +208986,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -209739,9 +209673,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -209751,22 +209683,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -214048,6 +213964,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -214719,9 +214651,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -214731,22 +214661,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -219026,6 +218940,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -219697,9 +219627,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -219709,20 +219637,4979 @@
"webhook"
]
},
- "AuthRateLimit": {
+ "GlobalRateLimits": {
"type": "object",
"properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
"register": {
- "$ref": "#/definitions/RateLimitOptions"
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
}
},
"additionalProperties": false,
"required": [
- "login",
- "register"
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RefreshUrlsRequestSchema": {
+ "type": "object",
+ "properties": {
+ "attachment_urls": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachment_urls"
+ ],
+ "definitions": {
+ "Network.Headers": {
+ "description": "Request / response headers as keys / values of JSON object.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "GuildSubscriptionSchema": {
+ "type": "object",
+ "properties": {
+ "channels": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "activities": {
+ "type": "boolean"
+ },
+ "threads": {
+ "type": "boolean"
+ },
+ "typing": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "member_updates": {
+ "type": "boolean"
+ },
+ "thread_member_lists": {
+ "type": "array",
+ "items": {}
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "custom_install_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "role": {
+ "$ref": "#/definitions/TeamMemberRole"
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "role",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "TeamMemberRole": {
+ "enum": [
+ "admin",
+ "developer",
+ "read_only"
+ ],
+ "type": "string"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "HubGuild": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "name"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "HubDirectoryEntry": {
+ "type": "object",
+ "properties": {
+ "author_id": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "directory_channel_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "primary_category_id": {
+ "type": "integer"
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "author_id",
+ "created_at",
+ "description",
+ "directory_channel_id",
+ "guild",
+ "primary_category_id",
+ "type"
+ ]
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "guild_template_code": {
+ "type": "string"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
]
},
"GlobalRateLimits": {
@@ -224038,6 +228925,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -224709,9 +229612,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -224721,22 +229622,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -229016,6 +233901,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -229687,9 +234588,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -229699,22 +234598,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -233993,6 +238876,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -234664,9 +239563,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -234676,22 +239573,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -239006,6 +243887,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -239677,9 +244574,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -239689,22 +244584,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -244016,6 +248895,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -244687,9 +249582,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -244699,22 +249592,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -248998,6 +253875,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -249669,9 +254562,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -249681,22 +254572,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -253970,6 +258845,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -254641,9 +259532,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -254653,22 +259542,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -258948,6 +263821,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -259619,9 +264508,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -259631,22 +264518,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -263937,6 +268808,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -264608,9 +269495,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -264620,22 +269505,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -268918,6 +273787,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -269589,9 +274474,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -269601,22 +274484,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -273896,6 +278763,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -274567,9 +279450,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -274579,22 +279460,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -278899,6 +283764,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -279570,9 +284451,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -279582,22 +284461,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -283873,6 +288736,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -284544,9 +289423,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -284556,22 +289433,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -288850,6 +293711,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -289521,9 +294398,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -289533,22 +294408,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -293856,6 +298715,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -294527,9 +299402,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -294539,22 +299412,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -298960,6 +303817,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -299631,9 +304504,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -299643,22 +304514,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -304013,6 +308868,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -304684,9 +309555,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -304696,22 +309565,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -308994,6 +313847,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -309665,9 +314534,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -309677,22 +314544,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -313968,6 +318819,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -314639,9 +319506,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -314651,22 +319516,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -318942,6 +323791,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -319613,9 +324478,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -319625,22 +324488,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -323923,6 +328770,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -324594,9 +329457,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -324606,22 +329467,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -328901,6 +333746,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -329572,9 +334433,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -329584,22 +334443,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -333875,6 +338718,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -334546,9 +339405,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -334558,22 +339415,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -338924,6 +343765,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -339595,9 +344452,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -339607,22 +344462,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -343909,6 +348748,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -344580,9 +349435,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -344592,22 +349445,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -348877,6 +353714,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -349548,9 +354401,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -349560,22 +354411,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -353863,6 +358698,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -354534,9 +359385,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -354546,22 +359395,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -358849,6 +363682,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -359520,9 +364369,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -359532,22 +364379,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -363885,6 +368716,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -364556,9 +369403,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -364568,22 +369413,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -368880,6 +373709,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -369551,9 +374396,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -369563,22 +374406,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -373881,6 +378708,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -374552,9 +379395,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -374564,22 +379405,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -378876,6 +383701,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -379547,9 +384388,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -379559,22 +384398,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -383850,6 +388673,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -384521,9 +389360,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -384533,20 +389370,4979 @@
"webhook"
]
},
- "AuthRateLimit": {
+ "GlobalRateLimits": {
"type": "object",
"properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
"register": {
- "$ref": "#/definitions/RateLimitOptions"
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
}
},
"additionalProperties": false,
"required": [
- "login",
- "register"
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "RefreshUrlsResponse": {
+ "type": "object",
+ "properties": {
+ "refreshed_urls": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RefreshedUrl"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "refreshed_urls"
+ ],
+ "definitions": {
+ "Network.Headers": {
+ "description": "Request / response headers as keys / values of JSON object.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "GuildSubscriptionSchema": {
+ "type": "object",
+ "properties": {
+ "channels": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "activities": {
+ "type": "boolean"
+ },
+ "threads": {
+ "type": "boolean"
+ },
+ "typing": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "member_updates": {
+ "type": "boolean"
+ },
+ "thread_member_lists": {
+ "type": "array",
+ "items": {}
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "custom_install_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "role": {
+ "$ref": "#/definitions/TeamMemberRole"
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "role",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "TeamMemberRole": {
+ "enum": [
+ "admin",
+ "developer",
+ "read_only"
+ ],
+ "type": "string"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "HubGuild": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "name"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "HubDirectoryEntry": {
+ "type": "object",
+ "properties": {
+ "author_id": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "directory_channel_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "primary_category_id": {
+ "type": "integer"
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "author_id",
+ "created_at",
+ "description",
+ "directory_channel_id",
+ "guild",
+ "primary_category_id",
+ "type"
+ ]
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "guild_template_code": {
+ "type": "string"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
]
},
"GlobalRateLimits": {
@@ -388821,6 +398617,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -389492,9 +399304,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -389504,22 +399314,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -393823,6 +403617,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -394494,9 +404304,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -394506,22 +404314,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -398837,6 +408629,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -399508,9 +409316,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -399520,22 +409326,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -403805,6 +413595,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -404476,9 +414282,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -404488,22 +414292,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -408783,6 +418571,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -409454,9 +419258,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -409466,22 +419268,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -413757,6 +423543,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -414428,9 +424230,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -414440,22 +424240,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -418738,6 +428522,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -419409,9 +429209,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -419421,22 +429219,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -423923,6 +433705,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -424594,9 +434392,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -424606,22 +434402,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -428888,6 +438668,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -429559,9 +439355,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -429571,22 +439365,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -433953,6 +443731,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -434624,9 +444418,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -434636,22 +444428,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -438921,6 +448697,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -439592,9 +449384,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -439604,22 +449394,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -443889,6 +453663,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -444560,9 +454350,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -444572,22 +454360,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -448857,6 +458629,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -449528,9 +459316,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -449540,22 +459326,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -453925,6 +463695,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -454596,9 +464382,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -454608,22 +464392,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -458891,6 +468659,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -459562,9 +469346,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -459574,22 +469356,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -463857,6 +473623,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -464528,9 +474310,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -464540,22 +474320,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -468823,6 +478587,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -469494,9 +479274,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -469506,22 +479284,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -473791,6 +483553,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -474462,9 +484240,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -474474,22 +484250,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -478759,6 +488519,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -479430,9 +489206,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -479442,22 +489216,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -483727,6 +493485,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -484398,9 +494172,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -484410,22 +494182,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -488695,6 +498451,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -489366,9 +499138,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -489378,22 +499148,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -493663,6 +503417,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -494334,9 +504104,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -494346,22 +504114,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -498695,6 +508447,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -499366,9 +509134,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -499378,22 +509144,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -503663,6 +513413,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -504334,9 +514100,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -504346,22 +514110,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -508631,6 +518379,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -509302,9 +519066,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -509314,22 +519076,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -513599,6 +523345,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -514270,9 +524032,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -514282,22 +524042,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -518614,6 +528358,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -519285,9 +529045,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -519297,22 +529055,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -523722,6 +533464,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -524393,9 +534151,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -524405,22 +534161,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -528690,6 +538430,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -529361,9 +539117,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -529373,22 +539127,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -533658,6 +543396,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -534329,9 +544083,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -534341,22 +544093,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -538626,6 +548362,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -539297,9 +549049,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -539309,22 +549059,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -543594,6 +553328,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -544265,9 +554015,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -544277,22 +554025,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -548588,6 +558320,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -549259,9 +559007,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -549271,22 +559017,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -553556,6 +563286,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -554227,9 +563973,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -554239,22 +563983,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -558522,6 +568250,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -559193,9 +568937,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -559205,22 +568947,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -563511,6 +573237,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -564182,9 +573924,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -564194,22 +573934,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -568493,6 +578217,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -569164,9 +578904,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -569176,22 +578914,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -573594,6 +583316,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -574265,9 +584003,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -574277,22 +584013,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -578580,6 +588300,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -579251,9 +588987,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -579263,22 +588997,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -583572,6 +593290,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -584243,9 +593977,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -584255,22 +593987,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -588550,6 +598266,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -589221,9 +598953,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -589233,22 +598963,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -593528,6 +603242,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -594199,9 +603929,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -594211,22 +603939,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -598520,6 +608232,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -599191,9 +608919,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -599203,22 +608929,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -603501,6 +613211,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -604172,9 +613898,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -604184,22 +613908,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -608556,6 +618264,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -609227,9 +618951,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -609239,22 +618961,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -613530,6 +623236,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -614201,9 +623923,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -614213,22 +623933,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -618507,6 +628211,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -619178,9 +628898,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -619190,22 +628908,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -623484,6 +633186,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -624155,9 +633873,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -624167,22 +633883,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -628460,6 +638160,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -629131,9 +638847,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -629143,22 +638857,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -633444,6 +643142,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -634115,9 +643829,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -634127,22 +643839,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -638434,6 +648130,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -639105,9 +648817,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -639117,22 +648827,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -643408,6 +653102,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -644079,9 +653789,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -644091,22 +653799,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -648431,6 +658123,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -649102,9 +658810,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -649114,22 +658820,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -653445,6 +663135,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -654116,9 +663822,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -654128,22 +663832,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -658419,6 +668107,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -659090,9 +668794,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -659102,22 +668804,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -663418,6 +673104,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -664089,9 +673791,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -664101,22 +673801,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -668512,6 +678196,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -669183,9 +678883,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -669195,22 +678893,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -673485,6 +683167,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -674156,9 +683854,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -674168,22 +683864,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -678497,6 +688177,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -679168,9 +688864,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -679180,22 +688874,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -683497,6 +693175,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -684168,9 +693862,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -684180,22 +693872,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -688549,6 +698225,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -689220,9 +698912,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -689232,22 +698922,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -693523,6 +703197,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -694194,9 +703884,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -694206,22 +703894,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -698505,6 +708177,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -699176,9 +708864,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -699188,22 +708874,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -703477,6 +713147,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -704148,9 +713834,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -704160,22 +713844,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -708455,6 +718123,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -709126,9 +718810,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -709138,22 +718820,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -713433,6 +723099,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -714104,9 +723786,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -714116,22 +723796,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -718533,6 +728197,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -719204,9 +728884,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -719216,22 +728894,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -723510,6 +733172,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -724181,9 +733859,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -724193,22 +733869,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -728488,6 +738148,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -729159,9 +738835,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -729171,22 +738845,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -733453,6 +743111,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -734124,9 +743798,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -734136,22 +743808,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -738433,6 +748089,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -739104,9 +748776,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -739116,22 +748786,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -743410,6 +753064,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -744081,9 +753751,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -744093,22 +753761,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -748402,6 +758054,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -749073,9 +758741,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -749085,22 +758751,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -753398,6 +763048,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -754069,9 +763735,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -754081,22 +763745,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -758373,6 +768021,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -759044,9 +768708,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -759056,22 +768718,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -763347,6 +772993,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -764018,9 +773680,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -764030,22 +773690,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -768321,6 +777965,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -768992,9 +778652,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -769004,22 +778662,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -773301,6 +782943,22 @@
"widget_enabled"
]
},
+ "RefreshedUrl": {
+ "type": "object",
+ "properties": {
+ "original": {
+ "type": "string"
+ },
+ "refreshed": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "original",
+ "refreshed"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -773972,9 +783630,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -773984,22 +783640,6 @@
"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/package-lock.json b/package-lock.json
index 5717140d..a4dccca9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -36,6 +36,7 @@
"missing-native-js-functions": "^1.4.3",
"module-alias": "^2.2.3",
"morgan": "^1.10.0",
+ "ms": "^2.1.3",
"multer": "^1.4.5-lts.1",
"murmurhash-js": "^1.0.0",
"node-2fa": "^2.0.3",
diff --git a/package.json b/package.json
index 19324488..69779141 100644
--- a/package.json
+++ b/package.json
@@ -96,6 +96,7 @@
"missing-native-js-functions": "^1.4.3",
"module-alias": "^2.2.3",
"morgan": "^1.10.0",
+ "ms": "^2.1.3",
"multer": "^1.4.5-lts.1",
"murmurhash-js": "^1.0.0",
"node-2fa": "^2.0.3",
diff --git a/src/api/routes/attachments/refresh-urls.ts b/src/api/routes/attachments/refresh-urls.ts
new file mode 100644
index 00000000..e456a911
--- /dev/null
+++ b/src/api/routes/attachments/refresh-urls.ts
@@ -0,0 +1,48 @@
+/*
+ Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
+ Copyright (C) 2023 Spacebar and Spacebar Contributors
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
+import { route } from "@spacebar/api";
+import { RefreshUrlsRequestSchema, resignUrl } from "@spacebar/util";
+import { Request, Response, Router } from "express";
+const router = Router();
+
+router.post(
+ "/",
+ route({
+ requestBody: "RefreshUrlsRequestSchema",
+ responses: {
+ 200: {
+ body: "RefreshUrlsResponse",
+ },
+ 400: {
+ body: "APIErrorResponse",
+ },
+ },
+ }),
+ async (req: Request, res: Response) => {
+ const { attachment_urls } = req.body as RefreshUrlsRequestSchema;
+
+ const refreshed_urls = attachment_urls.map(resignUrl);
+
+ return res.status(200).json({
+ refreshed_urls,
+ });
+ },
+);
+
+export default router;
diff --git a/src/api/routes/channels/#channel_id/messages/index.ts b/src/api/routes/channels/#channel_id/messages/index.ts
index 4ba28927..a540dce6 100644
--- a/src/api/routes/channels/#channel_id/messages/index.ts
+++ b/src/api/routes/channels/#channel_id/messages/index.ts
@@ -35,6 +35,7 @@ import {
emitEvent,
getPermission,
isTextChannel,
+ resignUrl,
uploadFile,
} from "@spacebar/util";
import { Request, Response, Router } from "express";
@@ -199,16 +200,18 @@ router.get(
? y.proxy_url
: `https://example.org${y.proxy_url}`;
- let pathname = new URL(uri).pathname;
- while (
- pathname.split("/")[0] != "attachments" &&
- pathname.length > 30
- ) {
- pathname = pathname.split("/").slice(1).join("/");
+ const url = new URL(uri);
+ if (endpoint) {
+ const newBase = new URL(endpoint);
+ url.protocol = newBase.protocol;
+ url.hostname = newBase.hostname;
+ url.port = newBase.port;
}
- if (!endpoint?.endsWith("/")) pathname = "/" + pathname;
- y.proxy_url = `${endpoint == null ? "" : endpoint}${pathname}`;
+ y.proxy_url = url.toString();
+
+ y.proxy_url = resignUrl(y.proxy_url);
+ y.url = resignUrl(y.url);
});
/**
diff --git a/src/cdn/routes/attachments.ts b/src/cdn/routes/attachments.ts
index 19bb0b90..3b79e7f8 100644
--- a/src/cdn/routes/attachments.ts
+++ b/src/cdn/routes/attachments.ts
@@ -16,13 +16,18 @@
along with this program. If not, see .
*/
-import { Router, Response, Request } from "express";
-import { Config, Snowflake } from "@spacebar/util";
-import { storage } from "../util/Storage";
+import {
+ Config,
+ getUrlSignature,
+ hasValidSignature,
+ Snowflake,
+} from "@spacebar/util";
+import { Request, Response, Router } from "express";
import FileType from "file-type";
+import imageSize from "image-size";
import { HTTPError } from "lambert-server";
import { multer } from "../util/multer";
-import imageSize from "image-size";
+import { storage } from "../util/Storage";
const router = Router();
@@ -39,6 +44,7 @@ router.post(
async (req: Request, res: Response) => {
if (req.headers.signature !== Config.get().security.requestSignature)
throw new HTTPError("Invalid request signature");
+
if (!req.file) throw new HTTPError("file missing");
const { buffer, mimetype, size, originalname } = req.file;
@@ -63,12 +69,20 @@ router.post(
}
}
+ let finalUrl = `${endpoint}/${path}`;
+
+ if (Config.get().security.cdnSignUrls) {
+ const signatureData = getUrlSignature(path);
+ console.log(signatureData);
+ finalUrl = `${finalUrl}?ex=${signatureData.expiresAt}&is=${signatureData.issuedAt}&hm=${signatureData.hash}&`;
+ }
+
const file = {
id,
content_type: mimetype,
filename: filename,
size,
- url: `${endpoint}/${path}`,
+ url: finalUrl,
width,
height,
};
@@ -84,6 +98,14 @@ router.get(
// const { format } = req.query;
const path = `attachments/${channel_id}/${id}/${filename}`;
+
+ if (
+ Config.get().security.cdnSignUrls &&
+ !hasValidSignature(path, req.query)
+ ) {
+ return res.status(404).send("This content is no longer available.");
+ }
+
const file = await storage.get(path);
if (!file) throw new HTTPError("File not found");
const type = await FileType.fromBuffer(file);
diff --git a/src/util/Signing.ts b/src/util/Signing.ts
new file mode 100644
index 00000000..5763ed16
--- /dev/null
+++ b/src/util/Signing.ts
@@ -0,0 +1,136 @@
+/*
+ Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
+ Copyright (C) 2023 Spacebar and Spacebar Contributors
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
+import { Config } from "@spacebar/util";
+import { createHmac, timingSafeEqual } from "crypto";
+import ms, { StringValue } from "ms";
+import { ParsedQs } from "qs";
+
+export const getUrlSignature = (path: string) => {
+ const { cdnSignatureKey, cdnSignatureDuration } = Config.get().security;
+
+ // calculate the expiration time
+ const now = Date.now();
+ const issuedAt = now.toString(16);
+ const expiresAt = (now + ms(cdnSignatureDuration as StringValue)).toString(
+ 16,
+ );
+
+ // hash the url with the cdnSignatureKey
+ const hash = createHmac("sha256", cdnSignatureKey as string)
+ .update(path)
+ .update(issuedAt)
+ .update(expiresAt)
+ .digest("hex");
+
+ return {
+ hash,
+ issuedAt,
+ expiresAt,
+ };
+};
+
+export const calculateHash = (
+ url: string,
+ issuedAt: string,
+ expiresAt: string,
+) => {
+ const { cdnSignatureKey } = Config.get().security;
+ const hash = createHmac("sha256", cdnSignatureKey as string)
+ .update(url)
+ .update(issuedAt)
+ .update(expiresAt)
+ .digest("hex");
+ return hash;
+};
+
+export const isExpired = (ex: string, is: string) => {
+ // convert issued at
+ const issuedAt = parseInt(is, 16);
+ const expiresAt = parseInt(ex, 16);
+
+ if (Number.isNaN(issuedAt) || Number.isNaN(expiresAt)) {
+ // console.debug("Invalid timestamps in query");
+ return true;
+ }
+
+ const currentTime = Date.now();
+ const isExpired = expiresAt < currentTime;
+ const isValidIssuedAt = issuedAt < currentTime;
+ if (isExpired || !isValidIssuedAt) {
+ // console.debug("Signature expired");
+ return true;
+ }
+
+ return false;
+};
+
+export const hasValidSignature = (path: string, query: ParsedQs) => {
+ // get url path
+ const { ex, is, hm } = query;
+
+ // if the required query parameters are not present, return false
+ if (!ex || !is || !hm) return false;
+
+ // check if the signature is expired
+ if (isExpired(ex as string, is as string)) {
+ return false;
+ }
+
+ const calcd = calculateHash(path, is as string, ex as string);
+ const calculated = Buffer.from(calcd);
+ const received = Buffer.from(hm as string);
+
+ const isHashValid =
+ calculated.length === received.length &&
+ timingSafeEqual(calculated, received);
+ // if (!isHashValid) {
+ // console.debug("Invalid signature");
+ // console.debug(calcd, hm);
+ // }
+ return isHashValid;
+};
+
+export const resignUrl = (attachmentUrl: string) => {
+ const url = new URL(attachmentUrl);
+
+ // if theres an existing signature, check if its expired or not. no reason to resign if its not expired
+ if (url.searchParams.has("ex") && url.searchParams.has("is")) {
+ // extract the ex and is
+ const ex = url.searchParams.get("ex");
+ const is = url.searchParams.get("is");
+
+ if (!isExpired(ex as string, is as string)) {
+ // if the signature is not expired, return the url as is
+ return attachmentUrl;
+ }
+ }
+
+ let path = url.pathname;
+ // strip / from the start
+ if (path.startsWith("/")) {
+ path = path.slice(1);
+ }
+
+ const { hash, issuedAt, expiresAt } = getUrlSignature(path);
+ url.searchParams.set("ex", expiresAt);
+ url.searchParams.set("is", issuedAt);
+ url.searchParams.set("hm", hash);
+
+ return url.toString();
+};
diff --git a/src/util/config/types/SecurityConfiguration.ts b/src/util/config/types/SecurityConfiguration.ts
index 38aab6f8..fb8b550e 100644
--- a/src/util/config/types/SecurityConfiguration.ts
+++ b/src/util/config/types/SecurityConfiguration.ts
@@ -37,4 +37,8 @@ export class SecurityConfiguration {
mfaBackupCodeCount: number = 10;
statsWorldReadable: boolean = true;
defaultRegistrationTokenExpiration: number = 1000 * 60 * 60 * 24 * 7; //1 week
+ // cdn signed urls
+ cdnSignUrls: boolean = false;
+ cdnSignatureKey: string = crypto.randomBytes(32).toString("base64");
+ cdnSignatureDuration: string = "24h";
}
diff --git a/src/util/index.ts b/src/util/index.ts
index c3d32bba..dba69812 100644
--- a/src/util/index.ts
+++ b/src/util/index.ts
@@ -16,6 +16,8 @@
along with this program. If not, see .
*/
+// NOTE: !! DO NOT REORDER THE IMPORTS !!
+
import "reflect-metadata";
export * from "./util/index";
@@ -26,3 +28,4 @@ export * from "./schemas";
export * from "./imports";
export * from "./config";
export * from "./connections";
+export * from "./Signing"
\ No newline at end of file
diff --git a/src/util/schemas/RefreshUrlsRequestSchema.ts b/src/util/schemas/RefreshUrlsRequestSchema.ts
new file mode 100644
index 00000000..9c1df548
--- /dev/null
+++ b/src/util/schemas/RefreshUrlsRequestSchema.ts
@@ -0,0 +1,21 @@
+/*
+ Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
+ Copyright (C) 2023 Spacebar and Spacebar Contributors
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
+export interface RefreshUrlsRequestSchema {
+ attachment_urls: string[];
+}
diff --git a/src/util/schemas/index.ts b/src/util/schemas/index.ts
index f2d5844b..9701faec 100644
--- a/src/util/schemas/index.ts
+++ b/src/util/schemas/index.ts
@@ -59,6 +59,7 @@ export * from "./MfaCodesSchema";
export * from "./ModifyGuildStickerSchema";
export * from "./PasswordResetSchema";
export * from "./PurgeSchema";
+export * from "./RefreshUrlsRequestSchema";
export * from "./RegisterSchema";
export * from "./RelationshipPostSchema";
export * from "./RelationshipPutSchema";
diff --git a/src/util/schemas/responses/RefreshUrlsResponse.ts b/src/util/schemas/responses/RefreshUrlsResponse.ts
new file mode 100644
index 00000000..b08efaa4
--- /dev/null
+++ b/src/util/schemas/responses/RefreshUrlsResponse.ts
@@ -0,0 +1,26 @@
+/*
+ Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
+ Copyright (C) 2023 Spacebar and Spacebar Contributors
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
+export interface RefreshedUrl {
+ original: string;
+ refreshed: string;
+}
+
+export interface RefreshUrlsResponse {
+ refreshed_urls: RefreshedUrl[];
+}
diff --git a/src/util/schemas/responses/index.ts b/src/util/schemas/responses/index.ts
index d65c7404..856b4a3e 100644
--- a/src/util/schemas/responses/index.ts
+++ b/src/util/schemas/responses/index.ts
@@ -44,6 +44,7 @@ export * from "./InstanceStatsResponse";
export * from "./LocationMetadataResponse";
export * from "./MemberJoinGuildResponse";
export * from "./OAuthAuthorizeResponse";
+export * from "./RefreshUrlsResponse";
export * from "./TeamListResponse";
export * from "./Tenor";
export * from "./TokenResponse";