Compare commits

..

No commits in common. "2470515a2be542dd691527d1d0f9e118814e96a8" and "976faf177d21062f258b116bbbb41b50be24fc0f" have entirely different histories.

2 changed files with 4 additions and 160 deletions

View file

@ -21845,16 +21845,12 @@
"base_mix": { "base_mix": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"
},
"base_theme": {
"$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme"
} }
}, },
"required": [ "required": [
"colors", "colors",
"gradient_angle", "gradient_angle",
"base_mix", "base_mix"
"base_theme"
] ]
}, },
"CustomClientThemeShareRequest": { "CustomClientThemeShareRequest": {
@ -21881,16 +21877,6 @@
"minimum": 0, "minimum": 0,
"maximum": 100, "maximum": 100,
"format": "int32" "format": "int32"
},
"base_theme": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme"
}
]
} }
}, },
"required": [ "required": [
@ -30816,37 +30802,6 @@
"is_renewal" "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": { "MessageSnapshotResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -31281,14 +31236,7 @@
"components": { "components": {
"type": "array", "type": "array",
"items": { "items": {
"oneOf": [ "$ref": "#/components/schemas/ActionRowComponentForModalRequest"
{
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
},
{
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
}
]
}, },
"minItems": 1, "minItems": 1,
"maxItems": 40 "maxItems": 40
@ -35404,32 +35352,6 @@
"content" "content"
] ]
}, },
"TextDisplayComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
10
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"content": {
"type": "string",
"minLength": 1,
"maxLength": 4000
}
},
"required": [
"type",
"content"
]
},
"TextDisplayComponentResponse": { "TextDisplayComponentResponse": {
"type": "object", "type": "object",
"properties": { "properties": {

View file

@ -22275,16 +22275,12 @@
"base_mix": { "base_mix": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"
},
"base_theme": {
"$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme"
} }
}, },
"required": [ "required": [
"colors", "colors",
"gradient_angle", "gradient_angle",
"base_mix", "base_mix"
"base_theme"
] ]
}, },
"CustomClientThemeShareRequest": { "CustomClientThemeShareRequest": {
@ -22311,16 +22307,6 @@
"minimum": 0, "minimum": 0,
"maximum": 100, "maximum": 100,
"format": "int32" "format": "int32"
},
"base_theme": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/MessageShareCustomUserThemeBaseTheme"
}
]
} }
}, },
"required": [ "required": [
@ -31423,37 +31409,6 @@
"is_renewal" "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": { "MessageSnapshotResponse": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -31888,14 +31843,7 @@
"components": { "components": {
"type": "array", "type": "array",
"items": { "items": {
"oneOf": [ "$ref": "#/components/schemas/ActionRowComponentForModalRequest"
{
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
},
{
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
}
]
}, },
"minItems": 1, "minItems": 1,
"maxItems": 40 "maxItems": 40
@ -36840,32 +36788,6 @@
"content" "content"
] ]
}, },
"TextDisplayComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
10
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"content": {
"type": "string",
"minLength": 1,
"maxLength": 4000
}
},
"required": [
"type",
"content"
]
},
"TextDisplayComponentResponse": { "TextDisplayComponentResponse": {
"type": "object", "type": "object",
"properties": { "properties": {