autogen: api docs

This commit is contained in:
オスカー、 2024-10-18 21:44:26 +09:00
parent d34eadc8b0
commit d0c42b9468
Signed by: SWREI
GPG Key ID: 139D6573F92DA9F7

View File

@ -259,7 +259,7 @@ declare module '../api.js' {
/** /**
* No description provided. * No description provided.
* *
* **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-avatar* * **Credential required**: *Yes* / **Permission**: *write:admin:user-avatar*
*/ */
request<E extends 'admin/unset-user-avatar', P extends Endpoints[E]['req']>( request<E extends 'admin/unset-user-avatar', P extends Endpoints[E]['req']>(
endpoint: E, endpoint: E,
@ -270,7 +270,7 @@ declare module '../api.js' {
/** /**
* No description provided. * No description provided.
* *
* **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-banner* * **Credential required**: *Yes* / **Permission**: *write:admin:user-banner*
*/ */
request<E extends 'admin/unset-user-banner', P extends Endpoints[E]['req']>( request<E extends 'admin/unset-user-banner', P extends Endpoints[E]['req']>(
endpoint: E, endpoint: E,
@ -293,7 +293,7 @@ declare module '../api.js' {
/** /**
* No description provided. * No description provided.
* *
* **Credential required**: *Yes* / **Permission**: *write:admin:unset-user-mutual-link* * **Credential required**: *Yes* / **Permission**: *write:admin:user-mutual-link*
*/ */
request<E extends 'admin/unset-user-mutual-link', P extends Endpoints[E]['req']>( request<E extends 'admin/unset-user-mutual-link', P extends Endpoints[E]['req']>(
endpoint: E, endpoint: E,
@ -766,6 +766,17 @@ declare module '../api.js' {
credential?: string | null, credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>; ): Promise<SwitchCaseResponseType<E, P>>;
/**
* No description provided.
*
* **Credential required**: *Yes* / **Permission**: *write:admin:regenerate-user-token*
*/
request<E extends 'admin/regenerate-user-token', P extends Endpoints[E]['req']>(
endpoint: E,
params: P,
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/** /**
* No description provided. * No description provided.
* *
@ -876,6 +887,17 @@ declare module '../api.js' {
credential?: string | null, credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>; ): Promise<SwitchCaseResponseType<E, P>>;
/**
* No description provided.
*
* **Credential required**: *Yes* / **Permission**: *write:admin:user-name*
*/
request<E extends 'admin/update-user-name', P extends Endpoints[E]['req']>(
endpoint: E,
params: P,
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/** /**
* No description provided. * No description provided.
* *