From 3ee42a5acb106b113d80b72bb21bdc1efbe1115c Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Fri, 14 Mar 2025 17:59:12 +0000 Subject: [PATCH] Automated spec update (100198) --- specs/openapi.json | 58 ++++++++++++++++++++++++-------------- specs/openapi_preview.json | 58 ++++++++++++++++++++++++-------------- 2 files changed, 74 insertions(+), 42 deletions(-) diff --git a/specs/openapi.json b/specs/openapi.json index fe1e544..d3f6ff3 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -9374,7 +9374,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PrivateChannelRequestPartial" + "$ref": "#/components/schemas/UpdateDMRequestPartial" + }, + { + "$ref": "#/components/schemas/UpdateGroupDMRequestPartial" }, { "$ref": "#/components/schemas/UpdateGuildChannelRequestPartial" @@ -26604,26 +26607,6 @@ "channel_id" ] }, - "PrivateChannelRequestPartial": { - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ], - "minLength": 0, - "maxLength": 100 - }, - "icon": { - "type": [ - "string", - "null" - ], - "contentEncoding": "base64" - } - } - }, "PrivateChannelResponse": { "type": "object", "properties": { @@ -29395,6 +29378,19 @@ "maximum": 4294967295, "format": "int64" }, + "UpdateDMRequestPartial": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "minLength": 0, + "maxLength": 100 + } + } + }, "UpdateDefaultReactionEmojiRequest": { "type": "object", "properties": { @@ -29417,6 +29413,26 @@ } } }, + "UpdateGroupDMRequestPartial": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "minLength": 0, + "maxLength": 100 + }, + "icon": { + "type": [ + "string", + "null" + ], + "contentEncoding": "base64" + } + } + }, "UpdateGuildChannelRequestPartial": { "type": "object", "properties": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index db9d6e2..c321a6f 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -9374,7 +9374,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PrivateChannelRequestPartial" + "$ref": "#/components/schemas/UpdateDMRequestPartial" + }, + { + "$ref": "#/components/schemas/UpdateGroupDMRequestPartial" }, { "$ref": "#/components/schemas/UpdateGuildChannelRequestPartial" @@ -26689,26 +26692,6 @@ "channel_id" ] }, - "PrivateChannelRequestPartial": { - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ], - "minLength": 0, - "maxLength": 100 - }, - "icon": { - "type": [ - "string", - "null" - ], - "contentEncoding": "base64" - } - } - }, "PrivateChannelResponse": { "type": "object", "properties": { @@ -29827,6 +29810,19 @@ "maximum": 4294967295, "format": "int64" }, + "UpdateDMRequestPartial": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "minLength": 0, + "maxLength": 100 + } + } + }, "UpdateDefaultReactionEmojiRequest": { "type": "object", "properties": { @@ -29849,6 +29845,26 @@ } } }, + "UpdateGroupDMRequestPartial": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "minLength": 0, + "maxLength": 100 + }, + "icon": { + "type": [ + "string", + "null" + ], + "contentEncoding": "base64" + } + } + }, "UpdateGuildChannelRequestPartial": { "type": "object", "properties": {