diff --git a/packages/misskey-js/etc/misskey-js.api.md b/packages/misskey-js/etc/misskey-js.api.md index 3b8ff791f..4eab4f923 100644 --- a/packages/misskey-js/etc/misskey-js.api.md +++ b/packages/misskey-js/etc/misskey-js.api.md @@ -86,7 +86,7 @@ type AdminAnnouncementsListResponse = operations['admin___announcements___list'] type AdminAnnouncementsUpdateRequest = operations['admin___announcements___update']['requestBody']['content']['application/json']; // @public (undocumented) -type AdminApproveUserRequest = operations['admin__approve-user']['requestBody']['content']['application/json']; +type AdminApproveUserRequest = operations['admin___approve-user']['requestBody']['content']['application/json']; // @public (undocumented) type AdminAvatarDecorationsCreateRequest = operations['admin___avatar-decorations___create']['requestBody']['content']['application/json']; @@ -212,7 +212,7 @@ type AdminInviteListResponse = operations['admin___invite___list']['responses'][ type AdminMetaResponse = operations['admin___meta']['responses']['200']['content']['application/json']; // @public (undocumented) -type AdminNsfwUserRequest = operations['admin__nsfw-user']['requestBody']['content']['application/json']; +type AdminNsfwUserRequest = operations['admin___nsfw-user']['requestBody']['content']['application/json']; // @public (undocumented) type AdminPromoCreateRequest = operations['admin___promo___create']['requestBody']['content']['application/json']; @@ -311,13 +311,13 @@ type AdminShowUsersRequest = operations['admin___show-users']['requestBody']['co type AdminShowUsersResponse = operations['admin___show-users']['responses']['200']['content']['application/json']; // @public (undocumented) -type AdminSilenceUserRequest = operations['admin__silence-user']['requestBody']['content']['application/json']; +type AdminSilenceUserRequest = operations['admin___silence-user']['requestBody']['content']['application/json']; // @public (undocumented) type AdminSuspendUserRequest = operations['admin___suspend-user']['requestBody']['content']['application/json']; // @public (undocumented) -type AdminUnnsfwUserRequest = operations['admin__unnsfw-user']['requestBody']['content']['application/json']; +type AdminUnnsfwUserRequest = operations['admin___unnsfw-user']['requestBody']['content']['application/json']; // @public (undocumented) type AdminUnsetUserAvatarRequest = operations['admin___unset-user-avatar']['requestBody']['content']['application/json']; @@ -326,7 +326,7 @@ type AdminUnsetUserAvatarRequest = operations['admin___unset-user-avatar']['requ type AdminUnsetUserBannerRequest = operations['admin___unset-user-banner']['requestBody']['content']['application/json']; // @public (undocumented) -type AdminUnsilenceUserRequest = operations['admin__unsilence-user']['requestBody']['content']['application/json']; +type AdminUnsilenceUserRequest = operations['admin___unsilence-user']['requestBody']['content']['application/json']; // @public (undocumented) type AdminUnsuspendUserRequest = operations['admin___unsuspend-user']['requestBody']['content']['application/json']; @@ -2117,7 +2117,7 @@ type IImportFollowingRequest = operations['i___import-following']['requestBody'] type IImportMutingRequest = operations['i___import-muting']['requestBody']['content']['application/json']; // @public (undocumented) -type IImportNotesRequest = operations['i__import-notes']['requestBody']['content']['application/json']; +type IImportNotesRequest = operations['i___import-notes']['requestBody']['content']['application/json']; // @public (undocumented) type IImportUserListsRequest = operations['i___import-user-lists']['requestBody']['content']['application/json']; @@ -2201,7 +2201,7 @@ type IRegistryGetRequest = operations['i___registry___get']['requestBody']['cont type IRegistryGetResponse = operations['i___registry___get']['responses']['200']['content']['application/json']; // @public (undocumented) -type IRegistryGetUnsecureRequest = operations['i__registry__get-unsecure']['requestBody']['content']['application/json']; +type IRegistryGetUnsecureRequest = operations['i___registry___get-unsecure']['requestBody']['content']['application/json']; // @public (undocumented) type IRegistryKeysRequest = operations['i___registry___keys']['requestBody']['content']['application/json']; @@ -2467,10 +2467,10 @@ type NoteFavorite = components['schemas']['NoteFavorite']; type NoteReaction = components['schemas']['NoteReaction']; // @public (undocumented) -type NotesBubbleTimelineRequest = operations['notes__bubble-timeline']['requestBody']['content']['application/json']; +type NotesBubbleTimelineRequest = operations['notes___bubble-timeline']['requestBody']['content']['application/json']; // @public (undocumented) -type NotesBubbleTimelineResponse = operations['notes__bubble-timeline']['responses']['200']['content']['application/json']; +type NotesBubbleTimelineResponse = operations['notes___bubble-timeline']['responses']['200']['content']['application/json']; // @public (undocumented) type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json']; @@ -2500,10 +2500,10 @@ type NotesCreateResponse = operations['notes___create']['responses']['200']['con type NotesDeleteRequest = operations['notes___delete']['requestBody']['content']['application/json']; // @public (undocumented) -type NotesEditRequest = operations['notes__edit']['requestBody']['content']['application/json']; +type NotesEditRequest = operations['notes___edit']['requestBody']['content']['application/json']; // @public (undocumented) -type NotesEditResponse = operations['notes__edit']['responses']['200']['content']['application/json']; +type NotesEditResponse = operations['notes___edit']['responses']['200']['content']['application/json']; // @public (undocumented) type NotesFavoritesCreateRequest = operations['notes___favorites___create']['requestBody']['content']['application/json']; @@ -2530,7 +2530,7 @@ type NotesHybridTimelineRequest = operations['notes___hybrid-timeline']['request type NotesHybridTimelineResponse = operations['notes___hybrid-timeline']['responses']['200']['content']['application/json']; // @public (undocumented) -type NotesLikeRequest = operations['notes__like']['requestBody']['content']['application/json']; +type NotesLikeRequest = operations['notes___like']['requestBody']['content']['application/json']; // @public (undocumented) type NotesLocalTimelineRequest = operations['notes___local-timeline']['requestBody']['content']['application/json']; @@ -2635,10 +2635,10 @@ type NotesUserListTimelineRequest = operations['notes___user-list-timeline']['re type NotesUserListTimelineResponse = operations['notes___user-list-timeline']['responses']['200']['content']['application/json']; // @public (undocumented) -type NotesVersionsRequest = operations['notes/versions']['requestBody']['content']['application/json']; +type NotesVersionsRequest = operations['notes___versions']['requestBody']['content']['application/json']; // @public (undocumented) -type NotesVersionsResponse = operations['notes/versions']['responses']['200']['content']['application/json']; +type NotesVersionsResponse = operations['notes___versions']['responses']['200']['content']['application/json']; // @public (undocumented) export const noteVisibilities: readonly ["public", "home", "followers", "specified"]; diff --git a/packages/misskey-js/src/autogen/entities.ts b/packages/misskey-js/src/autogen/entities.ts index 60bf6659c..ab78dd166 100644 --- a/packages/misskey-js/src/autogen/entities.ts +++ b/packages/misskey-js/src/autogen/entities.ts @@ -85,7 +85,12 @@ export type AdminShowUserRequest = operations['admin___show-user']['requestBody' export type AdminShowUserResponse = operations['admin___show-user']['responses']['200']['content']['application/json']; export type AdminShowUsersRequest = operations['admin___show-users']['requestBody']['content']['application/json']; export type AdminShowUsersResponse = operations['admin___show-users']['responses']['200']['content']['application/json']; +export type AdminNsfwUserRequest = operations['admin___nsfw-user']['requestBody']['content']['application/json']; +export type AdminUnnsfwUserRequest = operations['admin___unnsfw-user']['requestBody']['content']['application/json']; +export type AdminSilenceUserRequest = operations['admin___silence-user']['requestBody']['content']['application/json']; +export type AdminUnsilenceUserRequest = operations['admin___unsilence-user']['requestBody']['content']['application/json']; export type AdminSuspendUserRequest = operations['admin___suspend-user']['requestBody']['content']['application/json']; +export type AdminApproveUserRequest = operations['admin___approve-user']['requestBody']['content']['application/json']; export type AdminUnsuspendUserRequest = operations['admin___unsuspend-user']['requestBody']['content']['application/json']; export type AdminUpdateMetaRequest = operations['admin___update-meta']['requestBody']['content']['application/json']; export type AdminDeleteAccountRequest = operations['admin___delete-account']['requestBody']['content']['application/json']; @@ -313,6 +318,7 @@ export type IGalleryPostsRequest = operations['i___gallery___posts']['requestBod export type IGalleryPostsResponse = operations['i___gallery___posts']['responses']['200']['content']['application/json']; export type IImportBlockingRequest = operations['i___import-blocking']['requestBody']['content']['application/json']; export type IImportFollowingRequest = operations['i___import-following']['requestBody']['content']['application/json']; +export type IImportNotesRequest = operations['i___import-notes']['requestBody']['content']['application/json']; export type IImportMutingRequest = operations['i___import-muting']['requestBody']['content']['application/json']; export type IImportUserListsRequest = operations['i___import-user-lists']['requestBody']['content']['application/json']; export type IImportAntennasRequest = operations['i___import-antennas']['requestBody']['content']['application/json']; @@ -330,6 +336,7 @@ export type IReadAnnouncementRequest = operations['i___read-announcement']['requ export type IRegenerateTokenRequest = operations['i___regenerate-token']['requestBody']['content']['application/json']; export type IRegistryGetAllRequest = operations['i___registry___get-all']['requestBody']['content']['application/json']; export type IRegistryGetAllResponse = operations['i___registry___get-all']['responses']['200']['content']['application/json']; +export type IRegistryGetUnsecureRequest = operations['i___registry___get-unsecure']['requestBody']['content']['application/json']; export type IRegistryGetDetailRequest = operations['i___registry___get-detail']['requestBody']['content']['application/json']; export type IRegistryGetDetailResponse = operations['i___registry___get-detail']['responses']['200']['content']['application/json']; export type IRegistryGetRequest = operations['i___registry___get']['requestBody']['content']['application/json']; @@ -398,6 +405,8 @@ export type NotesFeaturedRequest = operations['notes___featured']['requestBody'] export type NotesFeaturedResponse = operations['notes___featured']['responses']['200']['content']['application/json']; export type NotesGlobalTimelineRequest = operations['notes___global-timeline']['requestBody']['content']['application/json']; export type NotesGlobalTimelineResponse = operations['notes___global-timeline']['responses']['200']['content']['application/json']; +export type NotesBubbleTimelineRequest = operations['notes___bubble-timeline']['requestBody']['content']['application/json']; +export type NotesBubbleTimelineResponse = operations['notes___bubble-timeline']['responses']['200']['content']['application/json']; export type NotesHybridTimelineRequest = operations['notes___hybrid-timeline']['requestBody']['content']['application/json']; export type NotesHybridTimelineResponse = operations['notes___hybrid-timeline']['responses']['200']['content']['application/json']; export type NotesLocalTimelineRequest = operations['notes___local-timeline']['requestBody']['content']['application/json']; @@ -411,6 +420,7 @@ export type NotesReactionsRequest = operations['notes___reactions']['requestBody export type NotesReactionsResponse = operations['notes___reactions']['responses']['200']['content']['application/json']; export type NotesReactionsCreateRequest = operations['notes___reactions___create']['requestBody']['content']['application/json']; export type NotesReactionsDeleteRequest = operations['notes___reactions___delete']['requestBody']['content']['application/json']; +export type NotesLikeRequest = operations['notes___like']['requestBody']['content']['application/json']; export type NotesRenotesRequest = operations['notes___renotes']['requestBody']['content']['application/json']; export type NotesRenotesResponse = operations['notes___renotes']['responses']['200']['content']['application/json']; export type NotesRepliesRequest = operations['notes___replies']['requestBody']['content']['application/json']; @@ -432,6 +442,10 @@ export type NotesTranslateResponse = operations['notes___translate']['responses' export type NotesUnrenoteRequest = operations['notes___unrenote']['requestBody']['content']['application/json']; export type NotesUserListTimelineRequest = operations['notes___user-list-timeline']['requestBody']['content']['application/json']; export type NotesUserListTimelineResponse = operations['notes___user-list-timeline']['responses']['200']['content']['application/json']; +export type NotesEditRequest = operations['notes___edit']['requestBody']['content']['application/json']; +export type NotesEditResponse = operations['notes___edit']['responses']['200']['content']['application/json']; +export type NotesVersionsRequest = operations['notes___versions']['requestBody']['content']['application/json']; +export type NotesVersionsResponse = operations['notes___versions']['responses']['200']['content']['application/json']; export type NotificationsCreateRequest = operations['notifications___create']['requestBody']['content']['application/json']; export type PagePushRequest = operations['page-push']['requestBody']['content']['application/json']; export type PagesCreateRequest = operations['pages___create']['requestBody']['content']['application/json']; @@ -540,6 +554,7 @@ export type FetchRssResponse = operations['fetch-rss']['responses']['200']['cont export type FetchExternalResourcesRequest = operations['fetch-external-resources']['requestBody']['content']['application/json']; export type FetchExternalResourcesResponse = operations['fetch-external-resources']['responses']['200']['content']['application/json']; export type RetentionResponse = operations['retention']['responses']['200']['content']['application/json']; +export type SponsorsRequest = operations['sponsors']['requestBody']['content']['application/json']; export type BubbleGameRegisterRequest = operations['bubble-game___register']['requestBody']['content']['application/json']; export type BubbleGameRankingRequest = operations['bubble-game___ranking']['requestBody']['content']['application/json']; export type BubbleGameRankingResponse = operations['bubble-game___ranking']['responses']['200']['content']['application/json']; diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index 550bee9b8..f98ccc86b 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -578,7 +578,7 @@ export type paths = { * * **Credential required**: *Yes* / **Permission**: *write:admin:nsfw-user* */ - post: operations['admin/nsfw-user']; + post: operations['admin___nsfw-user']; }; '/admin/unnsfw-user': { /** @@ -587,7 +587,7 @@ export type paths = { * * **Credential required**: *Yes* / **Permission**: *write:admin:unnsfw-user* */ - post: operations['admin/unnsfw-user']; + post: operations['admin___unnsfw-user']; }; '/admin/silence-user': { /** @@ -596,7 +596,7 @@ export type paths = { * * **Credential required**: *Yes* / **Permission**: *write:admin:silence-user* */ - post: operations['admin/silence-user']; + post: operations['admin___silence-user']; }; '/admin/unsilence-user': { /** @@ -605,7 +605,7 @@ export type paths = { * * **Credential required**: *Yes* / **Permission**: *write:admin:unsilence-user* */ - post: operations['admin/unsilence-user']; + post: operations['admin___unsilence-user']; }; '/admin/suspend-user': { /** @@ -623,7 +623,7 @@ export type paths = { * * **Credential required**: *Yes* / **Permission**: *write:admin:approve-user* */ - post: operations['admin/approve-user']; + post: operations['admin___approve-user']; }; '/admin/unsuspend-user': { /** @@ -1974,7 +1974,7 @@ export type paths = { * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties. * **Credential required**: *Yes* */ - post: operations['i/export-data']; + post: operations['i___export-data']; }; '/i/export-blocking': { /** @@ -2111,7 +2111,7 @@ export type paths = { * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties. * **Credential required**: *Yes* */ - post: operations['i/import-notes']; + post: operations['i___import-notes']; }; '/i/import-muting': { /** @@ -2232,7 +2232,7 @@ export type paths = { * * **Credential required**: *Yes* / **Permission**: *read:account* */ - post: operations['i/registry/get-unsecure']; + post: operations['i___registry___get-unsecure']; }; '/i/registry/get-detail': { /** @@ -2655,7 +2655,7 @@ export type paths = { * * **Credential required**: *No* */ - post: operations['notes/bubble-timeline']; + post: operations['notes___bubble-timeline']; }; '/notes/hybrid-timeline': { /** @@ -2743,7 +2743,7 @@ export type paths = { * * **Credential required**: *Yes* / **Permission**: *write:reactions* */ - post: operations['notes/like']; + post: operations['notes___like']; }; '/notes/renotes': { /** @@ -2860,7 +2860,7 @@ export type paths = { * * **Credential required**: *Yes* / **Permission**: *write:notes* */ - post: operations['notes/edit']; + post: operations['notes___edit']; }; '/notes/versions': { /** @@ -2869,7 +2869,7 @@ export type paths = { * * **Credential required**: *No* */ - post: operations['notes/versions']; + post: operations['notes___versions']; }; '/notifications/create': { /** @@ -8873,7 +8873,7 @@ export type operations = { * * **Credential required**: *Yes* / **Permission**: *write:admin:nsfw-user* */ - 'admin/nsfw-user': { + 'admin___nsfw-user': { requestBody: { content: { 'application/json': { @@ -8925,7 +8925,7 @@ export type operations = { * * **Credential required**: *Yes* / **Permission**: *write:admin:unnsfw-user* */ - 'admin/unnsfw-user': { + 'admin___unnsfw-user': { requestBody: { content: { 'application/json': { @@ -8977,7 +8977,7 @@ export type operations = { * * **Credential required**: *Yes* / **Permission**: *write:admin:silence-user* */ - 'admin/silence-user': { + 'admin___silence-user': { requestBody: { content: { 'application/json': { @@ -9029,7 +9029,7 @@ export type operations = { * * **Credential required**: *Yes* / **Permission**: *write:admin:unsilence-user* */ - 'admin/unsilence-user': { + 'admin___unsilence-user': { requestBody: { content: { 'application/json': { @@ -9133,7 +9133,7 @@ export type operations = { * * **Credential required**: *Yes* / **Permission**: *write:admin:approve-user* */ - 'admin/approve-user': { + 'admin___approve-user': { requestBody: { content: { 'application/json': { @@ -17177,7 +17177,7 @@ export type operations = { * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties. * **Credential required**: *Yes* */ - 'i/export-data': { + 'i___export-data': { responses: { /** @description OK (without any results) */ 204: { @@ -17943,7 +17943,7 @@ export type operations = { * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties. * **Credential required**: *Yes* */ - 'i/import-notes': { + 'i___import-notes': { requestBody: { content: { 'application/json': { @@ -18692,7 +18692,7 @@ export type operations = { * * **Credential required**: *Yes* / **Permission**: *read:account* */ - 'i/registry/get-unsecure': { + 'i___registry___get-unsecure': { requestBody: { content: { 'application/json': { @@ -21402,7 +21402,7 @@ export type operations = { * * **Credential required**: *No* */ - 'notes/bubble-timeline': { + 'notes___bubble-timeline': { requestBody: { content: { 'application/json': { @@ -21956,7 +21956,7 @@ export type operations = { * * **Credential required**: *Yes* / **Permission**: *write:reactions* */ - 'notes/like': { + notes___like: { requestBody: { content: { 'application/json': { @@ -22774,7 +22774,7 @@ export type operations = { * * **Credential required**: *Yes* / **Permission**: *write:notes* */ - 'notes/edit': { + notes___edit: { requestBody: { content: { 'application/json': { @@ -22871,7 +22871,7 @@ export type operations = { * * **Credential required**: *No* */ - 'notes/versions': { + notes___versions: { requestBody: { content: { 'application/json': {