From 6a813be83382e1606f1921cf00179fe1ce75c04f Mon Sep 17 00:00:00 2001 From: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com> Date: Mon, 30 May 2022 19:25:01 -0400 Subject: [PATCH] fix(RestPostAPIBaseApplicationJSONBody): make `default_member_permissions` optional (#460) --- deno/rest/v10/interactions.ts | 4 +++- deno/rest/v9/interactions.ts | 4 +++- rest/v10/interactions.ts | 4 +++- rest/v9/interactions.ts | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/deno/rest/v10/interactions.ts b/deno/rest/v10/interactions.ts index 95938a44..d8534ec5 100644 --- a/deno/rest/v10/interactions.ts +++ b/deno/rest/v10/interactions.ts @@ -37,7 +37,9 @@ type RESTPostAPIBaseApplicationCommandsJSONBody = AddUndefinedToPossiblyUndefine | 'guild_id' | 'name_localized' | 'description_localized' - > + | 'default_member_permissions' + > & + Partial> >; /** diff --git a/deno/rest/v9/interactions.ts b/deno/rest/v9/interactions.ts index 50a6c6de..6c2c9d07 100644 --- a/deno/rest/v9/interactions.ts +++ b/deno/rest/v9/interactions.ts @@ -37,7 +37,9 @@ type RESTPostAPIBaseApplicationCommandsJSONBody = AddUndefinedToPossiblyUndefine | 'guild_id' | 'name_localized' | 'description_localized' - > + | 'default_member_permissions' + > & + Partial> >; /** diff --git a/rest/v10/interactions.ts b/rest/v10/interactions.ts index 2ac31ffa..06e636e5 100644 --- a/rest/v10/interactions.ts +++ b/rest/v10/interactions.ts @@ -37,7 +37,9 @@ type RESTPostAPIBaseApplicationCommandsJSONBody = AddUndefinedToPossiblyUndefine | 'guild_id' | 'name_localized' | 'description_localized' - > + | 'default_member_permissions' + > & + Partial> >; /** diff --git a/rest/v9/interactions.ts b/rest/v9/interactions.ts index 64884d9c..e72de66a 100644 --- a/rest/v9/interactions.ts +++ b/rest/v9/interactions.ts @@ -37,7 +37,9 @@ type RESTPostAPIBaseApplicationCommandsJSONBody = AddUndefinedToPossiblyUndefine | 'guild_id' | 'name_localized' | 'description_localized' - > + | 'default_member_permissions' + > & + Partial> >; /**