@discordeno/types 19.0.0-next.f249e58 → 19.0.0-next.f34c0c3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/camel.d.ts +20 -1
- package/dist/camel.d.ts.map +1 -1
- package/dist/camel.js.map +1 -1
- package/dist/discord.d.ts +299 -15
- package/dist/discord.d.ts.map +1 -1
- package/dist/discord.js +127 -0
- package/dist/discord.js.map +1 -1
- package/dist/discordeno.d.ts +67 -4
- package/dist/discordeno.d.ts.map +1 -1
- package/dist/discordeno.js.map +1 -1
- package/dist/shared.d.ts +6 -8
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +10 -11
- package/dist/shared.js.map +1 -1
- package/package.json +1 -1
package/dist/camel.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DiscordActionRow, DiscordActiveThreads, DiscordActivity, DiscordActivityAssets, DiscordActivityButton, DiscordActivityEmoji, DiscordActivityParty, DiscordActivitySecrets, DiscordActivityTimestamps, DiscordAllowedMentions, DiscordApplication, DiscordApplicationCommand, DiscordApplicationCommandOption, DiscordApplicationCommandOptionChoice, DiscordApplicationCommandPermissions, DiscordApplicationWebhook, DiscordArchivedThreads, DiscordAttachment, DiscordAuditLog, DiscordAuditLogChange, DiscordAuditLogEntry, DiscordAutoModerationAction, DiscordAutoModerationActionExecution, DiscordAutoModerationActionMetadata, DiscordAutoModerationRule, DiscordAutoModerationRuleTriggerMetadata, DiscordBan, DiscordButtonComponent, DiscordChannel, DiscordChannelMention, DiscordChannelPinsUpdate, DiscordClientStatus, DiscordCreateApplicationCommand, DiscordCreateForumPostWithMessage, DiscordCreateGuildChannel, DiscordCreateGuildEmoji, DiscordCreateMessage, DiscordCreateWebhook, DiscordDefaultReactionEmoji, DiscordEditChannelPermissionOverridesOptions, DiscordEmbed, DiscordEmbedAuthor, DiscordEmbedField, DiscordEmbedFooter, DiscordEmbedImage, DiscordEmbedProvider, DiscordEmbedThumbnail, DiscordEmbedVideo, DiscordEmoji, DiscordFollowAnnouncementChannel, DiscordFollowedChannel, DiscordForumTag, DiscordGatewayPayload, DiscordGetGatewayBot, DiscordGuild, DiscordGuildApplicationCommandPermissions, DiscordGuildBanAddRemove, DiscordGuildEmojisUpdate, DiscordGuildIntegrationsUpdate, DiscordGuildMemberAdd, DiscordGuildMemberRemove, DiscordGuildMemberUpdate, DiscordGuildMembersChunk, DiscordGuildPreview, DiscordGuildRoleCreate, DiscordGuildRoleDelete, DiscordGuildRoleUpdate, DiscordGuildStickersUpdate, DiscordGuildWidget, DiscordGuildWidgetSettings, DiscordHello, DiscordIncomingWebhook, DiscordInputTextComponent, DiscordInstallParams, DiscordIntegration, DiscordIntegrationAccount, DiscordIntegrationApplication, DiscordIntegrationCreateUpdate, DiscordIntegrationDelete, DiscordInteraction, DiscordInteractionData, DiscordInteractionDataOption, DiscordInteractionMember, DiscordInvite, DiscordInviteCreate, DiscordInviteDelete, DiscordInviteMetadata, DiscordInviteStageInstance, DiscordListActiveThreads, DiscordListArchivedThreads, DiscordMember, DiscordMemberWithUser, DiscordMessage, DiscordMessageActivity, DiscordMessageComponents, DiscordMessageDelete, DiscordMessageDeleteBulk, DiscordMessageInteraction, DiscordMessageReactionAdd, DiscordMessageReactionRemove, DiscordMessageReactionRemoveAll, DiscordMessageReactionRemoveEmoji, DiscordMessageReference, DiscordModifyChannel, DiscordModifyGuildChannelPositions, DiscordModifyGuildEmoji, DiscordModifyGuildWelcomeScreen, DiscordOptionalAuditEntryInfo, DiscordOverwrite, DiscordPresenceUpdate, DiscordPrunedCount, DiscordReaction, DiscordReady, DiscordRole, DiscordRoleTags, DiscordScheduledEvent, DiscordScheduledEventEntityMetadata, DiscordScheduledEventUserAdd, DiscordScheduledEventUserRemove, DiscordSelectMenuComponent, DiscordSelectOption, DiscordSessionStartLimit, DiscordStageInstance, DiscordSticker, DiscordStickerItem, DiscordStickerPack, DiscordTeam, DiscordTeamMember, DiscordTemplate, DiscordThreadListSync, DiscordThreadMember, DiscordThreadMemberUpdate, DiscordThreadMembersUpdate, DiscordThreadMetadata, DiscordTypingStart, DiscordUnavailableGuild, DiscordUser, DiscordVanityUrl, DiscordVoiceRegion, DiscordVoiceServerUpdate, DiscordVoiceState, DiscordWebhook, DiscordWebhookUpdate, DiscordWelcomeScreen, DiscordWelcomeScreenChannel } from './discord.js';
|
|
1
|
+
import type { DiscordAccessTokenResponse, DiscordActionRow, DiscordActiveThreads, DiscordActivity, DiscordActivityAssets, DiscordActivityButton, DiscordActivityEmoji, DiscordActivityParty, DiscordActivitySecrets, DiscordActivityTimestamps, DiscordAllowedMentions, DiscordApplication, DiscordApplicationCommand, DiscordApplicationCommandOption, DiscordApplicationCommandOptionChoice, DiscordApplicationCommandPermissions, DiscordApplicationRoleConnection, DiscordApplicationWebhook, DiscordArchivedThreads, DiscordAttachment, DiscordAuditLog, DiscordAuditLogChange, DiscordAuditLogEntry, DiscordAutoModerationAction, DiscordAutoModerationActionExecution, DiscordAutoModerationActionMetadata, DiscordAutoModerationRule, DiscordAutoModerationRuleTriggerMetadata, DiscordBan, DiscordButtonComponent, DiscordChannel, DiscordChannelMention, DiscordChannelPinsUpdate, DiscordClientStatus, DiscordConnection, DiscordCreateApplicationCommand, DiscordCreateForumPostWithMessage, DiscordCreateGuildChannel, DiscordCreateGuildEmoji, DiscordCreateMessage, DiscordCreateWebhook, DiscordCurrentAuthorization, DiscordDefaultReactionEmoji, DiscordEditChannelPermissionOverridesOptions, DiscordEmbed, DiscordEmbedAuthor, DiscordEmbedField, DiscordEmbedFooter, DiscordEmbedImage, DiscordEmbedProvider, DiscordEmbedThumbnail, DiscordEmbedVideo, DiscordEmoji, DiscordFollowAnnouncementChannel, DiscordFollowedChannel, DiscordForumTag, DiscordGatewayPayload, DiscordGetGatewayBot, DiscordGuild, DiscordGuildApplicationCommandPermissions, DiscordGuildBanAddRemove, DiscordGuildEmojisUpdate, DiscordGuildIntegrationsUpdate, DiscordGuildMemberAdd, DiscordGuildMemberRemove, DiscordGuildMemberUpdate, DiscordGuildMembersChunk, DiscordGuildPreview, DiscordGuildRoleCreate, DiscordGuildRoleDelete, DiscordGuildRoleUpdate, DiscordGuildStickersUpdate, DiscordGuildWidget, DiscordGuildWidgetSettings, DiscordHello, DiscordIncomingWebhook, DiscordInputTextComponent, DiscordInstallParams, DiscordIntegration, DiscordIntegrationAccount, DiscordIntegrationApplication, DiscordIntegrationCreateUpdate, DiscordIntegrationDelete, DiscordInteraction, DiscordInteractionData, DiscordInteractionDataOption, DiscordInteractionMember, DiscordInvite, DiscordInviteCreate, DiscordInviteDelete, DiscordInviteMetadata, DiscordInviteStageInstance, DiscordListActiveThreads, DiscordListArchivedThreads, DiscordMember, DiscordMemberWithUser, DiscordMessage, DiscordMessageActivity, DiscordMessageComponents, DiscordMessageDelete, DiscordMessageDeleteBulk, DiscordMessageInteraction, DiscordMessageReactionAdd, DiscordMessageReactionRemove, DiscordMessageReactionRemoveAll, DiscordMessageReactionRemoveEmoji, DiscordMessageReference, DiscordModifyChannel, DiscordModifyGuildChannelPositions, DiscordModifyGuildEmoji, DiscordModifyGuildWelcomeScreen, DiscordOptionalAuditEntryInfo, DiscordOverwrite, DiscordPartialGuild, DiscordPresenceUpdate, DiscordPrunedCount, DiscordReaction, DiscordReady, DiscordRole, DiscordRoleTags, DiscordScheduledEvent, DiscordScheduledEventEntityMetadata, DiscordScheduledEventUserAdd, DiscordScheduledEventUserRemove, DiscordSelectMenuComponent, DiscordSelectOption, DiscordSessionStartLimit, DiscordStageInstance, DiscordSticker, DiscordStickerItem, DiscordStickerPack, DiscordTeam, DiscordTeamMember, DiscordTemplate, DiscordThreadListSync, DiscordThreadMember, DiscordThreadMemberUpdate, DiscordThreadMembersUpdate, DiscordThreadMetadata, DiscordTokenExchange, DiscordTokenExchangeAuthorizationCode, DiscordTokenExchangeClientCredentials, DiscordTokenExchangeRefreshToken, DiscordTokenRevocation, DiscordTypingStart, DiscordUnavailableGuild, DiscordUser, DiscordVanityUrl, DiscordVoiceRegion, DiscordVoiceServerUpdate, DiscordVoiceState, DiscordWebhook, DiscordWebhookUpdate, DiscordWelcomeScreen, DiscordWelcomeScreenChannel } from './discord.js';
|
|
2
2
|
import type { Camelize } from './shared.js';
|
|
3
3
|
export interface CamelizedDiscordUser extends Camelize<DiscordUser> {
|
|
4
4
|
}
|
|
@@ -20,6 +20,23 @@ export interface CamelizedDiscordMember extends Camelize<DiscordMember> {
|
|
|
20
20
|
}
|
|
21
21
|
export interface CamelizedDiscordApplication extends Camelize<DiscordApplication> {
|
|
22
22
|
}
|
|
23
|
+
export interface CamelizedDiscordApplicationRoleConnection extends Camelize<DiscordApplicationRoleConnection> {
|
|
24
|
+
}
|
|
25
|
+
export type CamelizedDiscordTokenExchange = Camelize<DiscordTokenExchange>;
|
|
26
|
+
export interface CamelizedDiscordTokenExchangeAuthorizationCode extends Camelize<DiscordTokenExchangeAuthorizationCode> {
|
|
27
|
+
}
|
|
28
|
+
export interface CamelizedDiscordTokenExchangeRefreshToken extends Camelize<DiscordTokenExchangeRefreshToken> {
|
|
29
|
+
}
|
|
30
|
+
export interface CamelizedDiscordTokenExchangeClientCredentials extends Camelize<DiscordTokenExchangeClientCredentials> {
|
|
31
|
+
}
|
|
32
|
+
export interface CamelizedDiscordAccessTokenResponse extends Camelize<DiscordAccessTokenResponse> {
|
|
33
|
+
}
|
|
34
|
+
export interface CamelizedDiscordTokenRevocation extends Camelize<DiscordTokenRevocation> {
|
|
35
|
+
}
|
|
36
|
+
export interface CamelizedDiscordCurrentAuthorization extends Camelize<DiscordCurrentAuthorization> {
|
|
37
|
+
}
|
|
38
|
+
export interface CamelizedDiscordConnection extends Camelize<DiscordConnection> {
|
|
39
|
+
}
|
|
23
40
|
export interface CamelizedDiscordTeam extends Camelize<DiscordTeam> {
|
|
24
41
|
}
|
|
25
42
|
export interface CamelizedDiscordTeamMember extends Camelize<DiscordTeamMember> {
|
|
@@ -53,6 +70,8 @@ export interface CamelizedDiscordApplicationWebhook extends Camelize<DiscordAppl
|
|
|
53
70
|
}
|
|
54
71
|
export interface CamelizedDiscordGuild extends Camelize<DiscordGuild> {
|
|
55
72
|
}
|
|
73
|
+
export interface CamelizedDiscordPartialGuild extends Camelize<DiscordPartialGuild> {
|
|
74
|
+
}
|
|
56
75
|
export interface CamelizedDiscordRole extends Camelize<DiscordRole> {
|
|
57
76
|
}
|
|
58
77
|
export interface CamelizedDiscordRoleTags extends Camelize<DiscordRoleTags> {
|
package/dist/camel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"camel.d.ts","sourceRoot":"","sources":["../src/camel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,+BAA+B,EAC/B,qCAAqC,EACrC,oCAAoC,EACpC,yBAAyB,EACzB,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,2BAA2B,EAC3B,oCAAoC,EACpC,mCAAmC,EACnC,yBAAyB,EACzB,wCAAwC,EACxC,UAAU,EACV,sBAAsB,EACtB,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,+BAA+B,EAC/B,iCAAiC,EACjC,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,2BAA2B,EAC3B,4CAA4C,EAC5C,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,YAAY,EACZ,yCAAyC,EACzC,wBAA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kB,CAAC;CAAG"}
|
|
1
|
+
{"version":3,"file":"camel.d.ts","sourceRoot":"","sources":["../src/camel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAC1B,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,+BAA+B,EAC/B,qCAAqC,EACrC,oCAAoC,EACpC,gCAAgC,EAChC,yBAAyB,EACzB,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,2BAA2B,EAC3B,oCAAoC,EACpC,mCAAmC,EACnC,yBAAyB,EACzB,wCAAwC,EACxC,UAAU,EACV,sBAAsB,EACtB,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,+BAA+B,EAC/B,iCAAiC,EACjC,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,2BAA2B,EAC3B,2BAA2B,EAC3B,4CAA4C,EAC5C,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,YAAY,EACZ,yCAAyC,EACzC,wBAAwB,EACxB,wBAAwB,EACxB,8BAA8B,EAC9B,qBAAqB,EACrB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,kBAAk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AsD,SAAQ,QAAQ,CAAC,4CAA4C,CAAC;CAAG;AACxI,MAAM,WAAW,2CAA4C,SAAQ,QAAQ,CAAC,kCAAkC,CAAC;CAAG;AACpH,MAAM,WAAW,6BAA8B,SAAQ,QAAQ,CAAC,oBAAoB,CAAC;CAAG;AACxF,MAAM,WAAW,0CAA2C,SAAQ,QAAQ,CAAC,iCAAiC,CAAC;CAAG;AAClH,MAAM,MAAM,+BAA+B,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAAA;AAC9E,MAAM,WAAW,6BAA8B,SAAQ,QAAQ,CAAC,oBAAoB,CAAC;CAAG;AACxF,MAAM,WAAW,yBAA0B,SAAQ,QAAQ,CAAC,gBAAgB,CAAC;CAAG;AAChF,MAAM,WAAW,2BAA4B,SAAQ,QAAQ,CAAC,kBAAkB,CAAC;CAAG"}
|
package/dist/camel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/camel.ts"],"sourcesContent":["import type {\n DiscordActionRow,\n DiscordActiveThreads,\n DiscordActivity,\n DiscordActivityAssets,\n DiscordActivityButton,\n DiscordActivityEmoji,\n DiscordActivityParty,\n DiscordActivitySecrets,\n DiscordActivityTimestamps,\n DiscordAllowedMentions,\n DiscordApplication,\n DiscordApplicationCommand,\n DiscordApplicationCommandOption,\n DiscordApplicationCommandOptionChoice,\n DiscordApplicationCommandPermissions,\n DiscordApplicationWebhook,\n DiscordArchivedThreads,\n DiscordAttachment,\n DiscordAuditLog,\n DiscordAuditLogChange,\n DiscordAuditLogEntry,\n DiscordAutoModerationAction,\n DiscordAutoModerationActionExecution,\n DiscordAutoModerationActionMetadata,\n DiscordAutoModerationRule,\n DiscordAutoModerationRuleTriggerMetadata,\n DiscordBan,\n DiscordButtonComponent,\n DiscordChannel,\n DiscordChannelMention,\n DiscordChannelPinsUpdate,\n DiscordClientStatus,\n DiscordCreateApplicationCommand,\n DiscordCreateForumPostWithMessage,\n DiscordCreateGuildChannel,\n DiscordCreateGuildEmoji,\n DiscordCreateMessage,\n DiscordCreateWebhook,\n DiscordDefaultReactionEmoji,\n DiscordEditChannelPermissionOverridesOptions,\n DiscordEmbed,\n DiscordEmbedAuthor,\n DiscordEmbedField,\n DiscordEmbedFooter,\n DiscordEmbedImage,\n DiscordEmbedProvider,\n DiscordEmbedThumbnail,\n DiscordEmbedVideo,\n DiscordEmoji,\n DiscordFollowAnnouncementChannel,\n DiscordFollowedChannel,\n DiscordForumTag,\n DiscordGatewayPayload,\n DiscordGetGatewayBot,\n DiscordGuild,\n DiscordGuildApplicationCommandPermissions,\n DiscordGuildBanAddRemove,\n DiscordGuildEmojisUpdate,\n DiscordGuildIntegrationsUpdate,\n DiscordGuildMemberAdd,\n DiscordGuildMemberRemove,\n DiscordGuildMemberUpdate,\n DiscordGuildMembersChunk,\n DiscordGuildPreview,\n DiscordGuildRoleCreate,\n DiscordGuildRoleDelete,\n DiscordGuildRoleUpdate,\n DiscordGuildStickersUpdate,\n DiscordGuildWidget,\n DiscordGuildWidgetSettings,\n DiscordHello,\n DiscordIncomingWebhook,\n DiscordInputTextComponent,\n DiscordInstallParams,\n DiscordIntegration,\n DiscordIntegrationAccount,\n DiscordIntegrationApplication,\n DiscordIntegrationCreateUpdate,\n DiscordIntegrationDelete,\n DiscordInteraction,\n DiscordInteractionData,\n DiscordInteractionDataOption,\n DiscordInteractionMember,\n DiscordInvite,\n DiscordInviteCreate,\n DiscordInviteDelete,\n DiscordInviteMetadata,\n DiscordInviteStageInstance,\n DiscordListActiveThreads,\n DiscordListArchivedThreads,\n DiscordMember,\n DiscordMemberWithUser,\n DiscordMessage,\n DiscordMessageActivity,\n DiscordMessageComponents,\n DiscordMessageDelete,\n DiscordMessageDeleteBulk,\n DiscordMessageInteraction,\n DiscordMessageReactionAdd,\n DiscordMessageReactionRemove,\n DiscordMessageReactionRemoveAll,\n DiscordMessageReactionRemoveEmoji,\n DiscordMessageReference,\n DiscordModifyChannel,\n DiscordModifyGuildChannelPositions,\n DiscordModifyGuildEmoji,\n DiscordModifyGuildWelcomeScreen,\n DiscordOptionalAuditEntryInfo,\n DiscordOverwrite,\n DiscordPresenceUpdate,\n DiscordPrunedCount,\n DiscordReaction,\n DiscordReady,\n DiscordRole,\n DiscordRoleTags,\n DiscordScheduledEvent,\n DiscordScheduledEventEntityMetadata,\n DiscordScheduledEventUserAdd,\n DiscordScheduledEventUserRemove,\n DiscordSelectMenuComponent,\n DiscordSelectOption,\n DiscordSessionStartLimit,\n DiscordStageInstance,\n DiscordSticker,\n DiscordStickerItem,\n DiscordStickerPack,\n DiscordTeam,\n DiscordTeamMember,\n DiscordTemplate,\n DiscordThreadListSync,\n DiscordThreadMember,\n DiscordThreadMemberUpdate,\n DiscordThreadMembersUpdate,\n DiscordThreadMetadata,\n DiscordTypingStart,\n DiscordUnavailableGuild,\n DiscordUser,\n DiscordVanityUrl,\n DiscordVoiceRegion,\n DiscordVoiceServerUpdate,\n DiscordVoiceState,\n DiscordWebhook,\n DiscordWebhookUpdate,\n DiscordWelcomeScreen,\n DiscordWelcomeScreenChannel,\n} from './discord.js'\nimport type { Camelize } from './shared.js'\n\nexport interface CamelizedDiscordUser extends Camelize<DiscordUser> {}\nexport interface CamelizedDiscordIntegration extends Camelize<DiscordIntegration> {}\nexport interface CamelizedDiscordIntegrationAccount extends Camelize<DiscordIntegrationAccount> {}\nexport interface CamelizedDiscordIntegrationApplication extends Camelize<DiscordIntegrationApplication> {}\nexport interface CamelizedDiscordIntegrationCreateUpdate extends Camelize<DiscordIntegrationCreateUpdate> {}\nexport interface CamelizedDiscordIntegrationDelete extends Camelize<DiscordIntegrationDelete> {}\nexport interface CamelizedDiscordGuildIntegrationsUpdate extends Camelize<DiscordGuildIntegrationsUpdate> {}\nexport interface CamelizedDiscordTypingStart extends Camelize<DiscordTypingStart> {}\nexport interface CamelizedDiscordMember extends Camelize<DiscordMember> {}\nexport interface CamelizedDiscordApplication extends Camelize<DiscordApplication> {}\nexport interface CamelizedDiscordTeam extends Camelize<DiscordTeam> {}\nexport interface CamelizedDiscordTeamMember extends Camelize<DiscordTeamMember> {}\nexport interface CamelizedDiscordWebhookUpdate extends Camelize<DiscordWebhookUpdate> {}\nexport interface CamelizedDiscordAllowedMentions extends Camelize<DiscordAllowedMentions> {}\nexport interface CamelizedDiscordEmbed extends Camelize<DiscordEmbed> {}\nexport interface CamelizedDiscordEmbedAuthor extends Camelize<DiscordEmbedAuthor> {}\nexport interface CamelizedDiscordEmbedField extends Camelize<DiscordEmbedField> {}\nexport interface CamelizedDiscordEmbedFooter extends Camelize<DiscordEmbedFooter> {}\nexport interface CamelizedDiscordEmbedImage extends Camelize<DiscordEmbedImage> {}\nexport interface CamelizedDiscordEmbedProvider extends Camelize<DiscordEmbedProvider> {}\nexport interface CamelizedDiscordEmbedThumbnail extends Camelize<DiscordEmbedThumbnail> {}\nexport interface CamelizedDiscordEmbedVideo extends Camelize<DiscordEmbedVideo> {}\nexport interface CamelizedDiscordAttachment extends Camelize<DiscordAttachment> {}\nexport type CamelizedDiscordWebhook = Camelize<DiscordWebhook>\nexport interface CamelizedDiscordIncomingWebhook extends Camelize<DiscordIncomingWebhook> {}\nexport interface CamelizedDiscordApplicationWebhook extends Camelize<DiscordApplicationWebhook> {}\nexport interface CamelizedDiscordGuild extends Camelize<DiscordGuild> {}\nexport interface CamelizedDiscordRole extends Camelize<DiscordRole> {}\nexport interface CamelizedDiscordRoleTags extends Camelize<DiscordRoleTags> {}\nexport interface CamelizedDiscordEmoji extends Camelize<DiscordEmoji> {}\nexport interface CamelizedDiscordVoiceState extends Camelize<DiscordVoiceState> {}\nexport interface CamelizedDiscordChannel extends Camelize<DiscordChannel> {}\nexport interface CamelizedDiscordPresenceUpdate extends Camelize<DiscordPresenceUpdate> {}\nexport interface CamelizedDiscordWelcomeScreen extends Camelize<DiscordWelcomeScreen> {}\nexport interface CamelizedDiscordWelcomeScreenChannel extends Camelize<DiscordWelcomeScreenChannel> {}\nexport interface CamelizedDiscordStageInstance extends Camelize<DiscordStageInstance> {}\nexport interface CamelizedDiscordThreadMetadata extends Camelize<DiscordThreadMetadata> {}\nexport interface CamelizedDiscordThreadMember extends Camelize<DiscordThreadMember> {}\nexport interface CamelizedDiscordActivity extends Camelize<DiscordActivity> {}\nexport interface CamelizedDiscordClientStatus extends Camelize<DiscordClientStatus> {}\nexport interface CamelizedDiscordActivityTimestamps extends Camelize<DiscordActivityTimestamps> {}\nexport interface CamelizedDiscordActivityEmoji extends Camelize<DiscordActivityEmoji> {}\nexport interface CamelizedDiscordActivityParty extends Camelize<DiscordActivityParty> {}\nexport interface CamelizedDiscordActivityAssets extends Camelize<DiscordActivityAssets> {}\nexport interface CamelizedDiscordActivitySecrets extends Camelize<DiscordActivitySecrets> {}\nexport interface CamelizedDiscordActivityButton extends Camelize<DiscordActivityButton> {}\nexport interface CamelizedDiscordOverwrite extends Camelize<DiscordOverwrite> {}\nexport interface CamelizedDiscordMemberWithUser extends Camelize<DiscordMemberWithUser> {}\nexport interface CamelizedDiscordMessage extends Camelize<DiscordMessage> {}\nexport interface CamelizedDiscordChannelMention extends Camelize<DiscordChannelMention> {}\nexport interface CamelizedDiscordReaction extends Camelize<DiscordReaction> {}\nexport interface CamelizedDiscordMessageActivity extends Camelize<DiscordMessageActivity> {}\nexport interface CamelizedDiscordMessageReference extends Camelize<DiscordMessageReference> {}\nexport interface CamelizedDiscordSticker extends Camelize<DiscordSticker> {}\nexport interface CamelizedDiscordMessageInteraction extends Camelize<DiscordMessageInteraction> {}\nexport type CamelizedDiscordMessageComponents = Camelize<DiscordMessageComponents>\nexport interface CamelizedDiscordActionRow extends Camelize<DiscordActionRow> {}\nexport interface CamelizedDiscordSelectMenuComponent extends Camelize<DiscordSelectMenuComponent> {}\nexport interface CamelizedDiscordSelectOption extends Camelize<DiscordSelectOption> {}\nexport interface CamelizedDiscordButtonComponent extends Camelize<DiscordButtonComponent> {}\nexport interface CamelizedDiscordInputTextComponent extends Camelize<DiscordInputTextComponent> {}\nexport interface CamelizedDiscordStickerItem extends Camelize<DiscordStickerItem> {}\nexport interface CamelizedDiscordStickerPack extends Camelize<DiscordStickerPack> {}\nexport interface CamelizedDiscordInteraction extends Camelize<DiscordInteraction> {}\nexport interface CamelizedDiscordInteractionMember extends Camelize<DiscordInteractionMember> {}\nexport interface CamelizedDiscordInteractionData extends Camelize<DiscordInteractionData> {}\nexport interface CamelizedDiscordInteractionDataOption extends Camelize<DiscordInteractionDataOption> {}\nexport interface CamelizedDiscordListActiveThreads extends Camelize<DiscordListActiveThreads> {}\nexport interface CamelizedDiscordListArchivedThreads extends Camelize<DiscordListArchivedThreads> {}\nexport interface CamelizedDiscordThreadListSync extends Camelize<DiscordThreadListSync> {}\nexport interface CamelizedDiscordAuditLog extends Camelize<DiscordAuditLog> {}\nexport interface CamelizedDiscordAutoModerationRule extends Camelize<DiscordAutoModerationRule> {}\nexport interface CamelizedDiscordAutoModerationRuleTriggerMetadata extends Camelize<DiscordAutoModerationRuleTriggerMetadata> {}\nexport interface CamelizedDiscordAutoModerationAction extends Camelize<DiscordAutoModerationAction> {}\nexport interface CamelizedDiscordAutoModerationActionMetadata extends Camelize<DiscordAutoModerationActionMetadata> {}\nexport interface CamelizedDiscordAutoModerationActionExecution extends Camelize<DiscordAutoModerationActionExecution> {}\nexport interface CamelizedDiscordAuditLogEntry extends Camelize<DiscordAuditLogEntry> {}\nexport type CamelizedDiscordAuditLogChange = Camelize<DiscordAuditLogChange>\nexport interface CamelizedDiscordOptionalAuditEntryInfo extends Camelize<DiscordOptionalAuditEntryInfo> {}\nexport interface CamelizedDiscordScheduledEvent extends Camelize<DiscordScheduledEvent> {}\nexport interface CamelizedDiscordScheduledEventEntityMetadata extends Camelize<DiscordScheduledEventEntityMetadata> {}\nexport interface CamelizedDiscordGetGatewayBot extends Camelize<DiscordGetGatewayBot> {}\nexport interface CamelizedDiscordSessionStartLimit extends Camelize<DiscordSessionStartLimit> {}\nexport interface CamelizedDiscordInviteMetadata extends Camelize<DiscordInviteMetadata> {}\nexport interface CamelizedDiscordInvite extends Camelize<DiscordInvite> {}\nexport interface CamelizedDiscordInviteStageInstance extends Camelize<DiscordInviteStageInstance> {}\nexport interface CamelizedDiscordApplicationCommand extends Camelize<DiscordApplicationCommand> {}\nexport interface CamelizedDiscordCreateApplicationCommand extends Camelize<DiscordCreateApplicationCommand> {}\nexport interface CamelizedDiscordApplicationCommandOption extends Camelize<DiscordApplicationCommandOption> {}\nexport interface CamelizedDiscordApplicationCommandOptionChoice extends Camelize<DiscordApplicationCommandOptionChoice> {}\nexport interface CamelizedDiscordGuildApplicationCommandPermissions extends Camelize<DiscordGuildApplicationCommandPermissions> {}\nexport interface CamelizedDiscordApplicationCommandPermissions extends Camelize<DiscordApplicationCommandPermissions> {}\nexport interface CamelizedDiscordGuildWidget extends Camelize<DiscordGuildWidget> {}\nexport interface CamelizedDiscordGuildPreview extends Camelize<DiscordGuildPreview> {}\nexport interface CamelizedDiscordFollowedChannel extends Camelize<DiscordFollowedChannel> {}\nexport interface CamelizedDiscordGatewayPayload extends Camelize<DiscordGatewayPayload> {}\nexport interface CamelizedDiscordGuildMembersChunk extends Camelize<DiscordGuildMembersChunk> {}\nexport interface CamelizedDiscordChannelPinsUpdate extends Camelize<DiscordChannelPinsUpdate> {}\nexport interface CamelizedDiscordGuildRoleDelete extends Camelize<DiscordGuildRoleDelete> {}\nexport interface CamelizedDiscordGuildBanAddRemove extends Camelize<DiscordGuildBanAddRemove> {}\nexport interface CamelizedDiscordMessageReactionRemove extends Camelize<DiscordMessageReactionRemove> {}\nexport interface CamelizedDiscordMessageReactionAdd extends Camelize<DiscordMessageReactionAdd> {}\nexport interface CamelizedDiscordVoiceServerUpdate extends Camelize<DiscordVoiceServerUpdate> {}\nexport interface CamelizedDiscordInviteCreate extends Camelize<DiscordInviteCreate> {}\nexport interface CamelizedDiscordHello extends Camelize<DiscordHello> {}\nexport interface CamelizedDiscordReady extends Camelize<DiscordReady> {}\nexport interface CamelizedDiscordUnavailableGuild extends Camelize<DiscordUnavailableGuild> {}\nexport interface CamelizedDiscordMessageDeleteBulk extends Camelize<DiscordMessageDeleteBulk> {}\nexport interface CamelizedDiscordTemplate extends Camelize<DiscordTemplate> {}\nexport interface CamelizedDiscordGuildMemberAdd extends Camelize<DiscordGuildMemberAdd> {}\nexport interface CamelizedDiscordMessageDelete extends Camelize<DiscordMessageDelete> {}\nexport interface CamelizedDiscordThreadMembersUpdate extends Camelize<DiscordThreadMembersUpdate> {}\nexport interface CamelizedDiscordThreadMemberUpdate extends Camelize<DiscordThreadMemberUpdate> {}\nexport interface CamelizedDiscordGuildRoleCreate extends Camelize<DiscordGuildRoleCreate> {}\nexport interface CamelizedDiscordGuildEmojisUpdate extends Camelize<DiscordGuildEmojisUpdate> {}\nexport interface CamelizedDiscordGuildStickersUpdate extends Camelize<DiscordGuildStickersUpdate> {}\nexport interface CamelizedDiscordGuildMemberUpdate extends Camelize<DiscordGuildMemberUpdate> {}\nexport interface CamelizedDiscordMessageReactionRemoveAll extends Camelize<DiscordMessageReactionRemoveAll> {}\nexport interface CamelizedDiscordGuildRoleUpdate extends Camelize<DiscordGuildRoleUpdate> {}\nexport interface CamelizedDiscordScheduledEventUserAdd extends Camelize<DiscordScheduledEventUserAdd> {}\nexport type CamelizedDiscordMessageReactionRemoveEmoji = Camelize<DiscordMessageReactionRemoveEmoji>\nexport interface CamelizedDiscordGuildMemberRemove extends Camelize<DiscordGuildMemberRemove> {}\nexport interface CamelizedDiscordBan extends Camelize<DiscordBan> {}\nexport interface CamelizedDiscordScheduledEventUserRemove extends Camelize<DiscordScheduledEventUserRemove> {}\nexport interface CamelizedDiscordInviteDelete extends Camelize<DiscordInviteDelete> {}\nexport interface CamelizedDiscordVoiceRegion extends Camelize<DiscordVoiceRegion> {}\nexport interface CamelizedDiscordGuildWidgetSettings extends Camelize<DiscordGuildWidgetSettings> {}\nexport interface CamelizedDiscordInstallParams extends Camelize<DiscordInstallParams> {}\nexport interface CamelizedDiscordForumTag extends Camelize<DiscordForumTag> {}\nexport interface CamelizedDiscordDefaultReactionEmoji extends Camelize<DiscordDefaultReactionEmoji> {}\nexport interface CamelizedDiscordModifyChannel extends Camelize<DiscordModifyChannel> {}\nexport interface CamelizedDiscordCreateGuildEmoji extends Camelize<DiscordCreateGuildEmoji> {}\nexport interface CamelizedDiscordModifyGuildEmoji extends Camelize<DiscordModifyGuildEmoji> {}\nexport interface CamelizedDiscordCreateGuildChannel extends Camelize<DiscordCreateGuildChannel> {}\nexport interface CamelizedDiscordCreateMessage extends Camelize<DiscordCreateMessage> {}\nexport interface CamelizedDiscordModifyGuildWelcomeScreen extends Camelize<DiscordModifyGuildWelcomeScreen> {}\nexport interface CamelizedDiscordFollowAnnouncementChannel extends Camelize<DiscordFollowAnnouncementChannel> {}\nexport interface CamelizedDiscordEditChannelPermissionOverridesOptions extends Camelize<DiscordEditChannelPermissionOverridesOptions> {}\nexport interface CamelizedDiscordModifyGuildChannelPositions extends Camelize<DiscordModifyGuildChannelPositions> {}\nexport interface CamelizedDiscordCreateWebhook extends Camelize<DiscordCreateWebhook> {}\nexport interface CamelizedDiscordCreateForumPostWithMessage extends Camelize<DiscordCreateForumPostWithMessage> {}\nexport type CamelizedDiscordArchivedThreads = Camelize<DiscordArchivedThreads>\nexport interface CamelizedDiscordActiveThreads extends Camelize<DiscordActiveThreads> {}\nexport interface CamelizedDiscordVanityUrl extends Camelize<DiscordVanityUrl> {}\nexport interface CamelizedDiscordPrunedCount extends Camelize<DiscordPrunedCount> {}\n"],"names":[],"mappings":"AAAA,WAqSoF"}
|
|
1
|
+
{"version":3,"sources":["../src/camel.ts"],"sourcesContent":["import type {\n DiscordAccessTokenResponse,\n DiscordActionRow,\n DiscordActiveThreads,\n DiscordActivity,\n DiscordActivityAssets,\n DiscordActivityButton,\n DiscordActivityEmoji,\n DiscordActivityParty,\n DiscordActivitySecrets,\n DiscordActivityTimestamps,\n DiscordAllowedMentions,\n DiscordApplication,\n DiscordApplicationCommand,\n DiscordApplicationCommandOption,\n DiscordApplicationCommandOptionChoice,\n DiscordApplicationCommandPermissions,\n DiscordApplicationRoleConnection,\n DiscordApplicationWebhook,\n DiscordArchivedThreads,\n DiscordAttachment,\n DiscordAuditLog,\n DiscordAuditLogChange,\n DiscordAuditLogEntry,\n DiscordAutoModerationAction,\n DiscordAutoModerationActionExecution,\n DiscordAutoModerationActionMetadata,\n DiscordAutoModerationRule,\n DiscordAutoModerationRuleTriggerMetadata,\n DiscordBan,\n DiscordButtonComponent,\n DiscordChannel,\n DiscordChannelMention,\n DiscordChannelPinsUpdate,\n DiscordClientStatus,\n DiscordConnection,\n DiscordCreateApplicationCommand,\n DiscordCreateForumPostWithMessage,\n DiscordCreateGuildChannel,\n DiscordCreateGuildEmoji,\n DiscordCreateMessage,\n DiscordCreateWebhook,\n DiscordCurrentAuthorization,\n DiscordDefaultReactionEmoji,\n DiscordEditChannelPermissionOverridesOptions,\n DiscordEmbed,\n DiscordEmbedAuthor,\n DiscordEmbedField,\n DiscordEmbedFooter,\n DiscordEmbedImage,\n DiscordEmbedProvider,\n DiscordEmbedThumbnail,\n DiscordEmbedVideo,\n DiscordEmoji,\n DiscordFollowAnnouncementChannel,\n DiscordFollowedChannel,\n DiscordForumTag,\n DiscordGatewayPayload,\n DiscordGetGatewayBot,\n DiscordGuild,\n DiscordGuildApplicationCommandPermissions,\n DiscordGuildBanAddRemove,\n DiscordGuildEmojisUpdate,\n DiscordGuildIntegrationsUpdate,\n DiscordGuildMemberAdd,\n DiscordGuildMemberRemove,\n DiscordGuildMemberUpdate,\n DiscordGuildMembersChunk,\n DiscordGuildPreview,\n DiscordGuildRoleCreate,\n DiscordGuildRoleDelete,\n DiscordGuildRoleUpdate,\n DiscordGuildStickersUpdate,\n DiscordGuildWidget,\n DiscordGuildWidgetSettings,\n DiscordHello,\n DiscordIncomingWebhook,\n DiscordInputTextComponent,\n DiscordInstallParams,\n DiscordIntegration,\n DiscordIntegrationAccount,\n DiscordIntegrationApplication,\n DiscordIntegrationCreateUpdate,\n DiscordIntegrationDelete,\n DiscordInteraction,\n DiscordInteractionData,\n DiscordInteractionDataOption,\n DiscordInteractionMember,\n DiscordInvite,\n DiscordInviteCreate,\n DiscordInviteDelete,\n DiscordInviteMetadata,\n DiscordInviteStageInstance,\n DiscordListActiveThreads,\n DiscordListArchivedThreads,\n DiscordMember,\n DiscordMemberWithUser,\n DiscordMessage,\n DiscordMessageActivity,\n DiscordMessageComponents,\n DiscordMessageDelete,\n DiscordMessageDeleteBulk,\n DiscordMessageInteraction,\n DiscordMessageReactionAdd,\n DiscordMessageReactionRemove,\n DiscordMessageReactionRemoveAll,\n DiscordMessageReactionRemoveEmoji,\n DiscordMessageReference,\n DiscordModifyChannel,\n DiscordModifyGuildChannelPositions,\n DiscordModifyGuildEmoji,\n DiscordModifyGuildWelcomeScreen,\n DiscordOptionalAuditEntryInfo,\n DiscordOverwrite,\n DiscordPartialGuild,\n DiscordPresenceUpdate,\n DiscordPrunedCount,\n DiscordReaction,\n DiscordReady,\n DiscordRole,\n DiscordRoleTags,\n DiscordScheduledEvent,\n DiscordScheduledEventEntityMetadata,\n DiscordScheduledEventUserAdd,\n DiscordScheduledEventUserRemove,\n DiscordSelectMenuComponent,\n DiscordSelectOption,\n DiscordSessionStartLimit,\n DiscordStageInstance,\n DiscordSticker,\n DiscordStickerItem,\n DiscordStickerPack,\n DiscordTeam,\n DiscordTeamMember,\n DiscordTemplate,\n DiscordThreadListSync,\n DiscordThreadMember,\n DiscordThreadMemberUpdate,\n DiscordThreadMembersUpdate,\n DiscordThreadMetadata,\n DiscordTokenExchange,\n DiscordTokenExchangeAuthorizationCode,\n DiscordTokenExchangeClientCredentials,\n DiscordTokenExchangeRefreshToken,\n DiscordTokenRevocation,\n DiscordTypingStart,\n DiscordUnavailableGuild,\n DiscordUser,\n DiscordVanityUrl,\n DiscordVoiceRegion,\n DiscordVoiceServerUpdate,\n DiscordVoiceState,\n DiscordWebhook,\n DiscordWebhookUpdate,\n DiscordWelcomeScreen,\n DiscordWelcomeScreenChannel,\n} from './discord.js'\nimport type { Camelize } from './shared.js'\n\nexport interface CamelizedDiscordUser extends Camelize<DiscordUser> {}\nexport interface CamelizedDiscordIntegration extends Camelize<DiscordIntegration> {}\nexport interface CamelizedDiscordIntegrationAccount extends Camelize<DiscordIntegrationAccount> {}\nexport interface CamelizedDiscordIntegrationApplication extends Camelize<DiscordIntegrationApplication> {}\nexport interface CamelizedDiscordIntegrationCreateUpdate extends Camelize<DiscordIntegrationCreateUpdate> {}\nexport interface CamelizedDiscordIntegrationDelete extends Camelize<DiscordIntegrationDelete> {}\nexport interface CamelizedDiscordGuildIntegrationsUpdate extends Camelize<DiscordGuildIntegrationsUpdate> {}\nexport interface CamelizedDiscordTypingStart extends Camelize<DiscordTypingStart> {}\nexport interface CamelizedDiscordMember extends Camelize<DiscordMember> {}\nexport interface CamelizedDiscordApplication extends Camelize<DiscordApplication> {}\nexport interface CamelizedDiscordApplicationRoleConnection extends Camelize<DiscordApplicationRoleConnection> {}\nexport type CamelizedDiscordTokenExchange = Camelize<DiscordTokenExchange>\nexport interface CamelizedDiscordTokenExchangeAuthorizationCode extends Camelize<DiscordTokenExchangeAuthorizationCode> {}\nexport interface CamelizedDiscordTokenExchangeRefreshToken extends Camelize<DiscordTokenExchangeRefreshToken> {}\nexport interface CamelizedDiscordTokenExchangeClientCredentials extends Camelize<DiscordTokenExchangeClientCredentials> {}\nexport interface CamelizedDiscordAccessTokenResponse extends Camelize<DiscordAccessTokenResponse> {}\nexport interface CamelizedDiscordTokenRevocation extends Camelize<DiscordTokenRevocation> {}\nexport interface CamelizedDiscordCurrentAuthorization extends Camelize<DiscordCurrentAuthorization> {}\nexport interface CamelizedDiscordConnection extends Camelize<DiscordConnection> {}\nexport interface CamelizedDiscordTeam extends Camelize<DiscordTeam> {}\nexport interface CamelizedDiscordTeamMember extends Camelize<DiscordTeamMember> {}\nexport interface CamelizedDiscordWebhookUpdate extends Camelize<DiscordWebhookUpdate> {}\nexport interface CamelizedDiscordAllowedMentions extends Camelize<DiscordAllowedMentions> {}\nexport interface CamelizedDiscordEmbed extends Camelize<DiscordEmbed> {}\nexport interface CamelizedDiscordEmbedAuthor extends Camelize<DiscordEmbedAuthor> {}\nexport interface CamelizedDiscordEmbedField extends Camelize<DiscordEmbedField> {}\nexport interface CamelizedDiscordEmbedFooter extends Camelize<DiscordEmbedFooter> {}\nexport interface CamelizedDiscordEmbedImage extends Camelize<DiscordEmbedImage> {}\nexport interface CamelizedDiscordEmbedProvider extends Camelize<DiscordEmbedProvider> {}\nexport interface CamelizedDiscordEmbedThumbnail extends Camelize<DiscordEmbedThumbnail> {}\nexport interface CamelizedDiscordEmbedVideo extends Camelize<DiscordEmbedVideo> {}\nexport interface CamelizedDiscordAttachment extends Camelize<DiscordAttachment> {}\nexport type CamelizedDiscordWebhook = Camelize<DiscordWebhook>\nexport interface CamelizedDiscordIncomingWebhook extends Camelize<DiscordIncomingWebhook> {}\nexport interface CamelizedDiscordApplicationWebhook extends Camelize<DiscordApplicationWebhook> {}\nexport interface CamelizedDiscordGuild extends Camelize<DiscordGuild> {}\nexport interface CamelizedDiscordPartialGuild extends Camelize<DiscordPartialGuild> {}\nexport interface CamelizedDiscordRole extends Camelize<DiscordRole> {}\nexport interface CamelizedDiscordRoleTags extends Camelize<DiscordRoleTags> {}\nexport interface CamelizedDiscordEmoji extends Camelize<DiscordEmoji> {}\nexport interface CamelizedDiscordVoiceState extends Camelize<DiscordVoiceState> {}\nexport interface CamelizedDiscordChannel extends Camelize<DiscordChannel> {}\nexport interface CamelizedDiscordPresenceUpdate extends Camelize<DiscordPresenceUpdate> {}\nexport interface CamelizedDiscordWelcomeScreen extends Camelize<DiscordWelcomeScreen> {}\nexport interface CamelizedDiscordWelcomeScreenChannel extends Camelize<DiscordWelcomeScreenChannel> {}\nexport interface CamelizedDiscordStageInstance extends Camelize<DiscordStageInstance> {}\nexport interface CamelizedDiscordThreadMetadata extends Camelize<DiscordThreadMetadata> {}\nexport interface CamelizedDiscordThreadMember extends Camelize<DiscordThreadMember> {}\nexport interface CamelizedDiscordActivity extends Camelize<DiscordActivity> {}\nexport interface CamelizedDiscordClientStatus extends Camelize<DiscordClientStatus> {}\nexport interface CamelizedDiscordActivityTimestamps extends Camelize<DiscordActivityTimestamps> {}\nexport interface CamelizedDiscordActivityEmoji extends Camelize<DiscordActivityEmoji> {}\nexport interface CamelizedDiscordActivityParty extends Camelize<DiscordActivityParty> {}\nexport interface CamelizedDiscordActivityAssets extends Camelize<DiscordActivityAssets> {}\nexport interface CamelizedDiscordActivitySecrets extends Camelize<DiscordActivitySecrets> {}\nexport interface CamelizedDiscordActivityButton extends Camelize<DiscordActivityButton> {}\nexport interface CamelizedDiscordOverwrite extends Camelize<DiscordOverwrite> {}\nexport interface CamelizedDiscordMemberWithUser extends Camelize<DiscordMemberWithUser> {}\nexport interface CamelizedDiscordMessage extends Camelize<DiscordMessage> {}\nexport interface CamelizedDiscordChannelMention extends Camelize<DiscordChannelMention> {}\nexport interface CamelizedDiscordReaction extends Camelize<DiscordReaction> {}\nexport interface CamelizedDiscordMessageActivity extends Camelize<DiscordMessageActivity> {}\nexport interface CamelizedDiscordMessageReference extends Camelize<DiscordMessageReference> {}\nexport interface CamelizedDiscordSticker extends Camelize<DiscordSticker> {}\nexport interface CamelizedDiscordMessageInteraction extends Camelize<DiscordMessageInteraction> {}\nexport type CamelizedDiscordMessageComponents = Camelize<DiscordMessageComponents>\nexport interface CamelizedDiscordActionRow extends Camelize<DiscordActionRow> {}\nexport interface CamelizedDiscordSelectMenuComponent extends Camelize<DiscordSelectMenuComponent> {}\nexport interface CamelizedDiscordSelectOption extends Camelize<DiscordSelectOption> {}\nexport interface CamelizedDiscordButtonComponent extends Camelize<DiscordButtonComponent> {}\nexport interface CamelizedDiscordInputTextComponent extends Camelize<DiscordInputTextComponent> {}\nexport interface CamelizedDiscordStickerItem extends Camelize<DiscordStickerItem> {}\nexport interface CamelizedDiscordStickerPack extends Camelize<DiscordStickerPack> {}\nexport interface CamelizedDiscordInteraction extends Camelize<DiscordInteraction> {}\nexport interface CamelizedDiscordInteractionMember extends Camelize<DiscordInteractionMember> {}\nexport interface CamelizedDiscordInteractionData extends Camelize<DiscordInteractionData> {}\nexport interface CamelizedDiscordInteractionDataOption extends Camelize<DiscordInteractionDataOption> {}\nexport interface CamelizedDiscordListActiveThreads extends Camelize<DiscordListActiveThreads> {}\nexport interface CamelizedDiscordListArchivedThreads extends Camelize<DiscordListArchivedThreads> {}\nexport interface CamelizedDiscordThreadListSync extends Camelize<DiscordThreadListSync> {}\nexport interface CamelizedDiscordAuditLog extends Camelize<DiscordAuditLog> {}\nexport interface CamelizedDiscordAutoModerationRule extends Camelize<DiscordAutoModerationRule> {}\nexport interface CamelizedDiscordAutoModerationRuleTriggerMetadata extends Camelize<DiscordAutoModerationRuleTriggerMetadata> {}\nexport interface CamelizedDiscordAutoModerationAction extends Camelize<DiscordAutoModerationAction> {}\nexport interface CamelizedDiscordAutoModerationActionMetadata extends Camelize<DiscordAutoModerationActionMetadata> {}\nexport interface CamelizedDiscordAutoModerationActionExecution extends Camelize<DiscordAutoModerationActionExecution> {}\nexport interface CamelizedDiscordAuditLogEntry extends Camelize<DiscordAuditLogEntry> {}\nexport type CamelizedDiscordAuditLogChange = Camelize<DiscordAuditLogChange>\nexport interface CamelizedDiscordOptionalAuditEntryInfo extends Camelize<DiscordOptionalAuditEntryInfo> {}\nexport interface CamelizedDiscordScheduledEvent extends Camelize<DiscordScheduledEvent> {}\nexport interface CamelizedDiscordScheduledEventEntityMetadata extends Camelize<DiscordScheduledEventEntityMetadata> {}\nexport interface CamelizedDiscordGetGatewayBot extends Camelize<DiscordGetGatewayBot> {}\nexport interface CamelizedDiscordSessionStartLimit extends Camelize<DiscordSessionStartLimit> {}\nexport interface CamelizedDiscordInviteMetadata extends Camelize<DiscordInviteMetadata> {}\nexport interface CamelizedDiscordInvite extends Camelize<DiscordInvite> {}\nexport interface CamelizedDiscordInviteStageInstance extends Camelize<DiscordInviteStageInstance> {}\nexport interface CamelizedDiscordApplicationCommand extends Camelize<DiscordApplicationCommand> {}\nexport interface CamelizedDiscordCreateApplicationCommand extends Camelize<DiscordCreateApplicationCommand> {}\nexport interface CamelizedDiscordApplicationCommandOption extends Camelize<DiscordApplicationCommandOption> {}\nexport interface CamelizedDiscordApplicationCommandOptionChoice extends Camelize<DiscordApplicationCommandOptionChoice> {}\nexport interface CamelizedDiscordGuildApplicationCommandPermissions extends Camelize<DiscordGuildApplicationCommandPermissions> {}\nexport interface CamelizedDiscordApplicationCommandPermissions extends Camelize<DiscordApplicationCommandPermissions> {}\nexport interface CamelizedDiscordGuildWidget extends Camelize<DiscordGuildWidget> {}\nexport interface CamelizedDiscordGuildPreview extends Camelize<DiscordGuildPreview> {}\nexport interface CamelizedDiscordFollowedChannel extends Camelize<DiscordFollowedChannel> {}\nexport interface CamelizedDiscordGatewayPayload extends Camelize<DiscordGatewayPayload> {}\nexport interface CamelizedDiscordGuildMembersChunk extends Camelize<DiscordGuildMembersChunk> {}\nexport interface CamelizedDiscordChannelPinsUpdate extends Camelize<DiscordChannelPinsUpdate> {}\nexport interface CamelizedDiscordGuildRoleDelete extends Camelize<DiscordGuildRoleDelete> {}\nexport interface CamelizedDiscordGuildBanAddRemove extends Camelize<DiscordGuildBanAddRemove> {}\nexport interface CamelizedDiscordMessageReactionRemove extends Camelize<DiscordMessageReactionRemove> {}\nexport interface CamelizedDiscordMessageReactionAdd extends Camelize<DiscordMessageReactionAdd> {}\nexport interface CamelizedDiscordVoiceServerUpdate extends Camelize<DiscordVoiceServerUpdate> {}\nexport interface CamelizedDiscordInviteCreate extends Camelize<DiscordInviteCreate> {}\nexport interface CamelizedDiscordHello extends Camelize<DiscordHello> {}\nexport interface CamelizedDiscordReady extends Camelize<DiscordReady> {}\nexport interface CamelizedDiscordUnavailableGuild extends Camelize<DiscordUnavailableGuild> {}\nexport interface CamelizedDiscordMessageDeleteBulk extends Camelize<DiscordMessageDeleteBulk> {}\nexport interface CamelizedDiscordTemplate extends Camelize<DiscordTemplate> {}\nexport interface CamelizedDiscordGuildMemberAdd extends Camelize<DiscordGuildMemberAdd> {}\nexport interface CamelizedDiscordMessageDelete extends Camelize<DiscordMessageDelete> {}\nexport interface CamelizedDiscordThreadMembersUpdate extends Camelize<DiscordThreadMembersUpdate> {}\nexport interface CamelizedDiscordThreadMemberUpdate extends Camelize<DiscordThreadMemberUpdate> {}\nexport interface CamelizedDiscordGuildRoleCreate extends Camelize<DiscordGuildRoleCreate> {}\nexport interface CamelizedDiscordGuildEmojisUpdate extends Camelize<DiscordGuildEmojisUpdate> {}\nexport interface CamelizedDiscordGuildStickersUpdate extends Camelize<DiscordGuildStickersUpdate> {}\nexport interface CamelizedDiscordGuildMemberUpdate extends Camelize<DiscordGuildMemberUpdate> {}\nexport interface CamelizedDiscordMessageReactionRemoveAll extends Camelize<DiscordMessageReactionRemoveAll> {}\nexport interface CamelizedDiscordGuildRoleUpdate extends Camelize<DiscordGuildRoleUpdate> {}\nexport interface CamelizedDiscordScheduledEventUserAdd extends Camelize<DiscordScheduledEventUserAdd> {}\nexport type CamelizedDiscordMessageReactionRemoveEmoji = Camelize<DiscordMessageReactionRemoveEmoji>\nexport interface CamelizedDiscordGuildMemberRemove extends Camelize<DiscordGuildMemberRemove> {}\nexport interface CamelizedDiscordBan extends Camelize<DiscordBan> {}\nexport interface CamelizedDiscordScheduledEventUserRemove extends Camelize<DiscordScheduledEventUserRemove> {}\nexport interface CamelizedDiscordInviteDelete extends Camelize<DiscordInviteDelete> {}\nexport interface CamelizedDiscordVoiceRegion extends Camelize<DiscordVoiceRegion> {}\nexport interface CamelizedDiscordGuildWidgetSettings extends Camelize<DiscordGuildWidgetSettings> {}\nexport interface CamelizedDiscordInstallParams extends Camelize<DiscordInstallParams> {}\nexport interface CamelizedDiscordForumTag extends Camelize<DiscordForumTag> {}\nexport interface CamelizedDiscordDefaultReactionEmoji extends Camelize<DiscordDefaultReactionEmoji> {}\nexport interface CamelizedDiscordModifyChannel extends Camelize<DiscordModifyChannel> {}\nexport interface CamelizedDiscordCreateGuildEmoji extends Camelize<DiscordCreateGuildEmoji> {}\nexport interface CamelizedDiscordModifyGuildEmoji extends Camelize<DiscordModifyGuildEmoji> {}\nexport interface CamelizedDiscordCreateGuildChannel extends Camelize<DiscordCreateGuildChannel> {}\nexport interface CamelizedDiscordCreateMessage extends Camelize<DiscordCreateMessage> {}\nexport interface CamelizedDiscordModifyGuildWelcomeScreen extends Camelize<DiscordModifyGuildWelcomeScreen> {}\nexport interface CamelizedDiscordFollowAnnouncementChannel extends Camelize<DiscordFollowAnnouncementChannel> {}\nexport interface CamelizedDiscordEditChannelPermissionOverridesOptions extends Camelize<DiscordEditChannelPermissionOverridesOptions> {}\nexport interface CamelizedDiscordModifyGuildChannelPositions extends Camelize<DiscordModifyGuildChannelPositions> {}\nexport interface CamelizedDiscordCreateWebhook extends Camelize<DiscordCreateWebhook> {}\nexport interface CamelizedDiscordCreateForumPostWithMessage extends Camelize<DiscordCreateForumPostWithMessage> {}\nexport type CamelizedDiscordArchivedThreads = Camelize<DiscordArchivedThreads>\nexport interface CamelizedDiscordActiveThreads extends Camelize<DiscordActiveThreads> {}\nexport interface CamelizedDiscordVanityUrl extends Camelize<DiscordVanityUrl> {}\nexport interface CamelizedDiscordPrunedCount extends Camelize<DiscordPrunedCount> {}\n"],"names":[],"mappings":"AAAA,WAyToF"}
|
package/dist/discord.d.ts
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import type { ActivityTypes, AllowedMentionsTypes, ApplicationCommandOptionTypes, ApplicationCommandPermissionTypes, ApplicationCommandTypes, ApplicationFlags, AuditLogEvents, ButtonStyles, ChannelFlags, ChannelTypes, DefaultMessageNotificationLevels, EmbedTypes, ExplicitContentFilterLevels,
|
|
1
|
+
import type { ActivityTypes, AllowedMentionsTypes, ApplicationCommandOptionTypes, ApplicationCommandPermissionTypes, ApplicationCommandTypes, ApplicationFlags, AuditLogEvents, BigString, ButtonStyles, ChannelFlags, ChannelTypes, DefaultMessageNotificationLevels, EmbedTypes, ExplicitContentFilterLevels, ForumLayout, GatewayEventNames, GuildFeatures, GuildNsfwLevel, IntegrationExpireBehaviors, InteractionTypes, Localization, MessageActivityTypes, MessageComponentTypes, MessageTypes, MfaLevels, OverwriteTypes, PickPartial, PremiumTiers, PremiumTypes, ScheduledEventEntityType, ScheduledEventPrivacyLevel, ScheduledEventStatus, SortOrderTypes, StickerFormatTypes, StickerTypes, SystemChannelFlags, TargetTypes, TeamMembershipStates, TextStyles, VerificationLevels, VideoQualityModes, WebhookTypes } from './shared.js';
|
|
2
2
|
/** https://discord.com/developers/docs/resources/user#user-object */
|
|
3
3
|
export interface DiscordUser {
|
|
4
4
|
/** The user's username, not unique across the platform */
|
|
5
5
|
username: string;
|
|
6
|
+
/** The user's display name, if it is set. For bots, this is the application name */
|
|
7
|
+
global_name: string | null;
|
|
6
8
|
/** The user's chosen language option */
|
|
7
9
|
locale?: string;
|
|
8
10
|
/** The flags on a user's account */
|
|
9
|
-
flags?:
|
|
11
|
+
flags?: number;
|
|
10
12
|
/** The type of Nitro subscription on a user's account */
|
|
11
13
|
premium_type?: PremiumTypes;
|
|
12
14
|
/** The public flags on a user's account */
|
|
13
|
-
public_flags?:
|
|
15
|
+
public_flags?: number;
|
|
14
16
|
/** the user's banner color encoded as an integer representation of hexadecimal color code */
|
|
15
17
|
accent_color?: number;
|
|
16
18
|
/** The user's id */
|
|
17
19
|
id: string;
|
|
18
|
-
/** The user's
|
|
20
|
+
/** The user's discord-tag */
|
|
19
21
|
discriminator: string;
|
|
20
22
|
/** The user's avatar hash */
|
|
21
23
|
avatar: string | null;
|
|
@@ -32,6 +34,134 @@ export interface DiscordUser {
|
|
|
32
34
|
/** the user's banner, or null if unset */
|
|
33
35
|
banner?: string;
|
|
34
36
|
}
|
|
37
|
+
/** https://discord.com/developers/docs/topics/oauth2#shared-resources-oauth2-scopes */
|
|
38
|
+
export declare enum OAuth2Scope {
|
|
39
|
+
/**
|
|
40
|
+
* Allows your app to fetch data from a user's "Now Playing/Recently Played" list
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* This scope is not currently available for apps
|
|
44
|
+
*/
|
|
45
|
+
ActivitiesRead = "activities.read",
|
|
46
|
+
/**
|
|
47
|
+
* Allows your app to update a user's activity
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* This scope requires Discord approval to be used
|
|
51
|
+
*/
|
|
52
|
+
ActivitiesWrite = "activities.write",
|
|
53
|
+
/** Allows your app to read build data for a user's applications */
|
|
54
|
+
ApplicationsBuildsRead = "applications.builds.read",
|
|
55
|
+
/**
|
|
56
|
+
* Allows your app to upload/update builds for a user's applications
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* This scope requires Discord approval to be used
|
|
60
|
+
*/
|
|
61
|
+
ApplicationsBuildsUpload = "applications.builds.upload",
|
|
62
|
+
/** Allows your app to use Application Commands in a guild */
|
|
63
|
+
ApplicationsCommands = "applications.commands",
|
|
64
|
+
/**
|
|
65
|
+
* Allows your app to update its Application Commands via this bearer token
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* This scope can only be used when using a [Client Credential Grant](https://discord.com/developers/docs/topics/oauth2#client-credentials-grant)
|
|
69
|
+
*/
|
|
70
|
+
ApplicationsCommandsUpdate = "applications.commands.update",
|
|
71
|
+
/** Allows your app to update permissions for its commands in a guild a user has permissions to */
|
|
72
|
+
ApplicationCommandsPermissionsUpdate = "applications.commands.permissions.update",
|
|
73
|
+
/** Allows your app to read entitlements for a user's applications */
|
|
74
|
+
ApplicationsEntitlements = "applications.entitlements",
|
|
75
|
+
/** Allows your app to read and update store data (SKUs, store listings, achievements, etc.) for a user's applications */
|
|
76
|
+
ApplicationsStoreUpdate = "applications.store.update",
|
|
77
|
+
/** For oauth2 bots, this puts the bot in the user's selected guild by default */
|
|
78
|
+
Bot = "bot",
|
|
79
|
+
/** Allows requests to [/users/@me/connections](https://discord.com/developers/docs/resources/user#get-user-connections) */
|
|
80
|
+
Connections = "connections",
|
|
81
|
+
/**
|
|
82
|
+
* Allows your app to see information about the user's DMs and group DMs
|
|
83
|
+
*
|
|
84
|
+
* @remarks
|
|
85
|
+
* This scope requires Discord approval to be used
|
|
86
|
+
*/
|
|
87
|
+
DMChannelsRead = "dm_channels.read",
|
|
88
|
+
/** Adds the `email` filed to [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user) */
|
|
89
|
+
Email = "email",
|
|
90
|
+
/** Allows your app to join users to a group dm */
|
|
91
|
+
GroupDMJoins = "gdm.join",
|
|
92
|
+
/** Allows requests to [/users/@me/guilds](https://discord.com/developers/docs/resources/user#get-current-user-guilds) */
|
|
93
|
+
Guilds = "guilds",
|
|
94
|
+
/** Allows requests to [/guilds/{guild.id}/members/{user.id}](https://discord.com/developers/docs/resources/guild#add-guild-member) */
|
|
95
|
+
GuildsJoin = "guilds.join",
|
|
96
|
+
/** Allows requests to [/users/@me/guilds/{guild.id}/member](https://discord.com/developers/docs/resources/user#get-current-user-guild-member) */
|
|
97
|
+
GuildsMembersRead = "guilds.members.read",
|
|
98
|
+
/**
|
|
99
|
+
* Allows requests to [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user)
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* The return object from [/users/@me](https://discord.com/developers/docs/resources/user#get-current-user)
|
|
103
|
+
* does NOT contain the `email` field unless the scope `email` is also used
|
|
104
|
+
*/
|
|
105
|
+
Identify = "identify",
|
|
106
|
+
/**
|
|
107
|
+
* For local rpc server api access, this allows you to read messages from all client channels
|
|
108
|
+
* (otherwise restricted to channels/guilds your app creates)
|
|
109
|
+
*/
|
|
110
|
+
MessagesRead = "messages.read",
|
|
111
|
+
/**
|
|
112
|
+
* Allows your app to know a user's friends and implicit relationships
|
|
113
|
+
*
|
|
114
|
+
* @remarks
|
|
115
|
+
* This scope requires Discord approval to be used
|
|
116
|
+
*/
|
|
117
|
+
RelationshipsRead = "relationships.read",
|
|
118
|
+
/** Allows your app to update a user's connection and metadata for the app */
|
|
119
|
+
RoleConnectionsWrite = "role_connections.write",
|
|
120
|
+
/**
|
|
121
|
+
* For local rpc server access, this allows you to control a user's local Discord client
|
|
122
|
+
*
|
|
123
|
+
* @remarks
|
|
124
|
+
* This scope requires Discord approval to be used
|
|
125
|
+
*/
|
|
126
|
+
RPC = "rpc",
|
|
127
|
+
/**
|
|
128
|
+
* For local rpc server access, this allows you to update a user's activity
|
|
129
|
+
*
|
|
130
|
+
* @remarks
|
|
131
|
+
* This scope requires Discord approval to be used
|
|
132
|
+
*/
|
|
133
|
+
RPCActivitiesWrite = "rpc.activities.write",
|
|
134
|
+
/**
|
|
135
|
+
* For local rpc server api access, this allows you to receive notifications pushed out to the user
|
|
136
|
+
*
|
|
137
|
+
* @remarks
|
|
138
|
+
* This scope requires Discord approval to be used
|
|
139
|
+
*/
|
|
140
|
+
RPCNotificationsRead = "rpc.notifications.read",
|
|
141
|
+
/**
|
|
142
|
+
* For local rpc server access, this allows you to read a user's voice settings and listen for voice events
|
|
143
|
+
*
|
|
144
|
+
* @remarks
|
|
145
|
+
* This scope requires Discord approval to be used
|
|
146
|
+
*/
|
|
147
|
+
RPCVoiceRead = "rpc.voice.read",
|
|
148
|
+
/**
|
|
149
|
+
* For local rpc server access, this allows you to update a user's voice settings
|
|
150
|
+
*
|
|
151
|
+
* @remarks
|
|
152
|
+
* This scope requires Discord approval to be used
|
|
153
|
+
*/
|
|
154
|
+
RPCVoiceWrite = "rpc.voice.write",
|
|
155
|
+
/**
|
|
156
|
+
* Allows your app to connect to voice on user's behalf and see all the voice members
|
|
157
|
+
*
|
|
158
|
+
* @remarks
|
|
159
|
+
* This scope requires Discord approval to be used
|
|
160
|
+
*/
|
|
161
|
+
Voice = "voice",
|
|
162
|
+
/** Generate a webhook that is returned in the oauth token response for authorization code grants */
|
|
163
|
+
WebhookIncoming = "webhook.incoming"
|
|
164
|
+
}
|
|
35
165
|
/** https://discord.com/developers/docs/resources/guild#integration-object-integration-structure */
|
|
36
166
|
export interface DiscordIntegration {
|
|
37
167
|
/** Integration Id */
|
|
@@ -65,7 +195,7 @@ export interface DiscordIntegration {
|
|
|
65
195
|
/** The bot/OAuth2 application for discord integrations */
|
|
66
196
|
application?: DiscordIntegrationApplication;
|
|
67
197
|
/** the scopes the application has been authorized for */
|
|
68
|
-
scopes:
|
|
198
|
+
scopes: OAuth2Scope[];
|
|
69
199
|
}
|
|
70
200
|
/** https://discord.com/developers/docs/resources/guild#integration-account-object-integration-account-structure */
|
|
71
201
|
export interface DiscordIntegrationAccount {
|
|
@@ -139,7 +269,7 @@ export interface DiscordMember {
|
|
|
139
269
|
joined_at: string;
|
|
140
270
|
/** When the user started boosting the guild */
|
|
141
271
|
premium_since?: string | null;
|
|
142
|
-
/** The permissions this member has in the guild. Only present on interaction events. */
|
|
272
|
+
/** The permissions this member has in the guild. Only present on interaction events and OAuth2 current member fetch. */
|
|
143
273
|
permissions?: string;
|
|
144
274
|
/** when the user's timeout will expire and the user will be able to communicate in the guild again (set null to remove timeout), null or a time in the past if the user is not timed out */
|
|
145
275
|
communication_disabled_until?: string | null;
|
|
@@ -189,6 +319,138 @@ export interface DiscordApplication {
|
|
|
189
319
|
/** the application's role connection verification entry point, which when configured will render the app as a verification method in the guild role verification configuration */
|
|
190
320
|
role_connections_verification_url?: string;
|
|
191
321
|
}
|
|
322
|
+
export type DiscordTokenExchange = DiscordTokenExchangeAuthorizationCode | DiscordTokenExchangeRefreshToken | DiscordTokenExchangeClientCredentials;
|
|
323
|
+
export interface DiscordTokenExchangeAuthorizationCode {
|
|
324
|
+
/** Application's client id */
|
|
325
|
+
client_id: BigString;
|
|
326
|
+
/** application's client secret */
|
|
327
|
+
client_secret: string;
|
|
328
|
+
grant_type: 'authorization_code';
|
|
329
|
+
/** The code for the token exchange */
|
|
330
|
+
code: string;
|
|
331
|
+
/** The redirect_uri associated with this authorization */
|
|
332
|
+
redirect_uri: string;
|
|
333
|
+
}
|
|
334
|
+
/** https://discord.com/developers/docs/topics/oauth2#client-credentials-grant */
|
|
335
|
+
export interface DiscordTokenExchangeRefreshToken {
|
|
336
|
+
/** Application's client id */
|
|
337
|
+
client_id: BigString;
|
|
338
|
+
/** application's client secret */
|
|
339
|
+
client_secret: string;
|
|
340
|
+
grant_type: 'refresh_token';
|
|
341
|
+
/** the user's refresh token */
|
|
342
|
+
refresh_token: string;
|
|
343
|
+
}
|
|
344
|
+
/** https://discord.com/developers/docs/topics/oauth2#client-credentials-grant */
|
|
345
|
+
export interface DiscordTokenExchangeClientCredentials {
|
|
346
|
+
/** Application's client id */
|
|
347
|
+
client_id: BigString;
|
|
348
|
+
/** application's client secret */
|
|
349
|
+
client_secret: string;
|
|
350
|
+
grant_type: 'client_credentials';
|
|
351
|
+
/** The scope(s) for the access token */
|
|
352
|
+
scope: OAuth2Scope[];
|
|
353
|
+
}
|
|
354
|
+
export interface DiscordAccessTokenResponse {
|
|
355
|
+
/** The access token of the user */
|
|
356
|
+
access_token: string;
|
|
357
|
+
/** The type of token */
|
|
358
|
+
token_type: string;
|
|
359
|
+
/** The number of seconds after that the access token is expired */
|
|
360
|
+
expires_in: number;
|
|
361
|
+
/**
|
|
362
|
+
* The refresh token to refresh the access token
|
|
363
|
+
*
|
|
364
|
+
* @remarks
|
|
365
|
+
* When the token exchange is a client credentials type grant this value is not defined.
|
|
366
|
+
*/
|
|
367
|
+
refresh_token: string;
|
|
368
|
+
/** The scopes for the access token */
|
|
369
|
+
scope: string;
|
|
370
|
+
/** The webhook the user created for the application. Requires the `webhook.incoming` scope */
|
|
371
|
+
webhook?: DiscordIncomingWebhook;
|
|
372
|
+
/** The guild the bot has been added. Requires the `bot` scope */
|
|
373
|
+
guild?: DiscordGuild;
|
|
374
|
+
}
|
|
375
|
+
export interface DiscordTokenRevocation {
|
|
376
|
+
/** Application's client id */
|
|
377
|
+
client_id: BigString;
|
|
378
|
+
/** application's client secret */
|
|
379
|
+
client_secret: string;
|
|
380
|
+
/** The access token to revoke */
|
|
381
|
+
token: string;
|
|
382
|
+
}
|
|
383
|
+
/** https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information-response-structure */
|
|
384
|
+
export interface DiscordCurrentAuthorization {
|
|
385
|
+
application: DiscordApplication;
|
|
386
|
+
/** the scopes the user has authorized the application for */
|
|
387
|
+
scopes: OAuth2Scope[];
|
|
388
|
+
/** when the access token expires */
|
|
389
|
+
expires: string;
|
|
390
|
+
/** the user who has authorized, if the user has authorized with the `identify` scope */
|
|
391
|
+
user?: DiscordUser;
|
|
392
|
+
}
|
|
393
|
+
/** https://discord.com/developers/docs/resources/user#connection-object-connection-structure */
|
|
394
|
+
export interface DiscordConnection {
|
|
395
|
+
/** id of the connection account */
|
|
396
|
+
id: string;
|
|
397
|
+
/** the username of the connection account */
|
|
398
|
+
name: string;
|
|
399
|
+
/** the service of this connection */
|
|
400
|
+
type: DiscordConnectionServiceType;
|
|
401
|
+
/** whether the connection is revoked */
|
|
402
|
+
revoked?: boolean;
|
|
403
|
+
/** an array of partial server integrations */
|
|
404
|
+
integrations?: Array<Partial<DiscordIntegration>>;
|
|
405
|
+
/** whether the connection is verified */
|
|
406
|
+
verified: boolean;
|
|
407
|
+
/** whether friend sync is enabled for this connection */
|
|
408
|
+
friend_sync: boolean;
|
|
409
|
+
/** whether activities related to this connection will be shown in presence updates */
|
|
410
|
+
show_activity: boolean;
|
|
411
|
+
/** whether this connection has a corresponding third party OAuth2 token */
|
|
412
|
+
two_way_link: boolean;
|
|
413
|
+
/** visibility of this connection */
|
|
414
|
+
visibility: DiscordConnectionVisibility;
|
|
415
|
+
}
|
|
416
|
+
/** https://discord.com/developers/docs/resources/user#connection-object-services */
|
|
417
|
+
export declare enum DiscordConnectionServiceType {
|
|
418
|
+
BattleNet = "battlenet",
|
|
419
|
+
eBay = "ebay",
|
|
420
|
+
EpicGames = "epicgames",
|
|
421
|
+
Facebook = "facebook",
|
|
422
|
+
GitHub = "github",
|
|
423
|
+
Instagram = "instagram",
|
|
424
|
+
LeagueOfLegends = "leagueoflegends",
|
|
425
|
+
PayPal = "paypal",
|
|
426
|
+
PlayStationNetwork = "playstation",
|
|
427
|
+
Reddit = "reddit",
|
|
428
|
+
RiotGames = "riotgames",
|
|
429
|
+
Spotify = "spotify",
|
|
430
|
+
Skype = "skype",
|
|
431
|
+
Steam = "steam",
|
|
432
|
+
TikTok = "tiktok",
|
|
433
|
+
Twitch = "twitch",
|
|
434
|
+
Twitter = "twitter",
|
|
435
|
+
Xbox = "xbox",
|
|
436
|
+
YouTube = "youtube"
|
|
437
|
+
}
|
|
438
|
+
/** https://discord.com/developers/docs/resources/user#connection-object-visibility-types */
|
|
439
|
+
export declare enum DiscordConnectionVisibility {
|
|
440
|
+
/** invisible to everyone except the user themselves */
|
|
441
|
+
None = 0,
|
|
442
|
+
/** visible to everyone */
|
|
443
|
+
Everyone = 1
|
|
444
|
+
}
|
|
445
|
+
/** https://discord.com/developers/docs/resources/user#application-role-connection-object-application-role-connection-structure */
|
|
446
|
+
export interface DiscordApplicationRoleConnection {
|
|
447
|
+
/** the vanity name of the platform a bot has connected (max 50 characters) */
|
|
448
|
+
platform_name: string | null;
|
|
449
|
+
/** the username on the platform a bot has connected (max 100 characters) */
|
|
450
|
+
platform_username: string | null;
|
|
451
|
+
/** object mapping application role connection metadata keys to their stringified value (max 100 characters) for the user on the platform a bot has connected */
|
|
452
|
+
metadata: Record<string, string>;
|
|
453
|
+
}
|
|
192
454
|
/** https://discord.com/developers/docs/topics/teams#data-models-team-object */
|
|
193
455
|
export interface DiscordTeam {
|
|
194
456
|
/** A hash of the image of the team's icon */
|
|
@@ -210,8 +472,8 @@ export interface DiscordTeamMember {
|
|
|
210
472
|
permissions: Array<'*'>;
|
|
211
473
|
/** The id of the parent team of which they are a member */
|
|
212
474
|
team_id: string;
|
|
213
|
-
/** The avatar, discriminator, id, and
|
|
214
|
-
user: Partial<DiscordUser> & Pick<DiscordUser, 'avatar' | 'discriminator' | 'id' | 'username'>;
|
|
475
|
+
/** The avatar, discriminator, id, username, and global_name of the user */
|
|
476
|
+
user: Partial<DiscordUser> & Pick<DiscordUser, 'avatar' | 'discriminator' | 'id' | 'username' | 'global_name'>;
|
|
215
477
|
}
|
|
216
478
|
/** https://discord.com/developers/docs/topics/gateway#webhooks-update-webhook-update-event-fields */
|
|
217
479
|
export interface DiscordWebhookUpdate {
|
|
@@ -510,6 +772,24 @@ export interface DiscordGuild {
|
|
|
510
772
|
/** custom guild stickers */
|
|
511
773
|
stickers?: DiscordSticker[];
|
|
512
774
|
}
|
|
775
|
+
export interface DiscordPartialGuild {
|
|
776
|
+
/** Guild name (2-100 characters, excluding trailing and leading whitespace) */
|
|
777
|
+
name: string;
|
|
778
|
+
/** Guild id */
|
|
779
|
+
id: string;
|
|
780
|
+
/** Icon hash */
|
|
781
|
+
icon: string | null;
|
|
782
|
+
/** true if the user is the owner of the guild */
|
|
783
|
+
owner: boolean;
|
|
784
|
+
/** total permissions for the user in the guild (excludes overwrites and implicit permissions) */
|
|
785
|
+
permissions: string;
|
|
786
|
+
/** Enabled guild features */
|
|
787
|
+
features: GuildFeatures[];
|
|
788
|
+
/** Approximate number of members in this guild, returned from the GET /guilds/id endpoint when with_counts is true */
|
|
789
|
+
approximate_member_count?: number;
|
|
790
|
+
/** Approximate number of non-offline members in this guild, returned from the GET /guilds/id endpoint when with_counts is true */
|
|
791
|
+
approximate_presence_count?: number;
|
|
792
|
+
}
|
|
513
793
|
/** https://discord.com/developers/docs/topics/permissions#role-object-role-structure */
|
|
514
794
|
export interface DiscordRole {
|
|
515
795
|
/** Role id */
|
|
@@ -669,7 +949,7 @@ export interface DiscordChannel {
|
|
|
669
949
|
/** the default sort order type used to order posts in GUILD_FORUM channels. Defaults to null, which indicates a preferred sort order hasn't been set by a channel admin */
|
|
670
950
|
default_sort_order?: SortOrderTypes | null;
|
|
671
951
|
/** the default forum layout view used to display posts in `GUILD_FORUM` channels. Defaults to `0`, which indicates a layout view has not been set by a channel admin */
|
|
672
|
-
default_forum_layout?:
|
|
952
|
+
default_forum_layout?: ForumLayout;
|
|
673
953
|
/** When a thread is created this will be true on that channel payload for the thread. */
|
|
674
954
|
newly_created?: boolean;
|
|
675
955
|
}
|
|
@@ -889,7 +1169,7 @@ export interface DiscordMessage {
|
|
|
889
1169
|
mention_roles?: string[];
|
|
890
1170
|
/**
|
|
891
1171
|
* Channels specifically mentioned in this message
|
|
892
|
-
* Note: Not all channel mentions in a message will appear in `mention_channels`. Only textual channels that are visible to everyone in a
|
|
1172
|
+
* Note: Not all channel mentions in a message will appear in `mention_channels`. Only textual channels that are visible to everyone in a discoverable guild will ever be included. Only crossposted messages (via Channel Following) currently include `mention_channels` at all. If no mentions in the message meet these requirements, this field will not be sent.
|
|
893
1173
|
*/
|
|
894
1174
|
mention_channels?: DiscordChannelMention[];
|
|
895
1175
|
/** Any attached files */
|
|
@@ -1024,7 +1304,7 @@ export interface DiscordActionRow {
|
|
|
1024
1304
|
/** Action rows are a group of buttons. */
|
|
1025
1305
|
type: 1;
|
|
1026
1306
|
/** The components in this row */
|
|
1027
|
-
components:
|
|
1307
|
+
components: Array<DiscordSelectMenuComponent | DiscordButtonComponent | DiscordInputTextComponent>;
|
|
1028
1308
|
}
|
|
1029
1309
|
export interface DiscordSelectMenuComponent {
|
|
1030
1310
|
type: MessageComponentTypes.SelectMenu;
|
|
@@ -1036,6 +1316,8 @@ export interface DiscordSelectMenuComponent {
|
|
|
1036
1316
|
min_values?: number;
|
|
1037
1317
|
/** The maximum number of items that can be selected. Default 1. Between 1-25. */
|
|
1038
1318
|
max_values?: number;
|
|
1319
|
+
/** List of channel types to include in a channel select menu options list */
|
|
1320
|
+
channelTypes?: ChannelTypes[];
|
|
1039
1321
|
/** The choices! Maximum of 25 items. */
|
|
1040
1322
|
options: DiscordSelectOption[];
|
|
1041
1323
|
}
|
|
@@ -1600,8 +1882,8 @@ export interface DiscordCreateApplicationCommand {
|
|
|
1600
1882
|
name: string;
|
|
1601
1883
|
/** Localization object for `name` field. Values follow the same restrictions as `name` */
|
|
1602
1884
|
name_localizations?: Localization | null;
|
|
1603
|
-
/** Description for `ApplicationCommandTypes.ChatInput` commands, 1-100 characters.
|
|
1604
|
-
description
|
|
1885
|
+
/** Description for `ApplicationCommandTypes.ChatInput` commands, 1-100 characters. */
|
|
1886
|
+
description?: string;
|
|
1605
1887
|
/** Localization object for `description` field. Values follow the same restrictions as `description` */
|
|
1606
1888
|
description_localizations?: Localization | null;
|
|
1607
1889
|
/** Parameters for the command, max of 25 */
|
|
@@ -1805,6 +2087,8 @@ export interface DiscordMessageReactionAdd {
|
|
|
1805
2087
|
member?: DiscordMemberWithUser;
|
|
1806
2088
|
/** The emoji used to react */
|
|
1807
2089
|
emoji: Partial<DiscordEmoji>;
|
|
2090
|
+
/** The id of the author of this message */
|
|
2091
|
+
message_author_id?: string;
|
|
1808
2092
|
}
|
|
1809
2093
|
/** https://discord.com/developers/docs/topics/gateway#voice-server-update */
|
|
1810
2094
|
export interface DiscordVoiceServerUpdate {
|
|
@@ -2061,7 +2345,7 @@ export interface DiscordGuildWidgetSettings {
|
|
|
2061
2345
|
}
|
|
2062
2346
|
export interface DiscordInstallParams {
|
|
2063
2347
|
/** the scopes to add the application to the server with */
|
|
2064
|
-
scopes:
|
|
2348
|
+
scopes: OAuth2Scope[];
|
|
2065
2349
|
/** the permissions to request for the bot role */
|
|
2066
2350
|
permissions: string;
|
|
2067
2351
|
}
|
|
@@ -2143,7 +2427,7 @@ export interface DiscordModifyChannel {
|
|
|
2143
2427
|
/** the default sort order type used to order posts in forum channels */
|
|
2144
2428
|
default_sort_order?: SortOrderTypes | null;
|
|
2145
2429
|
/** the default forum layout view used to display posts in `GUILD_FORUM` channels. Defaults to `0`, which indicates a layout view has not been set by a channel admin */
|
|
2146
|
-
default_forum_layout?:
|
|
2430
|
+
default_forum_layout?: ForumLayout;
|
|
2147
2431
|
}
|
|
2148
2432
|
/** https://discord.com/developers/docs/resources/emoji#create-guild-emoji */
|
|
2149
2433
|
export interface DiscordCreateGuildEmoji {
|