Automated spec update (4950)

This commit is contained in:
Nelly (automation bot) 2023-09-27 22:47:41 +00:00
parent 8ed0ce77f7
commit f02d9d6c78
2 changed files with 310 additions and 0 deletions

View File

@ -12720,6 +12720,16 @@
"null"
],
"format": "int32"
},
"resolved": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ResolvedObjectsResponse"
}
]
}
},
"required": [
@ -13152,6 +13162,16 @@
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ChannelSelectDefaultValue"
},
"maxItems": 25
},
"channel_types": {
"type": [
"array",
@ -13168,6 +13188,21 @@
"custom_id"
]
},
"ChannelSelectDefaultValue": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"type",
"id"
]
},
"ChannelTypes": {
"type": "integer",
"oneOf": [
@ -20914,6 +20949,14 @@
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {},
"maxItems": 25
}
},
"required": [
@ -22535,6 +22578,16 @@
],
"format": "int32"
},
"resolved": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ResolvedObjectsResponse"
}
]
},
"reactions": {
"type": [
"array",
@ -24085,6 +24138,54 @@
"message_id"
]
},
"ResolvedObjectsResponse": {
"type": "object",
"properties": {
"users": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/UserResponse"
}
},
"members": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/GuildMemberResponse"
}
},
"channels": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"$ref": "#/components/schemas/GuildChannelResponse"
},
{
"$ref": "#/components/schemas/PrivateChannelResponse"
},
{
"$ref": "#/components/schemas/PrivateGroupChannelResponse"
},
{
"$ref": "#/components/schemas/ThreadResponse"
}
]
}
},
"roles": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/GuildRoleResponse"
}
}
},
"required": [
"users",
"members",
"channels",
"roles"
]
},
"ResourceChannelResponse": {
"type": "object",
"properties": {
@ -24452,6 +24553,16 @@
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/RoleSelectDefaultValue"
},
"maxItems": 25
}
},
"required": [
@ -24459,6 +24570,21 @@
"custom_id"
]
},
"RoleSelectDefaultValue": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"type",
"id"
]
},
"ScheduledEventResponse": {
"type": "object",
"properties": {
@ -24749,6 +24875,10 @@
}
}
},
"SnowflakeSelectDefaultValueTypes": {
"type": "string",
"oneOf": []
},
"SnowflakeType": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$",
@ -26610,6 +26740,16 @@
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/UserSelectDefaultValue"
},
"maxItems": 25
}
},
"required": [
@ -26617,6 +26757,21 @@
"custom_id"
]
},
"UserSelectDefaultValue": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"type",
"id"
]
},
"VanityURLErrorResponse": {
"type": "object",
"properties": {

View File

@ -12720,6 +12720,16 @@
"null"
],
"format": "int32"
},
"resolved": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ResolvedObjectsResponse"
}
]
}
},
"required": [
@ -13152,6 +13162,16 @@
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ChannelSelectDefaultValue"
},
"maxItems": 25
},
"channel_types": {
"type": [
"array",
@ -13168,6 +13188,21 @@
"custom_id"
]
},
"ChannelSelectDefaultValue": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"type",
"id"
]
},
"ChannelTypes": {
"type": "integer",
"oneOf": [
@ -20935,6 +20970,14 @@
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {},
"maxItems": 25
}
},
"required": [
@ -22556,6 +22599,16 @@
],
"format": "int32"
},
"resolved": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ResolvedObjectsResponse"
}
]
},
"reactions": {
"type": [
"array",
@ -24295,6 +24348,54 @@
"message_id"
]
},
"ResolvedObjectsResponse": {
"type": "object",
"properties": {
"users": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/UserResponse"
}
},
"members": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/GuildMemberResponse"
}
},
"channels": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"$ref": "#/components/schemas/GuildChannelResponse"
},
{
"$ref": "#/components/schemas/PrivateChannelResponse"
},
{
"$ref": "#/components/schemas/PrivateGroupChannelResponse"
},
{
"$ref": "#/components/schemas/ThreadResponse"
}
]
}
},
"roles": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/GuildRoleResponse"
}
}
},
"required": [
"users",
"members",
"channels",
"roles"
]
},
"ResourceChannelResponse": {
"type": "object",
"properties": {
@ -24662,6 +24763,16 @@
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/RoleSelectDefaultValue"
},
"maxItems": 25
}
},
"required": [
@ -24669,6 +24780,21 @@
"custom_id"
]
},
"RoleSelectDefaultValue": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"type",
"id"
]
},
"ScheduledEventResponse": {
"type": "object",
"properties": {
@ -24969,6 +25095,10 @@
}
}
},
"SnowflakeSelectDefaultValueTypes": {
"type": "string",
"oneOf": []
},
"SnowflakeType": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$",
@ -26841,6 +26971,16 @@
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/UserSelectDefaultValue"
},
"maxItems": 25
}
},
"required": [
@ -26848,6 +26988,21 @@
"custom_id"
]
},
"UserSelectDefaultValue": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes"
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"type",
"id"
]
},
"VanityURLErrorResponse": {
"type": "object",
"properties": {