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": { "post": {
"operationId": "create_interaction_response", "operationId": "create_interaction_response",
"parameters": [
{
"name": "with_response",
"in": "query",
"schema": {
"type": "boolean"
}
}
],
"requestBody": { "requestBody": {
"content": { "content": {
"application/json": { "application/json": {
@ -3783,6 +3792,16 @@
"required": true "required": true
}, },
"responses": { "responses": {
"200": {
"description": "200 response for create_interaction_response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InteractionCallbackResponse"
}
}
}
},
"204": { "204": {
"description": "204 response for create_interaction_response" "description": "204 response for create_interaction_response"
}, },
@ -15339,6 +15358,30 @@
"type" "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": { "CreateOrUpdateThreadTagRequest": {
"type": "object", "type": "object",
"properties": { "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": { "InteractionCallbackTypes": {
"type": "integer", "type": "integer",
"oneOf": [ "oneOf": [
@ -20962,6 +21029,43 @@
"oneOf": [], "oneOf": [],
"format": "int32" "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": { "InteractionTypes": {
"type": "integer", "type": "integer",
"oneOf": [ "oneOf": [
@ -28810,6 +28914,30 @@
"type" "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": { "UpdateOnboardingPromptRequest": {
"type": "object", "type": "object",
"properties": { "properties": {

View file

@ -3711,6 +3711,15 @@
], ],
"post": { "post": {
"operationId": "create_interaction_response", "operationId": "create_interaction_response",
"parameters": [
{
"name": "with_response",
"in": "query",
"schema": {
"type": "boolean"
}
}
],
"requestBody": { "requestBody": {
"content": { "content": {
"application/json": { "application/json": {
@ -3783,6 +3792,16 @@
"required": true "required": true
}, },
"responses": { "responses": {
"200": {
"description": "200 response for create_interaction_response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InteractionCallbackResponse"
}
}
}
},
"204": { "204": {
"description": "204 response for create_interaction_response" "description": "204 response for create_interaction_response"
}, },
@ -15390,6 +15409,30 @@
"type" "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": { "CreateOrUpdateThreadTagRequest": {
"type": "object", "type": "object",
"properties": { "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": { "InteractionCallbackTypes": {
"type": "integer", "type": "integer",
"oneOf": [ "oneOf": [
@ -21074,6 +21141,43 @@
], ],
"format": "int32" "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": { "InteractionTypes": {
"type": "integer", "type": "integer",
"oneOf": [ "oneOf": [
@ -29270,6 +29374,30 @@
"type" "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": { "UpdateOnboardingPromptRequest": {
"type": "object", "type": "object",
"properties": { "properties": {