Compare commits

..

No commits in common. "63b1e0f1ef5d7807c6c11c62936ac9363492a0a9" and "aeb7e2c173bb701743f4d24f75dc3fc4affd4b17" have entirely different histories.

2 changed files with 18 additions and 372 deletions

View file

@ -12672,22 +12672,24 @@
"type": "object", "type": "object",
"properties": { "properties": {
"banned_users": { "banned_users": {
"type": "array", "type": [
"array",
"null"
],
"items": { "items": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"
} }
}, },
"failed_users": { "failed_users": {
"type": "array", "type": [
"array",
"null"
],
"items": { "items": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"
} }
} }
}, }
"required": [
"banned_users",
"failed_users"
]
}, },
"Button": { "Button": {
"type": "object", "type": "object",

View file

@ -8986,28 +8986,6 @@
"null" "null"
] ]
}, },
"contexts": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/InteractionContextType"
},
"minItems": 1,
"uniqueItems": true
},
"integration_types": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ApplicationIntegrationType"
},
"minItems": 1,
"uniqueItems": true
},
"type": { "type": {
"oneOf": [ "oneOf": [
{ {
@ -9220,51 +9198,6 @@
"description" "description"
] ]
}, },
"ApplicationCommandInteractionMetadataResponse": {
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"type": {
"type": "integer",
"enum": [
2
],
"allOf": [
{
"$ref": "#/components/schemas/InteractionTypes"
}
],
"format": "int32"
},
"user_id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"authorizing_integration_owners": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"original_response_message_id": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SnowflakeType"
}
]
}
},
"required": [
"id",
"type",
"user_id",
"authorizing_integration_owners"
]
},
"ApplicationCommandMentionableOption": { "ApplicationCommandMentionableOption": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -9913,28 +9846,6 @@
"boolean", "boolean",
"null" "null"
] ]
},
"contexts": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/InteractionContextType"
},
"minItems": 1,
"uniqueItems": true
},
"integration_types": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ApplicationIntegrationType"
},
"minItems": 1,
"uniqueItems": true
} }
} }
}, },
@ -10051,26 +9962,6 @@
"null" "null"
] ]
}, },
"contexts": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/InteractionContextType"
},
"uniqueItems": true
},
"integration_types": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ApplicationIntegrationType"
},
"uniqueItems": true
},
"options": { "options": {
"type": [ "type": [
"array", "array",
@ -10907,28 +10798,6 @@
"null" "null"
] ]
}, },
"contexts": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/InteractionContextType"
},
"minItems": 1,
"uniqueItems": true
},
"integration_types": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ApplicationIntegrationType"
},
"minItems": 1,
"uniqueItems": true
},
"type": { "type": {
"oneOf": [ "oneOf": [
{ {
@ -11201,24 +11070,6 @@
], ],
"maxLength": 2048, "maxLength": 2048,
"format": "uri" "format": "uri"
},
"integration_types_config": {
"type": [
"object",
"null"
],
"additionalProperties": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ApplicationIntegrationTypeConfiguration"
}
]
},
"minProperties": 1,
"maxProperties": 2
} }
} }
}, },
@ -11296,41 +11147,6 @@
"type" "type"
] ]
}, },
"ApplicationIntegrationType": {
"type": "integer",
"oneOf": [
{
"title": "GUILD_INSTALL",
"description": "For Guild install.",
"const": 0
},
{
"title": "USER_INSTALL",
"description": "For User install.",
"const": 1
}
],
"format": "int32"
},
"ApplicationIntegrationTypeConfiguration": {
"type": "object",
"properties": {
"oauth2_install_params": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ApplicationOAuth2InstallParams"
}
]
}
}
},
"ApplicationIntegrationTypeConfigurationResponse": {
"type": "object",
"properties": {}
},
"ApplicationOAuth2InstallParams": { "ApplicationOAuth2InstallParams": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -12735,22 +12551,6 @@
"$ref": "#/components/schemas/ResolvedObjectsResponse" "$ref": "#/components/schemas/ResolvedObjectsResponse"
} }
] ]
},
"interaction_metadata": {
"oneOf": [
{
"$ref": "#/components/schemas/ApplicationCommandInteractionMetadataResponse"
},
{
"$ref": "#/components/schemas/MessageComponentInteractionMetadataResponse"
},
{
"$ref": "#/components/schemas/ModalSubmitInteractionMetadataResponse"
},
{
"type": "null"
}
]
} }
}, },
"required": [ "required": [
@ -12872,22 +12672,24 @@
"type": "object", "type": "object",
"properties": { "properties": {
"banned_users": { "banned_users": {
"type": "array", "type": [
"array",
"null"
],
"items": { "items": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"
} }
}, },
"failed_users": { "failed_users": {
"type": "array", "type": [
"array",
"null"
],
"items": { "items": {
"$ref": "#/components/schemas/SnowflakeType" "$ref": "#/components/schemas/SnowflakeType"
} }
} }
}, }
"required": [
"banned_users",
"failed_users"
]
}, },
"Button": { "Button": {
"type": "object", "type": "object",
@ -19765,27 +19567,6 @@
], ],
"format": "int32" "format": "int32"
}, },
"InteractionContextType": {
"type": "integer",
"oneOf": [
{
"title": "GUILD",
"description": "This command can be used within a Guild.",
"const": 0
},
{
"title": "BOT_DM",
"description": "This command can be used within a DM with this application's bot.",
"const": 1
},
{
"title": "PRIVATE_CHANNEL",
"description": "This command can be used within DMs and Group DMs with users.",
"const": 2
}
],
"format": "int32"
},
"InteractionTypes": { "InteractionTypes": {
"type": "integer", "type": "integer",
"oneOf": [ "oneOf": [
@ -21620,55 +21401,6 @@
"style" "style"
] ]
}, },
"MessageComponentInteractionMetadataResponse": {
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"type": {
"type": "integer",
"enum": [
3
],
"allOf": [
{
"$ref": "#/components/schemas/InteractionTypes"
}
],
"format": "int32"
},
"user_id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"authorizing_integration_owners": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"original_response_message_id": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SnowflakeType"
}
]
},
"interacted_message_id": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"required": [
"id",
"type",
"user_id",
"authorizing_integration_owners",
"interacted_message_id"
]
},
"MessageComponentMentionableSelectResponse": { "MessageComponentMentionableSelectResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -22902,22 +22634,6 @@
} }
] ]
}, },
"interaction_metadata": {
"oneOf": [
{
"$ref": "#/components/schemas/ApplicationCommandInteractionMetadataResponse"
},
{
"$ref": "#/components/schemas/MessageComponentInteractionMetadataResponse"
},
{
"$ref": "#/components/schemas/ModalSubmitInteractionMetadataResponse"
},
{
"type": "null"
}
]
},
"reactions": { "reactions": {
"type": [ "type": [
"array", "array",
@ -23263,62 +22979,6 @@
"data" "data"
] ]
}, },
"ModalSubmitInteractionMetadataResponse": {
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"type": {
"type": "integer",
"enum": [
5
],
"allOf": [
{
"$ref": "#/components/schemas/InteractionTypes"
}
],
"format": "int32"
},
"user_id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"authorizing_integration_owners": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/SnowflakeType"
}
},
"original_response_message_id": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SnowflakeType"
}
]
},
"triggering_interaction_metadata": {
"oneOf": [
{
"$ref": "#/components/schemas/ApplicationCommandInteractionMetadataResponse"
},
{
"$ref": "#/components/schemas/MessageComponentInteractionMetadataResponse"
}
]
}
},
"required": [
"id",
"type",
"user_id",
"authorizing_integration_owners",
"triggering_interaction_metadata"
]
},
"MyGuildResponse": { "MyGuildResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -24176,22 +23836,6 @@
"$ref": "#/components/schemas/TeamResponse" "$ref": "#/components/schemas/TeamResponse"
} }
] ]
},
"integration_types_config": {
"type": [
"object",
"null"
],
"additionalProperties": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ApplicationIntegrationTypeConfigurationResponse"
}
]
}
} }
}, },
"required": [ "required": [