diff --git a/deno/payloads/v10/_interactions/applicationCommands.ts b/deno/payloads/v10/_interactions/applicationCommands.ts index 940a93d58..52f84655e 100644 --- a/deno/payloads/v10/_interactions/applicationCommands.ts +++ b/deno/payloads/v10/_interactions/applicationCommands.ts @@ -92,14 +92,10 @@ export interface APIApplicationCommand { nsfw?: boolean; /** * Installation context(s) where the command is available, only for globally-scoped commands. Defaults to `GUILD_INSTALL ([0])` - * - * @unstable */ integration_types?: ApplicationIntegrationType[]; /** * Interaction context(s) where the command can be used, only for globally-scoped commands. By default, all interaction context types included for new commands `[0,1,2]`. - * - * @unstable */ contexts?: InteractionContextType[] | null; /** @@ -124,11 +120,11 @@ export enum ApplicationIntegrationType { /** * App is installable to servers */ - GuildInstall = 0, + GuildInstall, /** * App is installable to users */ - UserInstall = 1, + UserInstall, } /** @@ -138,15 +134,15 @@ export enum InteractionContextType { /** * Interaction can be used within servers */ - Guild = 0, + Guild, /** * Interaction can be used within DMs with the app's bot user */ - BotDM = 1, + BotDM, /** * Interaction can be used within Group DMs and DMs other than the app's bot user */ - PrivateChannel = 2, + PrivateChannel, } /** diff --git a/deno/payloads/v10/application.ts b/deno/payloads/v10/application.ts index 4890e6871..64221b52d 100644 --- a/deno/payloads/v10/application.ts +++ b/deno/payloads/v10/application.ts @@ -135,8 +135,6 @@ export interface APIApplication { install_params?: APIApplicationInstallParams; /** * Default scopes and permissions for each supported installation context. Value for each key is an integration type configuration object - * - * @unstable */ integration_types_config?: APIApplicationIntegrationTypesConfigMap; /** diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index 89a2982da..94d6ffbad 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -669,8 +669,6 @@ export interface APIMessage { referenced_message?: APIMessage | null; /** * Sent if the message is sent as a result of an interaction - * - * @unstable */ interaction_metadata?: APIMessageInteractionMetadata; /** @@ -849,11 +847,11 @@ export enum MessageReferenceType { /** * A standard reference used by replies */ - Default = 0, + Default, /** * Reference used to point to a message at a point in time */ - Forward = 1, + Forward, } /** diff --git a/deno/payloads/v9/_interactions/applicationCommands.ts b/deno/payloads/v9/_interactions/applicationCommands.ts index 0dc27844d..7ae5ce960 100644 --- a/deno/payloads/v9/_interactions/applicationCommands.ts +++ b/deno/payloads/v9/_interactions/applicationCommands.ts @@ -92,14 +92,10 @@ export interface APIApplicationCommand { nsfw?: boolean; /** * Installation context(s) where the command is available, only for globally-scoped commands. Defaults to `GUILD_INSTALL ([0])` - * - * @unstable */ integration_types?: ApplicationIntegrationType[]; /** * Interaction context(s) where the command can be used, only for globally-scoped commands. By default, all interaction context types included for new commands `[0,1,2]`. - * - * @unstable */ contexts?: InteractionContextType[] | null; /** @@ -124,11 +120,11 @@ export enum ApplicationIntegrationType { /** * App is installable to servers */ - GuildInstall = 0, + GuildInstall, /** * App is installable to users */ - UserInstall = 1, + UserInstall, } /** @@ -138,15 +134,15 @@ export enum InteractionContextType { /** * Interaction can be used within servers */ - Guild = 0, + Guild, /** * Interaction can be used within DMs with the app's bot user */ - BotDM = 1, + BotDM, /** * Interaction can be used within Group DMs and DMs other than the app's bot user */ - PrivateChannel = 2, + PrivateChannel, } /** diff --git a/deno/payloads/v9/application.ts b/deno/payloads/v9/application.ts index 4890e6871..64221b52d 100644 --- a/deno/payloads/v9/application.ts +++ b/deno/payloads/v9/application.ts @@ -135,8 +135,6 @@ export interface APIApplication { install_params?: APIApplicationInstallParams; /** * Default scopes and permissions for each supported installation context. Value for each key is an integration type configuration object - * - * @unstable */ integration_types_config?: APIApplicationIntegrationTypesConfigMap; /** diff --git a/deno/payloads/v9/channel.ts b/deno/payloads/v9/channel.ts index 9a2c3e4ae..8bf4ca249 100644 --- a/deno/payloads/v9/channel.ts +++ b/deno/payloads/v9/channel.ts @@ -661,8 +661,6 @@ export interface APIMessage { referenced_message?: APIMessage | null; /** * Sent if the message is sent as a result of an interaction - * - * @unstable */ interaction_metadata?: APIMessageInteractionMetadata; /** @@ -834,11 +832,11 @@ export enum MessageReferenceType { /** * A standard reference used by replies */ - Default = 0, + Default, /** * Reference used to point to a message at a point in time */ - Forward = 1, + Forward, } /** diff --git a/payloads/v10/_interactions/applicationCommands.ts b/payloads/v10/_interactions/applicationCommands.ts index c8e03b405..0da3b7346 100644 --- a/payloads/v10/_interactions/applicationCommands.ts +++ b/payloads/v10/_interactions/applicationCommands.ts @@ -92,14 +92,10 @@ export interface APIApplicationCommand { nsfw?: boolean; /** * Installation context(s) where the command is available, only for globally-scoped commands. Defaults to `GUILD_INSTALL ([0])` - * - * @unstable */ integration_types?: ApplicationIntegrationType[]; /** * Interaction context(s) where the command can be used, only for globally-scoped commands. By default, all interaction context types included for new commands `[0,1,2]`. - * - * @unstable */ contexts?: InteractionContextType[] | null; /** @@ -124,11 +120,11 @@ export enum ApplicationIntegrationType { /** * App is installable to servers */ - GuildInstall = 0, + GuildInstall, /** * App is installable to users */ - UserInstall = 1, + UserInstall, } /** @@ -138,15 +134,15 @@ export enum InteractionContextType { /** * Interaction can be used within servers */ - Guild = 0, + Guild, /** * Interaction can be used within DMs with the app's bot user */ - BotDM = 1, + BotDM, /** * Interaction can be used within Group DMs and DMs other than the app's bot user */ - PrivateChannel = 2, + PrivateChannel, } /** diff --git a/payloads/v10/application.ts b/payloads/v10/application.ts index 68791e750..b1761be95 100644 --- a/payloads/v10/application.ts +++ b/payloads/v10/application.ts @@ -135,8 +135,6 @@ export interface APIApplication { install_params?: APIApplicationInstallParams; /** * Default scopes and permissions for each supported installation context. Value for each key is an integration type configuration object - * - * @unstable */ integration_types_config?: APIApplicationIntegrationTypesConfigMap; /** diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index 2018d46db..60fcf7d83 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -669,8 +669,6 @@ export interface APIMessage { referenced_message?: APIMessage | null; /** * Sent if the message is sent as a result of an interaction - * - * @unstable */ interaction_metadata?: APIMessageInteractionMetadata; /** @@ -849,11 +847,11 @@ export enum MessageReferenceType { /** * A standard reference used by replies */ - Default = 0, + Default, /** * Reference used to point to a message at a point in time */ - Forward = 1, + Forward, } /** diff --git a/payloads/v9/_interactions/applicationCommands.ts b/payloads/v9/_interactions/applicationCommands.ts index eee4b4d2c..9be2f9b92 100644 --- a/payloads/v9/_interactions/applicationCommands.ts +++ b/payloads/v9/_interactions/applicationCommands.ts @@ -92,14 +92,10 @@ export interface APIApplicationCommand { nsfw?: boolean; /** * Installation context(s) where the command is available, only for globally-scoped commands. Defaults to `GUILD_INSTALL ([0])` - * - * @unstable */ integration_types?: ApplicationIntegrationType[]; /** * Interaction context(s) where the command can be used, only for globally-scoped commands. By default, all interaction context types included for new commands `[0,1,2]`. - * - * @unstable */ contexts?: InteractionContextType[] | null; /** @@ -124,11 +120,11 @@ export enum ApplicationIntegrationType { /** * App is installable to servers */ - GuildInstall = 0, + GuildInstall, /** * App is installable to users */ - UserInstall = 1, + UserInstall, } /** @@ -138,15 +134,15 @@ export enum InteractionContextType { /** * Interaction can be used within servers */ - Guild = 0, + Guild, /** * Interaction can be used within DMs with the app's bot user */ - BotDM = 1, + BotDM, /** * Interaction can be used within Group DMs and DMs other than the app's bot user */ - PrivateChannel = 2, + PrivateChannel, } /** diff --git a/payloads/v9/application.ts b/payloads/v9/application.ts index 68791e750..b1761be95 100644 --- a/payloads/v9/application.ts +++ b/payloads/v9/application.ts @@ -135,8 +135,6 @@ export interface APIApplication { install_params?: APIApplicationInstallParams; /** * Default scopes and permissions for each supported installation context. Value for each key is an integration type configuration object - * - * @unstable */ integration_types_config?: APIApplicationIntegrationTypesConfigMap; /** diff --git a/payloads/v9/channel.ts b/payloads/v9/channel.ts index ad9ade054..3cd1518ca 100644 --- a/payloads/v9/channel.ts +++ b/payloads/v9/channel.ts @@ -661,8 +661,6 @@ export interface APIMessage { referenced_message?: APIMessage | null; /** * Sent if the message is sent as a result of an interaction - * - * @unstable */ interaction_metadata?: APIMessageInteractionMetadata; /** @@ -834,11 +832,11 @@ export enum MessageReferenceType { /** * A standard reference used by replies */ - Default = 0, + Default, /** * Reference used to point to a message at a point in time */ - Forward = 1, + Forward, } /**