regenerate misskey-js

This commit is contained in:
Hazelnoot 2025-03-31 14:30:29 -04:00
parent 08b8d50124
commit 59ce4d6c28
5 changed files with 3438 additions and 33 deletions

View file

@ -119,6 +119,9 @@ type AdminAnnouncementsListResponse = operations['admin___announcements___list']
// @public (undocumented) // @public (undocumented)
type AdminAnnouncementsUpdateRequest = operations['admin___announcements___update']['requestBody']['content']['application/json']; type AdminAnnouncementsUpdateRequest = operations['admin___announcements___update']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminApproveUserRequest = operations['admin___approve-user']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type AdminAvatarDecorationsCreateRequest = operations['admin___avatar-decorations___create']['requestBody']['content']['application/json']; type AdminAvatarDecorationsCreateRequest = operations['admin___avatar-decorations___create']['requestBody']['content']['application/json'];
@ -143,6 +146,12 @@ type AdminCaptchaCurrentResponse = operations['admin___captcha___current']['resp
// @public (undocumented) // @public (undocumented)
type AdminCaptchaSaveRequest = operations['admin___captcha___save']['requestBody']['content']['application/json']; type AdminCaptchaSaveRequest = operations['admin___captcha___save']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminCwUserRequest = operations['admin___cw-user']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminDeclineUserRequest = operations['admin___decline-user']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type AdminDeleteAccountRequest = operations['admin___delete-account']['requestBody']['content']['application/json']; type AdminDeleteAccountRequest = operations['admin___delete-account']['requestBody']['content']['application/json'];
@ -254,6 +263,9 @@ type AdminInviteListResponse = operations['admin___invite___list']['responses'][
// @public (undocumented) // @public (undocumented)
type AdminMetaResponse = operations['admin___meta']['responses']['200']['content']['application/json']; type AdminMetaResponse = operations['admin___meta']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminNsfwUserRequest = operations['admin___nsfw-user']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type AdminPromoCreateRequest = operations['admin___promo___create']['requestBody']['content']['application/json']; type AdminPromoCreateRequest = operations['admin___promo___create']['requestBody']['content']['application/json'];
@ -269,6 +281,9 @@ type AdminQueuePromoteRequest = operations['admin___queue___promote']['requestBo
// @public (undocumented) // @public (undocumented)
type AdminQueueStatsResponse = operations['admin___queue___stats']['responses']['200']['content']['application/json']; type AdminQueueStatsResponse = operations['admin___queue___stats']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminRejectQuotesRequest = operations['admin___reject-quotes']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type AdminRelaysAddRequest = operations['admin___relays___add']['requestBody']['content']['application/json']; type AdminRelaysAddRequest = operations['admin___relays___add']['requestBody']['content']['application/json'];
@ -350,6 +365,9 @@ type AdminShowUsersRequest = operations['admin___show-users']['requestBody']['co
// @public (undocumented) // @public (undocumented)
type AdminShowUsersResponse = operations['admin___show-users']['responses']['200']['content']['application/json']; type AdminShowUsersResponse = operations['admin___show-users']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminSilenceUserRequest = operations['admin___silence-user']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type AdminSuspendUserRequest = operations['admin___suspend-user']['requestBody']['content']['application/json']; type AdminSuspendUserRequest = operations['admin___suspend-user']['requestBody']['content']['application/json'];
@ -383,12 +401,18 @@ type AdminSystemWebhookUpdateRequest = operations['admin___system-webhook___upda
// @public (undocumented) // @public (undocumented)
type AdminSystemWebhookUpdateResponse = operations['admin___system-webhook___update']['responses']['200']['content']['application/json']; type AdminSystemWebhookUpdateResponse = operations['admin___system-webhook___update']['responses']['200']['content']['application/json'];
// @public (undocumented)
type AdminUnnsfwUserRequest = operations['admin___unnsfw-user']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type AdminUnsetUserAvatarRequest = operations['admin___unset-user-avatar']['requestBody']['content']['application/json']; type AdminUnsetUserAvatarRequest = operations['admin___unset-user-avatar']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type AdminUnsetUserBannerRequest = operations['admin___unset-user-banner']['requestBody']['content']['application/json']; type AdminUnsetUserBannerRequest = operations['admin___unset-user-banner']['requestBody']['content']['application/json'];
// @public (undocumented)
type AdminUnsilenceUserRequest = operations['admin___unsilence-user']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type AdminUnsuspendUserRequest = operations['admin___unsuspend-user']['requestBody']['content']['application/json']; type AdminUnsuspendUserRequest = operations['admin___unsuspend-user']['requestBody']['content']['application/json'];
@ -634,6 +658,7 @@ export type Channels = {
readAntenna: (payload: Antenna) => void; readAntenna: (payload: Antenna) => void;
receiveFollowRequest: (payload: User) => void; receiveFollowRequest: (payload: User) => void;
announcementCreated: (payload: AnnouncementCreated) => void; announcementCreated: (payload: AnnouncementCreated) => void;
edited: (payload: Note) => void;
}; };
receives: null; receives: null;
}; };
@ -641,6 +666,7 @@ export type Channels = {
params: { params: {
withRenotes?: boolean; withRenotes?: boolean;
withFiles?: boolean; withFiles?: boolean;
withBots?: boolean;
}; };
events: { events: {
note: (payload: Note) => void; note: (payload: Note) => void;
@ -652,6 +678,7 @@ export type Channels = {
withRenotes?: boolean; withRenotes?: boolean;
withReplies?: boolean; withReplies?: boolean;
withFiles?: boolean; withFiles?: boolean;
withBots?: boolean;
}; };
events: { events: {
note: (payload: Note) => void; note: (payload: Note) => void;
@ -663,6 +690,7 @@ export type Channels = {
withRenotes?: boolean; withRenotes?: boolean;
withReplies?: boolean; withReplies?: boolean;
withFiles?: boolean; withFiles?: boolean;
withBots?: boolean;
}; };
events: { events: {
note: (payload: Note) => void; note: (payload: Note) => void;
@ -673,6 +701,18 @@ export type Channels = {
params: { params: {
withRenotes?: boolean; withRenotes?: boolean;
withFiles?: boolean; withFiles?: boolean;
withBots?: boolean;
};
events: {
note: (payload: Note) => void;
};
receives: null;
};
bubbleTimeline: {
params: {
withRenotes?: boolean;
withFiles?: boolean;
withBots?: boolean;
}; };
events: { events: {
note: (payload: Note) => void; note: (payload: Note) => void;
@ -1425,6 +1465,7 @@ declare namespace entities {
AdminAnnouncementsListRequest, AdminAnnouncementsListRequest,
AdminAnnouncementsListResponse, AdminAnnouncementsListResponse,
AdminAnnouncementsUpdateRequest, AdminAnnouncementsUpdateRequest,
AdminApproveUserRequest,
AdminAvatarDecorationsCreateRequest, AdminAvatarDecorationsCreateRequest,
AdminAvatarDecorationsCreateResponse, AdminAvatarDecorationsCreateResponse,
AdminAvatarDecorationsDeleteRequest, AdminAvatarDecorationsDeleteRequest,
@ -1433,6 +1474,8 @@ declare namespace entities {
AdminAvatarDecorationsUpdateRequest, AdminAvatarDecorationsUpdateRequest,
AdminCaptchaCurrentResponse, AdminCaptchaCurrentResponse,
AdminCaptchaSaveRequest, AdminCaptchaSaveRequest,
AdminCwUserRequest,
AdminDeclineUserRequest,
AdminDeleteAccountRequest, AdminDeleteAccountRequest,
AdminDeleteAllFilesOfAUserRequest, AdminDeleteAllFilesOfAUserRequest,
AdminDriveFilesRequest, AdminDriveFilesRequest,
@ -1470,11 +1513,13 @@ declare namespace entities {
AdminInviteListRequest, AdminInviteListRequest,
AdminInviteListResponse, AdminInviteListResponse,
AdminMetaResponse, AdminMetaResponse,
AdminNsfwUserRequest,
AdminPromoCreateRequest, AdminPromoCreateRequest,
AdminQueueDeliverDelayedResponse, AdminQueueDeliverDelayedResponse,
AdminQueueInboxDelayedResponse, AdminQueueInboxDelayedResponse,
AdminQueuePromoteRequest, AdminQueuePromoteRequest,
AdminQueueStatsResponse, AdminQueueStatsResponse,
AdminRejectQuotesRequest,
AdminRelaysAddRequest, AdminRelaysAddRequest,
AdminRelaysAddResponse, AdminRelaysAddResponse,
AdminRelaysListResponse, AdminRelaysListResponse,
@ -1502,6 +1547,7 @@ declare namespace entities {
AdminShowUserResponse, AdminShowUserResponse,
AdminShowUsersRequest, AdminShowUsersRequest,
AdminShowUsersResponse, AdminShowUsersResponse,
AdminSilenceUserRequest,
AdminSuspendUserRequest, AdminSuspendUserRequest,
AdminSystemWebhookCreateRequest, AdminSystemWebhookCreateRequest,
AdminSystemWebhookCreateResponse, AdminSystemWebhookCreateResponse,
@ -1513,8 +1559,10 @@ declare namespace entities {
AdminSystemWebhookTestRequest, AdminSystemWebhookTestRequest,
AdminSystemWebhookUpdateRequest, AdminSystemWebhookUpdateRequest,
AdminSystemWebhookUpdateResponse, AdminSystemWebhookUpdateResponse,
AdminUnnsfwUserRequest,
AdminUnsetUserAvatarRequest, AdminUnsetUserAvatarRequest,
AdminUnsetUserBannerRequest, AdminUnsetUserBannerRequest,
AdminUnsilenceUserRequest,
AdminUnsuspendUserRequest, AdminUnsuspendUserRequest,
AdminUpdateAbuseUserReportRequest, AdminUpdateAbuseUserReportRequest,
AdminUpdateMetaRequest, AdminUpdateMetaRequest,
@ -1810,6 +1858,7 @@ declare namespace entities {
IImportBlockingRequest, IImportBlockingRequest,
IImportFollowingRequest, IImportFollowingRequest,
IImportMutingRequest, IImportMutingRequest,
IImportNotesRequest,
IImportUserListsRequest, IImportUserListsRequest,
IMoveRequest, IMoveRequest,
IMoveResponse, IMoveResponse,
@ -1831,6 +1880,7 @@ declare namespace entities {
IRegistryGetAllResponse, IRegistryGetAllResponse,
IRegistryGetDetailRequest, IRegistryGetDetailRequest,
IRegistryGetDetailResponse, IRegistryGetDetailResponse,
IRegistryGetUnsecureRequest,
IRegistryKeysRequest, IRegistryKeysRequest,
IRegistryKeysResponse, IRegistryKeysResponse,
IRegistryKeysWithTypeRequest, IRegistryKeysWithTypeRequest,
@ -1872,6 +1922,8 @@ declare namespace entities {
MyAppsResponse, MyAppsResponse,
NotesRequest, NotesRequest,
NotesResponse, NotesResponse,
NotesBubbleTimelineRequest,
NotesBubbleTimelineResponse,
NotesChildrenRequest, NotesChildrenRequest,
NotesChildrenResponse, NotesChildrenResponse,
NotesClipsRequest, NotesClipsRequest,
@ -1881,20 +1933,26 @@ declare namespace entities {
NotesCreateRequest, NotesCreateRequest,
NotesCreateResponse, NotesCreateResponse,
NotesDeleteRequest, NotesDeleteRequest,
NotesEditRequest,
NotesEditResponse,
NotesFavoritesCreateRequest, NotesFavoritesCreateRequest,
NotesFavoritesDeleteRequest, NotesFavoritesDeleteRequest,
NotesFeaturedRequest, NotesFeaturedRequest,
NotesFeaturedResponse, NotesFeaturedResponse,
NotesFollowingRequest,
NotesFollowingResponse,
NotesGlobalTimelineRequest, NotesGlobalTimelineRequest,
NotesGlobalTimelineResponse, NotesGlobalTimelineResponse,
NotesHybridTimelineRequest, NotesHybridTimelineRequest,
NotesHybridTimelineResponse, NotesHybridTimelineResponse,
NotesLikeRequest,
NotesLocalTimelineRequest, NotesLocalTimelineRequest,
NotesLocalTimelineResponse, NotesLocalTimelineResponse,
NotesMentionsRequest, NotesMentionsRequest,
NotesMentionsResponse, NotesMentionsResponse,
NotesPollsRecommendationRequest, NotesPollsRecommendationRequest,
NotesPollsRecommendationResponse, NotesPollsRecommendationResponse,
NotesPollsRefreshRequest,
NotesPollsVoteRequest, NotesPollsVoteRequest,
NotesReactionsRequest, NotesReactionsRequest,
NotesReactionsResponse, NotesReactionsResponse,
@ -1904,6 +1962,10 @@ declare namespace entities {
NotesRenotesResponse, NotesRenotesResponse,
NotesRepliesRequest, NotesRepliesRequest,
NotesRepliesResponse, NotesRepliesResponse,
NotesScheduleCreateRequest,
NotesScheduleDeleteRequest,
NotesScheduleListRequest,
NotesScheduleListResponse,
NotesSearchRequest, NotesSearchRequest,
NotesSearchResponse, NotesSearchResponse,
NotesSearchByTagRequest, NotesSearchByTagRequest,
@ -1921,6 +1983,8 @@ declare namespace entities {
NotesUnrenoteRequest, NotesUnrenoteRequest,
NotesUserListTimelineRequest, NotesUserListTimelineRequest,
NotesUserListTimelineResponse, NotesUserListTimelineResponse,
NotesVersionsRequest,
NotesVersionsResponse,
NotificationsCreateRequest, NotificationsCreateRequest,
PagePushRequest, PagePushRequest,
PagesCreateRequest, PagesCreateRequest,
@ -1961,6 +2025,8 @@ declare namespace entities {
RolesUsersRequest, RolesUsersRequest,
RolesUsersResponse, RolesUsersResponse,
ServerInfoResponse, ServerInfoResponse,
SponsorsRequest,
SponsorsResponse,
StatsResponse, StatsResponse,
SwRegisterRequest, SwRegisterRequest,
SwRegisterResponse, SwRegisterResponse,
@ -2461,6 +2527,9 @@ type IImportFollowingRequest = operations['i___import-following']['requestBody']
// @public (undocumented) // @public (undocumented)
type IImportMutingRequest = operations['i___import-muting']['requestBody']['content']['application/json']; type IImportMutingRequest = operations['i___import-muting']['requestBody']['content']['application/json'];
// @public (undocumented)
type IImportNotesRequest = operations['i___import-notes']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type IImportUserListsRequest = operations['i___import-user-lists']['requestBody']['content']['application/json']; type IImportUserListsRequest = operations['i___import-user-lists']['requestBody']['content']['application/json'];
@ -2542,6 +2611,9 @@ type IRegistryGetRequest = operations['i___registry___get']['requestBody']['cont
// @public (undocumented) // @public (undocumented)
type IRegistryGetResponse = operations['i___registry___get']['responses']['200']['content']['application/json']; type IRegistryGetResponse = operations['i___registry___get']['responses']['200']['content']['application/json'];
// @public (undocumented)
type IRegistryGetUnsecureRequest = operations['i___registry___get-unsecure']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type IRegistryKeysRequest = operations['i___registry___keys']['requestBody']['content']['application/json']; type IRegistryKeysRequest = operations['i___registry___keys']['requestBody']['content']['application/json'];
@ -2693,12 +2765,30 @@ type ModerationLog = {
} & ({ } & ({
type: 'updateServerSettings'; type: 'updateServerSettings';
info: ModerationLogPayloads['updateServerSettings']; info: ModerationLogPayloads['updateServerSettings'];
} | {
type: 'approve';
info: ModerationLogPayloads['approve'];
} | {
type: 'decline';
info: ModerationLogPayloads['decline'];
} | { } | {
type: 'suspend'; type: 'suspend';
info: ModerationLogPayloads['suspend']; info: ModerationLogPayloads['suspend'];
} | { } | {
type: 'unsuspend'; type: 'unsuspend';
info: ModerationLogPayloads['unsuspend']; info: ModerationLogPayloads['unsuspend'];
} | {
type: 'acceptQuotesUser';
info: ModerationLogPayloads['acceptQuotesUser'];
} | {
type: 'rejectQuotesUser';
info: ModerationLogPayloads['rejectQuotesUser'];
} | {
type: 'acceptQuotesInstance';
info: ModerationLogPayloads['acceptQuotesInstance'];
} | {
type: 'rejectQuotesInstance';
info: ModerationLogPayloads['rejectQuotesInstance'];
} | { } | {
type: 'updateUserNote'; type: 'updateUserNote';
info: ModerationLogPayloads['updateUserNote']; info: ModerationLogPayloads['updateUserNote'];
@ -2756,6 +2846,15 @@ type ModerationLog = {
} | { } | {
type: 'deleteUserAnnouncement'; type: 'deleteUserAnnouncement';
info: ModerationLogPayloads['deleteUserAnnouncement']; info: ModerationLogPayloads['deleteUserAnnouncement'];
} | {
type: 'setMandatoryCW';
info: ModerationLogPayloads['setMandatoryCW'];
} | {
type: 'setRemoteInstanceNSFW';
info: ModerationLogPayloads['setRemoteInstanceNSFW'];
} | {
type: 'unsetRemoteInstanceNSFW';
info: ModerationLogPayloads['unsetRemoteInstanceNSFW'];
} | { } | {
type: 'resetPassword'; type: 'resetPassword';
info: ModerationLogPayloads['resetPassword']; info: ModerationLogPayloads['resetPassword'];
@ -2765,6 +2864,12 @@ type ModerationLog = {
} | { } | {
type: 'unsuspendRemoteInstance'; type: 'unsuspendRemoteInstance';
info: ModerationLogPayloads['unsuspendRemoteInstance']; info: ModerationLogPayloads['unsuspendRemoteInstance'];
} | {
type: 'rejectRemoteInstanceReports';
info: ModerationLogPayloads['rejectRemoteInstanceReports'];
} | {
type: 'acceptRemoteInstanceReports';
info: ModerationLogPayloads['acceptRemoteInstanceReports'];
} | { } | {
type: 'updateRemoteInstanceNote'; type: 'updateRemoteInstanceNote';
info: ModerationLogPayloads['updateRemoteInstanceNote']; info: ModerationLogPayloads['updateRemoteInstanceNote'];
@ -2843,10 +2948,55 @@ type ModerationLog = {
} | { } | {
type: 'deleteChatRoom'; type: 'deleteChatRoom';
info: ModerationLogPayloads['deleteChatRoom']; info: ModerationLogPayloads['deleteChatRoom'];
} | {
type: 'clearUserFiles';
info: ModerationLogPayloads['clearUserFiles'];
} | {
type: 'nsfwUser';
info: ModerationLogPayloads['nsfwUser'];
} | {
type: 'unNsfwUser';
info: ModerationLogPayloads['unNsfwUser'];
} | {
type: 'silenceUser';
info: ModerationLogPayloads['silenceUser'];
} | {
type: 'unSilenceUser';
info: ModerationLogPayloads['unSilenceUser'];
} | {
type: 'createAccount';
info: ModerationLogPayloads['createAccount'];
} | {
type: 'clearRemoteFiles';
info: ModerationLogPayloads['clearRemoteFiles'];
} | {
type: 'clearOwnerlessFiles';
info: ModerationLogPayloads['clearOwnerlessFiles'];
} | {
type: 'updateCustomEmojis';
info: ModerationLogPayloads['updateCustomEmojis'];
} | {
type: 'importCustomEmojis';
info: ModerationLogPayloads['importCustomEmojis'];
} | {
type: 'clearInstanceFiles';
info: ModerationLogPayloads['clearInstanceFiles'];
} | {
type: 'severFollowRelations';
info: ModerationLogPayloads['severFollowRelations'];
} | {
type: 'createPromo';
info: ModerationLogPayloads['createPromo'];
} | {
type: 'addRelay';
info: ModerationLogPayloads['addRelay'];
} | {
type: 'removeRelay';
info: ModerationLogPayloads['removeRelay'];
}); });
// @public (undocumented) // @public (undocumented)
export const moderationLogTypes: readonly ["updateServerSettings", "suspend", "unsuspend", "updateUserNote", "addCustomEmoji", "updateCustomEmoji", "deleteCustomEmoji", "assignRole", "unassignRole", "createRole", "updateRole", "deleteRole", "clearQueue", "promoteQueue", "deleteDriveFile", "deleteNote", "createGlobalAnnouncement", "createUserAnnouncement", "updateGlobalAnnouncement", "updateUserAnnouncement", "deleteGlobalAnnouncement", "deleteUserAnnouncement", "resetPassword", "suspendRemoteInstance", "unsuspendRemoteInstance", "updateRemoteInstanceNote", "markSensitiveDriveFile", "unmarkSensitiveDriveFile", "resolveAbuseReport", "forwardAbuseReport", "updateAbuseReportNote", "createInvitation", "createAd", "updateAd", "deleteAd", "createAvatarDecoration", "updateAvatarDecoration", "deleteAvatarDecoration", "unsetUserAvatar", "unsetUserBanner", "createSystemWebhook", "updateSystemWebhook", "deleteSystemWebhook", "createAbuseReportNotificationRecipient", "updateAbuseReportNotificationRecipient", "deleteAbuseReportNotificationRecipient", "deleteAccount", "deletePage", "deleteFlash", "deleteGalleryPost", "deleteChatRoom"]; export const moderationLogTypes: readonly ["updateServerSettings", "suspend", "approve", "decline", "unsuspend", "updateUserNote", "addCustomEmoji", "updateCustomEmoji", "deleteCustomEmoji", "assignRole", "unassignRole", "createRole", "updateRole", "deleteRole", "clearQueue", "promoteQueue", "deleteDriveFile", "deleteNote", "createGlobalAnnouncement", "createUserAnnouncement", "updateGlobalAnnouncement", "updateUserAnnouncement", "deleteGlobalAnnouncement", "deleteUserAnnouncement", "resetPassword", "setMandatoryCW", "setRemoteInstanceNSFW", "unsetRemoteInstanceNSFW", "suspendRemoteInstance", "unsuspendRemoteInstance", "rejectRemoteInstanceReports", "acceptRemoteInstanceReports", "updateRemoteInstanceNote", "markSensitiveDriveFile", "unmarkSensitiveDriveFile", "resolveAbuseReport", "forwardAbuseReport", "updateAbuseReportNote", "createInvitation", "createAd", "updateAd", "deleteAd", "createAvatarDecoration", "updateAvatarDecoration", "deleteAvatarDecoration", "unsetUserAvatar", "unsetUserBanner", "createSystemWebhook", "updateSystemWebhook", "deleteSystemWebhook", "createAbuseReportNotificationRecipient", "updateAbuseReportNotificationRecipient", "deleteAbuseReportNotificationRecipient", "deleteAccount", "deletePage", "deleteFlash", "deleteGalleryPost", "deleteChatRoom"];
// @public (undocumented) // @public (undocumented)
type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json']; type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json'];
@ -2888,6 +3038,12 @@ type NoteFavorite = components['schemas']['NoteFavorite'];
// @public (undocumented) // @public (undocumented)
type NoteReaction = components['schemas']['NoteReaction']; type NoteReaction = components['schemas']['NoteReaction'];
// @public (undocumented)
type NotesBubbleTimelineRequest = operations['notes___bubble-timeline']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesBubbleTimelineResponse = operations['notes___bubble-timeline']['responses']['200']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json']; type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json'];
@ -2915,6 +3071,12 @@ type NotesCreateResponse = operations['notes___create']['responses']['200']['con
// @public (undocumented) // @public (undocumented)
type NotesDeleteRequest = operations['notes___delete']['requestBody']['content']['application/json']; type NotesDeleteRequest = operations['notes___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesEditRequest = operations['notes___edit']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesEditResponse = operations['notes___edit']['responses']['200']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type NotesFavoritesCreateRequest = operations['notes___favorites___create']['requestBody']['content']['application/json']; type NotesFavoritesCreateRequest = operations['notes___favorites___create']['requestBody']['content']['application/json'];
@ -2927,6 +3089,12 @@ type NotesFeaturedRequest = operations['notes___featured']['requestBody']['conte
// @public (undocumented) // @public (undocumented)
type NotesFeaturedResponse = operations['notes___featured']['responses']['200']['content']['application/json']; type NotesFeaturedResponse = operations['notes___featured']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesFollowingRequest = operations['notes___following']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesFollowingResponse = operations['notes___following']['responses']['200']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type NotesGlobalTimelineRequest = operations['notes___global-timeline']['requestBody']['content']['application/json']; type NotesGlobalTimelineRequest = operations['notes___global-timeline']['requestBody']['content']['application/json'];
@ -2939,6 +3107,9 @@ type NotesHybridTimelineRequest = operations['notes___hybrid-timeline']['request
// @public (undocumented) // @public (undocumented)
type NotesHybridTimelineResponse = operations['notes___hybrid-timeline']['responses']['200']['content']['application/json']; type NotesHybridTimelineResponse = operations['notes___hybrid-timeline']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesLikeRequest = operations['notes___like']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type NotesLocalTimelineRequest = operations['notes___local-timeline']['requestBody']['content']['application/json']; type NotesLocalTimelineRequest = operations['notes___local-timeline']['requestBody']['content']['application/json'];
@ -2957,6 +3128,9 @@ type NotesPollsRecommendationRequest = operations['notes___polls___recommendatio
// @public (undocumented) // @public (undocumented)
type NotesPollsRecommendationResponse = operations['notes___polls___recommendation']['responses']['200']['content']['application/json']; type NotesPollsRecommendationResponse = operations['notes___polls___recommendation']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesPollsRefreshRequest = operations['notes___polls___refresh']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type NotesPollsVoteRequest = operations['notes___polls___vote']['requestBody']['content']['application/json']; type NotesPollsVoteRequest = operations['notes___polls___vote']['requestBody']['content']['application/json'];
@ -2990,6 +3164,18 @@ type NotesRequest = operations['notes']['requestBody']['content']['application/j
// @public (undocumented) // @public (undocumented)
type NotesResponse = operations['notes']['responses']['200']['content']['application/json']; type NotesResponse = operations['notes']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesScheduleCreateRequest = operations['notes___schedule___create']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesScheduleDeleteRequest = operations['notes___schedule___delete']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesScheduleListRequest = operations['notes___schedule___list']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesScheduleListResponse = operations['notes___schedule___list']['responses']['200']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type NotesSearchByTagRequest = operations['notes___search-by-tag']['requestBody']['content']['application/json']; type NotesSearchByTagRequest = operations['notes___search-by-tag']['requestBody']['content']['application/json'];
@ -3041,6 +3227,12 @@ type NotesUserListTimelineRequest = operations['notes___user-list-timeline']['re
// @public (undocumented) // @public (undocumented)
type NotesUserListTimelineResponse = operations['notes___user-list-timeline']['responses']['200']['content']['application/json']; type NotesUserListTimelineResponse = operations['notes___user-list-timeline']['responses']['200']['content']['application/json'];
// @public (undocumented)
type NotesVersionsRequest = operations['notes___versions']['requestBody']['content']['application/json'];
// @public (undocumented)
type NotesVersionsResponse = operations['notes___versions']['responses']['200']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
export const noteVisibilities: readonly ["public", "home", "followers", "specified"]; export const noteVisibilities: readonly ["public", "home", "followers", "specified"];
@ -3051,7 +3243,7 @@ type Notification_2 = components['schemas']['Notification'];
type NotificationsCreateRequest = operations['notifications___create']['requestBody']['content']['application/json']; type NotificationsCreateRequest = operations['notifications___create']['requestBody']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
export const notificationTypes: readonly ["note", "follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "pollEnded", "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app", "roleAssigned", "chatRoomInvitationReceived", "achievementEarned"]; export const notificationTypes: readonly ["note", "follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "pollEnded", "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app", "roleAssigned", "chatRoomInvitationReceived", "achievementEarned", "edited", "scheduledNoteFailed", "scheduledNotePosted"];
// @public (undocumented) // @public (undocumented)
export function nyaize(text: string): string; export function nyaize(text: string): string;
@ -3114,7 +3306,7 @@ type PartialRolePolicyOverride = Partial<{
}>; }>;
// @public (undocumented) // @public (undocumented)
export const permissions: readonly ["read:account", "write:account", "read:blocks", "write:blocks", "read:drive", "write:drive", "read:favorites", "write:favorites", "read:following", "write:following", "read:messaging", "write:messaging", "read:mutes", "write:mutes", "write:notes", "read:notifications", "write:notifications", "read:reactions", "write:reactions", "write:votes", "read:pages", "write:pages", "write:page-likes", "read:page-likes", "read:user-groups", "write:user-groups", "read:channels", "write:channels", "read:gallery", "write:gallery", "read:gallery-likes", "write:gallery-likes", "read:flash", "write:flash", "read:flash-likes", "write:flash-likes", "read:admin:abuse-user-reports", "write:admin:delete-account", "write:admin:delete-all-files-of-a-user", "read:admin:index-stats", "read:admin:table-stats", "read:admin:user-ips", "read:admin:meta", "write:admin:reset-password", "write:admin:resolve-abuse-user-report", "write:admin:send-email", "read:admin:server-info", "read:admin:show-moderation-log", "read:admin:show-user", "write:admin:suspend-user", "write:admin:unset-user-avatar", "write:admin:unset-user-banner", "write:admin:unsuspend-user", "write:admin:meta", "write:admin:user-note", "write:admin:roles", "read:admin:roles", "write:admin:relays", "read:admin:relays", "write:admin:invite-codes", "read:admin:invite-codes", "write:admin:announcements", "read:admin:announcements", "write:admin:avatar-decorations", "read:admin:avatar-decorations", "write:admin:federation", "write:admin:account", "read:admin:account", "write:admin:emoji", "read:admin:emoji", "write:admin:queue", "read:admin:queue", "write:admin:promo", "write:admin:drive", "read:admin:drive", "write:admin:ad", "read:admin:ad", "write:invite-codes", "read:invite-codes", "write:clip-favorite", "read:clip-favorite", "read:federation", "write:report-abuse", "write:chat", "read:chat"]; 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:notes-schedule", "write:notes-schedule", "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:decline-user", "write:admin:nsfw-user", "write:admin:unnsfw-user", "write:admin:cw-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:reject-quotes", "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", "write:chat", "read:chat"];
// @public (undocumented) // @public (undocumented)
type PingResponse = operations['ping']['responses']['200']['content']['application/json']; type PingResponse = operations['ping']['responses']['200']['content']['application/json'];
@ -3376,6 +3568,12 @@ type SignupResponse = MeDetailed & {
token: string; token: string;
}; };
// @public (undocumented)
type SponsorsRequest = operations['sponsors']['requestBody']['content']['application/json'];
// @public (undocumented)
type SponsorsResponse = operations['sponsors']['responses']['200']['content']['application/json'];
// @public (undocumented) // @public (undocumented)
type StatsResponse = operations['stats']['responses']['200']['content']['application/json']; type StatsResponse = operations['stats']['responses']['200']['content']['application/json'];
@ -3655,8 +3853,8 @@ type V2AdminEmojiListResponse = operations['v2___admin___emoji___list']['respons
// //
// src/entities.ts:50:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts // src/entities.ts:50:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts
// src/streaming.ts:57:3 - (ae-forgotten-export) The symbol "ReconnectingWebSocket" needs to be exported by the entry point index.d.ts // src/streaming.ts:57:3 - (ae-forgotten-export) The symbol "ReconnectingWebSocket" needs to be exported by the entry point index.d.ts
// src/streaming.types.ts:217:4 - (ae-forgotten-export) The symbol "ReversiUpdateKey" needs to be exported by the entry point index.d.ts // src/streaming.types.ts:233:4 - (ae-forgotten-export) The symbol "ReversiUpdateKey" needs to be exported by the entry point index.d.ts
// src/streaming.types.ts:227:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts // src/streaming.types.ts:243:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts
// (No @packageDocumentation comment for this package) // (No @packageDocumentation comment for this package)

View file

@ -9,9 +9,9 @@
"devDependencies": { "devDependencies": {
"@readme/openapi-parser": "2.7.0", "@readme/openapi-parser": "2.7.0",
"@types/node": "22.13.9", "@types/node": "22.13.9",
"@typescript-eslint/eslint-plugin": "8.26.0", "@typescript-eslint/eslint-plugin": "8.27.0",
"@typescript-eslint/parser": "8.26.0", "@typescript-eslint/parser": "8.27.0",
"eslint": "9.14.0", "eslint": "9.22.0",
"openapi-types": "12.1.3", "openapi-types": "12.1.3",
"openapi-typescript": "6.7.6", "openapi-typescript": "6.7.6",
"ts-case-convert": "2.1.0", "ts-case-convert": "2.1.0",

View file

@ -590,6 +590,7 @@ import type {
RolesUsersResponse, RolesUsersResponse,
ServerInfoResponse, ServerInfoResponse,
SponsorsRequest, SponsorsRequest,
SponsorsResponse,
StatsResponse, StatsResponse,
SwRegisterRequest, SwRegisterRequest,
SwRegisterResponse, SwRegisterResponse,
@ -1054,7 +1055,7 @@ export type Endpoints = {
'roles/show': { req: RolesShowRequest; res: RolesShowResponse }; 'roles/show': { req: RolesShowRequest; res: RolesShowResponse };
'roles/users': { req: RolesUsersRequest; res: RolesUsersResponse }; 'roles/users': { req: RolesUsersRequest; res: RolesUsersResponse };
'server-info': { req: EmptyRequest; res: ServerInfoResponse }; 'server-info': { req: EmptyRequest; res: ServerInfoResponse };
'sponsors': { req: SponsorsRequest; res: EmptyResponse }; 'sponsors': { req: SponsorsRequest; res: SponsorsResponse };
'stats': { req: EmptyRequest; res: StatsResponse }; 'stats': { req: EmptyRequest; res: StatsResponse };
'sw/register': { req: SwRegisterRequest; res: SwRegisterResponse }; 'sw/register': { req: SwRegisterRequest; res: SwRegisterResponse };
'sw/show-registration': { req: SwShowRegistrationRequest; res: SwShowRegistrationResponse }; 'sw/show-registration': { req: SwShowRegistrationRequest; res: SwShowRegistrationResponse };

View file

@ -593,6 +593,7 @@ export type RolesUsersRequest = operations['roles___users']['requestBody']['cont
export type RolesUsersResponse = operations['roles___users']['responses']['200']['content']['application/json']; export type RolesUsersResponse = operations['roles___users']['responses']['200']['content']['application/json'];
export type ServerInfoResponse = operations['server-info']['responses']['200']['content']['application/json']; export type ServerInfoResponse = operations['server-info']['responses']['200']['content']['application/json'];
export type SponsorsRequest = operations['sponsors']['requestBody']['content']['application/json']; export type SponsorsRequest = operations['sponsors']['requestBody']['content']['application/json'];
export type SponsorsResponse = operations['sponsors']['responses']['200']['content']['application/json'];
export type StatsResponse = operations['stats']['responses']['200']['content']['application/json']; export type StatsResponse = operations['stats']['responses']['200']['content']['application/json'];
export type SwRegisterRequest = operations['sw___register']['requestBody']['content']['application/json']; export type SwRegisterRequest = operations['sw___register']['requestBody']['content']['application/json'];
export type SwRegisterResponse = operations['sw___register']['responses']['200']['content']['application/json']; export type SwRegisterResponse = operations['sw___register']['responses']['200']['content']['application/json'];

File diff suppressed because it is too large Load diff