chapterjs 0.1.2 → 0.2.0

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.
Files changed (318) hide show
  1. package/dist/assets/asset.d.ts +46 -0
  2. package/dist/assets/asset.js +86 -0
  3. package/dist/assets/public.d.ts +19 -0
  4. package/dist/assets/public.js +120 -0
  5. package/dist/cache/cache.d.ts +62 -0
  6. package/dist/cache/cache.js +80 -0
  7. package/dist/cache/store.d.ts +45 -0
  8. package/dist/cache/store.js +53 -0
  9. package/dist/cli/build.d.ts +41 -0
  10. package/dist/cli/build.js +205 -0
  11. package/dist/cli/cli.js +108 -25
  12. package/dist/cli/cluster.d.ts +70 -0
  13. package/dist/cli/cluster.js +213 -0
  14. package/dist/cli/dev.d.ts +18 -1
  15. package/dist/cli/dev.js +253 -198
  16. package/dist/cli/env.d.ts +31 -0
  17. package/dist/cli/env.js +93 -0
  18. package/dist/cli/log.d.ts +13 -0
  19. package/dist/cli/log.js +17 -0
  20. package/dist/cli/node-version.d.ts +8 -0
  21. package/dist/cli/node-version.js +13 -0
  22. package/dist/cli/preflight.d.ts +36 -0
  23. package/dist/cli/preflight.js +122 -0
  24. package/dist/cli/project.d.ts +135 -0
  25. package/dist/cli/project.js +517 -0
  26. package/dist/cli/start.d.ts +25 -0
  27. package/dist/cli/start.js +225 -0
  28. package/dist/commands/autocomplete.d.ts +13 -0
  29. package/dist/commands/autocomplete.js +159 -0
  30. package/dist/commands/command.d.ts +360 -0
  31. package/dist/commands/command.js +28 -0
  32. package/dist/commands/declaration.d.ts +77 -0
  33. package/dist/commands/declaration.js +492 -0
  34. package/dist/commands/register.d.ts +18 -0
  35. package/dist/commands/register.js +42 -0
  36. package/dist/commands/router.d.ts +20 -0
  37. package/dist/commands/router.js +228 -0
  38. package/dist/commands/tree.d.ts +47 -0
  39. package/dist/commands/tree.js +216 -0
  40. package/dist/commands/twins.d.ts +15 -0
  41. package/dist/commands/twins.js +78 -0
  42. package/dist/components/button.d.ts +79 -0
  43. package/dist/components/button.js +106 -0
  44. package/dist/components/component.d.ts +140 -0
  45. package/dist/components/component.js +39 -0
  46. package/dist/components/custom-id.d.ts +72 -0
  47. package/dist/components/custom-id.js +128 -0
  48. package/dist/components/declaration.d.ts +42 -0
  49. package/dist/components/declaration.js +342 -0
  50. package/dist/components/declared.d.ts +29 -0
  51. package/dist/components/declared.js +49 -0
  52. package/dist/components/embed.d.ts +29 -0
  53. package/dist/components/embed.js +11 -0
  54. package/dist/components/instance.d.ts +100 -0
  55. package/dist/components/instance.js +86 -0
  56. package/dist/components/layout.d.ts +103 -0
  57. package/dist/components/layout.js +279 -0
  58. package/dist/components/modal.d.ts +245 -0
  59. package/dist/components/modal.js +398 -0
  60. package/dist/components/options.d.ts +41 -0
  61. package/dist/components/options.js +101 -0
  62. package/dist/components/render.d.ts +12 -0
  63. package/dist/components/render.js +58 -0
  64. package/dist/components/router.d.ts +19 -0
  65. package/dist/components/router.js +251 -0
  66. package/dist/components/select.d.ts +146 -0
  67. package/dist/components/select.js +179 -0
  68. package/dist/core/bot.d.ts +99 -0
  69. package/dist/core/bot.js +174 -0
  70. package/dist/core/memory.d.ts +66 -0
  71. package/dist/core/memory.js +115 -0
  72. package/dist/discord/api.d.ts +112 -0
  73. package/dist/discord/api.js +115 -0
  74. package/dist/discord/cdn.d.ts +67 -0
  75. package/dist/discord/cdn.js +100 -0
  76. package/dist/discord/codes.d.ts +171 -0
  77. package/dist/discord/codes.js +421 -0
  78. package/dist/discord/endpoint.d.ts +56 -0
  79. package/dist/discord/endpoint.js +53 -0
  80. package/dist/discord/endpoints.d.ts +1529 -0
  81. package/dist/discord/endpoints.js +1139 -0
  82. package/dist/discord/formatting.d.ts +67 -0
  83. package/dist/discord/formatting.js +87 -0
  84. package/dist/discord/index.d.ts +10 -0
  85. package/dist/discord/index.js +13 -0
  86. package/dist/discord/intents.d.ts +48 -0
  87. package/dist/discord/intents.js +128 -0
  88. package/dist/discord/permissions.d.ts +94 -0
  89. package/dist/discord/permissions.js +185 -0
  90. package/dist/discord/snowflake.d.ts +21 -0
  91. package/dist/discord/snowflake.js +36 -0
  92. package/dist/discord/types/application-command.d.ts +332 -0
  93. package/dist/discord/types/application-command.js +48 -0
  94. package/dist/discord/types/application-role-connection-metadata.d.ts +42 -0
  95. package/dist/discord/types/application-role-connection-metadata.js +22 -0
  96. package/dist/discord/types/application.d.ts +208 -0
  97. package/dist/discord/types/application.js +48 -0
  98. package/dist/discord/types/audit-log.d.ts +255 -0
  99. package/dist/discord/types/audit-log.js +144 -0
  100. package/dist/discord/types/auto-moderation.d.ts +167 -0
  101. package/dist/discord/types/auto-moderation.js +52 -0
  102. package/dist/discord/types/channel.d.ts +557 -0
  103. package/dist/discord/types/channel.js +88 -0
  104. package/dist/discord/types/common.d.ts +54 -0
  105. package/dist/discord/types/common.js +38 -0
  106. package/dist/discord/types/component.d.ts +775 -0
  107. package/dist/discord/types/component.js +76 -0
  108. package/dist/discord/types/emoji.d.ts +74 -0
  109. package/dist/discord/types/emoji.js +1 -0
  110. package/dist/discord/types/entitlement.d.ts +84 -0
  111. package/dist/discord/types/entitlement.js +22 -0
  112. package/dist/discord/types/gateway-events.d.ts +1148 -0
  113. package/dist/discord/types/gateway-events.js +54 -0
  114. package/dist/discord/types/gateway.d.ts +38 -0
  115. package/dist/discord/types/gateway.js +1 -0
  116. package/dist/discord/types/guild-scheduled-event.d.ts +257 -0
  117. package/dist/discord/types/guild-scheduled-event.js +68 -0
  118. package/dist/discord/types/guild-template.d.ts +51 -0
  119. package/dist/discord/types/guild-template.js +1 -0
  120. package/dist/discord/types/guild.d.ts +910 -0
  121. package/dist/discord/types/guild.js +153 -0
  122. package/dist/discord/types/index.d.ts +31 -0
  123. package/dist/discord/types/index.js +31 -0
  124. package/dist/discord/types/interaction.d.ts +321 -0
  125. package/dist/discord/types/interaction.js +47 -0
  126. package/dist/discord/types/invite.d.ts +158 -0
  127. package/dist/discord/types/invite.js +39 -0
  128. package/dist/discord/types/message.d.ts +834 -0
  129. package/dist/discord/types/message.js +159 -0
  130. package/dist/discord/types/oauth2.d.ts +22 -0
  131. package/dist/discord/types/oauth2.js +1 -0
  132. package/dist/discord/types/permissions.d.ts +183 -0
  133. package/dist/discord/types/permissions.js +118 -0
  134. package/dist/discord/types/poll.d.ts +106 -0
  135. package/dist/discord/types/poll.js +8 -0
  136. package/dist/discord/types/sku.d.ts +47 -0
  137. package/dist/discord/types/sku.js +26 -0
  138. package/dist/discord/types/soundboard.d.ts +71 -0
  139. package/dist/discord/types/soundboard.js +1 -0
  140. package/dist/discord/types/stage-instance.d.ts +58 -0
  141. package/dist/discord/types/stage-instance.js +10 -0
  142. package/dist/discord/types/sticker.d.ts +115 -0
  143. package/dist/discord/types/sticker.js +20 -0
  144. package/dist/discord/types/subscription.d.ts +54 -0
  145. package/dist/discord/types/subscription.js +12 -0
  146. package/dist/discord/types/team.d.ts +55 -0
  147. package/dist/discord/types/team.js +21 -0
  148. package/dist/discord/types/user.d.ts +273 -0
  149. package/dist/discord/types/user.js +83 -0
  150. package/dist/discord/types/voice.d.ts +72 -0
  151. package/dist/discord/types/voice.js +1 -0
  152. package/dist/discord/types/webhook.d.ts +184 -0
  153. package/dist/discord/types/webhook.js +12 -0
  154. package/dist/events/declaration.d.ts +16 -0
  155. package/dist/events/declaration.js +80 -0
  156. package/dist/events/event.d.ts +45 -0
  157. package/dist/events/event.js +34 -0
  158. package/dist/events/registry.d.ts +697 -0
  159. package/dist/events/registry.js +839 -0
  160. package/dist/events/router.d.ts +46 -0
  161. package/dist/events/router.js +133 -0
  162. package/dist/gateway/errors.d.ts +18 -0
  163. package/dist/gateway/errors.js +47 -0
  164. package/dist/gateway/gateway.d.ts +64 -0
  165. package/dist/gateway/gateway.js +117 -0
  166. package/dist/gateway/identify-queue.d.ts +25 -0
  167. package/dist/gateway/identify-queue.js +29 -0
  168. package/dist/gateway/shard.d.ts +94 -0
  169. package/dist/gateway/shard.js +414 -0
  170. package/dist/gateway/state.d.ts +11 -0
  171. package/dist/gateway/state.js +184 -0
  172. package/dist/index.d.ts +57 -18
  173. package/dist/index.js +40 -12
  174. package/dist/interactions/cooldown.d.ts +33 -0
  175. package/dist/interactions/cooldown.js +74 -0
  176. package/dist/interactions/dispatch.d.ts +91 -0
  177. package/dist/interactions/dispatch.js +110 -0
  178. package/dist/loader/generated.d.ts +10 -0
  179. package/dist/loader/generated.js +80 -0
  180. package/dist/loader/hot.d.ts +13 -0
  181. package/dist/loader/hot.js +85 -0
  182. package/dist/loader/loader.d.ts +85 -0
  183. package/dist/loader/loader.js +119 -0
  184. package/dist/loader/locate.d.ts +10 -0
  185. package/dist/loader/locate.js +36 -0
  186. package/dist/loader/watch.d.ts +17 -0
  187. package/dist/loader/watch.js +66 -0
  188. package/dist/main.d.ts +2 -0
  189. package/dist/main.js +5 -0
  190. package/dist/messages/commands.d.ts +23 -0
  191. package/dist/messages/commands.js +142 -0
  192. package/dist/messages/declaration.d.ts +89 -0
  193. package/dist/messages/declaration.js +455 -0
  194. package/dist/messages/messages.d.ts +241 -0
  195. package/dist/messages/messages.js +31 -0
  196. package/dist/messages/phrases.d.ts +23 -0
  197. package/dist/messages/phrases.js +44 -0
  198. package/dist/messages/translate.d.ts +100 -0
  199. package/dist/messages/translate.js +249 -0
  200. package/dist/presence/declaration.d.ts +19 -0
  201. package/dist/presence/declaration.js +118 -0
  202. package/dist/presence/presence.d.ts +57 -0
  203. package/dist/presence/presence.js +27 -0
  204. package/dist/rest/errors.d.ts +55 -0
  205. package/dist/rest/errors.js +92 -0
  206. package/dist/rest/rate-limiter.d.ts +46 -0
  207. package/dist/rest/rate-limiter.js +153 -0
  208. package/dist/rest/rest.d.ts +63 -0
  209. package/dist/rest/rest.js +194 -0
  210. package/dist/structures/base.d.ts +48 -0
  211. package/dist/structures/base.js +84 -0
  212. package/dist/structures/channel.d.ts +380 -0
  213. package/dist/structures/channel.js +627 -0
  214. package/dist/structures/context.d.ts +30 -0
  215. package/dist/structures/context.js +7 -0
  216. package/dist/structures/emoji.d.ts +46 -0
  217. package/dist/structures/emoji.js +65 -0
  218. package/dist/structures/entities.d.ts +62 -0
  219. package/dist/structures/entities.js +226 -0
  220. package/dist/structures/guild.d.ts +348 -0
  221. package/dist/structures/guild.js +466 -0
  222. package/dist/structures/interaction.d.ts +197 -0
  223. package/dist/structures/interaction.js +396 -0
  224. package/dist/structures/invite.d.ts +38 -0
  225. package/dist/structures/invite.js +57 -0
  226. package/dist/structures/known.d.ts +28 -0
  227. package/dist/structures/known.js +58 -0
  228. package/dist/structures/member.d.ts +140 -0
  229. package/dist/structures/member.js +260 -0
  230. package/dist/structures/message.d.ts +197 -0
  231. package/dist/structures/message.js +268 -0
  232. package/dist/structures/payload.d.ts +91 -0
  233. package/dist/structures/payload.js +184 -0
  234. package/dist/structures/role.d.ts +69 -0
  235. package/dist/structures/role.js +112 -0
  236. package/dist/structures/user.d.ts +59 -0
  237. package/dist/structures/user.js +94 -0
  238. package/dist/structures/webhook.d.ts +46 -0
  239. package/dist/structures/webhook.js +79 -0
  240. package/dist/tasks/declaration.d.ts +16 -0
  241. package/dist/tasks/declaration.js +56 -0
  242. package/dist/tasks/schedule.d.ts +54 -0
  243. package/dist/tasks/schedule.js +236 -0
  244. package/dist/tasks/scheduler.d.ts +35 -0
  245. package/dist/tasks/scheduler.js +107 -0
  246. package/dist/tasks/task.d.ts +75 -0
  247. package/dist/tasks/task.js +27 -0
  248. package/dist/util/case.d.ts +13 -0
  249. package/dist/util/case.js +54 -0
  250. package/dist/util/duration.d.ts +8 -0
  251. package/dist/util/duration.js +29 -0
  252. package/dist/util/websocket.d.ts +9 -0
  253. package/dist/util/websocket.js +31 -0
  254. package/dist/voice/connection.d.ts +90 -0
  255. package/dist/voice/connection.js +494 -0
  256. package/dist/voice/dave.d.ts +109 -0
  257. package/dist/voice/dave.js +245 -0
  258. package/dist/voice/opus.d.ts +19 -0
  259. package/dist/voice/opus.js +273 -0
  260. package/dist/voice/session.d.ts +55 -0
  261. package/dist/voice/session.js +405 -0
  262. package/dist/voice/source.d.ts +22 -0
  263. package/dist/voice/source.js +195 -0
  264. package/dist/voice/transport.d.ts +43 -0
  265. package/dist/voice/transport.js +140 -0
  266. package/dist/voice/usage.d.ts +4 -0
  267. package/dist/voice/usage.js +33 -0
  268. package/package.json +26 -7
  269. package/vendor/dave/LICENSE +231 -0
  270. package/vendor/dave/libdave.d.mts +99 -0
  271. package/vendor/dave/libdave.mjs +2 -0
  272. package/vendor/dave/libdave.wasm +0 -0
  273. package/dist/components.d.ts +0 -97
  274. package/dist/components.js +0 -260
  275. package/dist/context.d.ts +0 -72
  276. package/dist/context.js +0 -273
  277. package/dist/discord/client.d.ts +0 -35
  278. package/dist/discord/client.js +0 -66
  279. package/dist/discord/constants.d.ts +0 -49
  280. package/dist/discord/constants.js +0 -61
  281. package/dist/discord/events.d.ts +0 -129
  282. package/dist/discord/events.js +0 -102
  283. package/dist/discord/gateway.d.ts +0 -61
  284. package/dist/discord/gateway.js +0 -320
  285. package/dist/discord/payloads.d.ts +0 -275
  286. package/dist/discord/payloads.js +0 -3
  287. package/dist/discord/presence.d.ts +0 -42
  288. package/dist/discord/presence.js +0 -51
  289. package/dist/discord/rest.d.ts +0 -49
  290. package/dist/discord/rest.js +0 -271
  291. package/dist/discord/types.d.ts +0 -334
  292. package/dist/discord/types.js +0 -4
  293. package/dist/events.d.ts +0 -94
  294. package/dist/events.js +0 -255
  295. package/dist/presence.d.ts +0 -92
  296. package/dist/presence.js +0 -250
  297. package/dist/structures/Channel.d.ts +0 -110
  298. package/dist/structures/Channel.js +0 -171
  299. package/dist/structures/Guild.d.ts +0 -70
  300. package/dist/structures/Guild.js +0 -105
  301. package/dist/structures/Interaction.d.ts +0 -113
  302. package/dist/structures/Interaction.js +0 -274
  303. package/dist/structures/Member.d.ts +0 -70
  304. package/dist/structures/Member.js +0 -124
  305. package/dist/structures/Message.d.ts +0 -87
  306. package/dist/structures/Message.js +0 -182
  307. package/dist/structures/Reaction.d.ts +0 -38
  308. package/dist/structures/Reaction.js +0 -64
  309. package/dist/structures/Role.d.ts +0 -43
  310. package/dist/structures/Role.js +0 -77
  311. package/dist/structures/User.d.ts +0 -41
  312. package/dist/structures/User.js +0 -79
  313. package/dist/structures/utils.d.ts +0 -72
  314. package/dist/structures/utils.js +0 -59
  315. package/dist/utils/errors.d.ts +0 -5
  316. package/dist/utils/errors.js +0 -28
  317. package/dist/utils/modules.d.ts +0 -39
  318. package/dist/utils/modules.js +0 -156
@@ -0,0 +1,1529 @@
1
+ import type { EditCurrentApplicationJSONParams, RawActivityInstance, RawApplication } from './types/application.js';
2
+ import type { BulkOverwriteGuildApplicationCommandsJSONParams, CreateGlobalApplicationCommandJSONParams, CreateGuildApplicationCommandJSONParams, EditApplicationCommandPermissionsJSONParams, EditGlobalApplicationCommandJSONParams, EditGuildApplicationCommandJSONParams, GetGlobalApplicationCommandsQuery, GetGuildApplicationCommandsQuery, RawApplicationCommand, RawGuildApplicationCommandPermissions } from './types/application-command.js';
3
+ import type { RawApplicationRoleConnectionMetadata } from './types/application-role-connection-metadata.js';
4
+ import type { GetGuildAuditLogQuery, RawAuditLog } from './types/audit-log.js';
5
+ import type { CreateAutoModerationRuleJSONParams, ModifyAutoModerationRuleJSONParams, RawAutoModerationRule } from './types/auto-moderation.js';
6
+ import type { CreateChannelInviteJSONParams, EditChannelPermissionsJSONParams, FollowAnnouncementChannelJSONParams, GetThreadMemberQuery, GroupDmAddRecipientJSONParams, ListJoinedPrivateArchivedThreadsQuery, ListJoinedPrivateArchivedThreadsResponse, ListPrivateArchivedThreadsQuery, ListPrivateArchivedThreadsResponse, ListPublicArchivedThreadsQuery, ListPublicArchivedThreadsResponse, ListThreadMembersQuery, ModifyChannelJSONParams, RawChannel, RawFollowedChannel, RawThreadMember, SetVoiceChannelStatusJSONParams, StartThreadFromMessageJSONParams, StartThreadInForumOrMediaChannelJSONParams, StartThreadWithoutMessageJSONParams } from './types/channel.js';
7
+ import type { Snowflake } from './types/common.js';
8
+ import type { CreateApplicationEmojiJSONParams, CreateGuildEmojiJSONParams, ModifyApplicationEmojiJSONParams, ModifyGuildEmojiJSONParams, RawEmoji } from './types/emoji.js';
9
+ import type { CreateTestEntitlementJSONParams, ListEntitlementsQuery, RawEntitlement } from './types/entitlement.js';
10
+ import type { RawGatewayBot } from './types/gateway.js';
11
+ import type { AddGuildMemberJSONParams, BeginGuildPruneJSONParams, BulkGuildBanJSONParams, CreateGuildBanJSONParams, CreateGuildChannelJSONParams, CreateGuildRoleJSONParams, GetGuildBansQuery, GetGuildPruneCountQuery, GetGuildQuery, ListActiveGuildThreadsResponse, ListGuildMembersQuery, ModifyCurrentMemberJSONParams, ModifyGuildChannelPositionsJSONParams, ModifyGuildIncidentActionsJSONParams, ModifyGuildJSONParams, ModifyGuildMemberJSONParams, ModifyGuildOnboardingJSONParams, ModifyGuildRoleJSONParams, ModifyGuildRolePositionsJSONParams, ModifyGuildWelcomeScreenJSONParams, RawBan, RawBulkBanResponse, RawGuild, RawGuildMember, RawGuildOnboarding, RawGuildPreview, RawGuildWidget, RawGuildWidgetSettings, RawIncidentsData, RawIntegration, RawWelcomeScreen, SearchGuildMembersQuery } from './types/guild.js';
12
+ import type { CreateGuildScheduledEventJSONParams, GetGuildScheduledEventQuery, GetGuildScheduledEventUsersQuery, ListScheduledEventsForGuildQuery, ModifyGuildScheduledEventJSONParams, RawGuildScheduledEvent, RawGuildScheduledEventUser } from './types/guild-scheduled-event.js';
13
+ import type { CreateGuildTemplateJSONParams, ModifyGuildTemplateJSONParams, RawGuildTemplate } from './types/guild-template.js';
14
+ import type { CreateInteractionResponseQuery, RawInteractionCallbackResponse, RawInteractionResponse } from './types/interaction.js';
15
+ import type { BulkAddTargetUsersJSONParams, BulkDeleteTargetUsersJSONParams, GetInviteQuery, RawInvite, RawInviteTargetUsersJob } from './types/invite.js';
16
+ import type { BulkDeleteMessagesJSONParams, CreateMessageJSONParams, EditMessageJSONParams, GetChannelMessagesQuery, GetChannelPinsQuery, GetChannelPinsResponse, GetReactionsQuery, RawMessage, SearchGuildMessagesQuery, SearchGuildMessagesResponse } from './types/message.js';
17
+ import type { GetCurrentAuthorizationInformationResponse } from './types/oauth2.js';
18
+ import type { RawRole } from './types/permissions.js';
19
+ import type { GetAnswerVotersQuery, GetAnswerVotersResponse } from './types/poll.js';
20
+ import type { RawSku } from './types/sku.js';
21
+ import type { CreateGuildSoundboardSoundJSONParams, ListGuildSoundboardSoundsResponse, ModifyGuildSoundboardSoundJSONParams, RawSoundboardSound, SendSoundboardSoundJSONParams } from './types/soundboard.js';
22
+ import type { CreateStageInstanceJSONParams, ModifyStageInstanceJSONParams, RawStageInstance } from './types/stage-instance.js';
23
+ import type { CreateGuildStickerJSONParams, ListStickerPacksResponse, ModifyGuildStickerJSONParams, RawSticker, RawStickerPack } from './types/sticker.js';
24
+ import type { ListSkuSubscriptionsQuery, RawSubscription } from './types/subscription.js';
25
+ import type { CreateDmJSONParams, CreateGroupDmJSONParams, GetCurrentUserGuildsQuery, ModifyCurrentUserJSONParams, RawApplicationRoleConnection, RawConnection, RawUser, UpdateCurrentUserApplicationRoleConnectionJSONParams } from './types/user.js';
26
+ import type { ModifyCurrentUserVoiceStateJSONParams, ModifyUserVoiceStateJSONParams, RawVoiceRegion, RawVoiceState } from './types/voice.js';
27
+ import type { CreateWebhookJSONParams, DeleteWebhookMessageQuery, EditWebhookMessageJSONParams, EditWebhookMessageQuery, ExecuteWebhookJSONParams, ExecuteWebhookQuery, GetWebhookMessageQuery, ModifyWebhookJSONParams, RawWebhook } from './types/webhook.js';
28
+ /**
29
+ * Returns the user object of the requester's account. For OAuth2, this requires the `identify` scope, which will return the object *without* an email, and optionally the `email` scope, which returns the object *with* an email if the user has one.
30
+ * @see https://docs.discord.com/developers/resources/user#get-current-user
31
+ */
32
+ export declare const GetCurrentUser: import("./endpoint.js").Endpoint<"/users/@me", {
33
+ result: RawUser;
34
+ }>;
35
+ /**
36
+ * Returns a user object for a given user ID.
37
+ * @see https://docs.discord.com/developers/resources/user#get-user
38
+ */
39
+ export declare const GetUser: import("./endpoint.js").Endpoint<"/users/{user.id}", {
40
+ result: RawUser;
41
+ }>;
42
+ /**
43
+ * Modify the requester's user account settings. Returns a user object on success. Fires a User Update Gateway event.
44
+ * @see https://docs.discord.com/developers/resources/user#modify-current-user
45
+ */
46
+ export declare const ModifyCurrentUser: import("./endpoint.js").Endpoint<"/users/@me", {
47
+ result: RawUser;
48
+ body: ModifyCurrentUserJSONParams;
49
+ }>;
50
+ /**
51
+ * Returns a list of partial guild objects the current user is a member of. For OAuth2, requires the `guilds` scope.
52
+ * @see https://docs.discord.com/developers/resources/user#get-current-user-guilds
53
+ */
54
+ export declare const GetCurrentUserGuilds: import("./endpoint.js").Endpoint<"/users/@me/guilds", {
55
+ result: RawGuild[];
56
+ query: GetCurrentUserGuildsQuery;
57
+ }>;
58
+ /**
59
+ * Returns a guild member object for the current user. Requires the `guilds.members.read` OAuth2 scope.
60
+ * @see https://docs.discord.com/developers/resources/user#get-current-user-guild-member
61
+ */
62
+ export declare const GetCurrentUserGuildMember: import("./endpoint.js").Endpoint<"/users/@me/guilds/{guild.id}/member", {
63
+ result: RawGuildMember;
64
+ }>;
65
+ /**
66
+ * Leave a guild. Returns a 204 empty response on success. Fires a Guild Delete Gateway event and a Guild Member Remove Gateway event.
67
+ * @see https://docs.discord.com/developers/resources/user#leave-guild
68
+ */
69
+ export declare const LeaveGuild: import("./endpoint.js").Endpoint<"/users/@me/guilds/{guild.id}", {}>;
70
+ /**
71
+ * Create a new DM channel with a user. Returns a DM channel object (if one already exists, it will be returned instead).
72
+ * @see https://docs.discord.com/developers/resources/user#create-dm
73
+ */
74
+ export declare const CreateDm: import("./endpoint.js").Endpoint<"/users/@me/channels", {
75
+ result: RawChannel;
76
+ body: CreateDmJSONParams;
77
+ }>;
78
+ /**
79
+ * Create a new group DM channel with multiple users. Returns a DM channel object. This endpoint was intended to be used with the now-deprecated GameBridge SDK. Fires a Channel Create Gateway event.
80
+ * @see https://docs.discord.com/developers/resources/user#create-group-dm
81
+ */
82
+ export declare const CreateGroupDm: import("./endpoint.js").Endpoint<"/users/@me/channels", {
83
+ result: RawChannel;
84
+ body: CreateGroupDmJSONParams;
85
+ }>;
86
+ /**
87
+ * Returns a list of connection objects. Requires the `connections` OAuth2 scope.
88
+ * @see https://docs.discord.com/developers/resources/user#get-current-user-connections
89
+ */
90
+ export declare const GetCurrentUserConnections: import("./endpoint.js").Endpoint<"/users/@me/connections", {
91
+ result: RawConnection[];
92
+ }>;
93
+ /**
94
+ * Returns the application role connection for the user. Requires an OAuth2 access token with `role_connections.write` scope for the application specified in the path.
95
+ * @see https://docs.discord.com/developers/resources/user#get-current-user-application-role-connection
96
+ */
97
+ export declare const GetCurrentUserApplicationRoleConnection: import("./endpoint.js").Endpoint<"/users/@me/applications/{application.id}/role-connection", {
98
+ result: RawApplicationRoleConnection;
99
+ }>;
100
+ /**
101
+ * Updates and returns the application role connection for the user. Requires an OAuth2 access token with `role_connections.write` scope for the application specified in the path.
102
+ * @see https://docs.discord.com/developers/resources/user#update-current-user-application-role-connection
103
+ */
104
+ export declare const UpdateCurrentUserApplicationRoleConnection: import("./endpoint.js").Endpoint<"/users/@me/applications/{application.id}/role-connection", {
105
+ result: RawApplicationRoleConnection;
106
+ body: UpdateCurrentUserApplicationRoleConnectionJSONParams;
107
+ }>;
108
+ /**
109
+ * Deletes the application role connection for the user. Requires an OAuth2 access token with `role_connections.write` scope for the application specified in the path.
110
+ * @see https://docs.discord.com/developers/resources/user#delete-current-user-application-role-connection
111
+ */
112
+ export declare const DeleteCurrentUserApplicationRoleConnection: import("./endpoint.js").Endpoint<"/users/@me/applications/{application.id}/role-connection", {}>;
113
+ /**
114
+ * Returns the guild object for the given id. If `with_counts` is set to `true`, this endpoint will also return `approximate_member_count` and `approximate_presence_count` for the guild.
115
+ * @see https://docs.discord.com/developers/resources/guild#get-guild
116
+ */
117
+ export declare const GetGuild: import("./endpoint.js").Endpoint<"/guilds/{guild.id}", {
118
+ result: RawGuild;
119
+ query: GetGuildQuery;
120
+ }>;
121
+ /**
122
+ * Returns the guild preview object for the given id.
123
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-preview
124
+ */
125
+ export declare const GetGuildPreview: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/preview", {
126
+ result: RawGuildPreview;
127
+ }>;
128
+ /**
129
+ * Modify a guild's settings. Requires the `MANAGE_GUILD` permission. Returns the updated guild object on success. Fires a Guild Update Gateway event.
130
+ * @see https://docs.discord.com/developers/resources/guild#modify-guild
131
+ */
132
+ export declare const ModifyGuild: import("./endpoint.js").Endpoint<"/guilds/{guild.id}", {
133
+ result: RawGuild;
134
+ body: ModifyGuildJSONParams;
135
+ }>;
136
+ /**
137
+ * Returns a list of guild channel objects. Does not include threads.
138
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-channels
139
+ */
140
+ export declare const GetGuildChannels: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/channels", {
141
+ result: RawChannel[];
142
+ }>;
143
+ /**
144
+ * Create a new channel object for the guild. Requires the `MANAGE_CHANNELS` permission. If setting permission overwrites, only permissions your bot has in the guild can be allowed/denied. Setting `MANAGE_ROLES` permission in channels is only possible for guild administrators. Returns the new channel object on success. Fires a Channel Create Gateway event.
145
+ * @see https://docs.discord.com/developers/resources/guild#create-guild-channel
146
+ */
147
+ export declare const CreateGuildChannel: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/channels", {
148
+ result: RawChannel;
149
+ body: CreateGuildChannelJSONParams;
150
+ }>;
151
+ /**
152
+ * Modify the positions of a set of channel objects for the guild. Requires `MANAGE_CHANNELS` permission. Returns a 204 empty response on success. Fires multiple Channel Update Gateway events.
153
+ * @see https://docs.discord.com/developers/resources/guild#modify-guild-channel-positions
154
+ */
155
+ export declare const ModifyGuildChannelPositions: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/channels", {
156
+ body: ModifyGuildChannelPositionsJSONParams[];
157
+ }>;
158
+ /**
159
+ * Returns all active threads in the guild, including public and private threads. Threads are ordered by their `id`, in descending order.
160
+ * @see https://docs.discord.com/developers/resources/guild#list-active-guild-threads
161
+ */
162
+ export declare const ListActiveGuildThreads: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/threads/active", {
163
+ result: ListActiveGuildThreadsResponse;
164
+ }>;
165
+ /**
166
+ * Returns a guild member object for the specified user.
167
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-member
168
+ */
169
+ export declare const GetGuildMember: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/members/{user.id}", {
170
+ result: RawGuildMember;
171
+ }>;
172
+ /**
173
+ * Returns a list of guild member objects that are members of the guild.
174
+ * @see https://docs.discord.com/developers/resources/guild#list-guild-members
175
+ */
176
+ export declare const ListGuildMembers: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/members", {
177
+ result: RawGuildMember[];
178
+ query: ListGuildMembersQuery;
179
+ }>;
180
+ /**
181
+ * Returns a list of guild member objects whose username or nickname starts with a provided string.
182
+ * @see https://docs.discord.com/developers/resources/guild#search-guild-members
183
+ */
184
+ export declare const SearchGuildMembers: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/members/search", {
185
+ result: RawGuildMember[];
186
+ query: SearchGuildMembersQuery;
187
+ }>;
188
+ /**
189
+ * Adds a user to the guild, provided you have a valid oauth2 access token for the user with the `guilds.join` scope. Returns a 201 Created with the guild member as the body, or 204 No Content if the user is already a member of the guild. Fires a Guild Member Add Gateway event.
190
+ * @see https://docs.discord.com/developers/resources/guild#add-guild-member
191
+ */
192
+ export declare const AddGuildMember: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/members/{user.id}", {
193
+ result: RawGuildMember | undefined;
194
+ body: AddGuildMemberJSONParams;
195
+ }>;
196
+ /**
197
+ * Modify attributes of a guild member. Returns a 200 OK with the guild member as the body. Fires a Guild Member Update Gateway event. If the `channel_id` is set to null, this will force the target user to be disconnected from voice.
198
+ * @see https://docs.discord.com/developers/resources/guild#modify-guild-member
199
+ */
200
+ export declare const ModifyGuildMember: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/members/{user.id}", {
201
+ result: RawGuildMember;
202
+ body: ModifyGuildMemberJSONParams;
203
+ }>;
204
+ /**
205
+ * Modifies the current member in a guild. Returns a 200 with the updated member object on success. Fires a Guild Member Update Gateway event.
206
+ * @see https://docs.discord.com/developers/resources/guild#modify-current-member
207
+ */
208
+ export declare const ModifyCurrentMember: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/members/@me", {
209
+ result: RawGuildMember;
210
+ body: ModifyCurrentMemberJSONParams;
211
+ }>;
212
+ /**
213
+ * Adds a role to a guild member. Requires the `MANAGE_ROLES` permission. Returns a 204 empty response on success. Fires a Guild Member Update Gateway event.
214
+ * @see https://docs.discord.com/developers/resources/guild#add-guild-member-role
215
+ */
216
+ export declare const AddGuildMemberRole: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/members/{user.id}/roles/{role.id}", {}>;
217
+ /**
218
+ * Removes a role from a guild member. Requires the `MANAGE_ROLES` permission. Returns a 204 empty response on success. Fires a Guild Member Update Gateway event.
219
+ * @see https://docs.discord.com/developers/resources/guild#remove-guild-member-role
220
+ */
221
+ export declare const RemoveGuildMemberRole: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/members/{user.id}/roles/{role.id}", {}>;
222
+ /**
223
+ * Remove a member from a guild. Requires `KICK_MEMBERS` permission. Returns a 204 empty response on success. Fires a Guild Member Remove Gateway event.
224
+ * @see https://docs.discord.com/developers/resources/guild#remove-guild-member
225
+ */
226
+ export declare const RemoveGuildMember: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/members/{user.id}", {}>;
227
+ /**
228
+ * Returns a list of ban objects for the users banned from this guild. Requires the `BAN_MEMBERS` or `VIEW_AUDIT_LOG` permission.
229
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-bans
230
+ */
231
+ export declare const GetGuildBans: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/bans", {
232
+ result: RawBan[];
233
+ query: GetGuildBansQuery;
234
+ }>;
235
+ /**
236
+ * Returns a ban object for the given user or a 404 not found if the ban cannot be found. Requires the `BAN_MEMBERS` or `VIEW_AUDIT_LOG` permission.
237
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-ban
238
+ */
239
+ export declare const GetGuildBan: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/bans/{user.id}", {
240
+ result: RawBan;
241
+ }>;
242
+ /**
243
+ * Create a guild ban, and optionally delete previous messages sent by the banned user. Requires the `BAN_MEMBERS` permission. Returns a 204 empty response on success. Fires a Guild Ban Add Gateway event.
244
+ * @see https://docs.discord.com/developers/resources/guild#create-guild-ban
245
+ */
246
+ export declare const CreateGuildBan: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/bans/{user.id}", {
247
+ body: CreateGuildBanJSONParams;
248
+ }>;
249
+ /**
250
+ * Remove the ban for a user. Requires the `BAN_MEMBERS` permissions. Returns a 204 empty response on success. Fires a Guild Ban Remove Gateway event.
251
+ * @see https://docs.discord.com/developers/resources/guild#remove-guild-ban
252
+ */
253
+ export declare const RemoveGuildBan: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/bans/{user.id}", {}>;
254
+ /**
255
+ * Ban up to 200 users from a guild, and optionally delete previous messages sent by the banned users. Requires both the `BAN_MEMBERS` and `MANAGE_GUILD` permissions. Returns a 200 response on success, including the fields `banned_users` with the IDs of the banned users and `failed_users` with IDs that could not be banned or were already banned.
256
+ * @see https://docs.discord.com/developers/resources/guild#bulk-guild-ban
257
+ */
258
+ export declare const BulkGuildBan: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/bulk-ban", {
259
+ result: RawBulkBanResponse;
260
+ body: BulkGuildBanJSONParams;
261
+ }>;
262
+ /**
263
+ * Returns a list of role objects for the guild.
264
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-roles
265
+ */
266
+ export declare const GetGuildRoles: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/roles", {
267
+ result: RawRole[];
268
+ }>;
269
+ /**
270
+ * Returns a role object for the specified role.
271
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-role
272
+ */
273
+ export declare const GetGuildRole: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/roles/{role.id}", {
274
+ result: RawRole;
275
+ }>;
276
+ /**
277
+ * Returns a map of role IDs to the number of members with the role. Does not include the @everyone role.
278
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-role-member-counts
279
+ */
280
+ export declare const GetGuildRoleMemberCounts: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/roles/member-counts", {
281
+ result: Record<Snowflake, number>;
282
+ }>;
283
+ /**
284
+ * Create a new role for the guild. Requires the `MANAGE_ROLES` permission. Returns the new role object on success. Fires a Guild Role Create Gateway event. All JSON params are optional.
285
+ * @see https://docs.discord.com/developers/resources/guild#create-guild-role
286
+ */
287
+ export declare const CreateGuildRole: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/roles", {
288
+ result: RawRole;
289
+ body: CreateGuildRoleJSONParams;
290
+ }>;
291
+ /**
292
+ * Modify the positions of a set of role objects for the guild. Requires the `MANAGE_ROLES` permission. Returns a list of all of the guild's role objects on success. Fires multiple Guild Role Update Gateway events.
293
+ * @see https://docs.discord.com/developers/resources/guild#modify-guild-role-positions
294
+ */
295
+ export declare const ModifyGuildRolePositions: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/roles", {
296
+ result: RawRole[];
297
+ body: ModifyGuildRolePositionsJSONParams[];
298
+ }>;
299
+ /**
300
+ * Modify a guild role. Requires the `MANAGE_ROLES` permission. Returns the updated role on success. Fires a Guild Role Update Gateway event.
301
+ * @see https://docs.discord.com/developers/resources/guild#modify-guild-role
302
+ */
303
+ export declare const ModifyGuildRole: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/roles/{role.id}", {
304
+ result: RawRole;
305
+ body: ModifyGuildRoleJSONParams;
306
+ }>;
307
+ /**
308
+ * Delete a guild role. Requires the `MANAGE_ROLES` permission. Returns a 204 empty response on success. Fires a Guild Role Delete Gateway event.
309
+ * @see https://docs.discord.com/developers/resources/guild#delete-guild-role
310
+ */
311
+ export declare const DeleteGuildRole: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/roles/{role.id}", {}>;
312
+ /**
313
+ * Returns an object with one `pruned` key indicating the number of members that would be removed in a prune operation. Requires the `MANAGE_GUILD` and `KICK_MEMBERS` permissions, unless the guild has the `PRUNE_REQUIRES_ADMIN` guild feature, in which case it requires the `ADMINISTRATOR` permission.
314
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-prune-count
315
+ */
316
+ export declare const GetGuildPruneCount: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/prune", {
317
+ result: {
318
+ pruned: number;
319
+ };
320
+ query: GetGuildPruneCountQuery;
321
+ }>;
322
+ /**
323
+ * Begin a prune operation. Requires the `MANAGE_GUILD` and `KICK_MEMBERS` permissions, unless the guild has the `PRUNE_REQUIRES_ADMIN` guild feature, in which case it requires the `ADMINISTRATOR` permission. Returns an object with one `pruned` key indicating the number of members that were removed in the prune operation. For large guilds it's recommended to set the `compute_prune_count` option to `false`, forcing `pruned` to `null`. Fires multiple Guild Member Remove Gateway events.
324
+ * @see https://docs.discord.com/developers/resources/guild#begin-guild-prune
325
+ */
326
+ export declare const BeginGuildPrune: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/prune", {
327
+ result: {
328
+ pruned: number | null;
329
+ };
330
+ body: BeginGuildPruneJSONParams;
331
+ }>;
332
+ /**
333
+ * Returns a list of voice region objects for the guild. Unlike the similar `/voice` route, this returns VIP servers when the guild is VIP-enabled.
334
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-voice-regions
335
+ */
336
+ export declare const GetGuildVoiceRegions: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/regions", {
337
+ result: RawVoiceRegion[];
338
+ }>;
339
+ /**
340
+ * Returns a list of invite objects. Requires the `MANAGE_GUILD` or `VIEW_AUDIT_LOG` permission. Invite Metadata is included with the `MANAGE_GUILD` permission.
341
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-invites
342
+ */
343
+ export declare const GetGuildInvites: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/invites", {
344
+ result: RawInvite[];
345
+ }>;
346
+ /**
347
+ * Returns a list of integration objects for the guild. Requires the `MANAGE_GUILD` permission.
348
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-integrations
349
+ */
350
+ export declare const GetGuildIntegrations: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/integrations", {
351
+ result: RawIntegration[];
352
+ }>;
353
+ /**
354
+ * Delete the attached integration object for the guild. Deletes any associated webhooks and kicks the associated bot if there is one. Requires the `MANAGE_GUILD` permission. Returns a 204 empty response on success. Fires Guild Integrations Update and Integration Delete Gateway events.
355
+ * @see https://docs.discord.com/developers/resources/guild#delete-guild-integration
356
+ */
357
+ export declare const DeleteGuildIntegration: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/integrations/{integration.id}", {}>;
358
+ /**
359
+ * Returns a guild widget settings object. Requires the `MANAGE_GUILD` permission.
360
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-widget-settings
361
+ */
362
+ export declare const GetGuildWidgetSettings: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/widget", {
363
+ result: RawGuildWidgetSettings;
364
+ }>;
365
+ /**
366
+ * Modify a guild widget settings object for the guild. All attributes may be passed in with JSON and modified. Requires the `MANAGE_GUILD` permission. Returns the updated guild widget settings object. Fires a Guild Update Gateway event.
367
+ * @see https://docs.discord.com/developers/resources/guild#modify-guild-widget
368
+ */
369
+ export declare const ModifyGuildWidget: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/widget", {
370
+ result: RawGuildWidgetSettings;
371
+ body: Partial<RawGuildWidgetSettings>;
372
+ }>;
373
+ /**
374
+ * Returns the widget for the guild. Fires an Invite Create Gateway event when an invite channel is defined and a new Invite is generated.
375
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-widget
376
+ */
377
+ export declare const GetGuildWidget: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/widget.json", {
378
+ result: RawGuildWidget;
379
+ }>;
380
+ /**
381
+ * Returns a partial invite object for guilds with that feature enabled. Requires the `MANAGE_GUILD` permission. `code` will be null if a vanity url for the guild is not set.
382
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-vanity-url
383
+ */
384
+ export declare const GetGuildVanityUrl: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/vanity-url", {
385
+ result: RawInvite;
386
+ }>;
387
+ /**
388
+ * Returns the Welcome Screen object for the guild. If the welcome screen is not enabled, the `MANAGE_GUILD` permission is required.
389
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-welcome-screen
390
+ */
391
+ export declare const GetGuildWelcomeScreen: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/welcome-screen", {
392
+ result: RawWelcomeScreen;
393
+ }>;
394
+ /**
395
+ * Modify the guild's Welcome Screen. Requires the `MANAGE_GUILD` permission. Returns the updated Welcome Screen object. May fire a Guild Update Gateway event.
396
+ * @see https://docs.discord.com/developers/resources/guild#modify-guild-welcome-screen
397
+ */
398
+ export declare const ModifyGuildWelcomeScreen: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/welcome-screen", {
399
+ result: RawWelcomeScreen;
400
+ body: ModifyGuildWelcomeScreenJSONParams;
401
+ }>;
402
+ /**
403
+ * Returns the Onboarding object for the guild.
404
+ * @see https://docs.discord.com/developers/resources/guild#get-guild-onboarding
405
+ */
406
+ export declare const GetGuildOnboarding: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/onboarding", {
407
+ result: RawGuildOnboarding;
408
+ }>;
409
+ /**
410
+ * Modifies the onboarding configuration of the guild. Returns a 200 with the Onboarding object for the guild. Requires the `MANAGE_GUILD` and `MANAGE_ROLES` permissions.
411
+ * @see https://docs.discord.com/developers/resources/guild#modify-guild-onboarding
412
+ */
413
+ export declare const ModifyGuildOnboarding: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/onboarding", {
414
+ result: RawGuildOnboarding;
415
+ body: ModifyGuildOnboardingJSONParams;
416
+ }>;
417
+ /**
418
+ * Modifies the incident actions of the guild. Returns a 200 with the Incidents Data object for the guild. Requires the `MANAGE_GUILD` permission.
419
+ * @see https://docs.discord.com/developers/resources/guild#modify-guild-incident-actions
420
+ */
421
+ export declare const ModifyGuildIncidentActions: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/incident-actions", {
422
+ result: RawIncidentsData;
423
+ body: ModifyGuildIncidentActionsJSONParams;
424
+ }>;
425
+ /**
426
+ * Get a channel by ID. Returns a channel object. If the channel is a thread, a thread member object is included in the returned result.
427
+ * @see https://docs.discord.com/developers/resources/channel#get-channel
428
+ */
429
+ export declare const GetChannel: import("./endpoint.js").Endpoint<"/channels/{channel.id}", {
430
+ result: RawChannel;
431
+ }>;
432
+ /**
433
+ * Update a channel's settings. Returns a channel on success, and a 400 BAD REQUEST on invalid parameters.
434
+ * @see https://docs.discord.com/developers/resources/channel#modify-channel
435
+ */
436
+ export declare const ModifyChannel: import("./endpoint.js").Endpoint<"/channels/{channel.id}", {
437
+ result: RawChannel;
438
+ body: ModifyChannelJSONParams;
439
+ }>;
440
+ /**
441
+ * Set a voice channel's status. Requires the `SET_VOICE_CHANNEL_STATUS` permission, and additionally the `MANAGE_CHANNELS` permission if the current user is not connected to the voice channel. Fires a Voice Channel Status Update Gateway event.
442
+ * @see https://docs.discord.com/developers/resources/channel#set-voice-channel-status
443
+ */
444
+ export declare const SetVoiceChannelStatus: import("./endpoint.js").Endpoint<"/channels/{channel.id}/voice-status", {
445
+ body: SetVoiceChannelStatusJSONParams;
446
+ }>;
447
+ /**
448
+ * Delete a channel, or close a private message. Requires the `MANAGE_CHANNELS` permission for the guild, or `MANAGE_THREADS` if the channel is a thread. Deleting a category does not delete its child channels; they will have their `parent_id` removed and a Channel Update Gateway event will fire for each of them. Returns a channel object on success. Fires a Channel Delete Gateway event (or Thread Delete if the channel was a thread).
449
+ * @see https://docs.discord.com/developers/resources/channel#deleteclose-channel
450
+ */
451
+ export declare const DeleteCloseChannel: import("./endpoint.js").Endpoint<"/channels/{channel.id}", {
452
+ result: RawChannel;
453
+ }>;
454
+ /**
455
+ * Edit the channel permission overwrites for a user or role in a channel. Only usable for guild channels. Requires the `MANAGE_ROLES` permission. Only permissions your bot has in the guild or parent channel (if applicable) can be allowed/denied (unless your bot has a `MANAGE_ROLES` overwrite in the channel). Returns a 204 empty response on success. Fires a Channel Update Gateway event. For more information about permissions, see permissions.
456
+ * @see https://docs.discord.com/developers/resources/channel#edit-channel-permissions
457
+ */
458
+ export declare const EditChannelPermissions: import("./endpoint.js").Endpoint<"/channels/{channel.id}/permissions/{overwrite.id}", {
459
+ body: EditChannelPermissionsJSONParams;
460
+ }>;
461
+ /**
462
+ * Returns a list of invite objects (with invite metadata) for the channel. Only usable for guild channels. Requires the `MANAGE_CHANNELS` permission.
463
+ * @see https://docs.discord.com/developers/resources/channel#get-channel-invites
464
+ */
465
+ export declare const GetChannelInvites: import("./endpoint.js").Endpoint<"/channels/{channel.id}/invites", {
466
+ result: RawInvite[];
467
+ }>;
468
+ /**
469
+ * Create a new invite object for the channel. Only usable for guild channels. Requires the `CREATE_INSTANT_INVITE` permission. All JSON parameters for this route are optional, however the request body is not. If you are not sending any fields, you still have to send an empty JSON object (`{}`). Returns an invite object. Fires an Invite Create Gateway event.
470
+ * @see https://docs.discord.com/developers/resources/channel#create-channel-invite
471
+ */
472
+ export declare const CreateChannelInvite: import("./endpoint.js").Endpoint<"/channels/{channel.id}/invites", {
473
+ result: RawInvite;
474
+ body: CreateChannelInviteJSONParams;
475
+ }>;
476
+ /**
477
+ * Delete a channel permission overwrite for a user or role in a channel. Only usable for guild channels. Requires the `MANAGE_ROLES` permission. Returns a 204 empty response on success. Fires a Channel Update Gateway event. For more information about permissions, see permissions
478
+ * @see https://docs.discord.com/developers/resources/channel#delete-channel-permission
479
+ */
480
+ export declare const DeleteChannelPermission: import("./endpoint.js").Endpoint<"/channels/{channel.id}/permissions/{overwrite.id}", {}>;
481
+ /**
482
+ * Follow an Announcement Channel to send messages to a target channel. Requires the `MANAGE_WEBHOOKS` permission in the target channel. Returns a followed channel object. Fires a Webhooks Update Gateway event for the target channel.
483
+ * @see https://docs.discord.com/developers/resources/channel#follow-announcement-channel
484
+ */
485
+ export declare const FollowAnnouncementChannel: import("./endpoint.js").Endpoint<"/channels/{channel.id}/followers", {
486
+ result: RawFollowedChannel;
487
+ body: FollowAnnouncementChannelJSONParams;
488
+ }>;
489
+ /**
490
+ * Post a typing indicator for the specified channel, which expires after 10 seconds. Returns a 204 empty response on success. Fires a Typing Start Gateway event.
491
+ * @see https://docs.discord.com/developers/resources/channel#trigger-typing-indicator
492
+ */
493
+ export declare const TriggerTypingIndicator: import("./endpoint.js").Endpoint<"/channels/{channel.id}/typing", {}>;
494
+ /**
495
+ * Adds a recipient to a Group DM using their access token.
496
+ * @see https://docs.discord.com/developers/resources/channel#group-dm-add-recipient
497
+ */
498
+ export declare const GroupDmAddRecipient: import("./endpoint.js").Endpoint<"/channels/{channel.id}/recipients/{user.id}", {
499
+ body: GroupDmAddRecipientJSONParams;
500
+ }>;
501
+ /**
502
+ * Removes a recipient from a Group DM.
503
+ * @see https://docs.discord.com/developers/resources/channel#group-dm-remove-recipient
504
+ */
505
+ export declare const GroupDmRemoveRecipient: import("./endpoint.js").Endpoint<"/channels/{channel.id}/recipients/{user.id}", {}>;
506
+ /**
507
+ * Creates a new thread from an existing message. Returns a channel on success, and a 400 BAD REQUEST on invalid parameters. Fires a Thread Create and a Message Update Gateway event.
508
+ * @see https://docs.discord.com/developers/resources/channel#start-thread-from-message
509
+ */
510
+ export declare const StartThreadFromMessage: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}/threads", {
511
+ result: RawChannel;
512
+ body: StartThreadFromMessageJSONParams;
513
+ }>;
514
+ /**
515
+ * Creates a new thread that is not connected to an existing message. Returns a channel on success, and a 400 BAD REQUEST on invalid parameters. Fires a Thread Create Gateway event.
516
+ * @see https://docs.discord.com/developers/resources/channel#start-thread-without-message
517
+ */
518
+ export declare const StartThreadWithoutMessage: import("./endpoint.js").Endpoint<"/channels/{channel.id}/threads", {
519
+ result: RawChannel;
520
+ body: StartThreadWithoutMessageJSONParams;
521
+ }>;
522
+ /**
523
+ * Creates a new thread in a forum or a media channel, and sends a message within the created thread. Returns a channel, with a nested message object, on success, and a 400 BAD REQUEST on invalid parameters. Fires a Thread Create and Message Create Gateway event.
524
+ * @see https://docs.discord.com/developers/resources/channel#start-thread-in-forum-or-media-channel
525
+ */
526
+ export declare const StartThreadInForumOrMediaChannel: import("./endpoint.js").Endpoint<"/channels/{channel.id}/threads", {
527
+ result: RawChannel & {
528
+ message: RawMessage;
529
+ };
530
+ body: StartThreadInForumOrMediaChannelJSONParams;
531
+ }>;
532
+ /**
533
+ * Adds the current user to a thread. Also requires the thread is not archived. Returns a 204 empty response on success. Fires a Thread Members Update and a Thread Create Gateway event.
534
+ * @see https://docs.discord.com/developers/resources/channel#join-thread
535
+ */
536
+ export declare const JoinThread: import("./endpoint.js").Endpoint<"/channels/{channel.id}/thread-members/@me", {}>;
537
+ /**
538
+ * Adds another member to a thread. Requires the ability to send messages in the thread. Also requires the thread is not archived. Returns a 204 empty response if the member is successfully added or was already a member of the thread. Fires a Thread Members Update Gateway event.
539
+ * @see https://docs.discord.com/developers/resources/channel#add-thread-member
540
+ */
541
+ export declare const AddThreadMember: import("./endpoint.js").Endpoint<"/channels/{channel.id}/thread-members/{user.id}", {}>;
542
+ /**
543
+ * Removes the current user from a thread. Also requires the thread is not archived. Returns a 204 empty response on success. Fires a Thread Members Update Gateway event.
544
+ * @see https://docs.discord.com/developers/resources/channel#leave-thread
545
+ */
546
+ export declare const LeaveThread: import("./endpoint.js").Endpoint<"/channels/{channel.id}/thread-members/@me", {}>;
547
+ /**
548
+ * Removes another member from a thread. Requires the `MANAGE_THREADS` permission, or the creator of the thread if it is a `PRIVATE_THREAD`. Also requires the thread is not archived. Returns a 204 empty response on success. Fires a Thread Members Update Gateway event.
549
+ * @see https://docs.discord.com/developers/resources/channel#remove-thread-member
550
+ */
551
+ export declare const RemoveThreadMember: import("./endpoint.js").Endpoint<"/channels/{channel.id}/thread-members/{user.id}", {}>;
552
+ /**
553
+ * Returns a thread member object for the specified user if they are a member of the thread, returns a 404 response otherwise.
554
+ * @see https://docs.discord.com/developers/resources/channel#get-thread-member
555
+ */
556
+ export declare const GetThreadMember: import("./endpoint.js").Endpoint<"/channels/{channel.id}/thread-members/{user.id}", {
557
+ result: RawThreadMember;
558
+ query: GetThreadMemberQuery;
559
+ }>;
560
+ /**
561
+ *
562
+ * @see https://docs.discord.com/developers/resources/channel#list-thread-members
563
+ */
564
+ export declare const ListThreadMembers: import("./endpoint.js").Endpoint<"/channels/{channel.id}/thread-members", {
565
+ result: RawThreadMember[];
566
+ query: ListThreadMembersQuery;
567
+ }>;
568
+ /**
569
+ * Returns archived threads in the channel that are public. When called on a `GUILD_TEXT` channel, returns threads of type `PUBLIC_THREAD`. When called on a `GUILD_ANNOUNCEMENT` channel returns threads of type `ANNOUNCEMENT_THREAD`. Threads are ordered by `archive_timestamp`, in descending order. Requires the `READ_MESSAGE_HISTORY` permission.
570
+ * @see https://docs.discord.com/developers/resources/channel#list-public-archived-threads
571
+ */
572
+ export declare const ListPublicArchivedThreads: import("./endpoint.js").Endpoint<"/channels/{channel.id}/threads/archived/public", {
573
+ result: ListPublicArchivedThreadsResponse;
574
+ query: ListPublicArchivedThreadsQuery;
575
+ }>;
576
+ /**
577
+ * Returns archived threads in the channel that are of type `PRIVATE_THREAD`. Threads are ordered by `archive_timestamp`, in descending order. Requires both the `READ_MESSAGE_HISTORY` and `MANAGE_THREADS` permissions.
578
+ * @see https://docs.discord.com/developers/resources/channel#list-private-archived-threads
579
+ */
580
+ export declare const ListPrivateArchivedThreads: import("./endpoint.js").Endpoint<"/channels/{channel.id}/threads/archived/private", {
581
+ result: ListPrivateArchivedThreadsResponse;
582
+ query: ListPrivateArchivedThreadsQuery;
583
+ }>;
584
+ /**
585
+ * Returns archived threads in the channel that are of type `PRIVATE_THREAD`, and the user has joined. Threads are ordered by their `id`, in descending order. Requires the `READ_MESSAGE_HISTORY` permission.
586
+ * @see https://docs.discord.com/developers/resources/channel#list-joined-private-archived-threads
587
+ */
588
+ export declare const ListJoinedPrivateArchivedThreads: import("./endpoint.js").Endpoint<"/channels/{channel.id}/users/@me/threads/archived/private", {
589
+ result: ListJoinedPrivateArchivedThreadsResponse;
590
+ query: ListJoinedPrivateArchivedThreadsQuery;
591
+ }>;
592
+ /**
593
+ * Retrieves the messages in a channel. Returns an array of message objects from newest to oldest on success.
594
+ * @see https://docs.discord.com/developers/resources/message#get-channel-messages
595
+ */
596
+ export declare const GetChannelMessages: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages", {
597
+ result: RawMessage[];
598
+ query: GetChannelMessagesQuery;
599
+ }>;
600
+ /**
601
+ * Returns a list of messages without the `reactions` key that match a search query in the guild. Requires the `READ_MESSAGE_HISTORY` permission.
602
+ * @see https://docs.discord.com/developers/resources/message#search-guild-messages
603
+ */
604
+ export declare const SearchGuildMessages: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/messages/search", {
605
+ result: SearchGuildMessagesResponse;
606
+ query: SearchGuildMessagesQuery;
607
+ }>;
608
+ /**
609
+ * Retrieves a specific message in the channel. Returns a message object on success.
610
+ * @see https://docs.discord.com/developers/resources/message#get-channel-message
611
+ */
612
+ export declare const GetChannelMessage: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}", {
613
+ result: RawMessage;
614
+ }>;
615
+ /**
616
+ *
617
+ * @see https://docs.discord.com/developers/resources/message#create-message
618
+ */
619
+ export declare const CreateMessage: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages", {
620
+ result: RawMessage;
621
+ body: CreateMessageJSONParams;
622
+ }>;
623
+ /**
624
+ * Crosspost a message in an Announcement Channel to following channels. This endpoint requires the `SEND_MESSAGES` permission, if the current user sent the message, or additionally the `MANAGE_MESSAGES` permission, for all other messages, to be present for the current user.
625
+ * @see https://docs.discord.com/developers/resources/message#crosspost-message
626
+ */
627
+ export declare const CrosspostMessage: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}/crosspost", {
628
+ result: RawMessage;
629
+ }>;
630
+ /**
631
+ * Create a reaction for the message. This endpoint requires the `READ_MESSAGE_HISTORY` permission to be present on the current user. Additionally, if nobody else has reacted to the message using this emoji, this endpoint requires the `ADD_REACTIONS` permission to be present on the current user. Returns a 204 empty response on success. Fires a Message Reaction Add Gateway event.
632
+ * @see https://docs.discord.com/developers/resources/message#create-reaction
633
+ */
634
+ export declare const CreateReaction: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}/reactions/{emoji.id}/@me", {}>;
635
+ /**
636
+ * Delete a reaction the current user has made for the message. Returns a 204 empty response on success. Fires a Message Reaction Remove Gateway event.
637
+ * @see https://docs.discord.com/developers/resources/message#delete-own-reaction
638
+ */
639
+ export declare const DeleteOwnReaction: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}/reactions/{emoji.id}/@me", {}>;
640
+ /**
641
+ * Deletes another user's reaction. This endpoint requires the `MANAGE_MESSAGES` permission to be present on the current user. Returns a 204 empty response on success. Fires a Message Reaction Remove Gateway event.
642
+ * @see https://docs.discord.com/developers/resources/message#delete-user-reaction
643
+ */
644
+ export declare const DeleteUserReaction: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}/reactions/{emoji.id}/{user.id}", {}>;
645
+ /**
646
+ * Get a list of users that reacted with this emoji. Returns an array of user objects on success.
647
+ * @see https://docs.discord.com/developers/resources/message#get-reactions
648
+ */
649
+ export declare const GetReactions: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}/reactions/{emoji.id}", {
650
+ result: RawUser[];
651
+ query: GetReactionsQuery;
652
+ }>;
653
+ /**
654
+ * Deletes all reactions on a message. This endpoint requires the `MANAGE_MESSAGES` permission to be present on the current user. Fires a Message Reaction Remove All Gateway event.
655
+ * @see https://docs.discord.com/developers/resources/message#delete-all-reactions
656
+ */
657
+ export declare const DeleteAllReactions: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}/reactions", {}>;
658
+ /**
659
+ * Deletes all the reactions for a given emoji on a message. This endpoint requires the `MANAGE_MESSAGES` permission to be present on the current user. Fires a Message Reaction Remove Emoji Gateway event.
660
+ * @see https://docs.discord.com/developers/resources/message#delete-all-reactions-for-emoji
661
+ */
662
+ export declare const DeleteAllReactionsForEmoji: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}/reactions/{emoji.id}", {}>;
663
+ /**
664
+ * Edit a previously sent message. The fields `content`, `embeds`, `flags` and `components` can be edited by the original message author. Other users can only edit `flags` and only if they have the `MANAGE_MESSAGES` permission in the corresponding channel. When specifying flags, ensure to include all previously set flags/bits in addition to ones that you are modifying. Only `flags` documented in the table below may be modified by users (unsupported flag changes are currently ignored without error).
665
+ * @see https://docs.discord.com/developers/resources/message#edit-message
666
+ */
667
+ export declare const EditMessage: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}", {
668
+ result: RawMessage;
669
+ body: EditMessageJSONParams;
670
+ }>;
671
+ /**
672
+ * Delete a message. If operating on a guild channel and trying to delete a message that was not sent by the current user, this endpoint requires the `MANAGE_MESSAGES` permission. Returns a 204 empty response on success. Fires a Message Delete Gateway event.
673
+ * @see https://docs.discord.com/developers/resources/message#delete-message
674
+ */
675
+ export declare const DeleteMessage: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/{message.id}", {}>;
676
+ /**
677
+ * Delete multiple messages in a single request. This endpoint can only be used on guild channels and requires the `MANAGE_MESSAGES` permission. Returns a 204 empty response on success. Fires a Message Delete Bulk Gateway event.
678
+ * @see https://docs.discord.com/developers/resources/message#bulk-delete-messages
679
+ */
680
+ export declare const BulkDeleteMessages: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/bulk-delete", {
681
+ body: BulkDeleteMessagesJSONParams;
682
+ }>;
683
+ /**
684
+ * Retrieves the list of pins in a channel. Requires the `VIEW_CHANNEL` permission. If the user is missing the `READ_MESSAGE_HISTORY` permission in the channel, then no pins will be returned.
685
+ * @see https://docs.discord.com/developers/resources/message#get-channel-pins
686
+ */
687
+ export declare const GetChannelPins: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/pins", {
688
+ result: GetChannelPinsResponse;
689
+ query: GetChannelPinsQuery;
690
+ }>;
691
+ /**
692
+ * Pin a message in a channel. Requires the `PIN_MESSAGES` permission. Fires a Channel Pins Update Gateway event.
693
+ * @see https://docs.discord.com/developers/resources/message#pin-message
694
+ */
695
+ export declare const PinMessage: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/pins/{message.id}", {}>;
696
+ /**
697
+ * Unpin a message in a channel. Requires the `PIN_MESSAGES` permission. Returns a 204 empty response on success. Fires a Channel Pins Update Gateway event.
698
+ * @see https://docs.discord.com/developers/resources/message#unpin-message
699
+ */
700
+ export declare const UnpinMessage: import("./endpoint.js").Endpoint<"/channels/{channel.id}/messages/pins/{message.id}", {}>;
701
+ /**
702
+ * Returns a list of emoji objects for the given guild. Includes `user` fields if the bot has the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission.
703
+ * @see https://docs.discord.com/developers/resources/emoji#list-guild-emojis
704
+ */
705
+ export declare const ListGuildEmojis: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/emojis", {
706
+ result: RawEmoji[];
707
+ }>;
708
+ /**
709
+ * Returns an emoji object for the given guild and emoji IDs. Includes the `user` field if the bot has the `MANAGE_GUILD_EXPRESSIONS` permission, or if the bot created the emoji and has the `CREATE_GUILD_EXPRESSIONS` permission.
710
+ * @see https://docs.discord.com/developers/resources/emoji#get-guild-emoji
711
+ */
712
+ export declare const GetGuildEmoji: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/emojis/{emoji.id}", {
713
+ result: RawEmoji;
714
+ }>;
715
+ /**
716
+ * Create a new emoji for the guild. Requires the `CREATE_GUILD_EXPRESSIONS` permission. Returns the new emoji object on success. Fires a Guild Emojis Update Gateway event.
717
+ * @see https://docs.discord.com/developers/resources/emoji#create-guild-emoji
718
+ */
719
+ export declare const CreateGuildEmoji: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/emojis", {
720
+ result: RawEmoji;
721
+ body: CreateGuildEmojiJSONParams;
722
+ }>;
723
+ /**
724
+ * Modify the given emoji. For emojis created by the current user, requires either the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission. For other emojis, requires the `MANAGE_GUILD_EXPRESSIONS` permission. Returns the updated emoji object on success. Fires a Guild Emojis Update Gateway event.
725
+ * @see https://docs.discord.com/developers/resources/emoji#modify-guild-emoji
726
+ */
727
+ export declare const ModifyGuildEmoji: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/emojis/{emoji.id}", {
728
+ result: RawEmoji;
729
+ body: ModifyGuildEmojiJSONParams;
730
+ }>;
731
+ /**
732
+ * Delete the given emoji. For emojis created by the current user, requires either the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission. For other emojis, requires the `MANAGE_GUILD_EXPRESSIONS` permission. Returns `204 No Content` on success. Fires a Guild Emojis Update Gateway event.
733
+ * @see https://docs.discord.com/developers/resources/emoji#delete-guild-emoji
734
+ */
735
+ export declare const DeleteGuildEmoji: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/emojis/{emoji.id}", {}>;
736
+ /**
737
+ * Returns an object containing a list of emoji objects for the given application under the `items` key. Includes a `user` object for the team member that uploaded the emoji from the app's settings, or for the bot user if uploaded using the API.
738
+ * @see https://docs.discord.com/developers/resources/emoji#list-application-emojis
739
+ */
740
+ export declare const ListApplicationEmojis: import("./endpoint.js").Endpoint<"/applications/{application.id}/emojis", {
741
+ result: {
742
+ items: RawEmoji[];
743
+ };
744
+ }>;
745
+ /**
746
+ * Returns an emoji object for the given application and emoji IDs. Includes the `user` field.
747
+ * @see https://docs.discord.com/developers/resources/emoji#get-application-emoji
748
+ */
749
+ export declare const GetApplicationEmoji: import("./endpoint.js").Endpoint<"/applications/{application.id}/emojis/{emoji.id}", {
750
+ result: RawEmoji;
751
+ }>;
752
+ /**
753
+ * Create a new emoji for the application. Returns the new emoji object on success.
754
+ * @see https://docs.discord.com/developers/resources/emoji#create-application-emoji
755
+ */
756
+ export declare const CreateApplicationEmoji: import("./endpoint.js").Endpoint<"/applications/{application.id}/emojis", {
757
+ result: RawEmoji;
758
+ body: CreateApplicationEmojiJSONParams;
759
+ }>;
760
+ /**
761
+ * Modify the given emoji. Returns the updated emoji object on success.
762
+ * @see https://docs.discord.com/developers/resources/emoji#modify-application-emoji
763
+ */
764
+ export declare const ModifyApplicationEmoji: import("./endpoint.js").Endpoint<"/applications/{application.id}/emojis/{emoji.id}", {
765
+ result: RawEmoji;
766
+ body: ModifyApplicationEmojiJSONParams;
767
+ }>;
768
+ /**
769
+ * Delete the given emoji. Returns `204 No Content` on success.
770
+ * @see https://docs.discord.com/developers/resources/emoji#delete-application-emoji
771
+ */
772
+ export declare const DeleteApplicationEmoji: import("./endpoint.js").Endpoint<"/applications/{application.id}/emojis/{emoji.id}", {}>;
773
+ /**
774
+ * Returns a sticker object for the given sticker ID.
775
+ * @see https://docs.discord.com/developers/resources/sticker#get-sticker
776
+ */
777
+ export declare const GetSticker: import("./endpoint.js").Endpoint<"/stickers/{sticker.id}", {
778
+ result: RawSticker;
779
+ }>;
780
+ /**
781
+ * Returns a list of available sticker packs.
782
+ * @see https://docs.discord.com/developers/resources/sticker#list-sticker-packs
783
+ */
784
+ export declare const ListStickerPacks: import("./endpoint.js").Endpoint<"/sticker-packs", {
785
+ result: ListStickerPacksResponse;
786
+ }>;
787
+ /**
788
+ * Returns a sticker pack object for the given sticker pack ID.
789
+ * @see https://docs.discord.com/developers/resources/sticker#get-sticker-pack
790
+ */
791
+ export declare const GetStickerPack: import("./endpoint.js").Endpoint<"/sticker-packs/{pack.id}", {
792
+ result: RawStickerPack;
793
+ }>;
794
+ /**
795
+ * Returns an array of sticker objects for the given guild. Includes `user` fields if the bot has the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission.
796
+ * @see https://docs.discord.com/developers/resources/sticker#list-guild-stickers
797
+ */
798
+ export declare const ListGuildStickers: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/stickers", {
799
+ result: RawSticker[];
800
+ }>;
801
+ /**
802
+ * Returns a sticker object for the given guild and sticker IDs. Includes the `user` field if the bot has the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission.
803
+ * @see https://docs.discord.com/developers/resources/sticker#get-guild-sticker
804
+ */
805
+ export declare const GetGuildSticker: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/stickers/{sticker.id}", {
806
+ result: RawSticker;
807
+ }>;
808
+ /**
809
+ * Create a new sticker for the guild. Send a `multipart/form-data` body as described in Uploading Files. Requires the `CREATE_GUILD_EXPRESSIONS` permission. Returns the new sticker object on success. Fires a Guild Stickers Update Gateway event.
810
+ * @see https://docs.discord.com/developers/resources/sticker#create-guild-sticker
811
+ */
812
+ export declare const CreateGuildSticker: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/stickers", {
813
+ result: RawSticker;
814
+ body: CreateGuildStickerJSONParams;
815
+ }>;
816
+ /**
817
+ * Modify the given sticker. For stickers created by the current user, requires either the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission. For other stickers, requires the `MANAGE_GUILD_EXPRESSIONS` permission. Returns the updated sticker object on success. Fires a Guild Stickers Update Gateway event.
818
+ * @see https://docs.discord.com/developers/resources/sticker#modify-guild-sticker
819
+ */
820
+ export declare const ModifyGuildSticker: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/stickers/{sticker.id}", {
821
+ result: RawSticker;
822
+ body: ModifyGuildStickerJSONParams;
823
+ }>;
824
+ /**
825
+ * Delete the given sticker. For stickers created by the current user, requires either the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission. For other stickers, requires the `MANAGE_GUILD_EXPRESSIONS` permission. Returns `204 No Content` on success. Fires a Guild Stickers Update Gateway event.
826
+ * @see https://docs.discord.com/developers/resources/sticker#delete-guild-sticker
827
+ */
828
+ export declare const DeleteGuildSticker: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/stickers/{sticker.id}", {}>;
829
+ /**
830
+ * Returns an invite object for the given code.
831
+ * @see https://docs.discord.com/developers/resources/invite#get-invite
832
+ */
833
+ export declare const GetInvite: import("./endpoint.js").Endpoint<"/invites/{invite.code}", {
834
+ result: RawInvite;
835
+ query: GetInviteQuery;
836
+ }>;
837
+ /**
838
+ * Delete an invite. Requires the `MANAGE_CHANNELS` permission on the channel this invite belongs to, or `MANAGE_GUILD` to remove any invite across the guild. Returns an invite object on success. Fires an Invite Delete Gateway event.
839
+ * @see https://docs.discord.com/developers/resources/invite#delete-invite
840
+ */
841
+ export declare const DeleteInvite: import("./endpoint.js").Endpoint<"/invites/{invite.code}", {
842
+ result: RawInvite;
843
+ }>;
844
+ /**
845
+ * Gets the users allowed to see and accept this invite. Response is a CSV file with the header `user_id` and each user ID on its own line. Requires the caller to be the inviter, or have `MANAGE_GUILD` permission, or have `VIEW_AUDIT_LOG` permission.
846
+ * @see https://docs.discord.com/developers/resources/invite#get-target-users
847
+ */
848
+ export declare const GetTargetUsers: import("./endpoint.js").Endpoint<"/invites/{invite.code}/target-users", {
849
+ result: string;
850
+ }>;
851
+ /**
852
+ * Adds a target user to an existing invite. Requires the caller to be the inviter or have the `MANAGE_GUILD` permission. Returns a 204 empty response on success.
853
+ * @see https://docs.discord.com/developers/resources/invite#add-target-user
854
+ */
855
+ export declare const AddTargetUser: import("./endpoint.js").Endpoint<"/invites/{invite.code}/target-users/{user.id}", {}>;
856
+ /**
857
+ * Removes a target user from an existing invite. Requires the caller to be the inviter or have the `MANAGE_GUILD` permission. Returns a 204 empty response on success.
858
+ * @see https://docs.discord.com/developers/resources/invite#remove-target-user
859
+ */
860
+ export declare const RemoveTargetUser: import("./endpoint.js").Endpoint<"/invites/{invite.code}/target-users/{user.id}", {}>;
861
+ /**
862
+ * Updates the users allowed to see and accept this invite. Uploading a file with invalid user IDs will result in a 400 with the invalid IDs described. Requires the caller to be the inviter or have the `MANAGE_GUILD` permission.
863
+ * @see https://docs.discord.com/developers/resources/invite#update-target-users
864
+ */
865
+ export declare const UpdateTargetUsers: import("./endpoint.js").Endpoint<"/invites/{invite.code}/target-users", {}>;
866
+ /**
867
+ * Adds multiple target users to an existing invite. Requires the caller to be the inviter or have the `MANAGE_GUILD` permission. Returns a 204 empty response on success.
868
+ * @see https://docs.discord.com/developers/resources/invite#bulk-add-target-users
869
+ */
870
+ export declare const BulkAddTargetUsers: import("./endpoint.js").Endpoint<"/invites/{invite.code}/target-users/bulk-add", {
871
+ body: BulkAddTargetUsersJSONParams;
872
+ }>;
873
+ /**
874
+ * Removes multiple target users from an existing invite. Requires the caller to be the inviter or have the `MANAGE_GUILD` permission. Returns a 204 empty response on success.
875
+ * @see https://docs.discord.com/developers/resources/invite#bulk-delete-target-users
876
+ */
877
+ export declare const BulkDeleteTargetUsers: import("./endpoint.js").Endpoint<"/invites/{invite.code}/target-users/bulk-delete", {
878
+ body: BulkDeleteTargetUsersJSONParams;
879
+ }>;
880
+ /**
881
+ * Processing target users from a CSV when creating or updating an invite is done asynchronously. This endpoint allows you to check the status of that job. Requires the caller to be the inviter, or have `MANAGE_GUILD` permission, or have `VIEW_AUDIT_LOG` permission.
882
+ * @see https://docs.discord.com/developers/resources/invite#get-target-users-job-status
883
+ */
884
+ export declare const GetTargetUsersJobStatus: import("./endpoint.js").Endpoint<"/invites/{invite.code}/target-users/job-status", {
885
+ result: RawInviteTargetUsersJob;
886
+ }>;
887
+ /**
888
+ * Creates a new webhook and returns a webhook object on success. Requires the `MANAGE_WEBHOOKS` permission. Fires a Webhooks Update Gateway event.
889
+ * @see https://docs.discord.com/developers/resources/webhook#create-webhook
890
+ */
891
+ export declare const CreateWebhook: import("./endpoint.js").Endpoint<"/channels/{channel.id}/webhooks", {
892
+ result: RawWebhook;
893
+ body: CreateWebhookJSONParams;
894
+ }>;
895
+ /**
896
+ * Returns a list of channel webhook objects. Requires the `MANAGE_WEBHOOKS` permission.
897
+ * @see https://docs.discord.com/developers/resources/webhook#get-channel-webhooks
898
+ */
899
+ export declare const GetChannelWebhooks: import("./endpoint.js").Endpoint<"/channels/{channel.id}/webhooks", {
900
+ result: RawWebhook[];
901
+ }>;
902
+ /**
903
+ * Returns a list of guild webhook objects. Requires the `MANAGE_WEBHOOKS` permission.
904
+ * @see https://docs.discord.com/developers/resources/webhook#get-guild-webhooks
905
+ */
906
+ export declare const GetGuildWebhooks: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/webhooks", {
907
+ result: RawWebhook[];
908
+ }>;
909
+ /**
910
+ * Returns the new webhook object for the given id.
911
+ * @see https://docs.discord.com/developers/resources/webhook#get-webhook
912
+ */
913
+ export declare const GetWebhook: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}", {
914
+ result: RawWebhook;
915
+ }>;
916
+ /**
917
+ * Same as above, except this call does not require authentication and returns no user in the webhook object.
918
+ * @see https://docs.discord.com/developers/resources/webhook#get-webhook-with-token
919
+ */
920
+ export declare const GetWebhookWithToken: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}/{webhook.token}", {
921
+ result: RawWebhook;
922
+ }>;
923
+ /**
924
+ * Modify a webhook. Requires the `MANAGE_WEBHOOKS` permission. Returns the updated webhook object on success. Fires a Webhooks Update Gateway event.
925
+ * @see https://docs.discord.com/developers/resources/webhook#modify-webhook
926
+ */
927
+ export declare const ModifyWebhook: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}", {
928
+ result: RawWebhook;
929
+ body: ModifyWebhookJSONParams;
930
+ }>;
931
+ /**
932
+ * Same as above, except this call does not require authentication, does not accept a `channel_id` parameter in the body, and does not return a user in the webhook object.
933
+ * @see https://docs.discord.com/developers/resources/webhook#modify-webhook-with-token
934
+ */
935
+ export declare const ModifyWebhookWithToken: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}/{webhook.token}", {
936
+ result: RawWebhook;
937
+ body: Omit<ModifyWebhookJSONParams, 'channel_id'>;
938
+ }>;
939
+ /**
940
+ * Delete a webhook permanently. Requires the `MANAGE_WEBHOOKS` permission. Returns a `204 No Content` response on success. Fires a Webhooks Update Gateway event.
941
+ * @see https://docs.discord.com/developers/resources/webhook#delete-webhook
942
+ */
943
+ export declare const DeleteWebhook: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}", {}>;
944
+ /**
945
+ * Same as above, except this call does not require authentication.
946
+ * @see https://docs.discord.com/developers/resources/webhook#delete-webhook-with-token
947
+ */
948
+ export declare const DeleteWebhookWithToken: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}/{webhook.token}", {}>;
949
+ /**
950
+ * Refer to Uploading Files for details on attachments and `multipart/form-data` requests. Returns a message or `204 No Content` depending on the `wait` query parameter.
951
+ * @see https://docs.discord.com/developers/resources/webhook#execute-webhook
952
+ */
953
+ export declare const ExecuteWebhook: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}/{webhook.token}", {
954
+ result: RawMessage | undefined;
955
+ body: ExecuteWebhookJSONParams;
956
+ query: ExecuteWebhookQuery;
957
+ }>;
958
+ /**
959
+ * Returns a previously-sent webhook message from the same token. Returns a message object on success.
960
+ * @see https://docs.discord.com/developers/resources/webhook#get-webhook-message
961
+ */
962
+ export declare const GetWebhookMessage: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}", {
963
+ result: RawMessage;
964
+ query: GetWebhookMessageQuery;
965
+ }>;
966
+ /**
967
+ * Edits a previously-sent webhook message from the same token. Returns a message object on success.
968
+ * @see https://docs.discord.com/developers/resources/webhook#edit-webhook-message
969
+ */
970
+ export declare const EditWebhookMessage: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}", {
971
+ result: RawMessage;
972
+ body: EditWebhookMessageJSONParams;
973
+ query: EditWebhookMessageQuery;
974
+ }>;
975
+ /**
976
+ * Deletes a message that was created by the webhook. Returns a `204 No Content` response on success.
977
+ * @see https://docs.discord.com/developers/resources/webhook#delete-webhook-message
978
+ */
979
+ export declare const DeleteWebhookMessage: import("./endpoint.js").Endpoint<"/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}", {
980
+ query: DeleteWebhookMessageQuery;
981
+ }>;
982
+ /**
983
+ * Returns an array of voice region objects that can be used when setting a voice or stage channel's `rtc_region`.
984
+ * @see https://docs.discord.com/developers/resources/voice#list-voice-regions
985
+ */
986
+ export declare const ListVoiceRegions: import("./endpoint.js").Endpoint<"/voice/regions", {
987
+ result: RawVoiceRegion[];
988
+ }>;
989
+ /**
990
+ * Returns the current user's voice state in the guild.
991
+ * @see https://docs.discord.com/developers/resources/voice#get-current-user-voice-state
992
+ */
993
+ export declare const GetCurrentUserVoiceState: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/voice-states/@me", {
994
+ result: RawVoiceState;
995
+ }>;
996
+ /**
997
+ * Returns the specified user's voice state in the guild.
998
+ * @see https://docs.discord.com/developers/resources/voice#get-user-voice-state
999
+ */
1000
+ export declare const GetUserVoiceState: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/voice-states/{user.id}", {
1001
+ result: RawVoiceState;
1002
+ }>;
1003
+ /**
1004
+ * Updates the current user's voice state. Returns `204 No Content` on success. Fires a Voice State Update Gateway event.
1005
+ * @see https://docs.discord.com/developers/resources/voice#modify-current-user-voice-state
1006
+ */
1007
+ export declare const ModifyCurrentUserVoiceState: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/voice-states/@me", {
1008
+ body: ModifyCurrentUserVoiceStateJSONParams;
1009
+ }>;
1010
+ /**
1011
+ * Updates another user's voice state. Returns `204 No Content` on success. Fires a Voice State Update Gateway event.
1012
+ * @see https://docs.discord.com/developers/resources/voice#modify-user-voice-state
1013
+ */
1014
+ export declare const ModifyUserVoiceState: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/voice-states/{user.id}", {
1015
+ body: ModifyUserVoiceStateJSONParams;
1016
+ }>;
1017
+ /**
1018
+ * Get a list of users that voted for this specific answer.
1019
+ * @see https://docs.discord.com/developers/resources/poll#get-answer-voters
1020
+ */
1021
+ export declare const GetAnswerVoters: import("./endpoint.js").Endpoint<"/channels/{channel.id}/polls/{message.id}/answers/{answer_id}", {
1022
+ result: GetAnswerVotersResponse;
1023
+ query: GetAnswerVotersQuery;
1024
+ }>;
1025
+ /**
1026
+ * Immediately ends the poll. You cannot end polls from other users.
1027
+ * @see https://docs.discord.com/developers/resources/poll#end-poll
1028
+ */
1029
+ export declare const EndPoll: import("./endpoint.js").Endpoint<"/channels/{channel.id}/polls/{message.id}/expire", {
1030
+ result: RawMessage;
1031
+ }>;
1032
+ /**
1033
+ * Returns the application object associated with the requesting bot user.
1034
+ * @see https://docs.discord.com/developers/resources/application#get-current-application
1035
+ */
1036
+ export declare const GetCurrentApplication: import("./endpoint.js").Endpoint<"/applications/@me", {
1037
+ result: RawApplication;
1038
+ }>;
1039
+ /**
1040
+ * Edit properties of the app associated with the requesting bot user. Only properties that are passed will be updated. Returns the updated application object on success.
1041
+ * @see https://docs.discord.com/developers/resources/application#edit-current-application
1042
+ */
1043
+ export declare const EditCurrentApplication: import("./endpoint.js").Endpoint<"/applications/@me", {
1044
+ result: RawApplication;
1045
+ body: EditCurrentApplicationJSONParams;
1046
+ }>;
1047
+ /**
1048
+ * Returns a serialized activity instance, if it exists. Useful for preventing unwanted activity sessions.
1049
+ * @see https://docs.discord.com/developers/resources/application#get-application-activity-instance
1050
+ */
1051
+ export declare const GetApplicationActivityInstance: import("./endpoint.js").Endpoint<"/applications/{application.id}/activity-instances/{instance_id}", {
1052
+ result: RawActivityInstance;
1053
+ }>;
1054
+ /**
1055
+ * Returns a list of application role connection metadata objects for the given application.
1056
+ * @see https://docs.discord.com/developers/resources/application-role-connection-metadata#get-application-role-connection-metadata-records
1057
+ */
1058
+ export declare const GetApplicationRoleConnectionMetadataRecords: import("./endpoint.js").Endpoint<"/applications/{application.id}/role-connections/metadata", {
1059
+ result: RawApplicationRoleConnectionMetadata[];
1060
+ }>;
1061
+ /**
1062
+ * Updates and returns a list of application role connection metadata objects for the given application.
1063
+ * @see https://docs.discord.com/developers/resources/application-role-connection-metadata#update-application-role-connection-metadata-records
1064
+ */
1065
+ export declare const UpdateApplicationRoleConnectionMetadataRecords: import("./endpoint.js").Endpoint<"/applications/{application.id}/role-connections/metadata", {
1066
+ result: RawApplicationRoleConnectionMetadata[];
1067
+ body: RawApplicationRoleConnectionMetadata[];
1068
+ }>;
1069
+ /**
1070
+ * Returns an audit log object for the guild. Requires the `VIEW_AUDIT_LOG` permission.
1071
+ * @see https://docs.discord.com/developers/resources/audit-log#get-guild-audit-log
1072
+ */
1073
+ export declare const GetGuildAuditLog: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/audit-logs", {
1074
+ result: RawAuditLog;
1075
+ query: GetGuildAuditLogQuery;
1076
+ }>;
1077
+ /**
1078
+ * Get a list of all rules currently configured for the guild. Returns a list of auto moderation rule objects for the given guild.
1079
+ * @see https://docs.discord.com/developers/resources/auto-moderation#list-auto-moderation-rules-for-guild
1080
+ */
1081
+ export declare const ListAutoModerationRulesForGuild: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/auto-moderation/rules", {
1082
+ result: RawAutoModerationRule[];
1083
+ }>;
1084
+ /**
1085
+ * Get a single rule. Returns an auto moderation rule object.
1086
+ * @see https://docs.discord.com/developers/resources/auto-moderation#get-auto-moderation-rule
1087
+ */
1088
+ export declare const GetAutoModerationRule: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}", {
1089
+ result: RawAutoModerationRule;
1090
+ }>;
1091
+ /**
1092
+ * Create a new rule. Returns an auto moderation rule on success. Fires an Auto Moderation Rule Create Gateway event.
1093
+ * @see https://docs.discord.com/developers/resources/auto-moderation#create-auto-moderation-rule
1094
+ */
1095
+ export declare const CreateAutoModerationRule: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/auto-moderation/rules", {
1096
+ result: RawAutoModerationRule;
1097
+ body: CreateAutoModerationRuleJSONParams;
1098
+ }>;
1099
+ /**
1100
+ * Modify an existing rule. Returns an auto moderation rule on success. Fires an Auto Moderation Rule Update Gateway event.
1101
+ * @see https://docs.discord.com/developers/resources/auto-moderation#modify-auto-moderation-rule
1102
+ */
1103
+ export declare const ModifyAutoModerationRule: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}", {
1104
+ result: RawAutoModerationRule;
1105
+ body: ModifyAutoModerationRuleJSONParams;
1106
+ }>;
1107
+ /**
1108
+ * Delete a rule. Returns a `204` on success. Fires an Auto Moderation Rule Delete Gateway event.
1109
+ * @see https://docs.discord.com/developers/resources/auto-moderation#delete-auto-moderation-rule
1110
+ */
1111
+ export declare const DeleteAutoModerationRule: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id}", {}>;
1112
+ /**
1113
+ * Returns all entitlements for a given app, active and expired.
1114
+ * @see https://docs.discord.com/developers/resources/entitlement#list-entitlements
1115
+ */
1116
+ export declare const ListEntitlements: import("./endpoint.js").Endpoint<"/applications/{application.id}/entitlements", {
1117
+ result: RawEntitlement[];
1118
+ query: ListEntitlementsQuery;
1119
+ }>;
1120
+ /**
1121
+ * Returns an entitlement.
1122
+ * @see https://docs.discord.com/developers/resources/entitlement#get-entitlement
1123
+ */
1124
+ export declare const GetEntitlement: import("./endpoint.js").Endpoint<"/applications/{application.id}/entitlements/{entitlement.id}", {
1125
+ result: RawEntitlement;
1126
+ }>;
1127
+ /**
1128
+ * For One-Time Purchase consumable SKUs, marks a given entitlement for the user as consumed. The entitlement will have `consumed: true` when using List Entitlements.
1129
+ * @see https://docs.discord.com/developers/resources/entitlement#consume-an-entitlement
1130
+ */
1131
+ export declare const ConsumeAnEntitlement: import("./endpoint.js").Endpoint<"/applications/{application.id}/entitlements/{entitlement.id}/consume", {}>;
1132
+ /**
1133
+ * Creates a test entitlement to a given SKU for a given guild or user. Discord will act as though that user or guild has entitlement to your premium offering.
1134
+ * @see https://docs.discord.com/developers/resources/entitlement#create-test-entitlement
1135
+ */
1136
+ export declare const CreateTestEntitlement: import("./endpoint.js").Endpoint<"/applications/{application.id}/entitlements", {
1137
+ result: Partial<RawEntitlement>;
1138
+ body: CreateTestEntitlementJSONParams;
1139
+ }>;
1140
+ /**
1141
+ * Deletes a currently-active test entitlement. Discord will act as though that user or guild *no longer has* entitlement to your premium offering.
1142
+ * @see https://docs.discord.com/developers/resources/entitlement#delete-test-entitlement
1143
+ */
1144
+ export declare const DeleteTestEntitlement: import("./endpoint.js").Endpoint<"/applications/{application.id}/entitlements/{entitlement.id}", {}>;
1145
+ /**
1146
+ * Returns a list of guild scheduled event objects for the given guild.
1147
+ * @see https://docs.discord.com/developers/resources/guild-scheduled-event#list-scheduled-events-for-guild
1148
+ */
1149
+ export declare const ListScheduledEventsForGuild: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/scheduled-events", {
1150
+ result: RawGuildScheduledEvent[];
1151
+ query: ListScheduledEventsForGuildQuery;
1152
+ }>;
1153
+ /**
1154
+ * Create a guild scheduled event in the guild. Returns a guild scheduled event object on success. Fires a Guild Scheduled Event Create Gateway event.
1155
+ * @see https://docs.discord.com/developers/resources/guild-scheduled-event#create-guild-scheduled-event
1156
+ */
1157
+ export declare const CreateGuildScheduledEvent: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/scheduled-events", {
1158
+ result: RawGuildScheduledEvent;
1159
+ body: CreateGuildScheduledEventJSONParams;
1160
+ }>;
1161
+ /**
1162
+ * Get a guild scheduled event. Returns a guild scheduled event object on success.
1163
+ * @see https://docs.discord.com/developers/resources/guild-scheduled-event#get-guild-scheduled-event
1164
+ */
1165
+ export declare const GetGuildScheduledEvent: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}", {
1166
+ result: RawGuildScheduledEvent;
1167
+ query: GetGuildScheduledEventQuery;
1168
+ }>;
1169
+ /**
1170
+ * Modify a guild scheduled event. Returns the modified guild scheduled event object on success. Fires a Guild Scheduled Event Update Gateway event.
1171
+ * @see https://docs.discord.com/developers/resources/guild-scheduled-event#modify-guild-scheduled-event
1172
+ */
1173
+ export declare const ModifyGuildScheduledEvent: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}", {
1174
+ result: RawGuildScheduledEvent;
1175
+ body: ModifyGuildScheduledEventJSONParams;
1176
+ }>;
1177
+ /**
1178
+ * Delete a guild scheduled event. Returns a `204` on success. Fires a Guild Scheduled Event Delete Gateway event.
1179
+ * @see https://docs.discord.com/developers/resources/guild-scheduled-event#delete-guild-scheduled-event
1180
+ */
1181
+ export declare const DeleteGuildScheduledEvent: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}", {}>;
1182
+ /**
1183
+ * Get a list of guild scheduled event users subscribed to a guild scheduled event. Returns a list of guild scheduled event user objects on success. Guild member data, if it exists, is included if the `with_member` query parameter is set.
1184
+ * @see https://docs.discord.com/developers/resources/guild-scheduled-event#get-guild-scheduled-event-users
1185
+ */
1186
+ export declare const GetGuildScheduledEventUsers: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}/users", {
1187
+ result: RawGuildScheduledEventUser[];
1188
+ query: GetGuildScheduledEventUsersQuery;
1189
+ }>;
1190
+ /**
1191
+ * Returns a guild template object for the given code.
1192
+ * @see https://docs.discord.com/developers/resources/guild-template#get-guild-template
1193
+ */
1194
+ export declare const GetGuildTemplate: import("./endpoint.js").Endpoint<"/guilds/templates/{template.code}", {
1195
+ result: RawGuildTemplate;
1196
+ }>;
1197
+ /**
1198
+ * Returns an array of guild template objects. Requires the `MANAGE_GUILD` permission.
1199
+ * @see https://docs.discord.com/developers/resources/guild-template#get-guild-templates
1200
+ */
1201
+ export declare const GetGuildTemplates: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/templates", {
1202
+ result: RawGuildTemplate[];
1203
+ }>;
1204
+ /**
1205
+ * Creates a template for the guild. Requires the `MANAGE_GUILD` permission. Returns the created guild template object on success.
1206
+ * @see https://docs.discord.com/developers/resources/guild-template#create-guild-template
1207
+ */
1208
+ export declare const CreateGuildTemplate: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/templates", {
1209
+ result: RawGuildTemplate;
1210
+ body: CreateGuildTemplateJSONParams;
1211
+ }>;
1212
+ /**
1213
+ * Syncs the template to the guild's current state. Requires the `MANAGE_GUILD` permission. Returns the guild template object on success.
1214
+ * @see https://docs.discord.com/developers/resources/guild-template#sync-guild-template
1215
+ */
1216
+ export declare const SyncGuildTemplate: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/templates/{template.code}", {
1217
+ result: RawGuildTemplate;
1218
+ }>;
1219
+ /**
1220
+ * Modifies the template's metadata. Requires the `MANAGE_GUILD` permission. Returns the guild template object on success.
1221
+ * @see https://docs.discord.com/developers/resources/guild-template#modify-guild-template
1222
+ */
1223
+ export declare const ModifyGuildTemplate: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/templates/{template.code}", {
1224
+ result: RawGuildTemplate;
1225
+ body: ModifyGuildTemplateJSONParams;
1226
+ }>;
1227
+ /**
1228
+ * Deletes the template. Requires the `MANAGE_GUILD` permission. Returns the deleted guild template object on success.
1229
+ * @see https://docs.discord.com/developers/resources/guild-template#delete-guild-template
1230
+ */
1231
+ export declare const DeleteGuildTemplate: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/templates/{template.code}", {
1232
+ result: RawGuildTemplate;
1233
+ }>;
1234
+ /**
1235
+ * Returns all SKUs for a given application.
1236
+ * @see https://docs.discord.com/developers/resources/sku#list-skus
1237
+ */
1238
+ export declare const ListSKUs: import("./endpoint.js").Endpoint<"/applications/{application.id}/skus", {
1239
+ result: RawSku[];
1240
+ }>;
1241
+ /**
1242
+ * Send a soundboard sound to a voice channel the user is connected to. Fires a Voice Channel Effect Send Gateway event.
1243
+ * @see https://docs.discord.com/developers/resources/soundboard#send-soundboard-sound
1244
+ */
1245
+ export declare const SendSoundboardSound: import("./endpoint.js").Endpoint<"/channels/{channel.id}/send-soundboard-sound", {
1246
+ body: SendSoundboardSoundJSONParams;
1247
+ }>;
1248
+ /**
1249
+ * Returns an array of soundboard sound objects that can be used by all users.
1250
+ * @see https://docs.discord.com/developers/resources/soundboard#list-default-soundboard-sounds
1251
+ */
1252
+ export declare const ListDefaultSoundboardSounds: import("./endpoint.js").Endpoint<"/soundboard-default-sounds", {
1253
+ result: RawSoundboardSound[];
1254
+ }>;
1255
+ /**
1256
+ * Returns a list of the guild's soundboard sounds. Includes `user` fields if the bot has the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission.
1257
+ * @see https://docs.discord.com/developers/resources/soundboard#list-guild-soundboard-sounds
1258
+ */
1259
+ export declare const ListGuildSoundboardSounds: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/soundboard-sounds", {
1260
+ result: ListGuildSoundboardSoundsResponse;
1261
+ }>;
1262
+ /**
1263
+ * Returns a soundboard sound object for the given sound id. Includes the `user` field if the bot has the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission.
1264
+ * @see https://docs.discord.com/developers/resources/soundboard#get-guild-soundboard-sound
1265
+ */
1266
+ export declare const GetGuildSoundboardSound: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/soundboard-sounds/{sound.id}", {
1267
+ result: RawSoundboardSound;
1268
+ }>;
1269
+ /**
1270
+ * Create a new soundboard sound for the guild. Requires the `CREATE_GUILD_EXPRESSIONS` permission. Returns the new soundboard sound object on success. Fires a Guild Soundboard Sound Create Gateway event.
1271
+ * @see https://docs.discord.com/developers/resources/soundboard#create-guild-soundboard-sound
1272
+ */
1273
+ export declare const CreateGuildSoundboardSound: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/soundboard-sounds", {
1274
+ result: RawSoundboardSound;
1275
+ body: CreateGuildSoundboardSoundJSONParams;
1276
+ }>;
1277
+ /**
1278
+ * Modify the given soundboard sound. For sounds created by the current user, requires either the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission. For other sounds, requires the `MANAGE_GUILD_EXPRESSIONS` permission. Returns the updated soundboard sound object on success. Fires a Guild Soundboard Sound Update Gateway event.
1279
+ * @see https://docs.discord.com/developers/resources/soundboard#modify-guild-soundboard-sound
1280
+ */
1281
+ export declare const ModifyGuildSoundboardSound: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/soundboard-sounds/{sound.id}", {
1282
+ result: RawSoundboardSound;
1283
+ body: ModifyGuildSoundboardSoundJSONParams;
1284
+ }>;
1285
+ /**
1286
+ * Delete the given soundboard sound. For sounds created by the current user, requires either the `CREATE_GUILD_EXPRESSIONS` or `MANAGE_GUILD_EXPRESSIONS` permission. For other sounds, requires the `MANAGE_GUILD_EXPRESSIONS` permission. Returns `204 No Content` on success. Fires a Guild Soundboard Sound Delete Gateway event.
1287
+ * @see https://docs.discord.com/developers/resources/soundboard#delete-guild-soundboard-sound
1288
+ */
1289
+ export declare const DeleteGuildSoundboardSound: import("./endpoint.js").Endpoint<"/guilds/{guild.id}/soundboard-sounds/{sound.id}", {}>;
1290
+ /**
1291
+ * Creates a new Stage instance associated to a Stage channel. Returns that Stage instance. Fires a Stage Instance Create Gateway event.
1292
+ * @see https://docs.discord.com/developers/resources/stage-instance#create-stage-instance
1293
+ */
1294
+ export declare const CreateStageInstance: import("./endpoint.js").Endpoint<"/stage-instances", {
1295
+ result: RawStageInstance;
1296
+ body: CreateStageInstanceJSONParams;
1297
+ }>;
1298
+ /**
1299
+ * Gets the stage instance associated with the Stage channel, if it exists.
1300
+ * @see https://docs.discord.com/developers/resources/stage-instance#get-stage-instance
1301
+ */
1302
+ export declare const GetStageInstance: import("./endpoint.js").Endpoint<"/stage-instances/{channel.id}", {
1303
+ result: RawStageInstance;
1304
+ }>;
1305
+ /**
1306
+ * Updates fields of an existing Stage instance. Returns the updated Stage instance. Fires a Stage Instance Update Gateway event.
1307
+ * @see https://docs.discord.com/developers/resources/stage-instance#modify-stage-instance
1308
+ */
1309
+ export declare const ModifyStageInstance: import("./endpoint.js").Endpoint<"/stage-instances/{channel.id}", {
1310
+ result: RawStageInstance;
1311
+ body: ModifyStageInstanceJSONParams;
1312
+ }>;
1313
+ /**
1314
+ * Deletes the Stage instance. Returns `204 No Content`. Fires a Stage Instance Delete Gateway event.
1315
+ * @see https://docs.discord.com/developers/resources/stage-instance#delete-stage-instance
1316
+ */
1317
+ export declare const DeleteStageInstance: import("./endpoint.js").Endpoint<"/stage-instances/{channel.id}", {}>;
1318
+ /**
1319
+ * Returns all subscriptions containing the SKU, filtered by user. Returns a list of subscription objects.
1320
+ * @see https://docs.discord.com/developers/resources/subscription#list-sku-subscriptions
1321
+ */
1322
+ export declare const ListSkuSubscriptions: import("./endpoint.js").Endpoint<"/skus/{sku.id}/subscriptions", {
1323
+ result: RawSubscription[];
1324
+ query: ListSkuSubscriptionsQuery;
1325
+ }>;
1326
+ /**
1327
+ * Get a subscription by its ID. Returns a subscription object.
1328
+ * @see https://docs.discord.com/developers/resources/subscription#get-sku-subscription
1329
+ */
1330
+ export declare const GetSkuSubscription: import("./endpoint.js").Endpoint<"/skus/{sku.id}/subscriptions/{subscription.id}", {
1331
+ result: RawSubscription;
1332
+ }>;
1333
+ /**
1334
+ * Create a response to an Interaction. Body is an interaction response. Returns `204` unless `with_response` is set to `true` which returns `200` with the body as interaction callback response.
1335
+ * @see https://docs.discord.com/developers/interactions/receiving-and-responding#create-interaction-response
1336
+ */
1337
+ export declare const CreateInteractionResponse: import("./endpoint.js").Endpoint<"/interactions/{interaction.id}/{interaction.token}/callback", {
1338
+ result: RawInteractionCallbackResponse | undefined;
1339
+ body: RawInteractionResponse;
1340
+ query: CreateInteractionResponseQuery;
1341
+ }>;
1342
+ /**
1343
+ * Returns the initial Interaction response. Functions the same as Get Webhook Message.
1344
+ * @see https://docs.discord.com/developers/interactions/receiving-and-responding#get-original-interaction-response
1345
+ */
1346
+ export declare const GetOriginalInteractionResponse: import("./endpoint.js").Endpoint<"/webhooks/{application.id}/{interaction.token}/messages/@original", {
1347
+ result: RawMessage;
1348
+ }>;
1349
+ /**
1350
+ * Edits the initial Interaction response. Functions the same as Edit Webhook Message.
1351
+ * @see https://docs.discord.com/developers/interactions/receiving-and-responding#edit-original-interaction-response
1352
+ */
1353
+ export declare const EditOriginalInteractionResponse: import("./endpoint.js").Endpoint<"/webhooks/{application.id}/{interaction.token}/messages/@original", {
1354
+ result: RawMessage;
1355
+ body: EditWebhookMessageJSONParams;
1356
+ }>;
1357
+ /**
1358
+ * Deletes the initial Interaction response. Returns `204 No Content` on success.
1359
+ * @see https://docs.discord.com/developers/interactions/receiving-and-responding#delete-original-interaction-response
1360
+ */
1361
+ export declare const DeleteOriginalInteractionResponse: import("./endpoint.js").Endpoint<"/webhooks/{application.id}/{interaction.token}/messages/@original", {}>;
1362
+ /**
1363
+ *
1364
+ * @see https://docs.discord.com/developers/interactions/receiving-and-responding#create-followup-message
1365
+ */
1366
+ export declare const CreateFollowupMessage: import("./endpoint.js").Endpoint<"/webhooks/{application.id}/{interaction.token}", {
1367
+ result: RawMessage;
1368
+ body: ExecuteWebhookJSONParams;
1369
+ }>;
1370
+ /**
1371
+ * Returns a followup message for an Interaction. Functions the same as Get Webhook Message.
1372
+ * @see https://docs.discord.com/developers/interactions/receiving-and-responding#get-followup-message
1373
+ */
1374
+ export declare const GetFollowupMessage: import("./endpoint.js").Endpoint<"/webhooks/{application.id}/{interaction.token}/messages/{message.id}", {
1375
+ result: RawMessage;
1376
+ }>;
1377
+ /**
1378
+ * Edits a followup message for an Interaction. Functions the same as Edit Webhook Message.
1379
+ * @see https://docs.discord.com/developers/interactions/receiving-and-responding#edit-followup-message
1380
+ */
1381
+ export declare const EditFollowupMessage: import("./endpoint.js").Endpoint<"/webhooks/{application.id}/{interaction.token}/messages/{message.id}", {
1382
+ result: RawMessage;
1383
+ body: EditWebhookMessageJSONParams;
1384
+ }>;
1385
+ /**
1386
+ * Deletes a followup message for an Interaction. Returns `204 No Content` on success.
1387
+ * @see https://docs.discord.com/developers/interactions/receiving-and-responding#delete-followup-message
1388
+ */
1389
+ export declare const DeleteFollowupMessage: import("./endpoint.js").Endpoint<"/webhooks/{application.id}/{interaction.token}/messages/{message.id}", {}>;
1390
+ /**
1391
+ *
1392
+ * @see https://docs.discord.com/developers/interactions/application-commands#get-global-application-commands
1393
+ */
1394
+ export declare const GetGlobalApplicationCommands: import("./endpoint.js").Endpoint<"/applications/{application.id}/commands", {
1395
+ result: RawApplicationCommand[];
1396
+ query: GetGlobalApplicationCommandsQuery;
1397
+ }>;
1398
+ /**
1399
+ *
1400
+ * @see https://docs.discord.com/developers/interactions/application-commands#create-global-application-command
1401
+ */
1402
+ export declare const CreateGlobalApplicationCommand: import("./endpoint.js").Endpoint<"/applications/{application.id}/commands", {
1403
+ result: RawApplicationCommand;
1404
+ body: CreateGlobalApplicationCommandJSONParams;
1405
+ }>;
1406
+ /**
1407
+ * Fetch a global command for your application. Returns an application command object.
1408
+ * @see https://docs.discord.com/developers/interactions/application-commands#get-global-application-command
1409
+ */
1410
+ export declare const GetGlobalApplicationCommand: import("./endpoint.js").Endpoint<"/applications/{application.id}/commands/{command.id}", {
1411
+ result: RawApplicationCommand;
1412
+ }>;
1413
+ /**
1414
+ *
1415
+ * @see https://docs.discord.com/developers/interactions/application-commands#edit-global-application-command
1416
+ */
1417
+ export declare const EditGlobalApplicationCommand: import("./endpoint.js").Endpoint<"/applications/{application.id}/commands/{command.id}", {
1418
+ result: RawApplicationCommand;
1419
+ body: EditGlobalApplicationCommandJSONParams;
1420
+ }>;
1421
+ /**
1422
+ * Deletes a global command. Returns `204 No Content` on success.
1423
+ * @see https://docs.discord.com/developers/interactions/application-commands#delete-global-application-command
1424
+ */
1425
+ export declare const DeleteGlobalApplicationCommand: import("./endpoint.js").Endpoint<"/applications/{application.id}/commands/{command.id}", {}>;
1426
+ /**
1427
+ * Takes a list of application commands, overwriting the existing global command list for this application. Returns `200` and a list of application command objects. Commands that do not already exist will count toward daily application command create limits.
1428
+ * @see https://docs.discord.com/developers/interactions/application-commands#bulk-overwrite-global-application-commands
1429
+ */
1430
+ export declare const BulkOverwriteGlobalApplicationCommands: import("./endpoint.js").Endpoint<"/applications/{application.id}/commands", {
1431
+ result: RawApplicationCommand[];
1432
+ body: BulkOverwriteGuildApplicationCommandsJSONParams[];
1433
+ }>;
1434
+ /**
1435
+ *
1436
+ * @see https://docs.discord.com/developers/interactions/application-commands#get-guild-application-commands
1437
+ */
1438
+ export declare const GetGuildApplicationCommands: import("./endpoint.js").Endpoint<"/applications/{application.id}/guilds/{guild.id}/commands", {
1439
+ result: RawApplicationCommand[];
1440
+ query: GetGuildApplicationCommandsQuery;
1441
+ }>;
1442
+ /**
1443
+ *
1444
+ * @see https://docs.discord.com/developers/interactions/application-commands#create-guild-application-command
1445
+ */
1446
+ export declare const CreateGuildApplicationCommand: import("./endpoint.js").Endpoint<"/applications/{application.id}/guilds/{guild.id}/commands", {
1447
+ result: RawApplicationCommand;
1448
+ body: CreateGuildApplicationCommandJSONParams;
1449
+ }>;
1450
+ /**
1451
+ * Fetch a guild command for your application. Returns an application command object.
1452
+ * @see https://docs.discord.com/developers/interactions/application-commands#get-guild-application-command
1453
+ */
1454
+ export declare const GetGuildApplicationCommand: import("./endpoint.js").Endpoint<"/applications/{application.id}/guilds/{guild.id}/commands/{command.id}", {
1455
+ result: RawApplicationCommand;
1456
+ }>;
1457
+ /**
1458
+ *
1459
+ * @see https://docs.discord.com/developers/interactions/application-commands#edit-guild-application-command
1460
+ */
1461
+ export declare const EditGuildApplicationCommand: import("./endpoint.js").Endpoint<"/applications/{application.id}/guilds/{guild.id}/commands/{command.id}", {
1462
+ result: RawApplicationCommand;
1463
+ body: EditGuildApplicationCommandJSONParams;
1464
+ }>;
1465
+ /**
1466
+ * Delete a guild command. Returns `204 No Content` on success.
1467
+ * @see https://docs.discord.com/developers/interactions/application-commands#delete-guild-application-command
1468
+ */
1469
+ export declare const DeleteGuildApplicationCommand: import("./endpoint.js").Endpoint<"/applications/{application.id}/guilds/{guild.id}/commands/{command.id}", {}>;
1470
+ /**
1471
+ * Takes a list of application commands, overwriting the existing command list for this application for the targeted guild. Returns `200` and a list of application command objects.
1472
+ * @see https://docs.discord.com/developers/interactions/application-commands#bulk-overwrite-guild-application-commands
1473
+ */
1474
+ export declare const BulkOverwriteGuildApplicationCommands: import("./endpoint.js").Endpoint<"/applications/{application.id}/guilds/{guild.id}/commands", {
1475
+ result: RawApplicationCommand[];
1476
+ body: BulkOverwriteGuildApplicationCommandsJSONParams[];
1477
+ }>;
1478
+ /**
1479
+ * Fetches permissions for all commands for your application in a guild. Returns an array of guild application command permissions objects.
1480
+ * @see https://docs.discord.com/developers/interactions/application-commands#get-guild-application-command-permissions
1481
+ */
1482
+ export declare const GetGuildApplicationCommandPermissions: import("./endpoint.js").Endpoint<"/applications/{application.id}/guilds/{guild.id}/commands/permissions", {
1483
+ result: RawGuildApplicationCommandPermissions[];
1484
+ }>;
1485
+ /**
1486
+ * Fetches permissions for a specific command for your application in a guild. Returns a guild application command permissions object.
1487
+ * @see https://docs.discord.com/developers/interactions/application-commands#get-application-command-permissions
1488
+ */
1489
+ export declare const GetApplicationCommandPermissions: import("./endpoint.js").Endpoint<"/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions", {
1490
+ result: RawGuildApplicationCommandPermissions;
1491
+ }>;
1492
+ /**
1493
+ *
1494
+ * @see https://docs.discord.com/developers/interactions/application-commands#edit-application-command-permissions
1495
+ */
1496
+ export declare const EditApplicationCommandPermissions: import("./endpoint.js").Endpoint<"/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions", {
1497
+ result: RawGuildApplicationCommandPermissions;
1498
+ body: EditApplicationCommandPermissionsJSONParams;
1499
+ }>;
1500
+ /**
1501
+ *
1502
+ * @see https://docs.discord.com/developers/events/gateway#get-gateway
1503
+ */
1504
+ export declare const GetGateway: import("./endpoint.js").Endpoint<"/gateway", {
1505
+ result: {
1506
+ url: string;
1507
+ };
1508
+ }>;
1509
+ /**
1510
+ *
1511
+ * @see https://docs.discord.com/developers/events/gateway#get-gateway-bot
1512
+ */
1513
+ export declare const GetGatewayBot: import("./endpoint.js").Endpoint<"/gateway/bot", {
1514
+ result: RawGatewayBot;
1515
+ }>;
1516
+ /**
1517
+ * Returns the bot's application object.
1518
+ * @see https://docs.discord.com/developers/topics/oauth2#get-current-bot-application-information
1519
+ */
1520
+ export declare const GetCurrentBotApplicationInformation: import("./endpoint.js").Endpoint<"/oauth2/applications/@me", {
1521
+ result: RawApplication;
1522
+ }>;
1523
+ /**
1524
+ * Returns info about the current authorization. Requires authentication with a bearer token.
1525
+ * @see https://docs.discord.com/developers/topics/oauth2#get-current-authorization-information
1526
+ */
1527
+ export declare const GetCurrentAuthorizationInformation: import("./endpoint.js").Endpoint<"/oauth2/@me", {
1528
+ result: GetCurrentAuthorizationInformationResponse;
1529
+ }>;