Automated spec update (62268)

This commit is contained in:
Nelly (automation bot) 2024-08-08 16:55:15 +00:00
parent 00194a6b62
commit 9aae7d75d9
2 changed files with 256 additions and 0 deletions

View file

@ -3711,6 +3711,15 @@
],
"post": {
"operationId": "create_interaction_response",
"parameters": [
{
"name": "with_response",
"in": "query",
"schema": {
"type": "boolean"
}
}
],
"requestBody": {
"content": {
"application/json": {
@ -3783,6 +3792,16 @@
"required": true
},
"responses": {
"200": {
"description": "200 response for create_interaction_response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InteractionCallbackResponse"
}
}
}
},
"204": {
"description": "204 response for create_interaction_response"
},
@ -15339,6 +15358,30 @@
"type"
]
},
"CreateMessageInteractionCallbackResponse": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
4
],
"allOf": [
{
"$ref": "#/components/schemas/InteractionCallbackTypes"
}
],
"format": "int32"
},
"message": {
"$ref": "#/components/schemas/MessageResponse"
}
},
"required": [
"type",
"message"
]
},
"CreateOrUpdateThreadTagRequest": {
"type": "object",
"properties": {
@ -20923,6 +20966,30 @@
}
}
},
"InteractionCallbackResponse": {
"type": "object",
"properties": {
"interaction": {
"$ref": "#/components/schemas/InteractionResponse"
},
"resource": {
"oneOf": [
{
"$ref": "#/components/schemas/CreateMessageInteractionCallbackResponse"
},
{
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackResponse"
},
{
"type": "null"
}
]
}
},
"required": [
"interaction"
]
},
"InteractionCallbackTypes": {
"type": "integer",
"oneOf": [
@ -20962,6 +21029,43 @@
"oneOf": [],
"format": "int32"
},
"InteractionResponse": {
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"type": {
"$ref": "#/components/schemas/InteractionTypes"
},
"response_message_id": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SnowflakeType"
}
]
},
"response_message_loading": {
"type": [
"boolean",
"null"
]
},
"response_message_ephemeral": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"id",
"type"
]
},
"InteractionTypes": {
"type": "integer",
"oneOf": [
@ -28810,6 +28914,30 @@
"type"
]
},
"UpdateMessageInteractionCallbackResponse": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
7
],
"allOf": [
{
"$ref": "#/components/schemas/InteractionCallbackTypes"
}
],
"format": "int32"
},
"message": {
"$ref": "#/components/schemas/MessageResponse"
}
},
"required": [
"type",
"message"
]
},
"UpdateOnboardingPromptRequest": {
"type": "object",
"properties": {

View file

@ -3711,6 +3711,15 @@
],
"post": {
"operationId": "create_interaction_response",
"parameters": [
{
"name": "with_response",
"in": "query",
"schema": {
"type": "boolean"
}
}
],
"requestBody": {
"content": {
"application/json": {
@ -3783,6 +3792,16 @@
"required": true
},
"responses": {
"200": {
"description": "200 response for create_interaction_response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InteractionCallbackResponse"
}
}
}
},
"204": {
"description": "204 response for create_interaction_response"
},
@ -15390,6 +15409,30 @@
"type"
]
},
"CreateMessageInteractionCallbackResponse": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
4
],
"allOf": [
{
"$ref": "#/components/schemas/InteractionCallbackTypes"
}
],
"format": "int32"
},
"message": {
"$ref": "#/components/schemas/MessageResponse"
}
},
"required": [
"type",
"message"
]
},
"CreateOrUpdateThreadTagRequest": {
"type": "object",
"properties": {
@ -21019,6 +21062,30 @@
}
}
},
"InteractionCallbackResponse": {
"type": "object",
"properties": {
"interaction": {
"$ref": "#/components/schemas/InteractionResponse"
},
"resource": {
"oneOf": [
{
"$ref": "#/components/schemas/CreateMessageInteractionCallbackResponse"
},
{
"$ref": "#/components/schemas/UpdateMessageInteractionCallbackResponse"
},
{
"type": "null"
}
]
}
},
"required": [
"interaction"
]
},
"InteractionCallbackTypes": {
"type": "integer",
"oneOf": [
@ -21074,6 +21141,43 @@
],
"format": "int32"
},
"InteractionResponse": {
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"type": {
"$ref": "#/components/schemas/InteractionTypes"
},
"response_message_id": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SnowflakeType"
}
]
},
"response_message_loading": {
"type": [
"boolean",
"null"
]
},
"response_message_ephemeral": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"id",
"type"
]
},
"InteractionTypes": {
"type": "integer",
"oneOf": [
@ -29270,6 +29374,30 @@
"type"
]
},
"UpdateMessageInteractionCallbackResponse": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
7
],
"allOf": [
{
"$ref": "#/components/schemas/InteractionCallbackTypes"
}
],
"format": "int32"
},
"message": {
"$ref": "#/components/schemas/MessageResponse"
}
},
"required": [
"type",
"message"
]
},
"UpdateOnboardingPromptRequest": {
"type": "object",
"properties": {