chore(misskey-js): update misskey-js with api.json (#12778)

pnpm build && pnpm build-misskey-js-with-types && pnpm --filter misskey-js api
This commit is contained in:
anatawa12 2023-12-24 17:54:00 +09:00 committed by GitHub
parent 0009aa332b
commit 237fe242ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 889 additions and 383 deletions

View File

@ -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<string, unknown> | undefined;
// @public (undocumented)
type EndpointRequest = operations['endpoint']['requestBody']['content']['application/json'];
// @public (undocumented)
type EndpointResponse = operations['endpoint']['responses']['200']['content']['application/json'];
// Warning: (ae-forgotten-export) The symbol "Overwrite" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "Endpoints_2" needs to be exported by the entry point index.d.ts
//
@ -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'];

View File

@ -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<E extends 'admin/meta', P extends Endpoints[E]['req']>(
endpoint: E,
@ -22,7 +22,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/abuse-user-reports', P extends Endpoints[E]['req']>(
endpoint: E,
@ -33,7 +33,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *No* / **Permission**: *write:admin*
*/
request<E extends 'admin/accounts/create', P extends Endpoints[E]['req']>(
endpoint: E,
@ -44,7 +44,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/accounts/delete', P extends Endpoints[E]['req']>(
endpoint: E,
@ -55,7 +55,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/accounts/find-by-email', P extends Endpoints[E]['req']>(
endpoint: E,
@ -66,7 +66,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/ad/create', P extends Endpoints[E]['req']>(
endpoint: E,
@ -77,7 +77,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/ad/delete', P extends Endpoints[E]['req']>(
endpoint: E,
@ -88,7 +88,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/ad/list', P extends Endpoints[E]['req']>(
endpoint: E,
@ -99,7 +99,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/ad/update', P extends Endpoints[E]['req']>(
endpoint: E,
@ -110,7 +110,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/announcements/create', P extends Endpoints[E]['req']>(
endpoint: E,
@ -121,7 +121,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/announcements/delete', P extends Endpoints[E]['req']>(
endpoint: E,
@ -132,7 +132,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/announcements/list', P extends Endpoints[E]['req']>(
endpoint: E,
@ -143,7 +143,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/announcements/update', P extends Endpoints[E]['req']>(
endpoint: E,
@ -154,7 +154,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/avatar-decorations/create', P extends Endpoints[E]['req']>(
endpoint: E,
@ -165,7 +165,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/avatar-decorations/delete', P extends Endpoints[E]['req']>(
endpoint: E,
@ -176,7 +176,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/avatar-decorations/list', P extends Endpoints[E]['req']>(
endpoint: E,
@ -187,7 +187,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/avatar-decorations/update', P extends Endpoints[E]['req']>(
endpoint: E,
@ -198,7 +198,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/delete-all-files-of-a-user', P extends Endpoints[E]['req']>(
endpoint: E,
@ -209,7 +209,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/unset-user-avatar', P extends Endpoints[E]['req']>(
endpoint: E,
@ -220,7 +220,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/unset-user-banner', P extends Endpoints[E]['req']>(
endpoint: E,
@ -231,7 +231,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/drive/clean-remote-files', P extends Endpoints[E]['req']>(
endpoint: E,
@ -242,7 +242,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/drive/cleanup', P extends Endpoints[E]['req']>(
endpoint: E,
@ -253,7 +253,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/drive/files', P extends Endpoints[E]['req']>(
endpoint: E,
@ -264,7 +264,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/drive/show-file', P extends Endpoints[E]['req']>(
endpoint: E,
@ -275,7 +275,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/emoji/add-aliases-bulk', P extends Endpoints[E]['req']>(
endpoint: E,
@ -286,7 +286,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/emoji/add', P extends Endpoints[E]['req']>(
endpoint: E,
@ -297,7 +297,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/emoji/copy', P extends Endpoints[E]['req']>(
endpoint: E,
@ -308,7 +308,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/emoji/delete-bulk', P extends Endpoints[E]['req']>(
endpoint: E,
@ -319,7 +319,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/emoji/delete', P extends Endpoints[E]['req']>(
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<E extends 'admin/emoji/import-zip', P extends Endpoints[E]['req']>(
endpoint: E,
@ -342,7 +341,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/emoji/list-remote', P extends Endpoints[E]['req']>(
endpoint: E,
@ -353,7 +352,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/emoji/list', P extends Endpoints[E]['req']>(
endpoint: E,
@ -364,7 +363,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/emoji/remove-aliases-bulk', P extends Endpoints[E]['req']>(
endpoint: E,
@ -375,7 +374,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/emoji/set-aliases-bulk', P extends Endpoints[E]['req']>(
endpoint: E,
@ -386,7 +385,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/emoji/set-category-bulk', P extends Endpoints[E]['req']>(
endpoint: E,
@ -397,7 +396,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/emoji/set-license-bulk', P extends Endpoints[E]['req']>(
endpoint: E,
@ -408,7 +407,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/emoji/update', P extends Endpoints[E]['req']>(
endpoint: E,
@ -419,7 +418,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/federation/delete-all-files', P extends Endpoints[E]['req']>(
endpoint: E,
@ -430,7 +429,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/federation/refresh-remote-instance-metadata', P extends Endpoints[E]['req']>(
endpoint: E,
@ -441,7 +440,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/federation/remove-all-following', P extends Endpoints[E]['req']>(
endpoint: E,
@ -452,7 +451,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/federation/update-instance', P extends Endpoints[E]['req']>(
endpoint: E,
@ -463,7 +462,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/get-index-stats', P extends Endpoints[E]['req']>(
endpoint: E,
@ -474,7 +473,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/get-table-stats', P extends Endpoints[E]['req']>(
endpoint: E,
@ -485,7 +484,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/get-user-ips', P extends Endpoints[E]['req']>(
endpoint: E,
@ -496,7 +495,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/invite/create', P extends Endpoints[E]['req']>(
endpoint: E,
@ -507,7 +506,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/invite/list', P extends Endpoints[E]['req']>(
endpoint: E,
@ -518,7 +517,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/promo/create', P extends Endpoints[E]['req']>(
endpoint: E,
@ -529,7 +528,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/queue/clear', P extends Endpoints[E]['req']>(
endpoint: E,
@ -540,7 +539,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/queue/deliver-delayed', P extends Endpoints[E]['req']>(
endpoint: E,
@ -551,7 +550,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/queue/inbox-delayed', P extends Endpoints[E]['req']>(
endpoint: E,
@ -562,7 +561,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/queue/promote', P extends Endpoints[E]['req']>(
endpoint: E,
@ -573,7 +572,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/queue/stats', P extends Endpoints[E]['req']>(
endpoint: E,
@ -584,7 +583,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/relays/add', P extends Endpoints[E]['req']>(
endpoint: E,
@ -595,7 +594,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/relays/list', P extends Endpoints[E]['req']>(
endpoint: E,
@ -606,7 +605,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/relays/remove', P extends Endpoints[E]['req']>(
endpoint: E,
@ -617,7 +616,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/reset-password', P extends Endpoints[E]['req']>(
endpoint: E,
@ -628,7 +627,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/resolve-abuse-user-report', P extends Endpoints[E]['req']>(
endpoint: E,
@ -639,7 +638,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/send-email', P extends Endpoints[E]['req']>(
endpoint: E,
@ -650,7 +649,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/server-info', P extends Endpoints[E]['req']>(
endpoint: E,
@ -661,7 +660,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/show-moderation-logs', P extends Endpoints[E]['req']>(
endpoint: E,
@ -672,7 +671,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/show-user', P extends Endpoints[E]['req']>(
endpoint: E,
@ -683,7 +682,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/show-users', P extends Endpoints[E]['req']>(
endpoint: E,
@ -694,7 +693,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/suspend-user', P extends Endpoints[E]['req']>(
endpoint: E,
@ -705,7 +704,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/unsuspend-user', P extends Endpoints[E]['req']>(
endpoint: E,
@ -716,7 +715,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/update-meta', P extends Endpoints[E]['req']>(
endpoint: E,
@ -727,7 +726,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/delete-account', P extends Endpoints[E]['req']>(
endpoint: E,
@ -738,7 +737,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/update-user-note', P extends Endpoints[E]['req']>(
endpoint: E,
@ -749,7 +748,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/roles/create', P extends Endpoints[E]['req']>(
endpoint: E,
@ -760,7 +759,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/roles/delete', P extends Endpoints[E]['req']>(
endpoint: E,
@ -771,7 +770,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/roles/list', P extends Endpoints[E]['req']>(
endpoint: E,
@ -782,7 +781,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *read:admin*
*/
request<E extends 'admin/roles/show', P extends Endpoints[E]['req']>(
endpoint: E,
@ -793,7 +792,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/roles/update', P extends Endpoints[E]['req']>(
endpoint: E,
@ -804,7 +803,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/roles/assign', P extends Endpoints[E]['req']>(
endpoint: E,
@ -815,7 +814,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/roles/unassign', P extends Endpoints[E]['req']>(
endpoint: E,
@ -826,7 +825,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *Yes*
* **Credential required**: *Yes* / **Permission**: *write:admin*
*/
request<E extends 'admin/roles/update-default-policies', P extends Endpoints[E]['req']>(
endpoint: E,
@ -837,7 +836,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *No* / **Permission**: *read:admin*
*/
request<E extends 'admin/roles/users', P extends Endpoints[E]['req']>(
endpoint: E,

View File

@ -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 };
}

View File

@ -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'];

View File

@ -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'];

File diff suppressed because it is too large Load Diff