12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091import type { APIChannel, APIConnection, APIUser, GuildFeature } from '../../payloads/v6/mod.ts';
/** * https://discord.com/developers/docs/resources/user#get-current-user * * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export type RESTGetAPICurrentUserResult = APIUser;
/** * https://discord.com/developers/docs/resources/user#get-user * * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export type RESTGetAPIUserResult = APIUser;
/** * https://discord.com/developers/docs/resources/user#modify-current-user * * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export interface RESTPatchAPICurrentUserJSONBody { username?: string | undefined; avatar?: string | null | undefined;}
/** * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export type RESTPatchAPICurrentUserResult = APIUser;
/** * https://discord.com/developers/docs/resources/user#get-current-user-guilds * * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export interface RESTGetAPICurrentUserGuildsQuery { before?: string; after?: string; limit?: number;}
/** * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export interface RESTAPIPartialCurrentUserGuild { id: string; name: string; icon: string | null; owner: boolean; features: GuildFeature[]; /** * @deprecated Use `permissions_new` instead */ permissions: number; permissions_new: string;}
/** * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export type RESTGetAPICurrentUserGuildsResult = RESTAPIPartialCurrentUserGuild[];
/** * https://discord.com/developers/docs/resources/user#leave-guild * * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export type RESTDeleteAPICurrentUserGuildResult = never;
/** * https://discord.com/developers/docs/resources/user#create-dm * * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export interface RESTPostAPICurrentUserCreateDMChannelJSONBody { recipient_id: string;}
/** * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export type RESTPostAPICurrentUserCreateDMChannelResult = APIChannel;
/** * https://discord.com/developers/docs/resources/user#get-user-connections * * @deprecated API v6 is deprecated and the types will not receive further updates, please update to v8. */export type RESTGetAPICurrentUserConnectionsResult = APIConnection[];