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

View File

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