From 3e758dc418acbe04da47acc99f48e5f6bcf0753a Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Sat, 14 Feb 2026 03:04:28 +0000 Subject: [PATCH] Automated spec update (186664) --- specs/openapi.json | 242 +++++++++++++++++++++++++++++++++++++ specs/openapi_preview.json | 242 +++++++++++++++++++++++++++++++++++++ 2 files changed, 484 insertions(+) diff --git a/specs/openapi.json b/specs/openapi.json index 277c83f..35c1941 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -20732,6 +20732,143 @@ ], "format": "int32" }, + "CheckboxComponentForModalRequest": { + "type": "object", + "properties": { + "type": { + "type": "integer", + "enum": [ + 23 + ], + "allOf": [ + { + "$ref": "#/components/schemas/MessageComponentTypes" + } + ], + "format": "int32" + }, + "id": { + "type": [ + "integer", + "null" + ], + "minimum": 0, + "format": "int32" + }, + "custom_id": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "default": { + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "type", + "custom_id" + ] + }, + "CheckboxGroupComponentForModalRequest": { + "type": "object", + "properties": { + "type": { + "type": "integer", + "enum": [ + 22 + ], + "allOf": [ + { + "$ref": "#/components/schemas/MessageComponentTypes" + } + ], + "format": "int32" + }, + "id": { + "type": [ + "integer", + "null" + ], + "minimum": 0, + "format": "int32" + }, + "custom_id": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "min_values": { + "type": [ + "integer", + "null" + ], + "minimum": 0, + "maximum": 10 + }, + "max_values": { + "type": [ + "integer", + "null" + ], + "minimum": 1, + "maximum": 10 + }, + "required": { + "type": [ + "boolean", + "null" + ] + }, + "options": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CheckboxGroupOptionForRequest" + }, + "minItems": 1, + "maxItems": 10 + } + }, + "required": [ + "type", + "custom_id", + "options" + ] + }, + "CheckboxGroupOptionForRequest": { + "type": "object", + "properties": { + "label": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "description": { + "type": [ + "string", + "null" + ], + "maxLength": 100 + }, + "default": { + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "label", + "value" + ] + }, "CommandPermissionResponse": { "type": "object", "properties": { @@ -28082,12 +28219,21 @@ { "$ref": "#/components/schemas/ChannelSelectComponentForModalRequest" }, + { + "$ref": "#/components/schemas/CheckboxComponentForModalRequest" + }, + { + "$ref": "#/components/schemas/CheckboxGroupComponentForModalRequest" + }, { "$ref": "#/components/schemas/FileUploadComponentForModalRequest" }, { "$ref": "#/components/schemas/MentionableSelectComponentForModalRequest" }, + { + "$ref": "#/components/schemas/RadioGroupComponentForModalRequest" + }, { "$ref": "#/components/schemas/RoleSelectComponentForModalRequest" }, @@ -29618,6 +29764,21 @@ "title": "FILE_UPLOAD", "description": "File upload component", "const": 19 + }, + { + "title": "RADIO_GROUP", + "description": "Radio group component", + "const": 21 + }, + { + "title": "CHECKBOX_GROUP", + "description": "Checkbox group component", + "const": 22 + }, + { + "title": "CHECKBOX", + "description": "Checkbox component", + "const": 23 } ], "format": "int32" @@ -32706,6 +32867,87 @@ "metadata" ] }, + "RadioGroupComponentForModalRequest": { + "type": "object", + "properties": { + "type": { + "type": "integer", + "enum": [ + 21 + ], + "allOf": [ + { + "$ref": "#/components/schemas/MessageComponentTypes" + } + ], + "format": "int32" + }, + "id": { + "type": [ + "integer", + "null" + ], + "minimum": 0, + "format": "int32" + }, + "custom_id": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "required": { + "type": [ + "boolean", + "null" + ] + }, + "options": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RadioGroupOptionForRequest" + }, + "minItems": 2, + "maxItems": 10 + } + }, + "required": [ + "type", + "custom_id", + "options" + ] + }, + "RadioGroupOptionForRequest": { + "type": "object", + "properties": { + "label": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "description": { + "type": [ + "string", + "null" + ], + "maxLength": 100 + }, + "default": { + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "label", + "value" + ] + }, "ReactionTypes": { "type": "integer", "oneOf": [ diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 7829dca..473f6ee 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -21140,6 +21140,143 @@ ], "format": "int32" }, + "CheckboxComponentForModalRequest": { + "type": "object", + "properties": { + "type": { + "type": "integer", + "enum": [ + 23 + ], + "allOf": [ + { + "$ref": "#/components/schemas/MessageComponentTypes" + } + ], + "format": "int32" + }, + "id": { + "type": [ + "integer", + "null" + ], + "minimum": 0, + "format": "int32" + }, + "custom_id": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "default": { + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "type", + "custom_id" + ] + }, + "CheckboxGroupComponentForModalRequest": { + "type": "object", + "properties": { + "type": { + "type": "integer", + "enum": [ + 22 + ], + "allOf": [ + { + "$ref": "#/components/schemas/MessageComponentTypes" + } + ], + "format": "int32" + }, + "id": { + "type": [ + "integer", + "null" + ], + "minimum": 0, + "format": "int32" + }, + "custom_id": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "min_values": { + "type": [ + "integer", + "null" + ], + "minimum": 0, + "maximum": 10 + }, + "max_values": { + "type": [ + "integer", + "null" + ], + "minimum": 1, + "maximum": 10 + }, + "required": { + "type": [ + "boolean", + "null" + ] + }, + "options": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CheckboxGroupOptionForRequest" + }, + "minItems": 1, + "maxItems": 10 + } + }, + "required": [ + "type", + "custom_id", + "options" + ] + }, + "CheckboxGroupOptionForRequest": { + "type": "object", + "properties": { + "label": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "description": { + "type": [ + "string", + "null" + ], + "maxLength": 100 + }, + "default": { + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "label", + "value" + ] + }, "CommandPermissionResponse": { "type": "object", "properties": { @@ -28668,12 +28805,21 @@ { "$ref": "#/components/schemas/ChannelSelectComponentForModalRequest" }, + { + "$ref": "#/components/schemas/CheckboxComponentForModalRequest" + }, + { + "$ref": "#/components/schemas/CheckboxGroupComponentForModalRequest" + }, { "$ref": "#/components/schemas/FileUploadComponentForModalRequest" }, { "$ref": "#/components/schemas/MentionableSelectComponentForModalRequest" }, + { + "$ref": "#/components/schemas/RadioGroupComponentForModalRequest" + }, { "$ref": "#/components/schemas/RoleSelectComponentForModalRequest" }, @@ -30204,6 +30350,21 @@ "title": "FILE_UPLOAD", "description": "File upload component", "const": 19 + }, + { + "title": "RADIO_GROUP", + "description": "Radio group component", + "const": 21 + }, + { + "title": "CHECKBOX_GROUP", + "description": "Checkbox group component", + "const": 22 + }, + { + "title": "CHECKBOX", + "description": "Checkbox component", + "const": 23 } ], "format": "int32" @@ -33292,6 +33453,87 @@ "metadata" ] }, + "RadioGroupComponentForModalRequest": { + "type": "object", + "properties": { + "type": { + "type": "integer", + "enum": [ + 21 + ], + "allOf": [ + { + "$ref": "#/components/schemas/MessageComponentTypes" + } + ], + "format": "int32" + }, + "id": { + "type": [ + "integer", + "null" + ], + "minimum": 0, + "format": "int32" + }, + "custom_id": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "required": { + "type": [ + "boolean", + "null" + ] + }, + "options": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RadioGroupOptionForRequest" + }, + "minItems": 2, + "maxItems": 10 + } + }, + "required": [ + "type", + "custom_id", + "options" + ] + }, + "RadioGroupOptionForRequest": { + "type": "object", + "properties": { + "label": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 100 + }, + "description": { + "type": [ + "string", + "null" + ], + "maxLength": 100 + }, + "default": { + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "label", + "value" + ] + }, "ReactionTypes": { "type": "integer", "oneOf": [