From af3907b10690c224dcd3106127fd67491262cc6c Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Fri, 5 Sep 2025 11:47:44 +0400 Subject: [PATCH] fix(RESTPatchAPIWebhookWithTokenMessageJSONBody): add `flags` (#1354) --- deno/rest/v10/webhook.ts | 4 +++- deno/rest/v9/webhook.ts | 4 +++- rest/v10/webhook.ts | 4 +++- rest/v9/webhook.ts | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/deno/rest/v10/webhook.ts b/deno/rest/v10/webhook.ts index 7b7dbd0f..7d962fb6 100644 --- a/deno/rest/v10/webhook.ts +++ b/deno/rest/v10/webhook.ts @@ -263,7 +263,9 @@ export interface RESTGetAPIWebhookWithTokenMessageQuery { * @see {@link https://discord.com/developers/docs/resources/webhook#edit-webhook-message} */ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = _AddUndefinedToPossiblyUndefinedPropertiesOfInterface< - _Nullable> + _Nullable< + Pick + > > & { /** * Attached files to keep diff --git a/deno/rest/v9/webhook.ts b/deno/rest/v9/webhook.ts index 3d65b2d2..83a8bd9d 100644 --- a/deno/rest/v9/webhook.ts +++ b/deno/rest/v9/webhook.ts @@ -263,7 +263,9 @@ export interface RESTGetAPIWebhookWithTokenMessageQuery { * @see {@link https://discord.com/developers/docs/resources/webhook#edit-webhook-message} */ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = _AddUndefinedToPossiblyUndefinedPropertiesOfInterface< - _Nullable> + _Nullable< + Pick + > > & { /** * Attached files to keep diff --git a/rest/v10/webhook.ts b/rest/v10/webhook.ts index 723551a5..49242a8a 100644 --- a/rest/v10/webhook.ts +++ b/rest/v10/webhook.ts @@ -263,7 +263,9 @@ export interface RESTGetAPIWebhookWithTokenMessageQuery { * @see {@link https://discord.com/developers/docs/resources/webhook#edit-webhook-message} */ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = _AddUndefinedToPossiblyUndefinedPropertiesOfInterface< - _Nullable> + _Nullable< + Pick + > > & { /** * Attached files to keep diff --git a/rest/v9/webhook.ts b/rest/v9/webhook.ts index b34d52e2..665fdbe4 100644 --- a/rest/v9/webhook.ts +++ b/rest/v9/webhook.ts @@ -263,7 +263,9 @@ export interface RESTGetAPIWebhookWithTokenMessageQuery { * @see {@link https://discord.com/developers/docs/resources/webhook#edit-webhook-message} */ export type RESTPatchAPIWebhookWithTokenMessageJSONBody = _AddUndefinedToPossiblyUndefinedPropertiesOfInterface< - _Nullable> + _Nullable< + Pick + > > & { /** * Attached files to keep