forked from mirror/misskey
52d8a54fc7
* feat(misskey-js): `POST admin/roles/create`の型を具象化 * fix * docs: CHANGELOG.md * test(misskey-js): admin/roles/createの型が合うことを表明 * test(misskey-js): single quote * test(misskey-js): 無を読もうとして爆発するのを修正 * test(misskey-js): fix comment
126 KiB
126 KiB
API Report File for "misskey-js"
Do not edit this file. It is a report generated by API Extractor.
import { EventEmitter } from 'eventemitter3';
// Warning: (ae-forgotten-export) The symbol "components" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
type AbuseReportNotificationRecipient = components['schemas']['AbuseReportNotificationRecipient'];
// @public (undocumented)
export type Acct = {
username: string;
host: string | null;
};
declare namespace acct {
export {
parse,
toString_2 as toString,
Acct
}
}
export { acct }
// @public (undocumented)
type Ad = components['schemas']['Ad'];
// Warning: (ae-forgotten-export) The symbol "operations" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
type AdminAbuseReportNotificationRecipientCreateRequest = operations['admin___abuse-report___notification-recipient___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAbuseReportNotificationRecipientCreateResponse = operations['admin___abuse-report___notification-recipient___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAbuseReportNotificationRecipientDeleteRequest = operations['admin___abuse-report___notification-recipient___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAbuseReportNotificationRecipientListRequest = operations['admin___abuse-report___notification-recipient___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAbuseReportNotificationRecipientListResponse = operations['admin___abuse-report___notification-recipient___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAbuseReportNotificationRecipientShowRequest = operations['admin___abuse-report___notification-recipient___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAbuseReportNotificationRecipientShowResponse = operations['admin___abuse-report___notification-recipient___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAbuseReportNotificationRecipientUpdateRequest = operations['admin___abuse-report___notification-recipient___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAbuseReportNotificationRecipientUpdateResponse = operations['admin___abuse-report___notification-recipient___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAbuseUserReportsRequest = operations['admin___abuse-user-reports']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAbuseUserReportsResponse = operations['admin___abuse-user-reports']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAccountsCreateRequest = operations['admin___accounts___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAccountsCreateResponse = operations['admin___accounts___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAccountsDeleteRequest = operations['admin___accounts___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAccountsFindByEmailRequest = operations['admin___accounts___find-by-email']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAccountsFindByEmailResponse = operations['admin___accounts___find-by-email']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAdCreateRequest = operations['admin___ad___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAdCreateResponse = operations['admin___ad___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAdDeleteRequest = operations['admin___ad___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAdListRequest = operations['admin___ad___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAdListResponse = operations['admin___ad___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAdUpdateRequest = operations['admin___ad___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAnnouncementsCreateRequest = operations['admin___announcements___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAnnouncementsCreateResponse = operations['admin___announcements___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAnnouncementsDeleteRequest = operations['admin___announcements___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAnnouncementsListRequest = operations['admin___announcements___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAnnouncementsListResponse = operations['admin___announcements___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAnnouncementsUpdateRequest = operations['admin___announcements___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAvatarDecorationsCreateRequest = operations['admin___avatar-decorations___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAvatarDecorationsDeleteRequest = operations['admin___avatar-decorations___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAvatarDecorationsListRequest = operations['admin___avatar-decorations___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminAvatarDecorationsListResponse = operations['admin___avatar-decorations___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminAvatarDecorationsUpdateRequest = operations['admin___avatar-decorations___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminDeleteAccountRequest = operations['admin___delete-account']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminDeleteAllFilesOfAUserRequest = operations['admin___delete-all-files-of-a-user']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminDriveFilesRequest = operations['admin___drive___files']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminDriveFilesResponse = operations['admin___drive___files']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminDriveShowFileRequest = operations['admin___drive___show-file']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminDriveShowFileResponse = operations['admin___drive___show-file']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminEmojiAddAliasesBulkRequest = operations['admin___emoji___add-aliases-bulk']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiAddRequest = operations['admin___emoji___add']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiAddResponse = operations['admin___emoji___add']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminEmojiCopyRequest = operations['admin___emoji___copy']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiCopyResponse = operations['admin___emoji___copy']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminEmojiDeleteBulkRequest = operations['admin___emoji___delete-bulk']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiDeleteRequest = operations['admin___emoji___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiImportZipRequest = operations['admin___emoji___import-zip']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiListRemoteRequest = operations['admin___emoji___list-remote']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiListRemoteResponse = operations['admin___emoji___list-remote']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminEmojiListRequest = operations['admin___emoji___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiListResponse = operations['admin___emoji___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminEmojiRemoveAliasesBulkRequest = operations['admin___emoji___remove-aliases-bulk']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiSetAliasesBulkRequest = operations['admin___emoji___set-aliases-bulk']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiSetCategoryBulkRequest = operations['admin___emoji___set-category-bulk']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiSetLicenseBulkRequest = operations['admin___emoji___set-license-bulk']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminEmojiUpdateRequest = operations['admin___emoji___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminFederationDeleteAllFilesRequest = operations['admin___federation___delete-all-files']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminFederationRefreshRemoteInstanceMetadataRequest = operations['admin___federation___refresh-remote-instance-metadata']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminFederationRemoveAllFollowingRequest = operations['admin___federation___remove-all-following']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminFederationUpdateInstanceRequest = operations['admin___federation___update-instance']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminGetIndexStatsResponse = operations['admin___get-index-stats']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminGetTableStatsResponse = operations['admin___get-table-stats']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminGetUserIpsRequest = operations['admin___get-user-ips']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminGetUserIpsResponse = operations['admin___get-user-ips']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminInviteCreateRequest = operations['admin___invite___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminInviteCreateResponse = operations['admin___invite___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminInviteListRequest = operations['admin___invite___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminInviteListResponse = operations['admin___invite___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminMetaResponse = operations['admin___meta']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminPromoCreateRequest = operations['admin___promo___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminQueueDeliverDelayedResponse = operations['admin___queue___deliver-delayed']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminQueueInboxDelayedResponse = operations['admin___queue___inbox-delayed']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminQueuePromoteRequest = operations['admin___queue___promote']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminQueueStatsResponse = operations['admin___queue___stats']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminRelaysAddRequest = operations['admin___relays___add']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRelaysAddResponse = operations['admin___relays___add']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminRelaysListResponse = operations['admin___relays___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminRelaysRemoveRequest = operations['admin___relays___remove']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminResetPasswordRequest = operations['admin___reset-password']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminResetPasswordResponse = operations['admin___reset-password']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminResolveAbuseUserReportRequest = operations['admin___resolve-abuse-user-report']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRolesAssignRequest = operations['admin___roles___assign']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRolesCreateRequest = operations['admin___roles___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRolesCreateResponse = operations['admin___roles___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminRolesDeleteRequest = operations['admin___roles___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRolesListResponse = operations['admin___roles___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminRolesShowRequest = operations['admin___roles___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRolesShowResponse = operations['admin___roles___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminRolesUnassignRequest = operations['admin___roles___unassign']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRolesUpdateDefaultPoliciesRequest = operations['admin___roles___update-default-policies']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRolesUpdateRequest = operations['admin___roles___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRolesUsersRequest = operations['admin___roles___users']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminRolesUsersResponse = operations['admin___roles___users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminSendEmailRequest = operations['admin___send-email']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminServerInfoResponse = operations['admin___server-info']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminShowModerationLogsRequest = operations['admin___show-moderation-logs']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminShowModerationLogsResponse = operations['admin___show-moderation-logs']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminShowUserRequest = operations['admin___show-user']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminShowUserResponse = operations['admin___show-user']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminShowUsersRequest = operations['admin___show-users']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminShowUsersResponse = operations['admin___show-users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminSuspendUserRequest = operations['admin___suspend-user']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminSystemWebhookCreateRequest = operations['admin___system-webhook___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminSystemWebhookCreateResponse = operations['admin___system-webhook___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminSystemWebhookDeleteRequest = operations['admin___system-webhook___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminSystemWebhookListRequest = operations['admin___system-webhook___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminSystemWebhookListResponse = operations['admin___system-webhook___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminSystemWebhookShowRequest = operations['admin___system-webhook___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminSystemWebhookShowResponse = operations['admin___system-webhook___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminSystemWebhookUpdateRequest = operations['admin___system-webhook___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminSystemWebhookUpdateResponse = operations['admin___system-webhook___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminUnsetUserAvatarRequest = operations['admin___unset-user-avatar']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminUnsetUserBannerRequest = operations['admin___unset-user-banner']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminUnsuspendUserRequest = operations['admin___unsuspend-user']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminUpdateMetaRequest = operations['admin___update-meta']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminUpdateUserNoteRequest = operations['admin___update-user-note']['requestBody']['content']['application/json'];
// @public (undocumented)
type Announcement = components['schemas']['Announcement'];
// @public (undocumented)
type AnnouncementCreated = {
announcement: Announcement;
};
// @public (undocumented)
type AnnouncementsRequest = operations['announcements']['requestBody']['content']['application/json'];
// @public (undocumented)
type AnnouncementsResponse = operations['announcements']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AnnouncementsShowRequest = operations['announcements___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type AnnouncementsShowResponse = operations['announcements___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type Antenna = components['schemas']['Antenna'];
// @public (undocumented)
type AntennasCreateRequest = operations['antennas___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AntennasCreateResponse = operations['antennas___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AntennasDeleteRequest = operations['antennas___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type AntennasListResponse = operations['antennas___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AntennasNotesRequest = operations['antennas___notes']['requestBody']['content']['application/json'];
// @public (undocumented)
type AntennasNotesResponse = operations['antennas___notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AntennasShowRequest = operations['antennas___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type AntennasShowResponse = operations['antennas___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AntennasUpdateRequest = operations['antennas___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type AntennasUpdateResponse = operations['antennas___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ApGetRequest = operations['ap___get']['requestBody']['content']['application/json'];
// @public (undocumented)
type ApGetResponse = operations['ap___get']['responses']['200']['content']['application/json'];
declare namespace api {
export {
isAPIError,
SwitchCaseResponseType,
APIError,
FetchLike,
APIClient
}
}
export { api }
// @public (undocumented)
class APIClient {
constructor(opts: {
origin: APIClient['origin'];
credential?: APIClient['credential'];
fetch?: APIClient['fetch'] | null | undefined;
});
// (undocumented)
credential: string | null | undefined;
// (undocumented)
fetch: FetchLike;
// (undocumented)
origin: string;
}
// @public (undocumented)
type APIError = {
id: string;
code: string;
message: string;
kind: 'client' | 'server';
info: Record<string, any>;
};
// @public (undocumented)
type App = components['schemas']['App'];
// @public (undocumented)
type AppCreateRequest = operations['app___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type AppCreateResponse = operations['app___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AppShowRequest = operations['app___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type AppShowResponse = operations['app___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ApShowRequest = operations['ap___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type ApShowResponse = operations['ap___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AuthAcceptRequest = operations['auth___accept']['requestBody']['content']['application/json'];
// @public (undocumented)
type AuthSessionGenerateRequest = operations['auth___session___generate']['requestBody']['content']['application/json'];
// @public (undocumented)
type AuthSessionGenerateResponse = operations['auth___session___generate']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AuthSessionShowRequest = operations['auth___session___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type AuthSessionShowResponse = operations['auth___session___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AuthSessionUserkeyRequest = operations['auth___session___userkey']['requestBody']['content']['application/json'];
// @public (undocumented)
type AuthSessionUserkeyResponse = operations['auth___session___userkey']['responses']['200']['content']['application/json'];
// @public (undocumented)
type Blocking = components['schemas']['Blocking'];
// @public (undocumented)
type BlockingCreateRequest = operations['blocking___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type BlockingCreateResponse = operations['blocking___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type BlockingDeleteRequest = operations['blocking___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type BlockingDeleteResponse = operations['blocking___delete']['responses']['200']['content']['application/json'];
// @public (undocumented)
type BlockingListRequest = operations['blocking___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type BlockingListResponse = operations['blocking___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type BubbleGameRankingRequest = operations['bubble-game___ranking']['requestBody']['content']['application/json'];
// @public (undocumented)
type BubbleGameRankingResponse = operations['bubble-game___ranking']['responses']['200']['content']['application/json'];
// @public (undocumented)
type BubbleGameRegisterRequest = operations['bubble-game___register']['requestBody']['content']['application/json'];
// @public (undocumented)
type Channel = components['schemas']['Channel'];
// Warning: (ae-forgotten-export) The symbol "AnyOf" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export abstract class ChannelConnection<Channel extends AnyOf<Channels> = any> extends EventEmitter<Channel['events']> {
constructor(stream: Stream, channel: string, name?: string);
// (undocumented)
channel: string;
// (undocumented)
abstract dispose(): void;
// (undocumented)
abstract id: string;
// (undocumented)
inCount: number;
// (undocumented)
name?: string;
// (undocumented)
outCount: number;
// (undocumented)
send<T extends keyof Channel['receives']>(type: T, body: Channel['receives'][T]): void;
// (undocumented)
protected stream: Stream;
}
// @public (undocumented)
export type Channels = {
main: {
params: null;
events: {
notification: (payload: Notification_2) => void;
mention: (payload: Note) => void;
reply: (payload: Note) => void;
renote: (payload: Note) => void;
follow: (payload: UserDetailedNotMe) => void;
followed: (payload: UserDetailed | UserLite) => void;
unfollow: (payload: UserDetailed) => void;
meUpdated: (payload: UserDetailed) => void;
pageEvent: (payload: PageEvent) => void;
urlUploadFinished: (payload: {
marker: string;
file: DriveFile;
}) => void;
readAllNotifications: () => void;
unreadNotification: (payload: Notification_2) => void;
unreadMention: (payload: Note['id']) => void;
readAllUnreadMentions: () => void;
notificationFlushed: () => void;
unreadSpecifiedNote: (payload: Note['id']) => void;
readAllUnreadSpecifiedNotes: () => void;
readAllAntennas: () => void;
unreadAntenna: (payload: Antenna) => void;
readAllAnnouncements: () => void;
myTokenRegenerated: () => void;
signin: (payload: Signin) => void;
registryUpdated: (payload: {
scope?: string[];
key: string;
value: any | null;
}) => void;
driveFileCreated: (payload: DriveFile) => void;
readAntenna: (payload: Antenna) => void;
receiveFollowRequest: (payload: User) => void;
announcementCreated: (payload: AnnouncementCreated) => void;
};
receives: null;
};
homeTimeline: {
params: {
withRenotes?: boolean;
withFiles?: boolean;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
localTimeline: {
params: {
withRenotes?: boolean;
withReplies?: boolean;
withFiles?: boolean;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
hybridTimeline: {
params: {
withRenotes?: boolean;
withReplies?: boolean;
withFiles?: boolean;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
globalTimeline: {
params: {
withRenotes?: boolean;
withFiles?: boolean;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
userList: {
params: {
listId: string;
withFiles?: boolean;
withRenotes?: boolean;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
hashtag: {
params: {
q?: string;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
roleTimeline: {
params: {
roleId: string;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
antenna: {
params: {
antennaId: string;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
channel: {
params: {
channelId: string;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
drive: {
params: null;
events: {
fileCreated: (payload: DriveFile) => void;
fileDeleted: (payload: DriveFile['id']) => void;
fileUpdated: (payload: DriveFile) => void;
folderCreated: (payload: DriveFolder) => void;
folderDeleted: (payload: DriveFolder['id']) => void;
folderUpdated: (payload: DriveFolder) => void;
};
receives: null;
};
serverStats: {
params: null;
events: {
stats: (payload: ServerStats) => void;
statsLog: (payload: ServerStatsLog) => void;
};
receives: {
requestLog: {
id: string | number;
length: number;
};
};
};
queueStats: {
params: null;
events: {
stats: (payload: QueueStats) => void;
statsLog: (payload: QueueStatsLog) => void;
};
receives: {
requestLog: {
id: string | number;
length: number;
};
};
};
admin: {
params: null;
events: {
newAbuseUserReport: {
id: string;
targetUserId: string;
reporterId: string;
comment: string;
};
};
receives: null;
};
reversiGame: {
params: {
gameId: string;
};
events: {
started: (payload: {
game: ReversiGameDetailed;
}) => void;
ended: (payload: {
winnerId: User['id'] | null;
game: ReversiGameDetailed;
}) => void;
canceled: (payload: {
userId: User['id'];
}) => void;
changeReadyStates: (payload: {
user1: boolean;
user2: boolean;
}) => void;
updateSettings: (payload: {
userId: User['id'];
key: string;
value: any;
}) => void;
log: (payload: Record<string, any>) => void;
};
receives: {
putStone: {
pos: number;
id: string;
};
ready: boolean;
cancel: null | Record<string, never>;
updateSettings: {
key: string;
value: any;
};
claimTimeIsUp: null | Record<string, never>;
};
};
};
// @public (undocumented)
type ChannelsCreateRequest = operations['channels___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsCreateResponse = operations['channels___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChannelsFavoriteRequest = operations['channels___favorite']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsFeaturedResponse = operations['channels___featured']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChannelsFollowedRequest = operations['channels___followed']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsFollowedResponse = operations['channels___followed']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChannelsFollowRequest = operations['channels___follow']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsMyFavoritesResponse = operations['channels___my-favorites']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChannelsOwnedRequest = operations['channels___owned']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsOwnedResponse = operations['channels___owned']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChannelsSearchRequest = operations['channels___search']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsSearchResponse = operations['channels___search']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChannelsShowRequest = operations['channels___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsShowResponse = operations['channels___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChannelsTimelineRequest = operations['channels___timeline']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsTimelineResponse = operations['channels___timeline']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChannelsUnfavoriteRequest = operations['channels___unfavorite']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsUnfollowRequest = operations['channels___unfollow']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsUpdateRequest = operations['channels___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChannelsUpdateResponse = operations['channels___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsActiveUsersRequest = operations['charts___active-users']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsActiveUsersResponse = operations['charts___active-users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsApRequestRequest = operations['charts___ap-request']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsApRequestResponse = operations['charts___ap-request']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsDriveRequest = operations['charts___drive']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsDriveResponse = operations['charts___drive']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsFederationRequest = operations['charts___federation']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsFederationResponse = operations['charts___federation']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsInstanceRequest = operations['charts___instance']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsInstanceResponse = operations['charts___instance']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsNotesRequest = operations['charts___notes']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsNotesResponse = operations['charts___notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsUserDriveRequest = operations['charts___user___drive']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsUserDriveResponse = operations['charts___user___drive']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsUserFollowingRequest = operations['charts___user___following']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsUserFollowingResponse = operations['charts___user___following']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsUserNotesRequest = operations['charts___user___notes']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsUserNotesResponse = operations['charts___user___notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsUserPvRequest = operations['charts___user___pv']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsUserPvResponse = operations['charts___user___pv']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsUserReactionsRequest = operations['charts___user___reactions']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsUserReactionsResponse = operations['charts___user___reactions']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ChartsUsersRequest = operations['charts___users']['requestBody']['content']['application/json'];
// @public (undocumented)
type ChartsUsersResponse = operations['charts___users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type Clip = components['schemas']['Clip'];
// @public (undocumented)
type ClipsAddNoteRequest = operations['clips___add-note']['requestBody']['content']['application/json'];
// @public (undocumented)
type ClipsCreateRequest = operations['clips___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type ClipsCreateResponse = operations['clips___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ClipsDeleteRequest = operations['clips___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type ClipsFavoriteRequest = operations['clips___favorite']['requestBody']['content']['application/json'];
// @public (undocumented)
type ClipsListResponse = operations['clips___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ClipsMyFavoritesResponse = operations['clips___my-favorites']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ClipsNotesRequest = operations['clips___notes']['requestBody']['content']['application/json'];
// @public (undocumented)
type ClipsNotesResponse = operations['clips___notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ClipsRemoveNoteRequest = operations['clips___remove-note']['requestBody']['content']['application/json'];
// @public (undocumented)
type ClipsShowRequest = operations['clips___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type ClipsShowResponse = operations['clips___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ClipsUnfavoriteRequest = operations['clips___unfavorite']['requestBody']['content']['application/json'];
// @public (undocumented)
type ClipsUpdateRequest = operations['clips___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type ClipsUpdateResponse = operations['clips___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DateString = string;
// @public (undocumented)
type DriveFile = components['schemas']['DriveFile'];
// @public (undocumented)
type DriveFilesAttachedNotesRequest = operations['drive___files___attached-notes']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFilesAttachedNotesResponse = operations['drive___files___attached-notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFilesCheckExistenceRequest = operations['drive___files___check-existence']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFilesCheckExistenceResponse = operations['drive___files___check-existence']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFilesCreateRequest = operations['drive___files___create']['requestBody']['content']['multipart/form-data'];
// @public (undocumented)
type DriveFilesCreateResponse = operations['drive___files___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFilesDeleteRequest = operations['drive___files___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFilesFindByHashRequest = operations['drive___files___find-by-hash']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFilesFindByHashResponse = operations['drive___files___find-by-hash']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFilesFindRequest = operations['drive___files___find']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFilesFindResponse = operations['drive___files___find']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFilesRequest = operations['drive___files']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFilesResponse = operations['drive___files']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFilesShowRequest = operations['drive___files___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFilesShowResponse = operations['drive___files___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFilesUpdateRequest = operations['drive___files___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFilesUpdateResponse = operations['drive___files___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFilesUploadFromUrlRequest = operations['drive___files___upload-from-url']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFolder = components['schemas']['DriveFolder'];
// @public (undocumented)
type DriveFoldersCreateRequest = operations['drive___folders___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFoldersCreateResponse = operations['drive___folders___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFoldersDeleteRequest = operations['drive___folders___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFoldersFindRequest = operations['drive___folders___find']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFoldersFindResponse = operations['drive___folders___find']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFoldersRequest = operations['drive___folders']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFoldersResponse = operations['drive___folders']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFoldersShowRequest = operations['drive___folders___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFoldersShowResponse = operations['drive___folders___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveFoldersUpdateRequest = operations['drive___folders___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveFoldersUpdateResponse = operations['drive___folders___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveResponse = operations['drive']['responses']['200']['content']['application/json'];
// @public (undocumented)
type DriveStreamRequest = operations['drive___stream']['requestBody']['content']['application/json'];
// @public (undocumented)
type DriveStreamResponse = operations['drive___stream']['responses']['200']['content']['application/json'];
// @public (undocumented)
type EmailAddressAvailableRequest = operations['email-address___available']['requestBody']['content']['application/json'];
// @public (undocumented)
type EmailAddressAvailableResponse = operations['email-address___available']['responses']['200']['content']['application/json'];
// @public (undocumented)
type EmojiAdded = {
emoji: EmojiDetailed;
};
// @public (undocumented)
type EmojiDeleted = {
emojis: EmojiDetailed[];
};
// @public (undocumented)
type EmojiDetailed = components['schemas']['EmojiDetailed'];
// @public (undocumented)
type EmojiRequest = operations['emoji']['requestBody']['content']['application/json'];
// @public (undocumented)
type EmojiResponse = operations['emoji']['responses']['200']['content']['application/json'];
// @public (undocumented)
type EmojiSimple = components['schemas']['EmojiSimple'];
// @public (undocumented)
type EmojisResponse = operations['emojis']['responses']['200']['content']['application/json'];
// @public (undocumented)
type EmojiUpdated = {
emojis: EmojiDetailed[];
};
// @public (undocumented)
type EmptyRequest = Record<string, unknown> | undefined;
// @public (undocumented)
type EmptyResponse = Record<string, unknown> | undefined;
// @public (undocumented)
type EndpointRequest = operations['endpoint']['requestBody']['content']['application/json'];
// @public (undocumented)
type EndpointResponse = operations['endpoint']['responses']['200']['content']['application/json'];
// Warning: (ae-forgotten-export) The symbol "Overwrite" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "Endpoints_2" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export type Endpoints = Overwrite<Endpoints_2, {
'users/show': {
req: UsersShowRequest;
res: {
$switch: {
$cases: [
[
{
userIds?: string[];
},
UserDetailed[]
]
];
$default: UserDetailed;
};
};
};
'signup': {
req: SignupRequest;
res: SignupResponse;
};
'signup-pending': {
req: SignupPendingRequest;
res: SignupPendingResponse;
};
'signin': {
req: SigninRequest;
res: SigninResponse;
};
'admin/roles/create': {
req: Overwrite<AdminRolesCreateRequest, {
policies: PartialRolePolicyOverride;
}>;
res: AdminRolesCreateResponse;
};
}>;
// @public (undocumented)
type EndpointsResponse = operations['endpoints']['responses']['200']['content']['application/json'];
declare namespace entities {
export {
ID,
DateString,
PageEvent,
ModerationLog,
ServerStats,
ServerStatsLog,
QueueStats,
QueueStatsLog,
EmojiAdded,
EmojiUpdated,
EmojiDeleted,
AnnouncementCreated,
SignupRequest,
SignupResponse,
SignupPendingRequest,
SignupPendingResponse,
SigninRequest,
SigninResponse,
PartialRolePolicyOverride,
EmptyRequest,
EmptyResponse,
AdminMetaResponse,
AdminAbuseUserReportsRequest,
AdminAbuseUserReportsResponse,
AdminAbuseReportNotificationRecipientListRequest,
AdminAbuseReportNotificationRecipientListResponse,
AdminAbuseReportNotificationRecipientShowRequest,
AdminAbuseReportNotificationRecipientShowResponse,
AdminAbuseReportNotificationRecipientCreateRequest,
AdminAbuseReportNotificationRecipientCreateResponse,
AdminAbuseReportNotificationRecipientUpdateRequest,
AdminAbuseReportNotificationRecipientUpdateResponse,
AdminAbuseReportNotificationRecipientDeleteRequest,
AdminAccountsCreateRequest,
AdminAccountsCreateResponse,
AdminAccountsDeleteRequest,
AdminAccountsFindByEmailRequest,
AdminAccountsFindByEmailResponse,
AdminAdCreateRequest,
AdminAdCreateResponse,
AdminAdDeleteRequest,
AdminAdListRequest,
AdminAdListResponse,
AdminAdUpdateRequest,
AdminAnnouncementsCreateRequest,
AdminAnnouncementsCreateResponse,
AdminAnnouncementsDeleteRequest,
AdminAnnouncementsListRequest,
AdminAnnouncementsListResponse,
AdminAnnouncementsUpdateRequest,
AdminAvatarDecorationsCreateRequest,
AdminAvatarDecorationsDeleteRequest,
AdminAvatarDecorationsListRequest,
AdminAvatarDecorationsListResponse,
AdminAvatarDecorationsUpdateRequest,
AdminDeleteAllFilesOfAUserRequest,
AdminUnsetUserAvatarRequest,
AdminUnsetUserBannerRequest,
AdminDriveFilesRequest,
AdminDriveFilesResponse,
AdminDriveShowFileRequest,
AdminDriveShowFileResponse,
AdminEmojiAddAliasesBulkRequest,
AdminEmojiAddRequest,
AdminEmojiAddResponse,
AdminEmojiCopyRequest,
AdminEmojiCopyResponse,
AdminEmojiDeleteBulkRequest,
AdminEmojiDeleteRequest,
AdminEmojiImportZipRequest,
AdminEmojiListRemoteRequest,
AdminEmojiListRemoteResponse,
AdminEmojiListRequest,
AdminEmojiListResponse,
AdminEmojiRemoveAliasesBulkRequest,
AdminEmojiSetAliasesBulkRequest,
AdminEmojiSetCategoryBulkRequest,
AdminEmojiSetLicenseBulkRequest,
AdminEmojiUpdateRequest,
AdminFederationDeleteAllFilesRequest,
AdminFederationRefreshRemoteInstanceMetadataRequest,
AdminFederationRemoveAllFollowingRequest,
AdminFederationUpdateInstanceRequest,
AdminGetIndexStatsResponse,
AdminGetTableStatsResponse,
AdminGetUserIpsRequest,
AdminGetUserIpsResponse,
AdminInviteCreateRequest,
AdminInviteCreateResponse,
AdminInviteListRequest,
AdminInviteListResponse,
AdminPromoCreateRequest,
AdminQueueDeliverDelayedResponse,
AdminQueueInboxDelayedResponse,
AdminQueuePromoteRequest,
AdminQueueStatsResponse,
AdminRelaysAddRequest,
AdminRelaysAddResponse,
AdminRelaysListResponse,
AdminRelaysRemoveRequest,
AdminResetPasswordRequest,
AdminResetPasswordResponse,
AdminResolveAbuseUserReportRequest,
AdminSendEmailRequest,
AdminServerInfoResponse,
AdminShowModerationLogsRequest,
AdminShowModerationLogsResponse,
AdminShowUserRequest,
AdminShowUserResponse,
AdminShowUsersRequest,
AdminShowUsersResponse,
AdminSuspendUserRequest,
AdminUnsuspendUserRequest,
AdminUpdateMetaRequest,
AdminDeleteAccountRequest,
AdminUpdateUserNoteRequest,
AdminRolesCreateRequest,
AdminRolesCreateResponse,
AdminRolesDeleteRequest,
AdminRolesListResponse,
AdminRolesShowRequest,
AdminRolesShowResponse,
AdminRolesUpdateRequest,
AdminRolesAssignRequest,
AdminRolesUnassignRequest,
AdminRolesUpdateDefaultPoliciesRequest,
AdminRolesUsersRequest,
AdminRolesUsersResponse,
AdminSystemWebhookCreateRequest,
AdminSystemWebhookCreateResponse,
AdminSystemWebhookDeleteRequest,
AdminSystemWebhookListRequest,
AdminSystemWebhookListResponse,
AdminSystemWebhookShowRequest,
AdminSystemWebhookShowResponse,
AdminSystemWebhookUpdateRequest,
AdminSystemWebhookUpdateResponse,
AnnouncementsRequest,
AnnouncementsResponse,
AnnouncementsShowRequest,
AnnouncementsShowResponse,
AntennasCreateRequest,
AntennasCreateResponse,
AntennasDeleteRequest,
AntennasListResponse,
AntennasNotesRequest,
AntennasNotesResponse,
AntennasShowRequest,
AntennasShowResponse,
AntennasUpdateRequest,
AntennasUpdateResponse,
ApGetRequest,
ApGetResponse,
ApShowRequest,
ApShowResponse,
AppCreateRequest,
AppCreateResponse,
AppShowRequest,
AppShowResponse,
AuthAcceptRequest,
AuthSessionGenerateRequest,
AuthSessionGenerateResponse,
AuthSessionShowRequest,
AuthSessionShowResponse,
AuthSessionUserkeyRequest,
AuthSessionUserkeyResponse,
BlockingCreateRequest,
BlockingCreateResponse,
BlockingDeleteRequest,
BlockingDeleteResponse,
BlockingListRequest,
BlockingListResponse,
ChannelsCreateRequest,
ChannelsCreateResponse,
ChannelsFeaturedResponse,
ChannelsFollowRequest,
ChannelsFollowedRequest,
ChannelsFollowedResponse,
ChannelsOwnedRequest,
ChannelsOwnedResponse,
ChannelsShowRequest,
ChannelsShowResponse,
ChannelsTimelineRequest,
ChannelsTimelineResponse,
ChannelsUnfollowRequest,
ChannelsUpdateRequest,
ChannelsUpdateResponse,
ChannelsFavoriteRequest,
ChannelsUnfavoriteRequest,
ChannelsMyFavoritesResponse,
ChannelsSearchRequest,
ChannelsSearchResponse,
ChartsActiveUsersRequest,
ChartsActiveUsersResponse,
ChartsApRequestRequest,
ChartsApRequestResponse,
ChartsDriveRequest,
ChartsDriveResponse,
ChartsFederationRequest,
ChartsFederationResponse,
ChartsInstanceRequest,
ChartsInstanceResponse,
ChartsNotesRequest,
ChartsNotesResponse,
ChartsUserDriveRequest,
ChartsUserDriveResponse,
ChartsUserFollowingRequest,
ChartsUserFollowingResponse,
ChartsUserNotesRequest,
ChartsUserNotesResponse,
ChartsUserPvRequest,
ChartsUserPvResponse,
ChartsUserReactionsRequest,
ChartsUserReactionsResponse,
ChartsUsersRequest,
ChartsUsersResponse,
ClipsAddNoteRequest,
ClipsRemoveNoteRequest,
ClipsCreateRequest,
ClipsCreateResponse,
ClipsDeleteRequest,
ClipsListResponse,
ClipsNotesRequest,
ClipsNotesResponse,
ClipsShowRequest,
ClipsShowResponse,
ClipsUpdateRequest,
ClipsUpdateResponse,
ClipsFavoriteRequest,
ClipsUnfavoriteRequest,
ClipsMyFavoritesResponse,
DriveResponse,
DriveFilesRequest,
DriveFilesResponse,
DriveFilesAttachedNotesRequest,
DriveFilesAttachedNotesResponse,
DriveFilesCheckExistenceRequest,
DriveFilesCheckExistenceResponse,
DriveFilesCreateRequest,
DriveFilesCreateResponse,
DriveFilesDeleteRequest,
DriveFilesFindByHashRequest,
DriveFilesFindByHashResponse,
DriveFilesFindRequest,
DriveFilesFindResponse,
DriveFilesShowRequest,
DriveFilesShowResponse,
DriveFilesUpdateRequest,
DriveFilesUpdateResponse,
DriveFilesUploadFromUrlRequest,
DriveFoldersRequest,
DriveFoldersResponse,
DriveFoldersCreateRequest,
DriveFoldersCreateResponse,
DriveFoldersDeleteRequest,
DriveFoldersFindRequest,
DriveFoldersFindResponse,
DriveFoldersShowRequest,
DriveFoldersShowResponse,
DriveFoldersUpdateRequest,
DriveFoldersUpdateResponse,
DriveStreamRequest,
DriveStreamResponse,
EmailAddressAvailableRequest,
EmailAddressAvailableResponse,
EndpointRequest,
EndpointResponse,
EndpointsResponse,
FederationFollowersRequest,
FederationFollowersResponse,
FederationFollowingRequest,
FederationFollowingResponse,
FederationInstancesRequest,
FederationInstancesResponse,
FederationShowInstanceRequest,
FederationShowInstanceResponse,
FederationUpdateRemoteUserRequest,
FederationUsersRequest,
FederationUsersResponse,
FederationStatsRequest,
FederationStatsResponse,
FollowingCreateRequest,
FollowingCreateResponse,
FollowingDeleteRequest,
FollowingDeleteResponse,
FollowingUpdateRequest,
FollowingUpdateResponse,
FollowingUpdateAllRequest,
FollowingInvalidateRequest,
FollowingInvalidateResponse,
FollowingRequestsAcceptRequest,
FollowingRequestsCancelRequest,
FollowingRequestsCancelResponse,
FollowingRequestsListRequest,
FollowingRequestsListResponse,
FollowingRequestsRejectRequest,
GalleryFeaturedRequest,
GalleryFeaturedResponse,
GalleryPopularResponse,
GalleryPostsRequest,
GalleryPostsResponse,
GalleryPostsCreateRequest,
GalleryPostsCreateResponse,
GalleryPostsDeleteRequest,
GalleryPostsLikeRequest,
GalleryPostsShowRequest,
GalleryPostsShowResponse,
GalleryPostsUnlikeRequest,
GalleryPostsUpdateRequest,
GalleryPostsUpdateResponse,
GetOnlineUsersCountResponse,
GetAvatarDecorationsResponse,
HashtagsListRequest,
HashtagsListResponse,
HashtagsSearchRequest,
HashtagsSearchResponse,
HashtagsShowRequest,
HashtagsShowResponse,
HashtagsTrendResponse,
HashtagsUsersRequest,
HashtagsUsersResponse,
IResponse,
I2faDoneRequest,
I2faDoneResponse,
I2faKeyDoneRequest,
I2faKeyDoneResponse,
I2faPasswordLessRequest,
I2faRegisterKeyRequest,
I2faRegisterKeyResponse,
I2faRegisterRequest,
I2faRegisterResponse,
I2faUpdateKeyRequest,
I2faRemoveKeyRequest,
I2faUnregisterRequest,
IAppsRequest,
IAppsResponse,
IAuthorizedAppsRequest,
IAuthorizedAppsResponse,
IClaimAchievementRequest,
IChangePasswordRequest,
IDeleteAccountRequest,
IExportFollowingRequest,
IFavoritesRequest,
IFavoritesResponse,
IGalleryLikesRequest,
IGalleryLikesResponse,
IGalleryPostsRequest,
IGalleryPostsResponse,
IImportBlockingRequest,
IImportFollowingRequest,
IImportMutingRequest,
IImportUserListsRequest,
IImportAntennasRequest,
INotificationsRequest,
INotificationsResponse,
INotificationsGroupedRequest,
INotificationsGroupedResponse,
IPageLikesRequest,
IPageLikesResponse,
IPagesRequest,
IPagesResponse,
IPinRequest,
IPinResponse,
IReadAnnouncementRequest,
IRegenerateTokenRequest,
IRegistryGetAllRequest,
IRegistryGetAllResponse,
IRegistryGetDetailRequest,
IRegistryGetDetailResponse,
IRegistryGetRequest,
IRegistryGetResponse,
IRegistryKeysWithTypeRequest,
IRegistryKeysWithTypeResponse,
IRegistryKeysRequest,
IRegistryKeysResponse,
IRegistryRemoveRequest,
IRegistryScopesWithDomainResponse,
IRegistrySetRequest,
IRevokeTokenRequest,
ISigninHistoryRequest,
ISigninHistoryResponse,
IUnpinRequest,
IUnpinResponse,
IUpdateEmailRequest,
IUpdateEmailResponse,
IUpdateRequest,
IUpdateResponse,
IMoveRequest,
IMoveResponse,
IWebhooksCreateRequest,
IWebhooksCreateResponse,
IWebhooksListResponse,
IWebhooksShowRequest,
IWebhooksShowResponse,
IWebhooksUpdateRequest,
IWebhooksDeleteRequest,
InviteCreateResponse,
InviteDeleteRequest,
InviteListRequest,
InviteListResponse,
InviteLimitResponse,
MetaRequest,
MetaResponse,
EmojisResponse,
EmojiRequest,
EmojiResponse,
MiauthGenTokenRequest,
MiauthGenTokenResponse,
MuteCreateRequest,
MuteDeleteRequest,
MuteListRequest,
MuteListResponse,
RenoteMuteCreateRequest,
RenoteMuteDeleteRequest,
RenoteMuteListRequest,
RenoteMuteListResponse,
MyAppsRequest,
MyAppsResponse,
NotesRequest,
NotesResponse,
NotesChildrenRequest,
NotesChildrenResponse,
NotesClipsRequest,
NotesClipsResponse,
NotesConversationRequest,
NotesConversationResponse,
NotesCreateRequest,
NotesCreateResponse,
NotesDeleteRequest,
NotesFavoritesCreateRequest,
NotesFavoritesDeleteRequest,
NotesFeaturedRequest,
NotesFeaturedResponse,
NotesGlobalTimelineRequest,
NotesGlobalTimelineResponse,
NotesHybridTimelineRequest,
NotesHybridTimelineResponse,
NotesLocalTimelineRequest,
NotesLocalTimelineResponse,
NotesMentionsRequest,
NotesMentionsResponse,
NotesPollsRecommendationRequest,
NotesPollsRecommendationResponse,
NotesPollsVoteRequest,
NotesReactionsRequest,
NotesReactionsResponse,
NotesReactionsCreateRequest,
NotesReactionsDeleteRequest,
NotesRenotesRequest,
NotesRenotesResponse,
NotesRepliesRequest,
NotesRepliesResponse,
NotesSearchByTagRequest,
NotesSearchByTagResponse,
NotesSearchRequest,
NotesSearchResponse,
NotesShowRequest,
NotesShowResponse,
NotesStateRequest,
NotesStateResponse,
NotesThreadMutingCreateRequest,
NotesThreadMutingDeleteRequest,
NotesTimelineRequest,
NotesTimelineResponse,
NotesTranslateRequest,
NotesTranslateResponse,
NotesUnrenoteRequest,
NotesUserListTimelineRequest,
NotesUserListTimelineResponse,
NotificationsCreateRequest,
PagePushRequest,
PagesCreateRequest,
PagesCreateResponse,
PagesDeleteRequest,
PagesFeaturedResponse,
PagesLikeRequest,
PagesShowRequest,
PagesShowResponse,
PagesUnlikeRequest,
PagesUpdateRequest,
FlashCreateRequest,
FlashCreateResponse,
FlashDeleteRequest,
FlashFeaturedResponse,
FlashLikeRequest,
FlashShowRequest,
FlashShowResponse,
FlashUnlikeRequest,
FlashUpdateRequest,
FlashMyRequest,
FlashMyResponse,
FlashMyLikesRequest,
FlashMyLikesResponse,
PingResponse,
PinnedUsersResponse,
PromoReadRequest,
RolesListResponse,
RolesShowRequest,
RolesShowResponse,
RolesUsersRequest,
RolesUsersResponse,
RolesNotesRequest,
RolesNotesResponse,
RequestResetPasswordRequest,
ResetPasswordRequest,
ServerInfoResponse,
StatsResponse,
SwShowRegistrationRequest,
SwShowRegistrationResponse,
SwUpdateRegistrationRequest,
SwUpdateRegistrationResponse,
SwRegisterRequest,
SwRegisterResponse,
SwUnregisterRequest,
TestRequest,
TestResponse,
UsernameAvailableRequest,
UsernameAvailableResponse,
UsersRequest,
UsersResponse,
UsersClipsRequest,
UsersClipsResponse,
UsersFollowersRequest,
UsersFollowersResponse,
UsersFollowingRequest,
UsersFollowingResponse,
UsersGalleryPostsRequest,
UsersGalleryPostsResponse,
UsersGetFrequentlyRepliedUsersRequest,
UsersGetFrequentlyRepliedUsersResponse,
UsersFeaturedNotesRequest,
UsersFeaturedNotesResponse,
UsersListsCreateRequest,
UsersListsCreateResponse,
UsersListsDeleteRequest,
UsersListsListRequest,
UsersListsListResponse,
UsersListsPullRequest,
UsersListsPushRequest,
UsersListsShowRequest,
UsersListsShowResponse,
UsersListsFavoriteRequest,
UsersListsUnfavoriteRequest,
UsersListsUpdateRequest,
UsersListsUpdateResponse,
UsersListsCreateFromPublicRequest,
UsersListsCreateFromPublicResponse,
UsersListsUpdateMembershipRequest,
UsersListsGetMembershipsRequest,
UsersListsGetMembershipsResponse,
UsersNotesRequest,
UsersNotesResponse,
UsersPagesRequest,
UsersPagesResponse,
UsersFlashsRequest,
UsersFlashsResponse,
UsersReactionsRequest,
UsersReactionsResponse,
UsersRecommendationRequest,
UsersRecommendationResponse,
UsersRelationRequest,
UsersRelationResponse,
UsersReportAbuseRequest,
UsersSearchByUsernameAndHostRequest,
UsersSearchByUsernameAndHostResponse,
UsersSearchRequest,
UsersSearchResponse,
UsersShowRequest,
UsersShowResponse,
UsersAchievementsRequest,
UsersAchievementsResponse,
UsersUpdateMemoRequest,
FetchRssRequest,
FetchRssResponse,
FetchExternalResourcesRequest,
FetchExternalResourcesResponse,
RetentionResponse,
BubbleGameRegisterRequest,
BubbleGameRankingRequest,
BubbleGameRankingResponse,
ReversiCancelMatchRequest,
ReversiGamesRequest,
ReversiGamesResponse,
ReversiMatchRequest,
ReversiMatchResponse,
ReversiInvitationsResponse,
ReversiShowGameRequest,
ReversiShowGameResponse,
ReversiSurrenderRequest,
ReversiVerifyRequest,
ReversiVerifyResponse,
Error_2 as Error,
UserLite,
UserDetailedNotMeOnly,
MeDetailedOnly,
UserDetailedNotMe,
MeDetailed,
UserDetailed,
User,
UserList,
Ad,
Announcement,
App,
Note,
NoteReaction,
NoteFavorite,
Notification_2 as Notification,
DriveFile,
DriveFolder,
Following,
Muting,
RenoteMuting,
Blocking,
Hashtag,
InviteCode,
Page,
PageBlock,
Channel,
QueueCount,
Antenna,
Clip,
FederationInstance,
GalleryPost,
EmojiSimple,
EmojiDetailed,
Flash,
Signin,
RoleCondFormulaLogics,
RoleCondFormulaValueNot,
RoleCondFormulaValueIsLocalOrRemote,
RoleCondFormulaValueUserSettingBooleanSchema,
RoleCondFormulaValueAssignedRole,
RoleCondFormulaValueCreated,
RoleCondFormulaFollowersOrFollowingOrNotes,
RoleCondFormulaValue,
RoleLite,
Role,
RolePolicies,
ReversiGameLite,
ReversiGameDetailed,
MetaLite,
MetaDetailedOnly,
MetaDetailed,
SystemWebhook,
AbuseReportNotificationRecipient
}
}
export { entities }
// @public (undocumented)
type Error_2 = components['schemas']['Error'];
// @public (undocumented)
type FederationFollowersRequest = operations['federation___followers']['requestBody']['content']['application/json'];
// @public (undocumented)
type FederationFollowersResponse = operations['federation___followers']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FederationFollowingRequest = operations['federation___following']['requestBody']['content']['application/json'];
// @public (undocumented)
type FederationFollowingResponse = operations['federation___following']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FederationInstance = components['schemas']['FederationInstance'];
// @public (undocumented)
type FederationInstancesRequest = operations['federation___instances']['requestBody']['content']['application/json'];
// @public (undocumented)
type FederationInstancesResponse = operations['federation___instances']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FederationShowInstanceRequest = operations['federation___show-instance']['requestBody']['content']['application/json'];
// @public (undocumented)
type FederationShowInstanceResponse = operations['federation___show-instance']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FederationStatsRequest = operations['federation___stats']['requestBody']['content']['application/json'];
// @public (undocumented)
type FederationStatsResponse = operations['federation___stats']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FederationUpdateRemoteUserRequest = operations['federation___update-remote-user']['requestBody']['content']['application/json'];
// @public (undocumented)
type FederationUsersRequest = operations['federation___users']['requestBody']['content']['application/json'];
// @public (undocumented)
type FederationUsersResponse = operations['federation___users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FetchExternalResourcesRequest = operations['fetch-external-resources']['requestBody']['content']['application/json'];
// @public (undocumented)
type FetchExternalResourcesResponse = operations['fetch-external-resources']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FetchLike = (input: string, init?: {
method?: string;
body?: Blob | FormData | string;
credentials?: RequestCredentials;
cache?: RequestCache;
headers: {
[key in string]: string;
};
}) => Promise<{
status: number;
json(): Promise<any>;
}>;
// @public (undocumented)
type FetchRssRequest = operations['fetch-rss']['requestBody']['content']['application/json'];
// @public (undocumented)
type FetchRssResponse = operations['fetch-rss']['responses']['200']['content']['application/json'];
// @public (undocumented)
type Flash = components['schemas']['Flash'];
// @public (undocumented)
type FlashCreateRequest = operations['flash___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type FlashCreateResponse = operations['flash___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FlashDeleteRequest = operations['flash___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type FlashFeaturedResponse = operations['flash___featured']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FlashLikeRequest = operations['flash___like']['requestBody']['content']['application/json'];
// @public (undocumented)
type FlashMyLikesRequest = operations['flash___my-likes']['requestBody']['content']['application/json'];
// @public (undocumented)
type FlashMyLikesResponse = operations['flash___my-likes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FlashMyRequest = operations['flash___my']['requestBody']['content']['application/json'];
// @public (undocumented)
type FlashMyResponse = operations['flash___my']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FlashShowRequest = operations['flash___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type FlashShowResponse = operations['flash___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FlashUnlikeRequest = operations['flash___unlike']['requestBody']['content']['application/json'];
// @public (undocumented)
type FlashUpdateRequest = operations['flash___update']['requestBody']['content']['application/json'];
// @public (undocumented)
export const followersVisibilities: readonly ["public", "followers", "private"];
// @public (undocumented)
type Following = components['schemas']['Following'];
// @public (undocumented)
type FollowingCreateRequest = operations['following___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type FollowingCreateResponse = operations['following___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FollowingDeleteRequest = operations['following___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type FollowingDeleteResponse = operations['following___delete']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FollowingInvalidateRequest = operations['following___invalidate']['requestBody']['content']['application/json'];
// @public (undocumented)
type FollowingInvalidateResponse = operations['following___invalidate']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FollowingRequestsAcceptRequest = operations['following___requests___accept']['requestBody']['content']['application/json'];
// @public (undocumented)
type FollowingRequestsCancelRequest = operations['following___requests___cancel']['requestBody']['content']['application/json'];
// @public (undocumented)
type FollowingRequestsCancelResponse = operations['following___requests___cancel']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FollowingRequestsListRequest = operations['following___requests___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type FollowingRequestsListResponse = operations['following___requests___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type FollowingRequestsRejectRequest = operations['following___requests___reject']['requestBody']['content']['application/json'];
// @public (undocumented)
type FollowingUpdateAllRequest = operations['following___update-all']['requestBody']['content']['application/json'];
// @public (undocumented)
type FollowingUpdateRequest = operations['following___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type FollowingUpdateResponse = operations['following___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
export const followingVisibilities: readonly ["public", "followers", "private"];
// @public (undocumented)
type GalleryFeaturedRequest = operations['gallery___featured']['requestBody']['content']['application/json'];
// @public (undocumented)
type GalleryFeaturedResponse = operations['gallery___featured']['responses']['200']['content']['application/json'];
// @public (undocumented)
type GalleryPopularResponse = operations['gallery___popular']['responses']['200']['content']['application/json'];
// @public (undocumented)
type GalleryPost = components['schemas']['GalleryPost'];
// @public (undocumented)
type GalleryPostsCreateRequest = operations['gallery___posts___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type GalleryPostsCreateResponse = operations['gallery___posts___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type GalleryPostsDeleteRequest = operations['gallery___posts___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type GalleryPostsLikeRequest = operations['gallery___posts___like']['requestBody']['content']['application/json'];
// @public (undocumented)
type GalleryPostsRequest = operations['gallery___posts']['requestBody']['content']['application/json'];
// @public (undocumented)
type GalleryPostsResponse = operations['gallery___posts']['responses']['200']['content']['application/json'];
// @public (undocumented)
type GalleryPostsShowRequest = operations['gallery___posts___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type GalleryPostsShowResponse = operations['gallery___posts___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type GalleryPostsUnlikeRequest = operations['gallery___posts___unlike']['requestBody']['content']['application/json'];
// @public (undocumented)
type GalleryPostsUpdateRequest = operations['gallery___posts___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type GalleryPostsUpdateResponse = operations['gallery___posts___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type GetAvatarDecorationsResponse = operations['get-avatar-decorations']['responses']['200']['content']['application/json'];
// @public (undocumented)
type GetOnlineUsersCountResponse = operations['get-online-users-count']['responses']['200']['content']['application/json'];
// @public (undocumented)
type Hashtag = components['schemas']['Hashtag'];
// @public (undocumented)
type HashtagsListRequest = operations['hashtags___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type HashtagsListResponse = operations['hashtags___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type HashtagsSearchRequest = operations['hashtags___search']['requestBody']['content']['application/json'];
// @public (undocumented)
type HashtagsSearchResponse = operations['hashtags___search']['responses']['200']['content']['application/json'];
// @public (undocumented)
type HashtagsShowRequest = operations['hashtags___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type HashtagsShowResponse = operations['hashtags___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type HashtagsTrendResponse = operations['hashtags___trend']['responses']['200']['content']['application/json'];
// @public (undocumented)
type HashtagsUsersRequest = operations['hashtags___users']['requestBody']['content']['application/json'];
// @public (undocumented)
type HashtagsUsersResponse = operations['hashtags___users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type I2faDoneRequest = operations['i___2fa___done']['requestBody']['content']['application/json'];
// @public (undocumented)
type I2faDoneResponse = operations['i___2fa___done']['responses']['200']['content']['application/json'];
// @public (undocumented)
type I2faKeyDoneRequest = operations['i___2fa___key-done']['requestBody']['content']['application/json'];
// @public (undocumented)
type I2faKeyDoneResponse = operations['i___2fa___key-done']['responses']['200']['content']['application/json'];
// @public (undocumented)
type I2faPasswordLessRequest = operations['i___2fa___password-less']['requestBody']['content']['application/json'];
// @public (undocumented)
type I2faRegisterKeyRequest = operations['i___2fa___register-key']['requestBody']['content']['application/json'];
// @public (undocumented)
type I2faRegisterKeyResponse = operations['i___2fa___register-key']['responses']['200']['content']['application/json'];
// @public (undocumented)
type I2faRegisterRequest = operations['i___2fa___register']['requestBody']['content']['application/json'];
// @public (undocumented)
type I2faRegisterResponse = operations['i___2fa___register']['responses']['200']['content']['application/json'];
// @public (undocumented)
type I2faRemoveKeyRequest = operations['i___2fa___remove-key']['requestBody']['content']['application/json'];
// @public (undocumented)
type I2faUnregisterRequest = operations['i___2fa___unregister']['requestBody']['content']['application/json'];
// @public (undocumented)
type I2faUpdateKeyRequest = operations['i___2fa___update-key']['requestBody']['content']['application/json'];
// @public (undocumented)
type IAppsRequest = operations['i___apps']['requestBody']['content']['application/json'];
// @public (undocumented)
type IAppsResponse = operations['i___apps']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IAuthorizedAppsRequest = operations['i___authorized-apps']['requestBody']['content']['application/json'];
// @public (undocumented)
type IAuthorizedAppsResponse = operations['i___authorized-apps']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IChangePasswordRequest = operations['i___change-password']['requestBody']['content']['application/json'];
// @public (undocumented)
type IClaimAchievementRequest = operations['i___claim-achievement']['requestBody']['content']['application/json'];
// @public (undocumented)
type ID = string;
// @public (undocumented)
type IDeleteAccountRequest = operations['i___delete-account']['requestBody']['content']['application/json'];
// @public (undocumented)
type IExportFollowingRequest = operations['i___export-following']['requestBody']['content']['application/json'];
// @public (undocumented)
type IFavoritesRequest = operations['i___favorites']['requestBody']['content']['application/json'];
// @public (undocumented)
type IFavoritesResponse = operations['i___favorites']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IGalleryLikesRequest = operations['i___gallery___likes']['requestBody']['content']['application/json'];
// @public (undocumented)
type IGalleryLikesResponse = operations['i___gallery___likes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IGalleryPostsRequest = operations['i___gallery___posts']['requestBody']['content']['application/json'];
// @public (undocumented)
type IGalleryPostsResponse = operations['i___gallery___posts']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IImportAntennasRequest = operations['i___import-antennas']['requestBody']['content']['application/json'];
// @public (undocumented)
type IImportBlockingRequest = operations['i___import-blocking']['requestBody']['content']['application/json'];
// @public (undocumented)
type IImportFollowingRequest = operations['i___import-following']['requestBody']['content']['application/json'];
// @public (undocumented)
type IImportMutingRequest = operations['i___import-muting']['requestBody']['content']['application/json'];
// @public (undocumented)
type IImportUserListsRequest = operations['i___import-user-lists']['requestBody']['content']['application/json'];
// @public (undocumented)
type IMoveRequest = operations['i___move']['requestBody']['content']['application/json'];
// @public (undocumented)
type IMoveResponse = operations['i___move']['responses']['200']['content']['application/json'];
// @public (undocumented)
type INotificationsGroupedRequest = operations['i___notifications-grouped']['requestBody']['content']['application/json'];
// @public (undocumented)
type INotificationsGroupedResponse = operations['i___notifications-grouped']['responses']['200']['content']['application/json'];
// @public (undocumented)
type INotificationsRequest = operations['i___notifications']['requestBody']['content']['application/json'];
// @public (undocumented)
type INotificationsResponse = operations['i___notifications']['responses']['200']['content']['application/json'];
// @public (undocumented)
type InviteCode = components['schemas']['InviteCode'];
// @public (undocumented)
type InviteCreateResponse = operations['invite___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type InviteDeleteRequest = operations['invite___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type InviteLimitResponse = operations['invite___limit']['responses']['200']['content']['application/json'];
// @public (undocumented)
type InviteListRequest = operations['invite___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type InviteListResponse = operations['invite___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IPageLikesRequest = operations['i___page-likes']['requestBody']['content']['application/json'];
// @public (undocumented)
type IPageLikesResponse = operations['i___page-likes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IPagesRequest = operations['i___pages']['requestBody']['content']['application/json'];
// @public (undocumented)
type IPagesResponse = operations['i___pages']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IPinRequest = operations['i___pin']['requestBody']['content']['application/json'];
// @public (undocumented)
type IPinResponse = operations['i___pin']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IReadAnnouncementRequest = operations['i___read-announcement']['requestBody']['content']['application/json'];
// @public (undocumented)
type IRegenerateTokenRequest = operations['i___regenerate-token']['requestBody']['content']['application/json'];
// @public (undocumented)
type IRegistryGetAllRequest = operations['i___registry___get-all']['requestBody']['content']['application/json'];
// @public (undocumented)
type IRegistryGetAllResponse = operations['i___registry___get-all']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IRegistryGetDetailRequest = operations['i___registry___get-detail']['requestBody']['content']['application/json'];
// @public (undocumented)
type IRegistryGetDetailResponse = operations['i___registry___get-detail']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IRegistryGetRequest = operations['i___registry___get']['requestBody']['content']['application/json'];
// @public (undocumented)
type IRegistryGetResponse = operations['i___registry___get']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IRegistryKeysRequest = operations['i___registry___keys']['requestBody']['content']['application/json'];
// @public (undocumented)
type IRegistryKeysResponse = operations['i___registry___keys']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IRegistryKeysWithTypeRequest = operations['i___registry___keys-with-type']['requestBody']['content']['application/json'];
// @public (undocumented)
type IRegistryKeysWithTypeResponse = operations['i___registry___keys-with-type']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IRegistryRemoveRequest = operations['i___registry___remove']['requestBody']['content']['application/json'];
// @public (undocumented)
type IRegistryScopesWithDomainResponse = operations['i___registry___scopes-with-domain']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IRegistrySetRequest = operations['i___registry___set']['requestBody']['content']['application/json'];
// @public (undocumented)
type IResponse = operations['i']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IRevokeTokenRequest = operations['i___revoke-token']['requestBody']['content']['application/json'];
// @public (undocumented)
function isAPIError(reason: Record<PropertyKey, unknown>): reason is APIError;
// @public (undocumented)
type ISigninHistoryRequest = operations['i___signin-history']['requestBody']['content']['application/json'];
// @public (undocumented)
type ISigninHistoryResponse = operations['i___signin-history']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IUnpinRequest = operations['i___unpin']['requestBody']['content']['application/json'];
// @public (undocumented)
type IUnpinResponse = operations['i___unpin']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IUpdateEmailRequest = operations['i___update-email']['requestBody']['content']['application/json'];
// @public (undocumented)
type IUpdateEmailResponse = operations['i___update-email']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IUpdateRequest = operations['i___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type IUpdateResponse = operations['i___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IWebhooksCreateRequest = operations['i___webhooks___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type IWebhooksCreateResponse = operations['i___webhooks___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IWebhooksDeleteRequest = operations['i___webhooks___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type IWebhooksListResponse = operations['i___webhooks___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IWebhooksShowRequest = operations['i___webhooks___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type IWebhooksShowResponse = operations['i___webhooks___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IWebhooksUpdateRequest = operations['i___webhooks___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type MeDetailed = components['schemas']['MeDetailed'];
// @public (undocumented)
type MeDetailedOnly = components['schemas']['MeDetailedOnly'];
// @public (undocumented)
type MetaDetailed = components['schemas']['MetaDetailed'];
// @public (undocumented)
type MetaDetailedOnly = components['schemas']['MetaDetailedOnly'];
// @public (undocumented)
type MetaLite = components['schemas']['MetaLite'];
// @public (undocumented)
type MetaRequest = operations['meta']['requestBody']['content']['application/json'];
// @public (undocumented)
type MetaResponse = operations['meta']['responses']['200']['content']['application/json'];
// @public (undocumented)
type MiauthGenTokenRequest = operations['miauth___gen-token']['requestBody']['content']['application/json'];
// @public (undocumented)
type MiauthGenTokenResponse = operations['miauth___gen-token']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ModerationLog = {
id: ID;
createdAt: DateString;
userId: User['id'];
user: UserDetailedNotMe | null;
} & ({
type: 'updateServerSettings';
info: ModerationLogPayloads['updateServerSettings'];
} | {
type: 'suspend';
info: ModerationLogPayloads['suspend'];
} | {
type: 'unsuspend';
info: ModerationLogPayloads['unsuspend'];
} | {
type: 'updateUserNote';
info: ModerationLogPayloads['updateUserNote'];
} | {
type: 'addCustomEmoji';
info: ModerationLogPayloads['addCustomEmoji'];
} | {
type: 'updateCustomEmoji';
info: ModerationLogPayloads['updateCustomEmoji'];
} | {
type: 'deleteCustomEmoji';
info: ModerationLogPayloads['deleteCustomEmoji'];
} | {
type: 'assignRole';
info: ModerationLogPayloads['assignRole'];
} | {
type: 'unassignRole';
info: ModerationLogPayloads['unassignRole'];
} | {
type: 'createRole';
info: ModerationLogPayloads['createRole'];
} | {
type: 'updateRole';
info: ModerationLogPayloads['updateRole'];
} | {
type: 'deleteRole';
info: ModerationLogPayloads['deleteRole'];
} | {
type: 'clearQueue';
info: ModerationLogPayloads['clearQueue'];
} | {
type: 'promoteQueue';
info: ModerationLogPayloads['promoteQueue'];
} | {
type: 'deleteDriveFile';
info: ModerationLogPayloads['deleteDriveFile'];
} | {
type: 'deleteNote';
info: ModerationLogPayloads['deleteNote'];
} | {
type: 'createGlobalAnnouncement';
info: ModerationLogPayloads['createGlobalAnnouncement'];
} | {
type: 'createUserAnnouncement';
info: ModerationLogPayloads['createUserAnnouncement'];
} | {
type: 'updateGlobalAnnouncement';
info: ModerationLogPayloads['updateGlobalAnnouncement'];
} | {
type: 'updateUserAnnouncement';
info: ModerationLogPayloads['updateUserAnnouncement'];
} | {
type: 'deleteGlobalAnnouncement';
info: ModerationLogPayloads['deleteGlobalAnnouncement'];
} | {
type: 'deleteUserAnnouncement';
info: ModerationLogPayloads['deleteUserAnnouncement'];
} | {
type: 'resetPassword';
info: ModerationLogPayloads['resetPassword'];
} | {
type: 'suspendRemoteInstance';
info: ModerationLogPayloads['suspendRemoteInstance'];
} | {
type: 'unsuspendRemoteInstance';
info: ModerationLogPayloads['unsuspendRemoteInstance'];
} | {
type: 'updateRemoteInstanceNote';
info: ModerationLogPayloads['updateRemoteInstanceNote'];
} | {
type: 'markSensitiveDriveFile';
info: ModerationLogPayloads['markSensitiveDriveFile'];
} | {
type: 'unmarkSensitiveDriveFile';
info: ModerationLogPayloads['unmarkSensitiveDriveFile'];
} | {
type: 'createInvitation';
info: ModerationLogPayloads['createInvitation'];
} | {
type: 'createAd';
info: ModerationLogPayloads['createAd'];
} | {
type: 'updateAd';
info: ModerationLogPayloads['updateAd'];
} | {
type: 'deleteAd';
info: ModerationLogPayloads['deleteAd'];
} | {
type: 'createAvatarDecoration';
info: ModerationLogPayloads['createAvatarDecoration'];
} | {
type: 'updateAvatarDecoration';
info: ModerationLogPayloads['updateAvatarDecoration'];
} | {
type: 'deleteAvatarDecoration';
info: ModerationLogPayloads['deleteAvatarDecoration'];
} | {
type: 'resolveAbuseReport';
info: ModerationLogPayloads['resolveAbuseReport'];
} | {
type: 'unsetUserAvatar';
info: ModerationLogPayloads['unsetUserAvatar'];
} | {
type: 'createSystemWebhook';
info: ModerationLogPayloads['createSystemWebhook'];
} | {
type: 'updateSystemWebhook';
info: ModerationLogPayloads['updateSystemWebhook'];
} | {
type: 'deleteSystemWebhook';
info: ModerationLogPayloads['deleteSystemWebhook'];
} | {
type: 'createAbuseReportNotificationRecipient';
info: ModerationLogPayloads['createAbuseReportNotificationRecipient'];
} | {
type: 'updateAbuseReportNotificationRecipient';
info: ModerationLogPayloads['updateAbuseReportNotificationRecipient'];
} | {
type: 'deleteAbuseReportNotificationRecipient';
info: ModerationLogPayloads['deleteAbuseReportNotificationRecipient'];
});
// @public (undocumented)
export const moderationLogTypes: readonly ["updateServerSettings", "suspend", "unsuspend", "updateUserNote", "addCustomEmoji", "updateCustomEmoji", "deleteCustomEmoji", "assignRole", "unassignRole", "createRole", "updateRole", "deleteRole", "clearQueue", "promoteQueue", "deleteDriveFile", "deleteNote", "createGlobalAnnouncement", "createUserAnnouncement", "updateGlobalAnnouncement", "updateUserAnnouncement", "deleteGlobalAnnouncement", "deleteUserAnnouncement", "resetPassword", "suspendRemoteInstance", "unsuspendRemoteInstance", "updateRemoteInstanceNote", "markSensitiveDriveFile", "unmarkSensitiveDriveFile", "resolveAbuseReport", "createInvitation", "createAd", "updateAd", "deleteAd", "createAvatarDecoration", "updateAvatarDecoration", "deleteAvatarDecoration", "unsetUserAvatar", "unsetUserBanner"];
// @public (undocumented)
type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type MuteDeleteRequest = operations['mute___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
export const mutedNoteReasons: readonly ["word", "manual", "spam", "other"];
// @public (undocumented)
type MuteListRequest = operations['mute___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type MuteListResponse = operations['mute___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type Muting = components['schemas']['Muting'];
// @public (undocumented)
type MyAppsRequest = operations['my___apps']['requestBody']['content']['application/json'];
// @public (undocumented)
type MyAppsResponse = operations['my___apps']['responses']['200']['content']['application/json'];
// @public (undocumented)
type Note = components['schemas']['Note'];
// @public (undocumented)
type NoteFavorite = components['schemas']['NoteFavorite'];
// @public (undocumented)
type NoteReaction = components['schemas']['NoteReaction'];
// @public (undocumented)
type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesChildrenResponse = operations['notes___children']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesClipsRequest = operations['notes___clips']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesClipsResponse = operations['notes___clips']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesConversationRequest = operations['notes___conversation']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesConversationResponse = operations['notes___conversation']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesCreateRequest = operations['notes___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesCreateResponse = operations['notes___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesDeleteRequest = operations['notes___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesFavoritesCreateRequest = operations['notes___favorites___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesFavoritesDeleteRequest = operations['notes___favorites___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesFeaturedRequest = operations['notes___featured']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesFeaturedResponse = operations['notes___featured']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesGlobalTimelineRequest = operations['notes___global-timeline']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesGlobalTimelineResponse = operations['notes___global-timeline']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesHybridTimelineRequest = operations['notes___hybrid-timeline']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesHybridTimelineResponse = operations['notes___hybrid-timeline']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesLocalTimelineRequest = operations['notes___local-timeline']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesLocalTimelineResponse = operations['notes___local-timeline']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesMentionsRequest = operations['notes___mentions']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesMentionsResponse = operations['notes___mentions']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesPollsRecommendationRequest = operations['notes___polls___recommendation']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesPollsRecommendationResponse = operations['notes___polls___recommendation']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesPollsVoteRequest = operations['notes___polls___vote']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesReactionsCreateRequest = operations['notes___reactions___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesReactionsDeleteRequest = operations['notes___reactions___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesReactionsRequest = operations['notes___reactions']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesReactionsResponse = operations['notes___reactions']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesRenotesRequest = operations['notes___renotes']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesRenotesResponse = operations['notes___renotes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesRepliesRequest = operations['notes___replies']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesRepliesResponse = operations['notes___replies']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesRequest = operations['notes']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesResponse = operations['notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesSearchByTagRequest = operations['notes___search-by-tag']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesSearchByTagResponse = operations['notes___search-by-tag']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesSearchRequest = operations['notes___search']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesSearchResponse = operations['notes___search']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesShowRequest = operations['notes___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesShowResponse = operations['notes___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesStateRequest = operations['notes___state']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesStateResponse = operations['notes___state']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesThreadMutingCreateRequest = operations['notes___thread-muting___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesThreadMutingDeleteRequest = operations['notes___thread-muting___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesTimelineRequest = operations['notes___timeline']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesTimelineResponse = operations['notes___timeline']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesTranslateRequest = operations['notes___translate']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesTranslateResponse = operations['notes___translate']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesUnrenoteRequest = operations['notes___unrenote']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesUserListTimelineRequest = operations['notes___user-list-timeline']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesUserListTimelineResponse = operations['notes___user-list-timeline']['responses']['200']['content']['application/json'];
// @public (undocumented)
export const noteVisibilities: readonly ["public", "home", "followers", "specified"];
// @public (undocumented)
type Notification_2 = components['schemas']['Notification'];
// @public (undocumented)
type NotificationsCreateRequest = operations['notifications___create']['requestBody']['content']['application/json'];
// @public (undocumented)
export const notificationTypes: readonly ["note", "follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "pollEnded", "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app", "roleAssigned", "achievementEarned"];
// @public (undocumented)
type Page = components['schemas']['Page'];
// @public (undocumented)
type PageBlock = components['schemas']['PageBlock'];
// @public (undocumented)
type PageEvent = {
pageId: Page['id'];
event: string;
var: any;
userId: User['id'];
user: User;
};
// @public (undocumented)
type PagePushRequest = operations['page-push']['requestBody']['content']['application/json'];
// @public (undocumented)
type PagesCreateRequest = operations['pages___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type PagesCreateResponse = operations['pages___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type PagesDeleteRequest = operations['pages___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type PagesFeaturedResponse = operations['pages___featured']['responses']['200']['content']['application/json'];
// @public (undocumented)
type PagesLikeRequest = operations['pages___like']['requestBody']['content']['application/json'];
// @public (undocumented)
type PagesShowRequest = operations['pages___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type PagesShowResponse = operations['pages___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type PagesUnlikeRequest = operations['pages___unlike']['requestBody']['content']['application/json'];
// @public (undocumented)
type PagesUpdateRequest = operations['pages___update']['requestBody']['content']['application/json'];
// @public (undocumented)
function parse(acct: string): Acct;
// Warning: (ae-forgotten-export) The symbol "Values" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
type PartialRolePolicyOverride = Partial<{
[k in keyof RolePolicies]: Omit<Values<Role['policies']>, 'value'> & {
value: RolePolicies[k];
};
}>;
// @public (undocumented)
export const permissions: readonly ["read:account", "write:account", "read:blocks", "write:blocks", "read:drive", "write:drive", "read:favorites", "write:favorites", "read:following", "write:following", "read:messaging", "write:messaging", "read:mutes", "write:mutes", "write:notes", "read:notifications", "write:notifications", "read:reactions", "write:reactions", "write:votes", "read:pages", "write:pages", "write:page-likes", "read:page-likes", "read:user-groups", "write:user-groups", "read:channels", "write:channels", "read:gallery", "write:gallery", "read:gallery-likes", "write:gallery-likes", "read:flash", "write:flash", "read:flash-likes", "write:flash-likes", "read:admin:abuse-user-reports", "write:admin:delete-account", "write:admin:delete-all-files-of-a-user", "read:admin:index-stats", "read:admin:table-stats", "read:admin:user-ips", "read:admin:meta", "write:admin:reset-password", "write:admin:resolve-abuse-user-report", "write:admin:send-email", "read:admin:server-info", "read:admin:show-moderation-log", "read:admin:show-user", "write:admin:suspend-user", "write:admin:unset-user-avatar", "write:admin:unset-user-banner", "write:admin:unsuspend-user", "write:admin:meta", "write:admin:user-note", "write:admin:roles", "read:admin:roles", "write:admin:relays", "read:admin:relays", "write:admin:invite-codes", "read:admin:invite-codes", "write:admin:announcements", "read:admin:announcements", "write:admin:avatar-decorations", "read:admin:avatar-decorations", "write:admin:federation", "write:admin:account", "read:admin:account", "write:admin:emoji", "read:admin:emoji", "write:admin:queue", "read:admin:queue", "write:admin:promo", "write:admin:drive", "read:admin:drive", "write:admin:ad", "read:admin:ad", "write:invite-codes", "read:invite-codes", "write:clip-favorite", "read:clip-favorite", "read:federation", "write:report-abuse"];
// @public (undocumented)
type PingResponse = operations['ping']['responses']['200']['content']['application/json'];
// @public (undocumented)
type PinnedUsersResponse = operations['pinned-users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type PromoReadRequest = operations['promo___read']['requestBody']['content']['application/json'];
// @public (undocumented)
type QueueCount = components['schemas']['QueueCount'];
// @public (undocumented)
type QueueStats = {
deliver: {
activeSincePrevTick: number;
active: number;
waiting: number;
delayed: number;
};
inbox: {
activeSincePrevTick: number;
active: number;
waiting: number;
delayed: number;
};
};
// @public (undocumented)
type QueueStatsLog = QueueStats[];
// @public (undocumented)
type RenoteMuteCreateRequest = operations['renote-mute___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type RenoteMuteDeleteRequest = operations['renote-mute___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type RenoteMuteListRequest = operations['renote-mute___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type RenoteMuteListResponse = operations['renote-mute___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type RenoteMuting = components['schemas']['RenoteMuting'];
// @public (undocumented)
type RequestResetPasswordRequest = operations['request-reset-password']['requestBody']['content']['application/json'];
// @public (undocumented)
type ResetPasswordRequest = operations['reset-password']['requestBody']['content']['application/json'];
// @public (undocumented)
type RetentionResponse = operations['retention']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ReversiCancelMatchRequest = operations['reversi___cancel-match']['requestBody']['content']['application/json'];
// @public (undocumented)
type ReversiGameDetailed = components['schemas']['ReversiGameDetailed'];
// @public (undocumented)
type ReversiGameLite = components['schemas']['ReversiGameLite'];
// @public (undocumented)
type ReversiGamesRequest = operations['reversi___games']['requestBody']['content']['application/json'];
// @public (undocumented)
type ReversiGamesResponse = operations['reversi___games']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ReversiInvitationsResponse = operations['reversi___invitations']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ReversiMatchRequest = operations['reversi___match']['requestBody']['content']['application/json'];
// @public (undocumented)
type ReversiMatchResponse = operations['reversi___match']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ReversiShowGameRequest = operations['reversi___show-game']['requestBody']['content']['application/json'];
// @public (undocumented)
type ReversiShowGameResponse = operations['reversi___show-game']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ReversiSurrenderRequest = operations['reversi___surrender']['requestBody']['content']['application/json'];
// @public (undocumented)
type ReversiVerifyRequest = operations['reversi___verify']['requestBody']['content']['application/json'];
// @public (undocumented)
type ReversiVerifyResponse = operations['reversi___verify']['responses']['200']['content']['application/json'];
// @public (undocumented)
type Role = components['schemas']['Role'];
// @public (undocumented)
type RoleCondFormulaFollowersOrFollowingOrNotes = components['schemas']['RoleCondFormulaFollowersOrFollowingOrNotes'];
// @public (undocumented)
type RoleCondFormulaLogics = components['schemas']['RoleCondFormulaLogics'];
// @public (undocumented)
type RoleCondFormulaValue = components['schemas']['RoleCondFormulaValue'];
// @public (undocumented)
type RoleCondFormulaValueAssignedRole = components['schemas']['RoleCondFormulaValueAssignedRole'];
// @public (undocumented)
type RoleCondFormulaValueCreated = components['schemas']['RoleCondFormulaValueCreated'];
// @public (undocumented)
type RoleCondFormulaValueIsLocalOrRemote = components['schemas']['RoleCondFormulaValueIsLocalOrRemote'];
// @public (undocumented)
type RoleCondFormulaValueNot = components['schemas']['RoleCondFormulaValueNot'];
// @public (undocumented)
type RoleCondFormulaValueUserSettingBooleanSchema = components['schemas']['RoleCondFormulaValueUserSettingBooleanSchema'];
// @public (undocumented)
type RoleLite = components['schemas']['RoleLite'];
// @public (undocumented)
type RolePolicies = components['schemas']['RolePolicies'];
// @public (undocumented)
type RolesListResponse = operations['roles___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type RolesNotesRequest = operations['roles___notes']['requestBody']['content']['application/json'];
// @public (undocumented)
type RolesNotesResponse = operations['roles___notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type RolesShowRequest = operations['roles___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type RolesShowResponse = operations['roles___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type RolesUsersRequest = operations['roles___users']['requestBody']['content']['application/json'];
// @public (undocumented)
type RolesUsersResponse = operations['roles___users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ServerInfoResponse = operations['server-info']['responses']['200']['content']['application/json'];
// @public (undocumented)
type ServerStats = {
cpu: number;
mem: {
used: number;
active: number;
};
net: {
rx: number;
tx: number;
};
fs: {
r: number;
w: number;
};
};
// @public (undocumented)
type ServerStatsLog = ServerStats[];
// @public (undocumented)
type Signin = components['schemas']['Signin'];
// @public (undocumented)
type SigninRequest = {
username: string;
password: string;
token?: string;
};
// @public (undocumented)
type SigninResponse = {
id: User['id'];
i: string;
};
// @public (undocumented)
type SignupPendingRequest = {
code: string;
};
// @public (undocumented)
type SignupPendingResponse = {
id: User['id'];
i: string;
};
// @public (undocumented)
type SignupRequest = {
username: string;
password: string;
host?: string;
invitationCode?: string;
emailAddress?: string;
'hcaptcha-response'?: string | null;
'g-recaptcha-response'?: string | null;
'turnstile-response'?: string | null;
};
// @public (undocumented)
type SignupResponse = MeDetailed & {
token: string;
};
// @public (undocumented)
type StatsResponse = operations['stats']['responses']['200']['content']['application/json'];
// Warning: (ae-forgotten-export) The symbol "StreamEvents" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
export class Stream extends EventEmitter<StreamEvents> {
constructor(origin: string, user: {
token: string;
} | null, options?: {
WebSocket?: any;
});
// (undocumented)
close(): void;
// Warning: (ae-forgotten-export) The symbol "NonSharedConnection" needs to be exported by the entry point index.d.ts
//
// (undocumented)
disconnectToChannel(connection: NonSharedConnection): void;
// (undocumented)
heartbeat(): void;
// (undocumented)
ping(): void;
// Warning: (ae-forgotten-export) The symbol "SharedConnection" needs to be exported by the entry point index.d.ts
//
// (undocumented)
removeSharedConnection(connection: SharedConnection): void;
// Warning: (ae-forgotten-export) The symbol "Pool" needs to be exported by the entry point index.d.ts
//
// (undocumented)
removeSharedConnectionPool(pool: Pool): void;
// (undocumented)
send(typeOrPayload: string): void;
// (undocumented)
send(typeOrPayload: string, payload: any): void;
// (undocumented)
send(typeOrPayload: Record<string, any> | any[]): void;
// (undocumented)
state: 'initializing' | 'reconnecting' | 'connected';
// (undocumented)
useChannel<C extends keyof Channels>(channel: C, params?: Channels[C]['params'], name?: string): ChannelConnection<Channels[C]>;
}
// Warning: (ae-forgotten-export) The symbol "SwitchCase" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "IsCaseMatched" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "GetCaseResult" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
type SwitchCaseResponseType<E extends keyof Endpoints, P extends Endpoints[E]['req']> = Endpoints[E]['res'] extends SwitchCase ? IsCaseMatched<E, P, 0> extends true ? GetCaseResult<E, P, 0> : IsCaseMatched<E, P, 1> extends true ? GetCaseResult<E, P, 1> : IsCaseMatched<E, P, 2> extends true ? GetCaseResult<E, P, 2> : IsCaseMatched<E, P, 3> extends true ? GetCaseResult<E, P, 3> : IsCaseMatched<E, P, 4> extends true ? GetCaseResult<E, P, 4> : IsCaseMatched<E, P, 5> extends true ? GetCaseResult<E, P, 5> : IsCaseMatched<E, P, 6> extends true ? GetCaseResult<E, P, 6> : IsCaseMatched<E, P, 7> extends true ? GetCaseResult<E, P, 7> : IsCaseMatched<E, P, 8> extends true ? GetCaseResult<E, P, 8> : IsCaseMatched<E, P, 9> extends true ? GetCaseResult<E, P, 9> : Endpoints[E]['res']['$switch']['$default'] : Endpoints[E]['res'];
// @public (undocumented)
type SwRegisterRequest = operations['sw___register']['requestBody']['content']['application/json'];
// @public (undocumented)
type SwRegisterResponse = operations['sw___register']['responses']['200']['content']['application/json'];
// @public (undocumented)
type SwShowRegistrationRequest = operations['sw___show-registration']['requestBody']['content']['application/json'];
// @public (undocumented)
type SwShowRegistrationResponse = operations['sw___show-registration']['responses']['200']['content']['application/json'];
// @public (undocumented)
type SwUnregisterRequest = operations['sw___unregister']['requestBody']['content']['application/json'];
// @public (undocumented)
type SwUpdateRegistrationRequest = operations['sw___update-registration']['requestBody']['content']['application/json'];
// @public (undocumented)
type SwUpdateRegistrationResponse = operations['sw___update-registration']['responses']['200']['content']['application/json'];
// @public (undocumented)
type SystemWebhook = components['schemas']['SystemWebhook'];
// @public (undocumented)
type TestRequest = operations['test']['requestBody']['content']['application/json'];
// @public (undocumented)
type TestResponse = operations['test']['responses']['200']['content']['application/json'];
// @public (undocumented)
function toString_2(acct: Acct): string;
// @public (undocumented)
type User = components['schemas']['User'];
// @public (undocumented)
type UserDetailed = components['schemas']['UserDetailed'];
// @public (undocumented)
type UserDetailedNotMe = components['schemas']['UserDetailedNotMe'];
// @public (undocumented)
type UserDetailedNotMeOnly = components['schemas']['UserDetailedNotMeOnly'];
// @public (undocumented)
type UserList = components['schemas']['UserList'];
// @public (undocumented)
type UserLite = components['schemas']['UserLite'];
// @public (undocumented)
type UsernameAvailableRequest = operations['username___available']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsernameAvailableResponse = operations['username___available']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersAchievementsRequest = operations['users___achievements']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersAchievementsResponse = operations['users___achievements']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersClipsRequest = operations['users___clips']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersClipsResponse = operations['users___clips']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersFeaturedNotesRequest = operations['users___featured-notes']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersFeaturedNotesResponse = operations['users___featured-notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersFlashsRequest = operations['users___flashs']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersFlashsResponse = operations['users___flashs']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersFollowersRequest = operations['users___followers']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersFollowersResponse = operations['users___followers']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersFollowingRequest = operations['users___following']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersFollowingResponse = operations['users___following']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersGalleryPostsRequest = operations['users___gallery___posts']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersGalleryPostsResponse = operations['users___gallery___posts']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersGetFrequentlyRepliedUsersRequest = operations['users___get-frequently-replied-users']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersGetFrequentlyRepliedUsersResponse = operations['users___get-frequently-replied-users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersListsCreateFromPublicRequest = operations['users___lists___create-from-public']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsCreateFromPublicResponse = operations['users___lists___create-from-public']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersListsCreateRequest = operations['users___lists___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsCreateResponse = operations['users___lists___create']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersListsDeleteRequest = operations['users___lists___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsFavoriteRequest = operations['users___lists___favorite']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsGetMembershipsRequest = operations['users___lists___get-memberships']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsGetMembershipsResponse = operations['users___lists___get-memberships']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersListsListRequest = operations['users___lists___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsListResponse = operations['users___lists___list']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersListsPullRequest = operations['users___lists___pull']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsPushRequest = operations['users___lists___push']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsShowRequest = operations['users___lists___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsShowResponse = operations['users___lists___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersListsUnfavoriteRequest = operations['users___lists___unfavorite']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsUpdateMembershipRequest = operations['users___lists___update-membership']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsUpdateRequest = operations['users___lists___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersListsUpdateResponse = operations['users___lists___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersNotesRequest = operations['users___notes']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersNotesResponse = operations['users___notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersPagesRequest = operations['users___pages']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersPagesResponse = operations['users___pages']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersReactionsRequest = operations['users___reactions']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersReactionsResponse = operations['users___reactions']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersRecommendationRequest = operations['users___recommendation']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersRecommendationResponse = operations['users___recommendation']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersRelationRequest = operations['users___relation']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersRelationResponse = operations['users___relation']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersReportAbuseRequest = operations['users___report-abuse']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersRequest = operations['users']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersResponse = operations['users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersSearchByUsernameAndHostRequest = operations['users___search-by-username-and-host']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersSearchByUsernameAndHostResponse = operations['users___search-by-username-and-host']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersSearchRequest = operations['users___search']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersSearchResponse = operations['users___search']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersShowRequest = operations['users___show']['requestBody']['content']['application/json'];
// @public (undocumented)
type UsersShowResponse = operations['users___show']['responses']['200']['content']['application/json'];
// @public (undocumented)
type UsersUpdateMemoRequest = operations['users___update-memo']['requestBody']['content']['application/json'];
// Warnings were encountered during analysis:
//
// src/entities.ts:34:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts
// (No @packageDocumentation comment for this package)