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