From 4af2ea91415a5662171d342379c4bd33bfa5a6d5 Mon Sep 17 00:00:00 2001 From: Vitor Date: Wed, 13 Jul 2022 21:42:14 +0100 Subject: [PATCH] feat(RESTPutAPIApplicationGuildCommandsJSONBody): add missing `id` (#522) --- deno/rest/v10/interactions.ts | 6 ++++-- deno/rest/v9/interactions.ts | 6 ++++-- rest/v10/interactions.ts | 6 ++++-- rest/v9/interactions.ts | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/deno/rest/v10/interactions.ts b/deno/rest/v10/interactions.ts index d8534ec5e..e927950cf 100644 --- a/deno/rest/v10/interactions.ts +++ b/deno/rest/v10/interactions.ts @@ -129,8 +129,10 @@ export type RESTPatchAPIApplicationGuildCommandResult = Omit - | Omit + | (Omit & + Pick, 'id'>) + | (Omit & + Pick, 'id'>) )[]; /** diff --git a/deno/rest/v9/interactions.ts b/deno/rest/v9/interactions.ts index 6c2c9d07c..72d1cdcb5 100644 --- a/deno/rest/v9/interactions.ts +++ b/deno/rest/v9/interactions.ts @@ -129,8 +129,10 @@ export type RESTPatchAPIApplicationGuildCommandResult = Omit - | Omit + | (Omit & + Pick, 'id'>) + | (Omit & + Pick, 'id'>) )[]; /** diff --git a/rest/v10/interactions.ts b/rest/v10/interactions.ts index 06e636e5d..15fceec86 100644 --- a/rest/v10/interactions.ts +++ b/rest/v10/interactions.ts @@ -129,8 +129,10 @@ export type RESTPatchAPIApplicationGuildCommandResult = Omit - | Omit + | (Omit & + Pick, 'id'>) + | (Omit & + Pick, 'id'>) )[]; /** diff --git a/rest/v9/interactions.ts b/rest/v9/interactions.ts index e72de66a9..d4dee8c5e 100644 --- a/rest/v9/interactions.ts +++ b/rest/v9/interactions.ts @@ -129,8 +129,10 @@ export type RESTPatchAPIApplicationGuildCommandResult = Omit - | Omit + | (Omit & + Pick, 'id'>) + | (Omit & + Pick, 'id'>) )[]; /**