Automated spec update (65795)

This commit is contained in:
Nelly (automation bot) 2024-08-26 19:44:08 +00:00
parent f318438087
commit fbd2589cb6
2 changed files with 98 additions and 2 deletions

View File

@ -2923,7 +2923,7 @@
]
}
},
"/applications/{application_id}/activity-instance/{instance_id}": {
"/applications/{application_id}/activity-instances/{instance_id}": {
"parameters": [
{
"name": "application_id",

View File

@ -2923,7 +2923,7 @@
]
}
},
"/applications/{application_id}/activity-instance/{instance_id}": {
"/applications/{application_id}/activity-instances/{instance_id}": {
"parameters": [
{
"name": "application_id",
@ -3775,6 +3775,9 @@
{
"$ref": "#/components/schemas/CreateMessageInteractionCallbackRequest"
},
{
"$ref": "#/components/schemas/LaunchActivityInteractionCallbackRequest"
},
{
"$ref": "#/components/schemas/ModalInteractionCallbackRequest"
},
@ -3797,6 +3800,9 @@
{
"$ref": "#/components/schemas/CreateMessageInteractionCallbackRequest"
},
{
"$ref": "#/components/schemas/LaunchActivityInteractionCallbackRequest"
},
{
"$ref": "#/components/schemas/ModalInteractionCallbackRequest"
},
@ -3819,6 +3825,9 @@
{
"$ref": "#/components/schemas/CreateMessageInteractionCallbackRequest"
},
{
"$ref": "#/components/schemas/LaunchActivityInteractionCallbackRequest"
},
{
"$ref": "#/components/schemas/ModalInteractionCallbackRequest"
},
@ -10140,6 +10149,16 @@
"minItems": 1,
"uniqueItems": true
},
"handler": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ApplicationCommandHandler"
}
]
},
"type": {
"oneOf": [
{
@ -10155,6 +10174,11 @@
"name"
]
},
"ApplicationCommandHandler": {
"type": "integer",
"oneOf": [],
"format": "int32"
},
"ApplicationCommandIntegerOption": {
"type": "object",
"properties": {
@ -11073,6 +11097,16 @@
},
"minItems": 1,
"uniqueItems": true
},
"handler": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ApplicationCommandHandler"
}
]
}
}
},
@ -11944,6 +11978,11 @@
"title": "MESSAGE",
"description": "A UI-based command that shows up when you right click or tap on a message",
"const": 3
},
{
"title": "PRIMARY_ENTRY_POINT",
"description": "A command that represents the primary way to use an application (e.g. launching an Activity)",
"const": 4
}
],
"format": "int32"
@ -12067,6 +12106,16 @@
"minItems": 1,
"uniqueItems": true
},
"handler": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ApplicationCommandHandler"
}
]
},
"type": {
"oneOf": [
{
@ -21298,6 +21347,9 @@
{
"$ref": "#/components/schemas/CreateMessageInteractionCallbackResponse"
},
{
"$ref": "#/components/schemas/LaunchActivityInteractionCallbackResponse"
},
{
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackResponse"
},
@ -21341,6 +21393,10 @@
{
"title": "MODAL",
"const": 9
},
{
"title": "LAUNCH_ACTIVITY",
"const": 12
}
],
"format": "int32"
@ -22140,6 +22196,46 @@
}
}
},
"LaunchActivityInteractionCallbackRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
12
],
"allOf": [
{
"$ref": "#/components/schemas/InteractionCallbackTypes"
}
],
"format": "int32"
}
},
"required": [
"type"
]
},
"LaunchActivityInteractionCallbackResponse": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
12
],
"allOf": [
{
"$ref": "#/components/schemas/InteractionCallbackTypes"
}
],
"format": "int32"
}
},
"required": [
"type"
]
},
"ListApplicationEmojisResponse": {
"type": "object",
"properties": {