diff --git a/deno/payloads/v10/auditLog.ts b/deno/payloads/v10/auditLog.ts index c05591f2..262bdace 100644 --- a/deno/payloads/v10/auditLog.ts +++ b/deno/payloads/v10/auditLog.ts @@ -10,7 +10,13 @@ import type { AutoModerationRuleEventType, AutoModerationRuleTriggerType, } from './autoModeration.ts'; -import type { APIChannel, APIGuildForumDefaultReactionEmoji, APIGuildForumTag, APIOverwrite } from './channel.ts'; +import type { + APIChannel, + APIGuildForumDefaultReactionEmoji, + APIGuildForumTag, + APIOverwrite, + VideoQualityMode, +} from './channel.ts'; import type { APIGuildIntegration, APIGuildIntegrationType, @@ -422,7 +428,9 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyRateLimitPerUser | APIAuditLogChangeKeyRecurrenceRule | APIAuditLogChangeKeyRegion + | APIAuditLogChangeKeyRTCRegion | APIAuditLogChangeKeyRulesChannelId + | APIAuditLogChangeKeySafetyAlertsChannelId | APIAuditLogChangeKeySoundId | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyStatus @@ -439,6 +447,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyUses | APIAuditLogChangeKeyVanityURLCode | APIAuditLogChangeKeyVerificationLevel + | APIAuditLogChangeKeyVideoQualityMode | APIAuditLogChangeKeyVolume | APIAuditLogChangeKeyWidgetChannelId | APIAuditLogChangeKeyWidgetEnabled; @@ -488,6 +497,11 @@ export type APIAuditLogChangeKeyOwnerId = APIAuditLogChangeData<'owner_id', Snow */ export type APIAuditLogChangeKeyRegion = APIAuditLogChangeData<'region', string>; +/** + * Returned when a channel's rtc_region is changed + */ +export type APIAuditLogChangeKeyRTCRegion = APIAuditLogChangeData<'rtc_region', string>; + /** * Returned when a guild's preferred_locale is changed */ @@ -528,6 +542,11 @@ export type APIAuditLogChangeKeyMFALevel = APIAuditLogChangeData<'mfa_level', Gu */ export type APIAuditLogChangeKeyVerificationLevel = APIAuditLogChangeData<'verification_level', GuildVerificationLevel>; +/** + * Returned when a channel's video_quality_mode is changed + */ +export type APIAuditLogChangeKeyVideoQualityMode = APIAuditLogChangeData<'video_quality_mode', VideoQualityMode>; + /** * Returned when a guild's explicit_content_filter is changed */ diff --git a/deno/payloads/v9/auditLog.ts b/deno/payloads/v9/auditLog.ts index c05591f2..262bdace 100644 --- a/deno/payloads/v9/auditLog.ts +++ b/deno/payloads/v9/auditLog.ts @@ -10,7 +10,13 @@ import type { AutoModerationRuleEventType, AutoModerationRuleTriggerType, } from './autoModeration.ts'; -import type { APIChannel, APIGuildForumDefaultReactionEmoji, APIGuildForumTag, APIOverwrite } from './channel.ts'; +import type { + APIChannel, + APIGuildForumDefaultReactionEmoji, + APIGuildForumTag, + APIOverwrite, + VideoQualityMode, +} from './channel.ts'; import type { APIGuildIntegration, APIGuildIntegrationType, @@ -422,7 +428,9 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyRateLimitPerUser | APIAuditLogChangeKeyRecurrenceRule | APIAuditLogChangeKeyRegion + | APIAuditLogChangeKeyRTCRegion | APIAuditLogChangeKeyRulesChannelId + | APIAuditLogChangeKeySafetyAlertsChannelId | APIAuditLogChangeKeySoundId | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyStatus @@ -439,6 +447,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyUses | APIAuditLogChangeKeyVanityURLCode | APIAuditLogChangeKeyVerificationLevel + | APIAuditLogChangeKeyVideoQualityMode | APIAuditLogChangeKeyVolume | APIAuditLogChangeKeyWidgetChannelId | APIAuditLogChangeKeyWidgetEnabled; @@ -488,6 +497,11 @@ export type APIAuditLogChangeKeyOwnerId = APIAuditLogChangeData<'owner_id', Snow */ export type APIAuditLogChangeKeyRegion = APIAuditLogChangeData<'region', string>; +/** + * Returned when a channel's rtc_region is changed + */ +export type APIAuditLogChangeKeyRTCRegion = APIAuditLogChangeData<'rtc_region', string>; + /** * Returned when a guild's preferred_locale is changed */ @@ -528,6 +542,11 @@ export type APIAuditLogChangeKeyMFALevel = APIAuditLogChangeData<'mfa_level', Gu */ export type APIAuditLogChangeKeyVerificationLevel = APIAuditLogChangeData<'verification_level', GuildVerificationLevel>; +/** + * Returned when a channel's video_quality_mode is changed + */ +export type APIAuditLogChangeKeyVideoQualityMode = APIAuditLogChangeData<'video_quality_mode', VideoQualityMode>; + /** * Returned when a guild's explicit_content_filter is changed */ diff --git a/payloads/v10/auditLog.ts b/payloads/v10/auditLog.ts index 2fbf8efd..72b6d01b 100644 --- a/payloads/v10/auditLog.ts +++ b/payloads/v10/auditLog.ts @@ -10,7 +10,13 @@ import type { AutoModerationRuleEventType, AutoModerationRuleTriggerType, } from './autoModeration'; -import type { APIChannel, APIGuildForumDefaultReactionEmoji, APIGuildForumTag, APIOverwrite } from './channel'; +import type { + APIChannel, + APIGuildForumDefaultReactionEmoji, + APIGuildForumTag, + APIOverwrite, + VideoQualityMode, +} from './channel'; import type { APIGuildIntegration, APIGuildIntegrationType, @@ -422,7 +428,9 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyRateLimitPerUser | APIAuditLogChangeKeyRecurrenceRule | APIAuditLogChangeKeyRegion + | APIAuditLogChangeKeyRTCRegion | APIAuditLogChangeKeyRulesChannelId + | APIAuditLogChangeKeySafetyAlertsChannelId | APIAuditLogChangeKeySoundId | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyStatus @@ -439,6 +447,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyUses | APIAuditLogChangeKeyVanityURLCode | APIAuditLogChangeKeyVerificationLevel + | APIAuditLogChangeKeyVideoQualityMode | APIAuditLogChangeKeyVolume | APIAuditLogChangeKeyWidgetChannelId | APIAuditLogChangeKeyWidgetEnabled; @@ -488,6 +497,11 @@ export type APIAuditLogChangeKeyOwnerId = APIAuditLogChangeData<'owner_id', Snow */ export type APIAuditLogChangeKeyRegion = APIAuditLogChangeData<'region', string>; +/** + * Returned when a channel's rtc_region is changed + */ +export type APIAuditLogChangeKeyRTCRegion = APIAuditLogChangeData<'rtc_region', string>; + /** * Returned when a guild's preferred_locale is changed */ @@ -528,6 +542,11 @@ export type APIAuditLogChangeKeyMFALevel = APIAuditLogChangeData<'mfa_level', Gu */ export type APIAuditLogChangeKeyVerificationLevel = APIAuditLogChangeData<'verification_level', GuildVerificationLevel>; +/** + * Returned when a channel's video_quality_mode is changed + */ +export type APIAuditLogChangeKeyVideoQualityMode = APIAuditLogChangeData<'video_quality_mode', VideoQualityMode>; + /** * Returned when a guild's explicit_content_filter is changed */ diff --git a/payloads/v9/auditLog.ts b/payloads/v9/auditLog.ts index 2fbf8efd..72b6d01b 100644 --- a/payloads/v9/auditLog.ts +++ b/payloads/v9/auditLog.ts @@ -10,7 +10,13 @@ import type { AutoModerationRuleEventType, AutoModerationRuleTriggerType, } from './autoModeration'; -import type { APIChannel, APIGuildForumDefaultReactionEmoji, APIGuildForumTag, APIOverwrite } from './channel'; +import type { + APIChannel, + APIGuildForumDefaultReactionEmoji, + APIGuildForumTag, + APIOverwrite, + VideoQualityMode, +} from './channel'; import type { APIGuildIntegration, APIGuildIntegrationType, @@ -422,7 +428,9 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyRateLimitPerUser | APIAuditLogChangeKeyRecurrenceRule | APIAuditLogChangeKeyRegion + | APIAuditLogChangeKeyRTCRegion | APIAuditLogChangeKeyRulesChannelId + | APIAuditLogChangeKeySafetyAlertsChannelId | APIAuditLogChangeKeySoundId | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyStatus @@ -439,6 +447,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyUses | APIAuditLogChangeKeyVanityURLCode | APIAuditLogChangeKeyVerificationLevel + | APIAuditLogChangeKeyVideoQualityMode | APIAuditLogChangeKeyVolume | APIAuditLogChangeKeyWidgetChannelId | APIAuditLogChangeKeyWidgetEnabled; @@ -488,6 +497,11 @@ export type APIAuditLogChangeKeyOwnerId = APIAuditLogChangeData<'owner_id', Snow */ export type APIAuditLogChangeKeyRegion = APIAuditLogChangeData<'region', string>; +/** + * Returned when a channel's rtc_region is changed + */ +export type APIAuditLogChangeKeyRTCRegion = APIAuditLogChangeData<'rtc_region', string>; + /** * Returned when a guild's preferred_locale is changed */ @@ -528,6 +542,11 @@ export type APIAuditLogChangeKeyMFALevel = APIAuditLogChangeData<'mfa_level', Gu */ export type APIAuditLogChangeKeyVerificationLevel = APIAuditLogChangeData<'verification_level', GuildVerificationLevel>; +/** + * Returned when a channel's video_quality_mode is changed + */ +export type APIAuditLogChangeKeyVideoQualityMode = APIAuditLogChangeData<'video_quality_mode', VideoQualityMode>; + /** * Returned when a guild's explicit_content_filter is changed */