diff --git a/packages/misskey-js/etc/misskey-js.api.md b/packages/misskey-js/etc/misskey-js.api.md index ea4e0c4163..653372ba2c 100644 --- a/packages/misskey-js/etc/misskey-js.api.md +++ b/packages/misskey-js/etc/misskey-js.api.md @@ -21,6 +21,11 @@ declare namespace acct { } export { acct } +// Warning: (ae-forgotten-export) The symbol "components" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +type Ad = components['schemas']['Ad']; + // Warning: (ae-forgotten-export) The symbol "operations" needs to be exported by the entry point index.d.ts // // @public (undocumented) @@ -41,15 +46,24 @@ type AdminAccountsDeleteRequest = operations['admin/accounts/delete']['requestBo // @public (undocumented) type AdminAccountsFindByEmailRequest = operations['admin/accounts/find-by-email']['requestBody']['content']['application/json']; +// @public (undocumented) +type AdminAccountsFindByEmailResponse = operations['admin/accounts/find-by-email']['responses']['200']['content']['application/json']; + // @public (undocumented) type AdminAdCreateRequest = operations['admin/ad/create']['requestBody']['content']['application/json']; +// @public (undocumented) +type AdminAdCreateResponse = operations['admin/ad/create']['responses']['200']['content']['application/json']; + // @public (undocumented) type AdminAdDeleteRequest = operations['admin/ad/delete']['requestBody']['content']['application/json']; // @public (undocumented) type AdminAdListRequest = operations['admin/ad/list']['requestBody']['content']['application/json']; +// @public (undocumented) +type AdminAdListResponse = operations['admin/ad/list']['responses']['200']['content']['application/json']; + // @public (undocumented) type AdminAdUpdateRequest = operations['admin/ad/update']['requestBody']['content']['application/json']; @@ -167,12 +181,18 @@ type AdminFederationRemoveAllFollowingRequest = operations['admin/federation/rem // @public (undocumented) type AdminFederationUpdateInstanceRequest = operations['admin/federation/update-instance']['requestBody']['content']['application/json']; +// @public (undocumented) +type AdminGetIndexStatsResponse = operations['admin/get-index-stats']['responses']['200']['content']['application/json']; + // @public (undocumented) type AdminGetTableStatsResponse = operations['admin/get-table-stats']['responses']['200']['content']['application/json']; // @public (undocumented) type AdminGetUserIpsRequest = operations['admin/get-user-ips']['requestBody']['content']['application/json']; +// @public (undocumented) +type AdminGetUserIpsResponse = operations['admin/get-user-ips']['responses']['200']['content']['application/json']; + // @public (undocumented) type AdminInviteCreateRequest = operations['admin/invite/create']['requestBody']['content']['application/json']; @@ -257,6 +277,9 @@ type AdminRolesUpdateRequest = operations['admin/roles/update']['requestBody'][' // @public (undocumented) type AdminRolesUsersRequest = operations['admin/roles/users']['requestBody']['content']['application/json']; +// @public (undocumented) +type AdminRolesUsersResponse = operations['admin/roles/users']['responses']['200']['content']['application/json']; + // @public (undocumented) type AdminSendEmailRequest = operations['admin/send-email']['requestBody']['content']['application/json']; @@ -299,8 +322,6 @@ type AdminUpdateMetaRequest = operations['admin/update-meta']['requestBody']['co // @public (undocumented) type AdminUpdateUserNoteRequest = operations['admin/update-user-note']['requestBody']['content']['application/json']; -// Warning: (ae-forgotten-export) The symbol "components" needs to be exported by the entry point index.d.ts -// // @public (undocumented) type Announcement = components['schemas']['Announcement']; @@ -989,6 +1010,9 @@ type EmptyResponse = Record | undefined; // @public (undocumented) type EndpointRequest = operations['endpoint']['requestBody']['content']['application/json']; +// @public (undocumented) +type EndpointResponse = operations['endpoint']['responses']['200']['content']['application/json']; + // Warning: (ae-forgotten-export) The symbol "Overwrite" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "Endpoints_2" needs to be exported by the entry point index.d.ts // @@ -1038,9 +1062,12 @@ declare namespace entities { AdminAccountsCreateResponse, AdminAccountsDeleteRequest, AdminAccountsFindByEmailRequest, + AdminAccountsFindByEmailResponse, AdminAdCreateRequest, + AdminAdCreateResponse, AdminAdDeleteRequest, AdminAdListRequest, + AdminAdListResponse, AdminAdUpdateRequest, AdminAnnouncementsCreateRequest, AdminAnnouncementsCreateResponse, @@ -1080,8 +1107,10 @@ declare namespace entities { AdminFederationRefreshRemoteInstanceMetadataRequest, AdminFederationRemoveAllFollowingRequest, AdminFederationUpdateInstanceRequest, + AdminGetIndexStatsResponse, AdminGetTableStatsResponse, AdminGetUserIpsRequest, + AdminGetUserIpsResponse, AdminInviteCreateRequest, AdminInviteCreateResponse, AdminInviteListRequest, @@ -1123,6 +1152,7 @@ declare namespace entities { AdminRolesUnassignRequest, AdminRolesUpdateDefaultPoliciesRequest, AdminRolesUsersRequest, + AdminRolesUsersResponse, AnnouncementsRequest, AnnouncementsResponse, AntennasCreateRequest, @@ -1250,6 +1280,7 @@ declare namespace entities { EmailAddressAvailableRequest, EmailAddressAvailableResponse, EndpointRequest, + EndpointResponse, EndpointsResponse, FederationFollowersRequest, FederationFollowersResponse, @@ -1263,6 +1294,7 @@ declare namespace entities { FederationUsersRequest, FederationUsersResponse, FederationStatsRequest, + FederationStatsResponse, FollowingCreateRequest, FollowingCreateResponse, FollowingDeleteRequest, @@ -1292,6 +1324,7 @@ declare namespace entities { GalleryPostsUnlikeRequest, GalleryPostsUpdateRequest, GalleryPostsUpdateResponse, + GetOnlineUsersCountResponse, GetAvatarDecorationsResponse, HashtagsListRequest, HashtagsListResponse, @@ -1305,14 +1338,19 @@ declare namespace entities { IResponse, I2faDoneRequest, I2faKeyDoneRequest, + I2faKeyDoneResponse, I2faPasswordLessRequest, I2faRegisterKeyRequest, + I2faRegisterKeyResponse, I2faRegisterRequest, + I2faRegisterResponse, I2faUpdateKeyRequest, I2faRemoveKeyRequest, I2faUnregisterRequest, IAppsRequest, + IAppsResponse, IAuthorizedAppsRequest, + IAuthorizedAppsResponse, IClaimAchievementRequest, IChangePasswordRequest, IDeleteAccountRequest, @@ -1341,11 +1379,16 @@ declare namespace entities { IReadAnnouncementRequest, IRegenerateTokenRequest, IRegistryGetAllRequest, + IRegistryGetAllResponse, IRegistryGetDetailRequest, + IRegistryGetDetailResponse, IRegistryGetRequest, + IRegistryGetResponse, IRegistryKeysWithTypeRequest, + IRegistryKeysWithTypeResponse, IRegistryKeysRequest, IRegistryRemoveRequest, + IRegistryScopesWithDomainResponse, IRegistrySetRequest, IRevokeTokenRequest, ISigninHistoryRequest, @@ -1353,11 +1396,16 @@ declare namespace entities { IUnpinRequest, IUnpinResponse, IUpdateEmailRequest, + IUpdateEmailResponse, IUpdateRequest, IUpdateResponse, IMoveRequest, + IMoveResponse, IWebhooksCreateRequest, + IWebhooksCreateResponse, + IWebhooksListResponse, IWebhooksShowRequest, + IWebhooksShowResponse, IWebhooksUpdateRequest, IWebhooksDeleteRequest, InviteCreateResponse, @@ -1445,6 +1493,7 @@ declare namespace entities { PagesUnlikeRequest, PagesUpdateRequest, FlashCreateRequest, + FlashCreateResponse, FlashDeleteRequest, FlashFeaturedResponse, FlashLikeRequest, @@ -1463,10 +1512,12 @@ declare namespace entities { RolesShowRequest, RolesShowResponse, RolesUsersRequest, + RolesUsersResponse, RolesNotesRequest, RolesNotesResponse, RequestResetPasswordRequest, ResetPasswordRequest, + ServerInfoResponse, StatsResponse, SwShowRegistrationRequest, SwShowRegistrationResponse, @@ -1476,6 +1527,7 @@ declare namespace entities { SwRegisterResponse, SwUnregisterRequest, TestRequest, + TestResponse, UsernameAvailableRequest, UsernameAvailableResponse, UsersRequest, @@ -1509,6 +1561,7 @@ declare namespace entities { UsersListsCreateFromPublicResponse, UsersListsUpdateMembershipRequest, UsersListsGetMembershipsRequest, + UsersListsGetMembershipsResponse, UsersNotesRequest, UsersNotesResponse, UsersPagesRequest, @@ -1529,9 +1582,12 @@ declare namespace entities { UsersShowRequest, UsersShowResponse, UsersAchievementsRequest, + UsersAchievementsResponse, UsersUpdateMemoRequest, FetchRssRequest, + FetchRssResponse, FetchExternalResourcesRequest, + FetchExternalResourcesResponse, RetentionResponse, Error_2 as Error, UserLite, @@ -1542,6 +1598,7 @@ declare namespace entities { UserDetailed, User, UserList, + Ad, Announcement, App, Note, @@ -1606,6 +1663,9 @@ type FederationShowInstanceResponse = operations['federation/show-instance']['re // @public (undocumented) type FederationStatsRequest = operations['federation/stats']['requestBody']['content']['application/json']; +// @public (undocumented) +type FederationStatsResponse = operations['federation/stats']['responses']['200']['content']['application/json']; + // @public (undocumented) type FederationUpdateRemoteUserRequest = operations['federation/update-remote-user']['requestBody']['content']['application/json']; @@ -1618,6 +1678,9 @@ type FederationUsersResponse = operations['federation/users']['responses']['200' // @public (undocumented) type FetchExternalResourcesRequest = operations['fetch-external-resources']['requestBody']['content']['application/json']; +// @public (undocumented) +type FetchExternalResourcesResponse = operations['fetch-external-resources']['responses']['200']['content']['application/json']; + // @public (undocumented) type FetchLike = (input: string, init?: { method?: string; @@ -1635,12 +1698,18 @@ type FetchLike = (input: string, init?: { // @public (undocumented) type FetchRssRequest = operations['fetch-rss']['requestBody']['content']['application/json']; +// @public (undocumented) +type FetchRssResponse = operations['fetch-rss']['responses']['200']['content']['application/json']; + // @public (undocumented) type Flash = components['schemas']['Flash']; // @public (undocumented) type FlashCreateRequest = operations['flash/create']['requestBody']['content']['application/json']; +// @public (undocumented) +type FlashCreateResponse = operations['flash/create']['responses']['200']['content']['application/json']; + // @public (undocumented) type FlashDeleteRequest = operations['flash/delete']['requestBody']['content']['application/json']; @@ -1776,6 +1845,9 @@ type GalleryPostsUpdateResponse = operations['gallery/posts/update']['responses' // @public (undocumented) type GetAvatarDecorationsResponse = operations['get-avatar-decorations']['responses']['200']['content']['application/json']; +// @public (undocumented) +type GetOnlineUsersCountResponse = operations['get-online-users-count']['responses']['200']['content']['application/json']; + // @public (undocumented) type Hashtag = components['schemas']['Hashtag']; @@ -1812,15 +1884,24 @@ type I2faDoneRequest = operations['i/2fa/done']['requestBody']['content']['appli // @public (undocumented) type I2faKeyDoneRequest = operations['i/2fa/key-done']['requestBody']['content']['application/json']; +// @public (undocumented) +type I2faKeyDoneResponse = operations['i/2fa/key-done']['responses']['200']['content']['application/json']; + // @public (undocumented) type I2faPasswordLessRequest = operations['i/2fa/password-less']['requestBody']['content']['application/json']; // @public (undocumented) type I2faRegisterKeyRequest = operations['i/2fa/register-key']['requestBody']['content']['application/json']; +// @public (undocumented) +type I2faRegisterKeyResponse = operations['i/2fa/register-key']['responses']['200']['content']['application/json']; + // @public (undocumented) type I2faRegisterRequest = operations['i/2fa/register']['requestBody']['content']['application/json']; +// @public (undocumented) +type I2faRegisterResponse = operations['i/2fa/register']['responses']['200']['content']['application/json']; + // @public (undocumented) type I2faRemoveKeyRequest = operations['i/2fa/remove-key']['requestBody']['content']['application/json']; @@ -1833,9 +1914,15 @@ type I2faUpdateKeyRequest = operations['i/2fa/update-key']['requestBody']['conte // @public (undocumented) type IAppsRequest = operations['i/apps']['requestBody']['content']['application/json']; +// @public (undocumented) +type IAppsResponse = operations['i/apps']['responses']['200']['content']['application/json']; + // @public (undocumented) type IAuthorizedAppsRequest = operations['i/authorized-apps']['requestBody']['content']['application/json']; +// @public (undocumented) +type IAuthorizedAppsResponse = operations['i/authorized-apps']['responses']['200']['content']['application/json']; + // @public (undocumented) type IChangePasswordRequest = operations['i/change-password']['requestBody']['content']['application/json']; @@ -1887,6 +1974,9 @@ type IImportUserListsRequest = operations['i/import-user-lists']['requestBody'][ // @public (undocumented) type IMoveRequest = operations['i/move']['requestBody']['content']['application/json']; +// @public (undocumented) +type IMoveResponse = operations['i/move']['responses']['200']['content']['application/json']; + // @public (undocumented) type INotificationsGroupedRequest = operations['i/notifications-grouped']['requestBody']['content']['application/json']; @@ -1944,21 +2034,36 @@ type IRegenerateTokenRequest = operations['i/regenerate-token']['requestBody'][' // @public (undocumented) type IRegistryGetAllRequest = operations['i/registry/get-all']['requestBody']['content']['application/json']; +// @public (undocumented) +type IRegistryGetAllResponse = operations['i/registry/get-all']['responses']['200']['content']['application/json']; + // @public (undocumented) type IRegistryGetDetailRequest = operations['i/registry/get-detail']['requestBody']['content']['application/json']; +// @public (undocumented) +type IRegistryGetDetailResponse = operations['i/registry/get-detail']['responses']['200']['content']['application/json']; + // @public (undocumented) type IRegistryGetRequest = operations['i/registry/get']['requestBody']['content']['application/json']; +// @public (undocumented) +type IRegistryGetResponse = operations['i/registry/get']['responses']['200']['content']['application/json']; + // @public (undocumented) type IRegistryKeysRequest = operations['i/registry/keys']['requestBody']['content']['application/json']; // @public (undocumented) type IRegistryKeysWithTypeRequest = operations['i/registry/keys-with-type']['requestBody']['content']['application/json']; +// @public (undocumented) +type IRegistryKeysWithTypeResponse = operations['i/registry/keys-with-type']['responses']['200']['content']['application/json']; + // @public (undocumented) type IRegistryRemoveRequest = operations['i/registry/remove']['requestBody']['content']['application/json']; +// @public (undocumented) +type IRegistryScopesWithDomainResponse = operations['i/registry/scopes-with-domain']['responses']['200']['content']['application/json']; + // @public (undocumented) type IRegistrySetRequest = operations['i/registry/set']['requestBody']['content']['application/json']; @@ -1986,6 +2091,9 @@ type IUnpinResponse = operations['i/unpin']['responses']['200']['content']['appl // @public (undocumented) type IUpdateEmailRequest = operations['i/update-email']['requestBody']['content']['application/json']; +// @public (undocumented) +type IUpdateEmailResponse = operations['i/update-email']['responses']['200']['content']['application/json']; + // @public (undocumented) type IUpdateRequest = operations['i/update']['requestBody']['content']['application/json']; @@ -1995,12 +2103,21 @@ type IUpdateResponse = operations['i/update']['responses']['200']['content']['ap // @public (undocumented) type IWebhooksCreateRequest = operations['i/webhooks/create']['requestBody']['content']['application/json']; +// @public (undocumented) +type IWebhooksCreateResponse = operations['i/webhooks/create']['responses']['200']['content']['application/json']; + // @public (undocumented) type IWebhooksDeleteRequest = operations['i/webhooks/delete']['requestBody']['content']['application/json']; +// @public (undocumented) +type IWebhooksListResponse = operations['i/webhooks/list']['responses']['200']['content']['application/json']; + // @public (undocumented) type IWebhooksShowRequest = operations['i/webhooks/show']['requestBody']['content']['application/json']; +// @public (undocumented) +type IWebhooksShowResponse = operations['i/webhooks/show']['responses']['200']['content']['application/json']; + // @public (undocumented) type IWebhooksUpdateRequest = operations['i/webhooks/update']['requestBody']['content']['application/json']; @@ -2469,6 +2586,12 @@ type RolesShowResponse = operations['roles/show']['responses']['200']['content'] // @public (undocumented) type RolesUsersRequest = operations['roles/users']['requestBody']['content']['application/json']; +// @public (undocumented) +type RolesUsersResponse = operations['roles/users']['responses']['200']['content']['application/json']; + +// @public (undocumented) +type ServerInfoResponse = operations['server-info']['responses']['200']['content']['application/json']; + // @public (undocumented) type ServerStats = { cpu: number; @@ -2565,6 +2688,9 @@ type SwUpdateRegistrationResponse = operations['sw/update-registration']['respon // @public (undocumented) type TestRequest = operations['test']['requestBody']['content']['application/json']; +// @public (undocumented) +type TestResponse = operations['test']['responses']['200']['content']['application/json']; + // @public (undocumented) function toString_2(acct: Acct): string; @@ -2595,6 +2721,9 @@ type UsernameAvailableResponse = operations['username/available']['responses'][' // @public (undocumented) type UsersAchievementsRequest = operations['users/achievements']['requestBody']['content']['application/json']; +// @public (undocumented) +type UsersAchievementsResponse = operations['users/achievements']['responses']['200']['content']['application/json']; + // @public (undocumented) type UsersClipsRequest = operations['users/clips']['requestBody']['content']['application/json']; @@ -2658,6 +2787,9 @@ type UsersListsFavoriteRequest = operations['users/lists/favorite']['requestBody // @public (undocumented) type UsersListsGetMembershipsRequest = operations['users/lists/get-memberships']['requestBody']['content']['application/json']; +// @public (undocumented) +type UsersListsGetMembershipsResponse = operations['users/lists/get-memberships']['responses']['200']['content']['application/json']; + // @public (undocumented) type UsersListsListRequest = operations['users/lists/list']['requestBody']['content']['application/json']; diff --git a/packages/misskey-js/src/autogen/apiClientJSDoc.ts b/packages/misskey-js/src/autogen/apiClientJSDoc.ts index 7d58dcb5c8..436f76dbd6 100644 --- a/packages/misskey-js/src/autogen/apiClientJSDoc.ts +++ b/packages/misskey-js/src/autogen/apiClientJSDoc.ts @@ -1,6 +1,6 @@ /* - * version: 2023.11.0-beta.3 - * generatedAt: 2023-12-08T04:57:48.424Z + * version: 2023.12.0 + * generatedAt: 2023-12-24T08:46:11.020Z */ import type { SwitchCaseResponseType } from '../api.js'; @@ -11,7 +11,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -22,7 +22,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -33,7 +33,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *No* + * **Credential required**: *No* / **Permission**: *write:admin* */ request( endpoint: E, @@ -44,7 +44,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -55,7 +55,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -66,7 +66,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -77,7 +77,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -88,7 +88,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -99,7 +99,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -110,7 +110,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -121,7 +121,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -132,7 +132,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -143,7 +143,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -154,7 +154,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -165,7 +165,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -176,7 +176,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -187,7 +187,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -198,7 +198,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -209,7 +209,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -220,7 +220,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -231,7 +231,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -242,7 +242,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -253,7 +253,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -264,7 +264,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -275,7 +275,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -286,7 +286,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -297,7 +297,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -308,7 +308,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -319,7 +319,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -330,8 +330,7 @@ declare module '../api.js' { /** * No description provided. * - * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties. - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -342,7 +341,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -353,7 +352,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -364,7 +363,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -375,7 +374,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -386,7 +385,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -397,7 +396,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -408,7 +407,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -419,7 +418,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -430,7 +429,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -441,7 +440,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -452,7 +451,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -463,7 +462,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -474,7 +473,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -485,7 +484,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -496,7 +495,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -507,7 +506,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -518,7 +517,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -529,7 +528,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -540,7 +539,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -551,7 +550,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -562,7 +561,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -573,7 +572,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -584,7 +583,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -595,7 +594,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -606,7 +605,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -617,7 +616,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -628,7 +627,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -639,7 +638,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -650,7 +649,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -661,7 +660,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -672,7 +671,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -683,7 +682,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -694,7 +693,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -705,7 +704,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -716,7 +715,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -727,7 +726,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -738,7 +737,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -749,7 +748,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -760,7 +759,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -771,7 +770,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -782,7 +781,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ request( endpoint: E, @@ -793,7 +792,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -804,7 +803,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -815,7 +814,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -826,7 +825,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ request( endpoint: E, @@ -837,7 +836,7 @@ declare module '../api.js' { /** * No description provided. * - * **Credential required**: *No* + * **Credential required**: *No* / **Permission**: *read:admin* */ request( endpoint: E, diff --git a/packages/misskey-js/src/autogen/endpoint.ts b/packages/misskey-js/src/autogen/endpoint.ts index 5efe582434..00f2595e2c 100644 --- a/packages/misskey-js/src/autogen/endpoint.ts +++ b/packages/misskey-js/src/autogen/endpoint.ts @@ -1,6 +1,6 @@ /* - * version: 2023.11.0-beta.3 - * generatedAt: 2023-12-08T04:57:48.415Z + * version: 2023.12.0 + * generatedAt: 2023-12-24T08:46:11.016Z */ import type { @@ -13,9 +13,12 @@ import type { AdminAccountsCreateResponse, AdminAccountsDeleteRequest, AdminAccountsFindByEmailRequest, + AdminAccountsFindByEmailResponse, AdminAdCreateRequest, + AdminAdCreateResponse, AdminAdDeleteRequest, AdminAdListRequest, + AdminAdListResponse, AdminAdUpdateRequest, AdminAnnouncementsCreateRequest, AdminAnnouncementsCreateResponse, @@ -55,8 +58,10 @@ import type { AdminFederationRefreshRemoteInstanceMetadataRequest, AdminFederationRemoveAllFollowingRequest, AdminFederationUpdateInstanceRequest, + AdminGetIndexStatsResponse, AdminGetTableStatsResponse, AdminGetUserIpsRequest, + AdminGetUserIpsResponse, AdminInviteCreateRequest, AdminInviteCreateResponse, AdminInviteListRequest, @@ -98,6 +103,7 @@ import type { AdminRolesUnassignRequest, AdminRolesUpdateDefaultPoliciesRequest, AdminRolesUsersRequest, + AdminRolesUsersResponse, AnnouncementsRequest, AnnouncementsResponse, AntennasCreateRequest, @@ -225,6 +231,7 @@ import type { EmailAddressAvailableRequest, EmailAddressAvailableResponse, EndpointRequest, + EndpointResponse, EndpointsResponse, FederationFollowersRequest, FederationFollowersResponse, @@ -238,6 +245,7 @@ import type { FederationUsersRequest, FederationUsersResponse, FederationStatsRequest, + FederationStatsResponse, FollowingCreateRequest, FollowingCreateResponse, FollowingDeleteRequest, @@ -267,6 +275,7 @@ import type { GalleryPostsUnlikeRequest, GalleryPostsUpdateRequest, GalleryPostsUpdateResponse, + GetOnlineUsersCountResponse, GetAvatarDecorationsResponse, HashtagsListRequest, HashtagsListResponse, @@ -280,14 +289,19 @@ import type { IResponse, I2faDoneRequest, I2faKeyDoneRequest, + I2faKeyDoneResponse, I2faPasswordLessRequest, I2faRegisterKeyRequest, + I2faRegisterKeyResponse, I2faRegisterRequest, + I2faRegisterResponse, I2faUpdateKeyRequest, I2faRemoveKeyRequest, I2faUnregisterRequest, IAppsRequest, + IAppsResponse, IAuthorizedAppsRequest, + IAuthorizedAppsResponse, IClaimAchievementRequest, IChangePasswordRequest, IDeleteAccountRequest, @@ -316,11 +330,16 @@ import type { IReadAnnouncementRequest, IRegenerateTokenRequest, IRegistryGetAllRequest, + IRegistryGetAllResponse, IRegistryGetDetailRequest, + IRegistryGetDetailResponse, IRegistryGetRequest, + IRegistryGetResponse, IRegistryKeysWithTypeRequest, + IRegistryKeysWithTypeResponse, IRegistryKeysRequest, IRegistryRemoveRequest, + IRegistryScopesWithDomainResponse, IRegistrySetRequest, IRevokeTokenRequest, ISigninHistoryRequest, @@ -328,11 +347,16 @@ import type { IUnpinRequest, IUnpinResponse, IUpdateEmailRequest, + IUpdateEmailResponse, IUpdateRequest, IUpdateResponse, IMoveRequest, + IMoveResponse, IWebhooksCreateRequest, + IWebhooksCreateResponse, + IWebhooksListResponse, IWebhooksShowRequest, + IWebhooksShowResponse, IWebhooksUpdateRequest, IWebhooksDeleteRequest, InviteCreateResponse, @@ -420,6 +444,7 @@ import type { PagesUnlikeRequest, PagesUpdateRequest, FlashCreateRequest, + FlashCreateResponse, FlashDeleteRequest, FlashFeaturedResponse, FlashLikeRequest, @@ -438,10 +463,12 @@ import type { RolesShowRequest, RolesShowResponse, RolesUsersRequest, + RolesUsersResponse, RolesNotesRequest, RolesNotesResponse, RequestResetPasswordRequest, ResetPasswordRequest, + ServerInfoResponse, StatsResponse, SwShowRegistrationRequest, SwShowRegistrationResponse, @@ -451,6 +478,7 @@ import type { SwRegisterResponse, SwUnregisterRequest, TestRequest, + TestResponse, UsernameAvailableRequest, UsernameAvailableResponse, UsersRequest, @@ -484,6 +512,7 @@ import type { UsersListsCreateFromPublicResponse, UsersListsUpdateMembershipRequest, UsersListsGetMembershipsRequest, + UsersListsGetMembershipsResponse, UsersNotesRequest, UsersNotesResponse, UsersPagesRequest, @@ -504,9 +533,12 @@ import type { UsersShowRequest, UsersShowResponse, UsersAchievementsRequest, + UsersAchievementsResponse, UsersUpdateMemoRequest, FetchRssRequest, + FetchRssResponse, FetchExternalResourcesRequest, + FetchExternalResourcesResponse, RetentionResponse, } from './entities.js'; @@ -515,10 +547,10 @@ export type Endpoints = { 'admin/abuse-user-reports': { req: AdminAbuseUserReportsRequest; res: AdminAbuseUserReportsResponse }; 'admin/accounts/create': { req: AdminAccountsCreateRequest; res: AdminAccountsCreateResponse }; 'admin/accounts/delete': { req: AdminAccountsDeleteRequest; res: EmptyResponse }; - 'admin/accounts/find-by-email': { req: AdminAccountsFindByEmailRequest; res: EmptyResponse }; - 'admin/ad/create': { req: AdminAdCreateRequest; res: EmptyResponse }; + 'admin/accounts/find-by-email': { req: AdminAccountsFindByEmailRequest; res: AdminAccountsFindByEmailResponse }; + 'admin/ad/create': { req: AdminAdCreateRequest; res: AdminAdCreateResponse }; 'admin/ad/delete': { req: AdminAdDeleteRequest; res: EmptyResponse }; - 'admin/ad/list': { req: AdminAdListRequest; res: EmptyResponse }; + 'admin/ad/list': { req: AdminAdListRequest; res: AdminAdListResponse }; 'admin/ad/update': { req: AdminAdUpdateRequest; res: EmptyResponse }; 'admin/announcements/create': { req: AdminAnnouncementsCreateRequest; res: AdminAnnouncementsCreateResponse }; 'admin/announcements/delete': { req: AdminAnnouncementsDeleteRequest; res: EmptyResponse }; @@ -552,9 +584,9 @@ export type Endpoints = { 'admin/federation/refresh-remote-instance-metadata': { req: AdminFederationRefreshRemoteInstanceMetadataRequest; res: EmptyResponse }; 'admin/federation/remove-all-following': { req: AdminFederationRemoveAllFollowingRequest; res: EmptyResponse }; 'admin/federation/update-instance': { req: AdminFederationUpdateInstanceRequest; res: EmptyResponse }; - 'admin/get-index-stats': { req: EmptyRequest; res: EmptyResponse }; + 'admin/get-index-stats': { req: EmptyRequest; res: AdminGetIndexStatsResponse }; 'admin/get-table-stats': { req: EmptyRequest; res: AdminGetTableStatsResponse }; - 'admin/get-user-ips': { req: AdminGetUserIpsRequest; res: EmptyResponse }; + 'admin/get-user-ips': { req: AdminGetUserIpsRequest; res: AdminGetUserIpsResponse }; 'admin/invite/create': { req: AdminInviteCreateRequest; res: AdminInviteCreateResponse }; 'admin/invite/list': { req: AdminInviteListRequest; res: AdminInviteListResponse }; 'admin/promo/create': { req: AdminPromoCreateRequest; res: EmptyResponse }; @@ -586,7 +618,7 @@ export type Endpoints = { 'admin/roles/assign': { req: AdminRolesAssignRequest; res: EmptyResponse }; 'admin/roles/unassign': { req: AdminRolesUnassignRequest; res: EmptyResponse }; 'admin/roles/update-default-policies': { req: AdminRolesUpdateDefaultPoliciesRequest; res: EmptyResponse }; - 'admin/roles/users': { req: AdminRolesUsersRequest; res: EmptyResponse }; + 'admin/roles/users': { req: AdminRolesUsersRequest; res: AdminRolesUsersResponse }; 'announcements': { req: AnnouncementsRequest; res: AnnouncementsResponse }; 'antennas/create': { req: AntennasCreateRequest; res: AntennasCreateResponse }; 'antennas/delete': { req: AntennasDeleteRequest; res: EmptyResponse }; @@ -660,7 +692,7 @@ export type Endpoints = { 'drive/folders/update': { req: DriveFoldersUpdateRequest; res: DriveFoldersUpdateResponse }; 'drive/stream': { req: DriveStreamRequest; res: DriveStreamResponse }; 'email-address/available': { req: EmailAddressAvailableRequest; res: EmailAddressAvailableResponse }; - 'endpoint': { req: EndpointRequest; res: EmptyResponse }; + 'endpoint': { req: EndpointRequest; res: EndpointResponse }; 'endpoints': { req: EmptyRequest; res: EndpointsResponse }; 'export-custom-emojis': { req: EmptyRequest; res: EmptyResponse }; 'federation/followers': { req: FederationFollowersRequest; res: FederationFollowersResponse }; @@ -669,7 +701,7 @@ export type Endpoints = { 'federation/show-instance': { req: FederationShowInstanceRequest; res: FederationShowInstanceResponse }; 'federation/update-remote-user': { req: FederationUpdateRemoteUserRequest; res: EmptyResponse }; 'federation/users': { req: FederationUsersRequest; res: FederationUsersResponse }; - 'federation/stats': { req: FederationStatsRequest; res: EmptyResponse }; + 'federation/stats': { req: FederationStatsRequest; res: FederationStatsResponse }; 'following/create': { req: FollowingCreateRequest; res: FollowingCreateResponse }; 'following/delete': { req: FollowingDeleteRequest; res: FollowingDeleteResponse }; 'following/update': { req: FollowingUpdateRequest; res: FollowingUpdateResponse }; @@ -688,7 +720,7 @@ export type Endpoints = { 'gallery/posts/show': { req: GalleryPostsShowRequest; res: GalleryPostsShowResponse }; 'gallery/posts/unlike': { req: GalleryPostsUnlikeRequest; res: EmptyResponse }; 'gallery/posts/update': { req: GalleryPostsUpdateRequest; res: GalleryPostsUpdateResponse }; - 'get-online-users-count': { req: EmptyRequest; res: EmptyResponse }; + 'get-online-users-count': { req: EmptyRequest; res: GetOnlineUsersCountResponse }; 'get-avatar-decorations': { req: EmptyRequest; res: GetAvatarDecorationsResponse }; 'hashtags/list': { req: HashtagsListRequest; res: HashtagsListResponse }; 'hashtags/search': { req: HashtagsSearchRequest; res: HashtagsSearchResponse }; @@ -697,15 +729,15 @@ export type Endpoints = { 'hashtags/users': { req: HashtagsUsersRequest; res: HashtagsUsersResponse }; 'i': { req: EmptyRequest; res: IResponse }; 'i/2fa/done': { req: I2faDoneRequest; res: EmptyResponse }; - 'i/2fa/key-done': { req: I2faKeyDoneRequest; res: EmptyResponse }; + 'i/2fa/key-done': { req: I2faKeyDoneRequest; res: I2faKeyDoneResponse }; 'i/2fa/password-less': { req: I2faPasswordLessRequest; res: EmptyResponse }; - 'i/2fa/register-key': { req: I2faRegisterKeyRequest; res: EmptyResponse }; - 'i/2fa/register': { req: I2faRegisterRequest; res: EmptyResponse }; + 'i/2fa/register-key': { req: I2faRegisterKeyRequest; res: I2faRegisterKeyResponse }; + 'i/2fa/register': { req: I2faRegisterRequest; res: I2faRegisterResponse }; 'i/2fa/update-key': { req: I2faUpdateKeyRequest; res: EmptyResponse }; 'i/2fa/remove-key': { req: I2faRemoveKeyRequest; res: EmptyResponse }; 'i/2fa/unregister': { req: I2faUnregisterRequest; res: EmptyResponse }; - 'i/apps': { req: IAppsRequest; res: EmptyResponse }; - 'i/authorized-apps': { req: IAuthorizedAppsRequest; res: EmptyResponse }; + 'i/apps': { req: IAppsRequest; res: IAppsResponse }; + 'i/authorized-apps': { req: IAuthorizedAppsRequest; res: IAuthorizedAppsResponse }; 'i/claim-achievement': { req: IClaimAchievementRequest; res: EmptyResponse }; 'i/change-password': { req: IChangePasswordRequest; res: EmptyResponse }; 'i/delete-account': { req: IDeleteAccountRequest; res: EmptyResponse }; @@ -732,23 +764,23 @@ export type Endpoints = { 'i/read-all-unread-notes': { req: EmptyRequest; res: EmptyResponse }; 'i/read-announcement': { req: IReadAnnouncementRequest; res: EmptyResponse }; 'i/regenerate-token': { req: IRegenerateTokenRequest; res: EmptyResponse }; - 'i/registry/get-all': { req: IRegistryGetAllRequest; res: EmptyResponse }; - 'i/registry/get-detail': { req: IRegistryGetDetailRequest; res: EmptyResponse }; - 'i/registry/get': { req: IRegistryGetRequest; res: EmptyResponse }; - 'i/registry/keys-with-type': { req: IRegistryKeysWithTypeRequest; res: EmptyResponse }; + 'i/registry/get-all': { req: IRegistryGetAllRequest; res: IRegistryGetAllResponse }; + 'i/registry/get-detail': { req: IRegistryGetDetailRequest; res: IRegistryGetDetailResponse }; + 'i/registry/get': { req: IRegistryGetRequest; res: IRegistryGetResponse }; + 'i/registry/keys-with-type': { req: IRegistryKeysWithTypeRequest; res: IRegistryKeysWithTypeResponse }; 'i/registry/keys': { req: IRegistryKeysRequest; res: EmptyResponse }; 'i/registry/remove': { req: IRegistryRemoveRequest; res: EmptyResponse }; - 'i/registry/scopes-with-domain': { req: EmptyRequest; res: EmptyResponse }; + 'i/registry/scopes-with-domain': { req: EmptyRequest; res: IRegistryScopesWithDomainResponse }; 'i/registry/set': { req: IRegistrySetRequest; res: EmptyResponse }; 'i/revoke-token': { req: IRevokeTokenRequest; res: EmptyResponse }; 'i/signin-history': { req: ISigninHistoryRequest; res: ISigninHistoryResponse }; 'i/unpin': { req: IUnpinRequest; res: IUnpinResponse }; - 'i/update-email': { req: IUpdateEmailRequest; res: EmptyResponse }; + 'i/update-email': { req: IUpdateEmailRequest; res: IUpdateEmailResponse }; 'i/update': { req: IUpdateRequest; res: IUpdateResponse }; - 'i/move': { req: IMoveRequest; res: EmptyResponse }; - 'i/webhooks/create': { req: IWebhooksCreateRequest; res: EmptyResponse }; - 'i/webhooks/list': { req: EmptyRequest; res: EmptyResponse }; - 'i/webhooks/show': { req: IWebhooksShowRequest; res: EmptyResponse }; + 'i/move': { req: IMoveRequest; res: IMoveResponse }; + 'i/webhooks/create': { req: IWebhooksCreateRequest; res: IWebhooksCreateResponse }; + 'i/webhooks/list': { req: EmptyRequest; res: IWebhooksListResponse }; + 'i/webhooks/show': { req: IWebhooksShowRequest; res: IWebhooksShowResponse }; 'i/webhooks/update': { req: IWebhooksUpdateRequest; res: EmptyResponse }; 'i/webhooks/delete': { req: IWebhooksDeleteRequest; res: EmptyResponse }; 'invite/create': { req: EmptyRequest; res: InviteCreateResponse }; @@ -807,7 +839,7 @@ export type Endpoints = { 'pages/show': { req: PagesShowRequest; res: PagesShowResponse }; 'pages/unlike': { req: PagesUnlikeRequest; res: EmptyResponse }; 'pages/update': { req: PagesUpdateRequest; res: EmptyResponse }; - 'flash/create': { req: FlashCreateRequest; res: EmptyResponse }; + 'flash/create': { req: FlashCreateRequest; res: FlashCreateResponse }; 'flash/delete': { req: FlashDeleteRequest; res: EmptyResponse }; 'flash/featured': { req: EmptyRequest; res: FlashFeaturedResponse }; 'flash/like': { req: FlashLikeRequest; res: EmptyResponse }; @@ -821,18 +853,18 @@ export type Endpoints = { 'promo/read': { req: PromoReadRequest; res: EmptyResponse }; 'roles/list': { req: EmptyRequest; res: RolesListResponse }; 'roles/show': { req: RolesShowRequest; res: RolesShowResponse }; - 'roles/users': { req: RolesUsersRequest; res: EmptyResponse }; + 'roles/users': { req: RolesUsersRequest; res: RolesUsersResponse }; 'roles/notes': { req: RolesNotesRequest; res: RolesNotesResponse }; 'request-reset-password': { req: RequestResetPasswordRequest; res: EmptyResponse }; 'reset-db': { req: EmptyRequest; res: EmptyResponse }; 'reset-password': { req: ResetPasswordRequest; res: EmptyResponse }; - 'server-info': { req: EmptyRequest; res: EmptyResponse }; + 'server-info': { req: EmptyRequest; res: ServerInfoResponse }; 'stats': { req: EmptyRequest; res: StatsResponse }; 'sw/show-registration': { req: SwShowRegistrationRequest; res: SwShowRegistrationResponse }; 'sw/update-registration': { req: SwUpdateRegistrationRequest; res: SwUpdateRegistrationResponse }; 'sw/register': { req: SwRegisterRequest; res: SwRegisterResponse }; 'sw/unregister': { req: SwUnregisterRequest; res: EmptyResponse }; - 'test': { req: TestRequest; res: EmptyResponse }; + 'test': { req: TestRequest; res: TestResponse }; 'username/available': { req: UsernameAvailableRequest; res: UsernameAvailableResponse }; 'users': { req: UsersRequest; res: UsersResponse }; 'users/clips': { req: UsersClipsRequest; res: UsersClipsResponse }; @@ -852,7 +884,7 @@ export type Endpoints = { 'users/lists/update': { req: UsersListsUpdateRequest; res: UsersListsUpdateResponse }; 'users/lists/create-from-public': { req: UsersListsCreateFromPublicRequest; res: UsersListsCreateFromPublicResponse }; 'users/lists/update-membership': { req: UsersListsUpdateMembershipRequest; res: EmptyResponse }; - 'users/lists/get-memberships': { req: UsersListsGetMembershipsRequest; res: EmptyResponse }; + 'users/lists/get-memberships': { req: UsersListsGetMembershipsRequest; res: UsersListsGetMembershipsResponse }; 'users/notes': { req: UsersNotesRequest; res: UsersNotesResponse }; 'users/pages': { req: UsersPagesRequest; res: UsersPagesResponse }; 'users/flashs': { req: UsersFlashsRequest; res: UsersFlashsResponse }; @@ -863,9 +895,9 @@ export type Endpoints = { 'users/search-by-username-and-host': { req: UsersSearchByUsernameAndHostRequest; res: UsersSearchByUsernameAndHostResponse }; 'users/search': { req: UsersSearchRequest; res: UsersSearchResponse }; 'users/show': { req: UsersShowRequest; res: UsersShowResponse }; - 'users/achievements': { req: UsersAchievementsRequest; res: EmptyResponse }; + 'users/achievements': { req: UsersAchievementsRequest; res: UsersAchievementsResponse }; 'users/update-memo': { req: UsersUpdateMemoRequest; res: EmptyResponse }; - 'fetch-rss': { req: FetchRssRequest; res: EmptyResponse }; - 'fetch-external-resources': { req: FetchExternalResourcesRequest; res: EmptyResponse }; + 'fetch-rss': { req: FetchRssRequest; res: FetchRssResponse }; + 'fetch-external-resources': { req: FetchExternalResourcesRequest; res: FetchExternalResourcesResponse }; 'retention': { req: EmptyRequest; res: RetentionResponse }; } diff --git a/packages/misskey-js/src/autogen/entities.ts b/packages/misskey-js/src/autogen/entities.ts index 4de3c80a7f..0f03fd3446 100644 --- a/packages/misskey-js/src/autogen/entities.ts +++ b/packages/misskey-js/src/autogen/entities.ts @@ -1,6 +1,6 @@ /* - * version: 2023.11.0-beta.3 - * generatedAt: 2023-12-08T04:57:48.409Z + * version: 2023.12.0 + * generatedAt: 2023-12-24T08:46:11.014Z */ import { operations } from './types.js'; @@ -15,9 +15,12 @@ export type AdminAccountsCreateRequest = operations['admin/accounts/create']['re export type AdminAccountsCreateResponse = operations['admin/accounts/create']['responses']['200']['content']['application/json']; export type AdminAccountsDeleteRequest = operations['admin/accounts/delete']['requestBody']['content']['application/json']; export type AdminAccountsFindByEmailRequest = operations['admin/accounts/find-by-email']['requestBody']['content']['application/json']; +export type AdminAccountsFindByEmailResponse = operations['admin/accounts/find-by-email']['responses']['200']['content']['application/json']; export type AdminAdCreateRequest = operations['admin/ad/create']['requestBody']['content']['application/json']; +export type AdminAdCreateResponse = operations['admin/ad/create']['responses']['200']['content']['application/json']; export type AdminAdDeleteRequest = operations['admin/ad/delete']['requestBody']['content']['application/json']; export type AdminAdListRequest = operations['admin/ad/list']['requestBody']['content']['application/json']; +export type AdminAdListResponse = operations['admin/ad/list']['responses']['200']['content']['application/json']; export type AdminAdUpdateRequest = operations['admin/ad/update']['requestBody']['content']['application/json']; export type AdminAnnouncementsCreateRequest = operations['admin/announcements/create']['requestBody']['content']['application/json']; export type AdminAnnouncementsCreateResponse = operations['admin/announcements/create']['responses']['200']['content']['application/json']; @@ -57,8 +60,10 @@ export type AdminFederationDeleteAllFilesRequest = operations['admin/federation/ export type AdminFederationRefreshRemoteInstanceMetadataRequest = operations['admin/federation/refresh-remote-instance-metadata']['requestBody']['content']['application/json']; export type AdminFederationRemoveAllFollowingRequest = operations['admin/federation/remove-all-following']['requestBody']['content']['application/json']; export type AdminFederationUpdateInstanceRequest = operations['admin/federation/update-instance']['requestBody']['content']['application/json']; +export type AdminGetIndexStatsResponse = operations['admin/get-index-stats']['responses']['200']['content']['application/json']; export type AdminGetTableStatsResponse = operations['admin/get-table-stats']['responses']['200']['content']['application/json']; export type AdminGetUserIpsRequest = operations['admin/get-user-ips']['requestBody']['content']['application/json']; +export type AdminGetUserIpsResponse = operations['admin/get-user-ips']['responses']['200']['content']['application/json']; export type AdminInviteCreateRequest = operations['admin/invite/create']['requestBody']['content']['application/json']; export type AdminInviteCreateResponse = operations['admin/invite/create']['responses']['200']['content']['application/json']; export type AdminInviteListRequest = operations['admin/invite/list']['requestBody']['content']['application/json']; @@ -100,6 +105,7 @@ export type AdminRolesAssignRequest = operations['admin/roles/assign']['requestB export type AdminRolesUnassignRequest = operations['admin/roles/unassign']['requestBody']['content']['application/json']; export type AdminRolesUpdateDefaultPoliciesRequest = operations['admin/roles/update-default-policies']['requestBody']['content']['application/json']; export type AdminRolesUsersRequest = operations['admin/roles/users']['requestBody']['content']['application/json']; +export type AdminRolesUsersResponse = operations['admin/roles/users']['responses']['200']['content']['application/json']; export type AnnouncementsRequest = operations['announcements']['requestBody']['content']['application/json']; export type AnnouncementsResponse = operations['announcements']['responses']['200']['content']['application/json']; export type AntennasCreateRequest = operations['antennas/create']['requestBody']['content']['application/json']; @@ -227,6 +233,7 @@ export type DriveStreamResponse = operations['drive/stream']['responses']['200'] export type EmailAddressAvailableRequest = operations['email-address/available']['requestBody']['content']['application/json']; export type EmailAddressAvailableResponse = operations['email-address/available']['responses']['200']['content']['application/json']; export type EndpointRequest = operations['endpoint']['requestBody']['content']['application/json']; +export type EndpointResponse = operations['endpoint']['responses']['200']['content']['application/json']; export type EndpointsResponse = operations['endpoints']['responses']['200']['content']['application/json']; export type FederationFollowersRequest = operations['federation/followers']['requestBody']['content']['application/json']; export type FederationFollowersResponse = operations['federation/followers']['responses']['200']['content']['application/json']; @@ -240,6 +247,7 @@ export type FederationUpdateRemoteUserRequest = operations['federation/update-re export type FederationUsersRequest = operations['federation/users']['requestBody']['content']['application/json']; export type FederationUsersResponse = operations['federation/users']['responses']['200']['content']['application/json']; export type FederationStatsRequest = operations['federation/stats']['requestBody']['content']['application/json']; +export type FederationStatsResponse = operations['federation/stats']['responses']['200']['content']['application/json']; export type FollowingCreateRequest = operations['following/create']['requestBody']['content']['application/json']; export type FollowingCreateResponse = operations['following/create']['responses']['200']['content']['application/json']; export type FollowingDeleteRequest = operations['following/delete']['requestBody']['content']['application/json']; @@ -269,6 +277,7 @@ export type GalleryPostsShowResponse = operations['gallery/posts/show']['respons export type GalleryPostsUnlikeRequest = operations['gallery/posts/unlike']['requestBody']['content']['application/json']; export type GalleryPostsUpdateRequest = operations['gallery/posts/update']['requestBody']['content']['application/json']; export type GalleryPostsUpdateResponse = operations['gallery/posts/update']['responses']['200']['content']['application/json']; +export type GetOnlineUsersCountResponse = operations['get-online-users-count']['responses']['200']['content']['application/json']; export type GetAvatarDecorationsResponse = operations['get-avatar-decorations']['responses']['200']['content']['application/json']; export type HashtagsListRequest = operations['hashtags/list']['requestBody']['content']['application/json']; export type HashtagsListResponse = operations['hashtags/list']['responses']['200']['content']['application/json']; @@ -282,14 +291,19 @@ export type HashtagsUsersResponse = operations['hashtags/users']['responses']['2 export type IResponse = operations['i']['responses']['200']['content']['application/json']; export type I2faDoneRequest = operations['i/2fa/done']['requestBody']['content']['application/json']; export type I2faKeyDoneRequest = operations['i/2fa/key-done']['requestBody']['content']['application/json']; +export type I2faKeyDoneResponse = operations['i/2fa/key-done']['responses']['200']['content']['application/json']; export type I2faPasswordLessRequest = operations['i/2fa/password-less']['requestBody']['content']['application/json']; export type I2faRegisterKeyRequest = operations['i/2fa/register-key']['requestBody']['content']['application/json']; +export type I2faRegisterKeyResponse = operations['i/2fa/register-key']['responses']['200']['content']['application/json']; export type I2faRegisterRequest = operations['i/2fa/register']['requestBody']['content']['application/json']; +export type I2faRegisterResponse = operations['i/2fa/register']['responses']['200']['content']['application/json']; export type I2faUpdateKeyRequest = operations['i/2fa/update-key']['requestBody']['content']['application/json']; export type I2faRemoveKeyRequest = operations['i/2fa/remove-key']['requestBody']['content']['application/json']; export type I2faUnregisterRequest = operations['i/2fa/unregister']['requestBody']['content']['application/json']; export type IAppsRequest = operations['i/apps']['requestBody']['content']['application/json']; +export type IAppsResponse = operations['i/apps']['responses']['200']['content']['application/json']; export type IAuthorizedAppsRequest = operations['i/authorized-apps']['requestBody']['content']['application/json']; +export type IAuthorizedAppsResponse = operations['i/authorized-apps']['responses']['200']['content']['application/json']; export type IClaimAchievementRequest = operations['i/claim-achievement']['requestBody']['content']['application/json']; export type IChangePasswordRequest = operations['i/change-password']['requestBody']['content']['application/json']; export type IDeleteAccountRequest = operations['i/delete-account']['requestBody']['content']['application/json']; @@ -318,11 +332,16 @@ export type IPinResponse = operations['i/pin']['responses']['200']['content']['a export type IReadAnnouncementRequest = operations['i/read-announcement']['requestBody']['content']['application/json']; 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 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']; +export type IRegistryGetResponse = operations['i/registry/get']['responses']['200']['content']['application/json']; export type IRegistryKeysWithTypeRequest = operations['i/registry/keys-with-type']['requestBody']['content']['application/json']; +export type IRegistryKeysWithTypeResponse = operations['i/registry/keys-with-type']['responses']['200']['content']['application/json']; export type IRegistryKeysRequest = operations['i/registry/keys']['requestBody']['content']['application/json']; export type IRegistryRemoveRequest = operations['i/registry/remove']['requestBody']['content']['application/json']; +export type IRegistryScopesWithDomainResponse = operations['i/registry/scopes-with-domain']['responses']['200']['content']['application/json']; export type IRegistrySetRequest = operations['i/registry/set']['requestBody']['content']['application/json']; export type IRevokeTokenRequest = operations['i/revoke-token']['requestBody']['content']['application/json']; export type ISigninHistoryRequest = operations['i/signin-history']['requestBody']['content']['application/json']; @@ -330,11 +349,16 @@ export type ISigninHistoryResponse = operations['i/signin-history']['responses'] export type IUnpinRequest = operations['i/unpin']['requestBody']['content']['application/json']; export type IUnpinResponse = operations['i/unpin']['responses']['200']['content']['application/json']; export type IUpdateEmailRequest = operations['i/update-email']['requestBody']['content']['application/json']; +export type IUpdateEmailResponse = operations['i/update-email']['responses']['200']['content']['application/json']; export type IUpdateRequest = operations['i/update']['requestBody']['content']['application/json']; export type IUpdateResponse = operations['i/update']['responses']['200']['content']['application/json']; export type IMoveRequest = operations['i/move']['requestBody']['content']['application/json']; +export type IMoveResponse = operations['i/move']['responses']['200']['content']['application/json']; export type IWebhooksCreateRequest = operations['i/webhooks/create']['requestBody']['content']['application/json']; +export type IWebhooksCreateResponse = operations['i/webhooks/create']['responses']['200']['content']['application/json']; +export type IWebhooksListResponse = operations['i/webhooks/list']['responses']['200']['content']['application/json']; export type IWebhooksShowRequest = operations['i/webhooks/show']['requestBody']['content']['application/json']; +export type IWebhooksShowResponse = operations['i/webhooks/show']['responses']['200']['content']['application/json']; export type IWebhooksUpdateRequest = operations['i/webhooks/update']['requestBody']['content']['application/json']; export type IWebhooksDeleteRequest = operations['i/webhooks/delete']['requestBody']['content']['application/json']; export type InviteCreateResponse = operations['invite/create']['responses']['200']['content']['application/json']; @@ -422,6 +446,7 @@ export type PagesShowResponse = operations['pages/show']['responses']['200']['co export type PagesUnlikeRequest = operations['pages/unlike']['requestBody']['content']['application/json']; export type PagesUpdateRequest = operations['pages/update']['requestBody']['content']['application/json']; export type FlashCreateRequest = operations['flash/create']['requestBody']['content']['application/json']; +export type FlashCreateResponse = operations['flash/create']['responses']['200']['content']['application/json']; export type FlashDeleteRequest = operations['flash/delete']['requestBody']['content']['application/json']; export type FlashFeaturedResponse = operations['flash/featured']['responses']['200']['content']['application/json']; export type FlashLikeRequest = operations['flash/like']['requestBody']['content']['application/json']; @@ -440,10 +465,12 @@ export type RolesListResponse = operations['roles/list']['responses']['200']['co export type RolesShowRequest = operations['roles/show']['requestBody']['content']['application/json']; export type RolesShowResponse = operations['roles/show']['responses']['200']['content']['application/json']; export type RolesUsersRequest = operations['roles/users']['requestBody']['content']['application/json']; +export type RolesUsersResponse = operations['roles/users']['responses']['200']['content']['application/json']; export type RolesNotesRequest = operations['roles/notes']['requestBody']['content']['application/json']; export type RolesNotesResponse = operations['roles/notes']['responses']['200']['content']['application/json']; export type RequestResetPasswordRequest = operations['request-reset-password']['requestBody']['content']['application/json']; export type ResetPasswordRequest = operations['reset-password']['requestBody']['content']['application/json']; +export type ServerInfoResponse = operations['server-info']['responses']['200']['content']['application/json']; export type StatsResponse = operations['stats']['responses']['200']['content']['application/json']; export type SwShowRegistrationRequest = operations['sw/show-registration']['requestBody']['content']['application/json']; export type SwShowRegistrationResponse = operations['sw/show-registration']['responses']['200']['content']['application/json']; @@ -453,6 +480,7 @@ export type SwRegisterRequest = operations['sw/register']['requestBody']['conten export type SwRegisterResponse = operations['sw/register']['responses']['200']['content']['application/json']; export type SwUnregisterRequest = operations['sw/unregister']['requestBody']['content']['application/json']; export type TestRequest = operations['test']['requestBody']['content']['application/json']; +export type TestResponse = operations['test']['responses']['200']['content']['application/json']; export type UsernameAvailableRequest = operations['username/available']['requestBody']['content']['application/json']; export type UsernameAvailableResponse = operations['username/available']['responses']['200']['content']['application/json']; export type UsersRequest = operations['users']['requestBody']['content']['application/json']; @@ -486,6 +514,7 @@ export type UsersListsCreateFromPublicRequest = operations['users/lists/create-f export type UsersListsCreateFromPublicResponse = operations['users/lists/create-from-public']['responses']['200']['content']['application/json']; export type UsersListsUpdateMembershipRequest = operations['users/lists/update-membership']['requestBody']['content']['application/json']; export type UsersListsGetMembershipsRequest = operations['users/lists/get-memberships']['requestBody']['content']['application/json']; +export type UsersListsGetMembershipsResponse = operations['users/lists/get-memberships']['responses']['200']['content']['application/json']; export type UsersNotesRequest = operations['users/notes']['requestBody']['content']['application/json']; export type UsersNotesResponse = operations['users/notes']['responses']['200']['content']['application/json']; export type UsersPagesRequest = operations['users/pages']['requestBody']['content']['application/json']; @@ -506,7 +535,10 @@ export type UsersSearchResponse = operations['users/search']['responses']['200'] export type UsersShowRequest = operations['users/show']['requestBody']['content']['application/json']; export type UsersShowResponse = operations['users/show']['responses']['200']['content']['application/json']; export type UsersAchievementsRequest = operations['users/achievements']['requestBody']['content']['application/json']; +export type UsersAchievementsResponse = operations['users/achievements']['responses']['200']['content']['application/json']; export type UsersUpdateMemoRequest = operations['users/update-memo']['requestBody']['content']['application/json']; export type FetchRssRequest = operations['fetch-rss']['requestBody']['content']['application/json']; +export type FetchRssResponse = operations['fetch-rss']['responses']['200']['content']['application/json']; 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']; diff --git a/packages/misskey-js/src/autogen/models.ts b/packages/misskey-js/src/autogen/models.ts index 2c25e82d12..5ae7723630 100644 --- a/packages/misskey-js/src/autogen/models.ts +++ b/packages/misskey-js/src/autogen/models.ts @@ -1,6 +1,6 @@ /* - * version: 2023.11.0-beta.3 - * generatedAt: 2023-12-08T04:57:48.405Z + * version: 2023.12.0 + * generatedAt: 2023-12-24T08:46:11.013Z */ import { components } from './types.js'; @@ -13,6 +13,7 @@ export type MeDetailed = components['schemas']['MeDetailed']; export type UserDetailed = components['schemas']['UserDetailed']; export type User = components['schemas']['User']; export type UserList = components['schemas']['UserList']; +export type Ad = components['schemas']['Ad']; export type Announcement = components['schemas']['Announcement']; export type App = components['schemas']['App']; export type Note = components['schemas']['Note']; diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index cecc2c872f..6ff98f5013 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -2,8 +2,8 @@ /* eslint @typescript-eslint/no-explicit-any: 0 */ /* - * version: 2023.11.0-beta.3 - * generatedAt: 2023-12-08T04:57:48.142Z + * version: 2023.12.0 + * generatedAt: 2023-12-24T08:46:10.930Z */ /** @@ -22,7 +22,7 @@ export type paths = { * admin/meta * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/meta']; }; @@ -31,7 +31,7 @@ export type paths = { * admin/abuse-user-reports * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/abuse-user-reports']; }; @@ -40,7 +40,7 @@ export type paths = { * admin/accounts/create * @description No description provided. * - * **Credential required**: *No* + * **Credential required**: *No* / **Permission**: *write:admin* */ post: operations['admin/accounts/create']; }; @@ -49,7 +49,7 @@ export type paths = { * admin/accounts/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/accounts/delete']; }; @@ -58,7 +58,7 @@ export type paths = { * admin/accounts/find-by-email * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/accounts/find-by-email']; }; @@ -67,7 +67,7 @@ export type paths = { * admin/ad/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/ad/create']; }; @@ -76,7 +76,7 @@ export type paths = { * admin/ad/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/ad/delete']; }; @@ -85,7 +85,7 @@ export type paths = { * admin/ad/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/ad/list']; }; @@ -94,7 +94,7 @@ export type paths = { * admin/ad/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/ad/update']; }; @@ -103,7 +103,7 @@ export type paths = { * admin/announcements/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/announcements/create']; }; @@ -112,7 +112,7 @@ export type paths = { * admin/announcements/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/announcements/delete']; }; @@ -121,7 +121,7 @@ export type paths = { * admin/announcements/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/announcements/list']; }; @@ -130,7 +130,7 @@ export type paths = { * admin/announcements/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/announcements/update']; }; @@ -139,7 +139,7 @@ export type paths = { * admin/avatar-decorations/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/avatar-decorations/create']; }; @@ -148,7 +148,7 @@ export type paths = { * admin/avatar-decorations/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/avatar-decorations/delete']; }; @@ -157,7 +157,7 @@ export type paths = { * admin/avatar-decorations/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/avatar-decorations/list']; }; @@ -166,7 +166,7 @@ export type paths = { * admin/avatar-decorations/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/avatar-decorations/update']; }; @@ -175,7 +175,7 @@ export type paths = { * admin/delete-all-files-of-a-user * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/delete-all-files-of-a-user']; }; @@ -184,7 +184,7 @@ export type paths = { * admin/unset-user-avatar * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/unset-user-avatar']; }; @@ -193,7 +193,7 @@ export type paths = { * admin/unset-user-banner * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/unset-user-banner']; }; @@ -202,7 +202,7 @@ export type paths = { * admin/drive/clean-remote-files * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/drive/clean-remote-files']; }; @@ -211,7 +211,7 @@ export type paths = { * admin/drive/cleanup * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/drive/cleanup']; }; @@ -220,7 +220,7 @@ export type paths = { * admin/drive/files * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/drive/files']; }; @@ -229,7 +229,7 @@ export type paths = { * admin/drive/show-file * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/drive/show-file']; }; @@ -238,7 +238,7 @@ export type paths = { * admin/emoji/add-aliases-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/add-aliases-bulk']; }; @@ -247,7 +247,7 @@ export type paths = { * admin/emoji/add * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/add']; }; @@ -256,7 +256,7 @@ export type paths = { * admin/emoji/copy * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/copy']; }; @@ -265,7 +265,7 @@ export type paths = { * admin/emoji/delete-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/delete-bulk']; }; @@ -274,7 +274,7 @@ export type paths = { * admin/emoji/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/delete']; }; @@ -283,8 +283,7 @@ export type paths = { * admin/emoji/import-zip * @description No description provided. * - * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties. - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/import-zip']; }; @@ -293,7 +292,7 @@ export type paths = { * admin/emoji/list-remote * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/emoji/list-remote']; }; @@ -302,7 +301,7 @@ export type paths = { * admin/emoji/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/emoji/list']; }; @@ -311,7 +310,7 @@ export type paths = { * admin/emoji/remove-aliases-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/remove-aliases-bulk']; }; @@ -320,7 +319,7 @@ export type paths = { * admin/emoji/set-aliases-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/set-aliases-bulk']; }; @@ -329,7 +328,7 @@ export type paths = { * admin/emoji/set-category-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/set-category-bulk']; }; @@ -338,7 +337,7 @@ export type paths = { * admin/emoji/set-license-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/emoji/set-license-bulk']; }; @@ -347,7 +346,7 @@ export type paths = { * admin/emoji/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/emoji/update']; }; @@ -356,7 +355,7 @@ export type paths = { * admin/federation/delete-all-files * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/federation/delete-all-files']; }; @@ -365,7 +364,7 @@ export type paths = { * admin/federation/refresh-remote-instance-metadata * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/federation/refresh-remote-instance-metadata']; }; @@ -374,7 +373,7 @@ export type paths = { * admin/federation/remove-all-following * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/federation/remove-all-following']; }; @@ -383,7 +382,7 @@ export type paths = { * admin/federation/update-instance * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/federation/update-instance']; }; @@ -392,7 +391,7 @@ export type paths = { * admin/get-index-stats * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/get-index-stats']; }; @@ -401,7 +400,7 @@ export type paths = { * admin/get-table-stats * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/get-table-stats']; }; @@ -410,7 +409,7 @@ export type paths = { * admin/get-user-ips * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/get-user-ips']; }; @@ -419,7 +418,7 @@ export type paths = { * admin/invite/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/invite/create']; }; @@ -428,7 +427,7 @@ export type paths = { * admin/invite/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/invite/list']; }; @@ -437,7 +436,7 @@ export type paths = { * admin/promo/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/promo/create']; }; @@ -446,7 +445,7 @@ export type paths = { * admin/queue/clear * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/queue/clear']; }; @@ -455,7 +454,7 @@ export type paths = { * admin/queue/deliver-delayed * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/queue/deliver-delayed']; }; @@ -464,7 +463,7 @@ export type paths = { * admin/queue/inbox-delayed * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/queue/inbox-delayed']; }; @@ -473,7 +472,7 @@ export type paths = { * admin/queue/promote * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/queue/promote']; }; @@ -482,7 +481,7 @@ export type paths = { * admin/queue/stats * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/queue/stats']; }; @@ -491,7 +490,7 @@ export type paths = { * admin/relays/add * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/relays/add']; }; @@ -500,7 +499,7 @@ export type paths = { * admin/relays/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/relays/list']; }; @@ -509,7 +508,7 @@ export type paths = { * admin/relays/remove * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/relays/remove']; }; @@ -518,7 +517,7 @@ export type paths = { * admin/reset-password * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/reset-password']; }; @@ -527,7 +526,7 @@ export type paths = { * admin/resolve-abuse-user-report * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/resolve-abuse-user-report']; }; @@ -536,7 +535,7 @@ export type paths = { * admin/send-email * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/send-email']; }; @@ -545,7 +544,7 @@ export type paths = { * admin/server-info * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/server-info']; }; @@ -554,7 +553,7 @@ export type paths = { * admin/show-moderation-logs * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/show-moderation-logs']; }; @@ -563,7 +562,7 @@ export type paths = { * admin/show-user * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/show-user']; }; @@ -572,7 +571,7 @@ export type paths = { * admin/show-users * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/show-users']; }; @@ -581,7 +580,7 @@ export type paths = { * admin/suspend-user * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/suspend-user']; }; @@ -590,7 +589,7 @@ export type paths = { * admin/unsuspend-user * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/unsuspend-user']; }; @@ -599,7 +598,7 @@ export type paths = { * admin/update-meta * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/update-meta']; }; @@ -608,7 +607,7 @@ export type paths = { * admin/delete-account * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/delete-account']; }; @@ -617,7 +616,7 @@ export type paths = { * admin/update-user-note * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/update-user-note']; }; @@ -626,7 +625,7 @@ export type paths = { * admin/roles/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/roles/create']; }; @@ -635,7 +634,7 @@ export type paths = { * admin/roles/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/roles/delete']; }; @@ -644,7 +643,7 @@ export type paths = { * admin/roles/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/roles/list']; }; @@ -653,7 +652,7 @@ export type paths = { * admin/roles/show * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ post: operations['admin/roles/show']; }; @@ -662,7 +661,7 @@ export type paths = { * admin/roles/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/roles/update']; }; @@ -671,7 +670,7 @@ export type paths = { * admin/roles/assign * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/roles/assign']; }; @@ -680,7 +679,7 @@ export type paths = { * admin/roles/unassign * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/roles/unassign']; }; @@ -689,7 +688,7 @@ export type paths = { * admin/roles/update-default-policies * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ post: operations['admin/roles/update-default-policies']; }; @@ -698,7 +697,7 @@ export type paths = { * admin/roles/users * @description No description provided. * - * **Credential required**: *No* + * **Credential required**: *No* / **Permission**: *read:admin* */ post: operations['admin/roles/users']; }; @@ -3478,6 +3477,8 @@ export type components = { flipH?: boolean; /** Format: url */ url: string; + offsetX?: number; + offsetY?: number; }[]; isBot?: boolean; isCat?: boolean; @@ -3540,7 +3541,9 @@ export type components = { pinnedPage: components['schemas']['Page'] | null; publicReactions: boolean; /** @enum {string} */ - ffVisibility: 'public' | 'followers' | 'private'; + followingVisibility: 'public' | 'followers' | 'private'; + /** @enum {string} */ + followersVisibility: 'public' | 'followers' | 'private'; /** @default false */ twoFactorEnabled: boolean; /** @default false */ @@ -3627,18 +3630,10 @@ export type components = { /** @enum {string} */ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'list' | 'never'; }; - achievementEarned?: { - /** @enum {string} */ - type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'list' | 'never'; - }; receiveFollowRequest?: { /** @enum {string} */ type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'list' | 'never'; }; - followRequestAccepted?: { - /** @enum {string} */ - type: 'all' | 'following' | 'follower' | 'mutualFollow' | 'list' | 'never'; - }; }; emailNotificationTypes: string[]; achievements: { @@ -3670,6 +3665,7 @@ export type components = { userListLimit: number; userEachUserListsLimit: number; rateLimitFactor: number; + avatarDecorationLimit: number; }; email?: string | null; emailVerified?: boolean | null; @@ -3700,6 +3696,24 @@ export type components = { userIds?: string[]; isPublic: boolean; }; + Ad: { + /** + * Format: id + * @example xxxxxxxxxx + */ + id: string; + /** Format: date-time */ + expiresAt: string; + /** Format: date-time */ + startsAt: string; + place: string; + priority: string; + ratio: number; + url: string; + imageUrl: string; + memo: string; + dayOfWeek: number; + }; Announcement: { /** * Format: id @@ -3815,7 +3829,7 @@ export type components = { /** Format: date-time */ createdAt: string; /** @enum {string} */ - type: 'note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'achievementEarned' | 'app' | 'test' | 'reaction:grouped' | 'renote:grouped'; + type: 'note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'reaction:grouped' | 'renote:grouped'; user?: components['schemas']['UserLite'] | null; /** Format: id */ userId?: string | null; @@ -4341,6 +4355,11 @@ export type components = { priority: number; useDefault: boolean; }; + avatarDecorationLimit: { + value: number | boolean; + priority: number; + useDefault: boolean; + }; }; usersCount: number; }); @@ -4362,7 +4381,7 @@ export type operations = { * admin/meta * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/meta': { responses: { @@ -4397,6 +4416,7 @@ export type operations = { hiddenTags: string[]; blockedHosts: string[]; sensitiveWords: string[]; + bannedEmailDomains?: string[]; preservedUsernames: string[]; hcaptchaSecretKey: string | null; recaptchaSecretKey: string | null; @@ -4501,7 +4521,7 @@ export type operations = { * admin/abuse-user-reports * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/abuse-user-reports': { requestBody: { @@ -4593,7 +4613,7 @@ export type operations = { * admin/accounts/create * @description No description provided. * - * **Credential required**: *No* + * **Credential required**: *No* / **Permission**: *write:admin* */ 'admin/accounts/create': { requestBody: { @@ -4647,7 +4667,7 @@ export type operations = { * admin/accounts/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/accounts/delete': { requestBody: { @@ -4699,7 +4719,7 @@ export type operations = { * admin/accounts/find-by-email * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/accounts/find-by-email': { requestBody: { @@ -4710,9 +4730,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': components['schemas']['User']; + }; }; /** @description Client error */ 400: { @@ -4750,7 +4772,7 @@ export type operations = { * admin/ad/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/ad/create': { requestBody: { @@ -4769,9 +4791,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': components['schemas']['Ad']; + }; }; /** @description Client error */ 400: { @@ -4809,7 +4833,7 @@ export type operations = { * admin/ad/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/ad/delete': { requestBody: { @@ -4861,7 +4885,7 @@ export type operations = { * admin/ad/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/ad/list': { requestBody: { @@ -4879,9 +4903,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': components['schemas']['Ad'][]; + }; }; /** @description Client error */ 400: { @@ -4919,7 +4945,7 @@ export type operations = { * admin/ad/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/ad/update': { requestBody: { @@ -4980,7 +5006,7 @@ export type operations = { * admin/announcements/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/announcements/create': { requestBody: { @@ -5069,7 +5095,7 @@ export type operations = { * admin/announcements/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/announcements/delete': { requestBody: { @@ -5121,7 +5147,7 @@ export type operations = { * admin/announcements/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/announcements/list': { requestBody: { @@ -5195,7 +5221,7 @@ export type operations = { * admin/announcements/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/announcements/update': { requestBody: { @@ -5258,7 +5284,7 @@ export type operations = { * admin/avatar-decorations/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/avatar-decorations/create': { requestBody: { @@ -5312,7 +5338,7 @@ export type operations = { * admin/avatar-decorations/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/avatar-decorations/delete': { requestBody: { @@ -5364,7 +5390,7 @@ export type operations = { * admin/avatar-decorations/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/avatar-decorations/list': { requestBody: { @@ -5438,7 +5464,7 @@ export type operations = { * admin/avatar-decorations/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/avatar-decorations/update': { requestBody: { @@ -5494,7 +5520,7 @@ export type operations = { * admin/delete-all-files-of-a-user * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/delete-all-files-of-a-user': { requestBody: { @@ -5546,7 +5572,7 @@ export type operations = { * admin/unset-user-avatar * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/unset-user-avatar': { requestBody: { @@ -5598,7 +5624,7 @@ export type operations = { * admin/unset-user-banner * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/unset-user-banner': { requestBody: { @@ -5650,7 +5676,7 @@ export type operations = { * admin/drive/clean-remote-files * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/drive/clean-remote-files': { responses: { @@ -5694,7 +5720,7 @@ export type operations = { * admin/drive/cleanup * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/drive/cleanup': { responses: { @@ -5738,7 +5764,7 @@ export type operations = { * admin/drive/files * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/drive/files': { requestBody: { @@ -5809,7 +5835,7 @@ export type operations = { * admin/drive/show-file * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/drive/show-file': { requestBody: { @@ -5913,7 +5939,7 @@ export type operations = { * admin/emoji/add-aliases-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/add-aliases-bulk': { requestBody: { @@ -5965,7 +5991,7 @@ export type operations = { * admin/emoji/add * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/add': { requestBody: { @@ -6025,7 +6051,7 @@ export type operations = { * admin/emoji/copy * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/copy': { requestBody: { @@ -6082,7 +6108,7 @@ export type operations = { * admin/emoji/delete-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/delete-bulk': { requestBody: { @@ -6133,7 +6159,7 @@ export type operations = { * admin/emoji/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/delete': { requestBody: { @@ -6185,8 +6211,7 @@ export type operations = { * admin/emoji/import-zip * @description No description provided. * - * **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties. - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/import-zip': { requestBody: { @@ -6238,7 +6263,7 @@ export type operations = { * admin/emoji/list-remote * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/emoji/list-remote': { requestBody: { @@ -6312,7 +6337,7 @@ export type operations = { * admin/emoji/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/emoji/list': { requestBody: { @@ -6381,7 +6406,7 @@ export type operations = { * admin/emoji/remove-aliases-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/remove-aliases-bulk': { requestBody: { @@ -6433,7 +6458,7 @@ export type operations = { * admin/emoji/set-aliases-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/set-aliases-bulk': { requestBody: { @@ -6485,7 +6510,7 @@ export type operations = { * admin/emoji/set-category-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/set-category-bulk': { requestBody: { @@ -6538,7 +6563,7 @@ export type operations = { * admin/emoji/set-license-bulk * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/emoji/set-license-bulk': { requestBody: { @@ -6591,7 +6616,7 @@ export type operations = { * admin/emoji/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/emoji/update': { requestBody: { @@ -6653,7 +6678,7 @@ export type operations = { * admin/federation/delete-all-files * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/federation/delete-all-files': { requestBody: { @@ -6704,7 +6729,7 @@ export type operations = { * admin/federation/refresh-remote-instance-metadata * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/federation/refresh-remote-instance-metadata': { requestBody: { @@ -6755,7 +6780,7 @@ export type operations = { * admin/federation/remove-all-following * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/federation/remove-all-following': { requestBody: { @@ -6806,7 +6831,7 @@ export type operations = { * admin/federation/update-instance * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/federation/update-instance': { requestBody: { @@ -6858,13 +6883,18 @@ export type operations = { * admin/get-index-stats * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/get-index-stats': { responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + tablename: string; + indexname: string; + }[]; + }; }; /** @description Client error */ 400: { @@ -6902,7 +6932,7 @@ export type operations = { * admin/get-table-stats * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/get-table-stats': { responses: { @@ -6948,7 +6978,7 @@ export type operations = { * admin/get-user-ips * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/get-user-ips': { requestBody: { @@ -6960,9 +6990,15 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + ip: string; + /** Format: date-time */ + createdAt: string; + }[]; + }; }; /** @description Client error */ 400: { @@ -7000,7 +7036,7 @@ export type operations = { * admin/invite/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/invite/create': { requestBody: { @@ -7055,7 +7091,7 @@ export type operations = { * admin/invite/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/invite/list': { requestBody: { @@ -7118,7 +7154,7 @@ export type operations = { * admin/promo/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/promo/create': { requestBody: { @@ -7171,7 +7207,7 @@ export type operations = { * admin/queue/clear * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/queue/clear': { responses: { @@ -7215,7 +7251,7 @@ export type operations = { * admin/queue/deliver-delayed * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/queue/deliver-delayed': { responses: { @@ -7261,7 +7297,7 @@ export type operations = { * admin/queue/inbox-delayed * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/queue/inbox-delayed': { responses: { @@ -7307,7 +7343,7 @@ export type operations = { * admin/queue/promote * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/queue/promote': { requestBody: { @@ -7359,7 +7395,7 @@ export type operations = { * admin/queue/stats * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/queue/stats': { responses: { @@ -7410,7 +7446,7 @@ export type operations = { * admin/relays/add * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/relays/add': { requestBody: { @@ -7473,7 +7509,7 @@ export type operations = { * admin/relays/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/relays/list': { responses: { @@ -7529,7 +7565,7 @@ export type operations = { * admin/relays/remove * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/relays/remove': { requestBody: { @@ -7580,7 +7616,7 @@ export type operations = { * admin/reset-password * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/reset-password': { requestBody: { @@ -7636,7 +7672,7 @@ export type operations = { * admin/resolve-abuse-user-report * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/resolve-abuse-user-report': { requestBody: { @@ -7690,7 +7726,7 @@ export type operations = { * admin/send-email * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/send-email': { requestBody: { @@ -7743,7 +7779,7 @@ export type operations = { * admin/server-info * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/server-info': { responses: { @@ -7813,7 +7849,7 @@ export type operations = { * admin/show-moderation-logs * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/show-moderation-logs': { requestBody: { @@ -7884,7 +7920,7 @@ export type operations = { * admin/show-user * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/show-user': { requestBody: { @@ -7938,7 +7974,7 @@ export type operations = { * admin/show-users * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/show-users': { requestBody: { @@ -8013,7 +8049,7 @@ export type operations = { * admin/suspend-user * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/suspend-user': { requestBody: { @@ -8065,7 +8101,7 @@ export type operations = { * admin/unsuspend-user * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/unsuspend-user': { requestBody: { @@ -8117,7 +8153,7 @@ export type operations = { * admin/update-meta * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/update-meta': { requestBody: { @@ -8207,6 +8243,7 @@ export type operations = { enableServerMachineStats?: boolean; enableIdenticonGeneration?: boolean; serverRules?: string[]; + bannedEmailDomains?: string[]; preservedUsernames?: string[]; manifestJsonOverride?: string; enableFanoutTimeline?: boolean; @@ -8261,7 +8298,7 @@ export type operations = { * admin/delete-account * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/delete-account': { requestBody: { @@ -8315,7 +8352,7 @@ export type operations = { * admin/update-user-note * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/update-user-note': { requestBody: { @@ -8368,7 +8405,7 @@ export type operations = { * admin/roles/create * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/roles/create': { requestBody: { @@ -8436,7 +8473,7 @@ export type operations = { * admin/roles/delete * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/roles/delete': { requestBody: { @@ -8488,7 +8525,7 @@ export type operations = { * admin/roles/list * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/roles/list': { responses: { @@ -8534,7 +8571,7 @@ export type operations = { * admin/roles/show * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *read:admin* */ 'admin/roles/show': { requestBody: { @@ -8588,7 +8625,7 @@ export type operations = { * admin/roles/update * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/roles/update': { requestBody: { @@ -8655,7 +8692,7 @@ export type operations = { * admin/roles/assign * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/roles/assign': { requestBody: { @@ -8710,7 +8747,7 @@ export type operations = { * admin/roles/unassign * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/roles/unassign': { requestBody: { @@ -8764,7 +8801,7 @@ export type operations = { * admin/roles/update-default-policies * @description No description provided. * - * **Credential required**: *Yes* + * **Credential required**: *Yes* / **Permission**: *write:admin* */ 'admin/roles/update-default-policies': { requestBody: { @@ -8815,7 +8852,7 @@ export type operations = { * admin/roles/users * @description No description provided. * - * **Credential required**: *No* + * **Credential required**: *No* / **Permission**: *read:admin* */ 'admin/roles/users': { requestBody: { @@ -8833,9 +8870,19 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': ({ + /** Format: misskey:id */ + id: string; + /** Format: date-time */ + createdAt: string; + user: components['schemas']['UserDetailed']; + /** Format: date-time */ + expiresAt: string | null; + })[]; + }; }; /** @description Client error */ 400: { @@ -13177,6 +13224,17 @@ export type operations = { }; }; responses: { + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + params: { + name: string; + type: string; + }[]; + } | null; + }; + }; /** @description OK (without any results) */ 204: { content: never; @@ -13679,9 +13737,64 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + topSubInstances: ({ + id?: string; + firstRetrievedAt?: string; + host?: string; + usersCount?: number; + notesCount?: number; + followingCount?: number; + followersCount?: number; + isNotResponding?: boolean; + isSuspended?: boolean; + isBlocked?: boolean; + softwareName?: string; + softwareVersion?: string; + openRegistrations?: boolean; + name?: string; + description?: string; + maintainerName?: string; + maintainerEmail?: string; + isSilenced?: boolean; + iconUrl?: string; + faviconUrl?: string; + themeColor?: string; + infoUpdatedAt?: string | null; + latestRequestReceivedAt?: string | null; + })[]; + otherFollowersCount: number; + topPubInstances: ({ + id?: string; + firstRetrievedAt?: string; + host?: string; + usersCount?: number; + notesCount?: number; + followingCount?: number; + followersCount?: number; + isNotResponding?: boolean; + isSuspended?: boolean; + isBlocked?: boolean; + softwareName?: string; + softwareVersion?: string; + openRegistrations?: boolean; + name?: string; + description?: string; + maintainerName?: string; + maintainerEmail?: string; + isSilenced?: boolean; + iconUrl?: string; + faviconUrl?: string; + themeColor?: string; + infoUpdatedAt?: string | null; + latestRequestReceivedAt?: string | null; + })[]; + otherFollowingCount: number; + }; + }; }; /** @description Client error */ 400: { @@ -14745,9 +14858,13 @@ export type operations = { */ 'get-online-users-count': { responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + count: number; + }; + }; }; /** @description Client error */ 400: { @@ -15243,9 +15360,14 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + id: string; + name: string; + }; + }; }; /** @description Client error */ 400: { @@ -15348,9 +15470,45 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + rp: { + id: string | null; + }; + user: { + id: string; + name: string; + displayName: string; + }; + challenge: string; + pubKeyCredParams: { + type: string; + alg: number; + }[]; + timeout: number | null; + excludeCredentials: (({ + id: string; + type: string; + transports: ('ble' | 'cable' | 'hybrid' | 'internal' | 'nfc' | 'smart-card' | 'usb')[]; + })[]) | null; + authenticatorSelection: ({ + /** @enum {string} */ + authenticatorAttachment: 'cross-platform' | 'platform'; + requireResidentKey: boolean; + /** @enum {string} */ + userVerification: 'discouraged' | 'preferred' | 'required'; + }) | null; + /** @enum {string|null} */ + attestation: 'direct' | 'enterprise' | 'indirect' | 'none' | null; + extensions: ({ + appid: string | null; + credProps: boolean | null; + hmacCreateSecret: boolean | null; + }) | null; + }; + }; }; /** @description Client error */ 400: { @@ -15401,9 +15559,17 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + qr: string; + url: string; + secret: string; + label: string; + issuer: string; + }; + }; }; /** @description Client error */ 400: { @@ -15614,9 +15780,20 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + /** Format: misskey:id */ + id: string; + name: string; + /** Format: date-time */ + createdAt: string; + /** Format: date-time */ + lastUsedAt: string; + permission: string[]; + }[]; + }; }; /** @description Client error */ 400: { @@ -15674,9 +15851,18 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': ({ + /** Format: misskey:id */ + id: string; + name: string; + callbackUrl: string | null; + permission: string[]; + isAuthorized: boolean; + })[]; + }; }; /** @description Client error */ 400: { @@ -16728,8 +16914,8 @@ export type operations = { untilId?: string; /** @default true */ markAsRead?: boolean; - includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[]; - excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[]; + includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[]; + excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[]; }; }; }; @@ -16796,8 +16982,8 @@ export type operations = { untilId?: string; /** @default true */ markAsRead?: boolean; - includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[]; - excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[]; + includeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[]; + excludeTypes?: ('note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'pollVote' | 'groupInvited')[]; }; }; }; @@ -17185,9 +17371,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': Record; + }; }; /** @description Client error */ 400: { @@ -17239,9 +17427,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': Record; + }; }; /** @description Client error */ 400: { @@ -17293,9 +17483,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': Record; + }; }; /** @description Client error */ 400: { @@ -17346,9 +17538,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': Record; + }; }; /** @description Client error */ 400: { @@ -17498,9 +17692,14 @@ export type operations = { */ 'i/registry/scopes-with-domain': { responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': ({ + scopes: string[][]; + domain: string | null; + })[]; + }; }; /** @description Client error */ 400: { @@ -17774,9 +17973,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': components['schemas']['UserDetailed']; + }; }; /** @description Client error */ 400: { @@ -17839,6 +18040,8 @@ export type operations = { id: string; angle?: number | null; flipH?: boolean | null; + offsetX?: number | null; + offsetY?: number | null; })[]; /** Format: misskey:id */ bannerId?: string | null; @@ -17861,7 +18064,9 @@ export type operations = { alwaysMarkNsfw?: boolean; autoSensitive?: boolean; /** @enum {string} */ - ffVisibility?: 'public' | 'followers' | 'private'; + followingVisibility?: 'public' | 'followers' | 'private'; + /** @enum {string} */ + followersVisibility?: 'public' | 'followers' | 'private'; /** Format: misskey:id */ pinnedPageId?: string | null; mutedWords?: (string[] | string)[]; @@ -17934,9 +18139,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': Record; + }; }; /** @description Client error */ 400: { @@ -17995,9 +18202,24 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + /** Format: misskey:id */ + id: string; + /** Format: misskey:id */ + userId: string; + name: string; + on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[]; + url: string; + secret: string; + active: boolean; + /** Format: date-time */ + latestSentAt: string | null; + latestStatus: number | null; + }; + }; }; /** @description Client error */ 400: { @@ -18039,9 +18261,24 @@ export type operations = { */ 'i/webhooks/list': { responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': ({ + /** Format: misskey:id */ + id: string; + /** Format: misskey:id */ + userId: string; + name: string; + on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[]; + url: string; + secret: string; + active: boolean; + /** Format: date-time */ + latestSentAt: string | null; + latestStatus: number | null; + })[]; + }; }; /** @description Client error */ 400: { @@ -18091,9 +18328,24 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + /** Format: misskey:id */ + id: string; + /** Format: misskey:id */ + userId: string; + name: string; + on: ('mention' | 'unfollow' | 'follow' | 'followed' | 'note' | 'reply' | 'renote' | 'reaction')[]; + url: string; + secret: string; + active: boolean; + /** Format: date-time */ + latestSentAt: string | null; + latestStatus: number | null; + }; + }; }; /** @description Client error */ 400: { @@ -21612,9 +21864,11 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': components['schemas']['Flash']; + }; }; /** @description Client error */ 400: { @@ -22362,9 +22616,15 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + /** Format: misskey:id */ + id: string; + user: components['schemas']['User']; + }[]; + }; }; /** @description Client error */ 400: { @@ -22622,9 +22882,24 @@ export type operations = { */ 'server-info': { responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + machine: string; + cpu: { + model: string; + cores: number; + }; + mem: { + total: number; + }; + fs: { + total: number; + used: number; + }; + }; + }; }; /** @description Client error */ 400: { @@ -22968,9 +23243,19 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + /** Format: misskey:id */ + id: string; + required: boolean; + string: string; + default: string; + /** @default hello */ + nullableDefault: string | null; + }; + }; }; /** @description Client error */ 400: { @@ -24119,9 +24404,20 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + /** Format: misskey:id */ + id: string; + /** Format: date-time */ + createdAt: string; + /** Format: misskey:id */ + userId: string; + user: components['schemas']['User']; + withReplies: boolean; + }[]; + }; }; /** @description Client error */ 400: { @@ -24789,9 +25085,14 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + name: string; + unlockedAt: number; + }[]; + }; }; /** @description Client error */ 400: { @@ -24894,9 +25195,13 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + items: Record[]; + }; + }; }; /** @description Client error */ 400: { @@ -24946,9 +25251,14 @@ export type operations = { }; }; responses: { - /** @description OK (without any results) */ - 204: { - content: never; + /** @description OK (with results) */ + 200: { + content: { + 'application/json': { + type: string; + data: string; + }; + }; }; /** @description Client error */ 400: {