From 601a9d535b137a2912dad39789e074c92194b8b7 Mon Sep 17 00:00:00 2001 From: Cyber Date: Sat, 17 Aug 2024 11:40:34 +0200 Subject: [PATCH] regenerate openapi.json --- assets/openapi.json | 80 +++++++++++++++++++ hashes.json | 4 +- src/util/schemas/RequestGuildMembersSchema.ts | 2 +- 3 files changed, 83 insertions(+), 3 deletions(-) diff --git a/assets/openapi.json b/assets/openapi.json index 50d4fca1..2af0a2c7 100644 --- a/assets/openapi.json +++ b/assets/openapi.json @@ -16619,6 +16619,86 @@ ] } }, + "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/{burst}/{user_id}": { + "delete": { + "security": [ + { + "bearer": [] + } + ], + "responses": { + "204": { + "description": "No description available" + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIErrorResponse" + } + } + } + }, + "403": { + "description": "No description available" + }, + "404": { + "description": "No description available" + } + }, + "parameters": [ + { + "name": "channel_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "channel_id" + }, + { + "name": "message_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "message_id" + }, + { + "name": "emoji", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "emoji" + }, + { + "name": "burst", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "burst" + }, + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "user_id" + } + ], + "tags": [ + "channels" + ] + } + }, "/channels/{channel_id}/messages/{message_id}/": { "patch": { "x-right-required": "SEND_MESSAGES", diff --git a/hashes.json b/hashes.json index aa59cb91..52864e4b 100644 --- a/hashes.json +++ b/hashes.json @@ -1,3 +1,3 @@ { - "npmDepsHash": "sha256-kdS1SwcBu6Dor92iO1ickLgz0T5UL16nyA49xXGajf4=" -} \ No newline at end of file + "npmDepsHash": "sha256-kdS1SwcBu6Dor92iO1ickLgz0T5UL16nyA49xXGajf4=" +} diff --git a/src/util/schemas/RequestGuildMembersSchema.ts b/src/util/schemas/RequestGuildMembersSchema.ts index 8271a453..6909ba85 100644 --- a/src/util/schemas/RequestGuildMembersSchema.ts +++ b/src/util/schemas/RequestGuildMembersSchema.ts @@ -17,7 +17,7 @@ */ export interface RequestGuildMembersSchema { - guild_id: string | string[]; + guild_id: string | [string]; query?: string; limit?: number; presences?: boolean;