From 68a1e96553a9efbc7d10347b1485c7abc47585b4 Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Wed, 20 Aug 2025 01:13:55 +0000 Subject: [PATCH] Automated spec update (140116) --- specs/openapi.json | 47 +++++++++++++++++++++++++++++++++++++- specs/openapi_preview.json | 47 +++++++++++++++++++++++++++++++++++++- 2 files changed, 92 insertions(+), 2 deletions(-) diff --git a/specs/openapi.json b/specs/openapi.json index f9cf5a5..8cc36c9 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -21845,12 +21845,16 @@ "base_mix": { "type": "integer", "format": "int32" + }, + "base_theme": { + "$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme" } }, "required": [ "colors", "gradient_angle", - "base_mix" + "base_mix", + "base_theme" ] }, "CustomClientThemeShareRequest": { @@ -21877,6 +21881,16 @@ "minimum": 0, "maximum": 100, "format": "int32" + }, + "base_theme": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme" + } + ] } }, "required": [ @@ -30802,6 +30816,37 @@ "is_renewal" ] }, + "MessageShareCustomUserThemeBaseTheme": { + "type": "integer", + "oneOf": [ + { + "title": "UNSET", + "description": "No base theme", + "const": 0 + }, + { + "title": "DARK", + "description": "Dark base theme", + "const": 1 + }, + { + "title": "LIGHT", + "description": "Light base theme", + "const": 2 + }, + { + "title": "DARKER", + "description": "Darker base theme", + "const": 3 + }, + { + "title": "MIDNIGHT", + "description": "Midnight base theme", + "const": 4 + } + ], + "format": "int32" + }, "MessageSnapshotResponse": { "type": "object", "properties": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index eaa2ef6..cd224c4 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -22275,12 +22275,16 @@ "base_mix": { "type": "integer", "format": "int32" + }, + "base_theme": { + "$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme" } }, "required": [ "colors", "gradient_angle", - "base_mix" + "base_mix", + "base_theme" ] }, "CustomClientThemeShareRequest": { @@ -22307,6 +22311,16 @@ "minimum": 0, "maximum": 100, "format": "int32" + }, + "base_theme": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme" + } + ] } }, "required": [ @@ -31409,6 +31423,37 @@ "is_renewal" ] }, + "MessageShareCustomUserThemeBaseTheme": { + "type": "integer", + "oneOf": [ + { + "title": "UNSET", + "description": "No base theme", + "const": 0 + }, + { + "title": "DARK", + "description": "Dark base theme", + "const": 1 + }, + { + "title": "LIGHT", + "description": "Light base theme", + "const": 2 + }, + { + "title": "DARKER", + "description": "Darker base theme", + "const": 3 + }, + { + "title": "MIDNIGHT", + "description": "Midnight base theme", + "const": 4 + } + ], + "format": "int32" + }, "MessageSnapshotResponse": { "type": "object", "properties": {