1
0

upd: add decline endpoint and free up username on decline

This commit is contained in:
Marie
2024-10-17 20:11:10 +02:00
parent 786677b079
commit 1d9cb4fad9
13 changed files with 170 additions and 2 deletions
@@ -812,6 +812,17 @@ declare module '../api.js' {
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/**
* No description provided.
*
* **Credential required**: *Yes* / **Permission**: *write:admin:decline-user*
*/
request<E extends 'admin/decline-user', P extends Endpoints[E]['req']>(
endpoint: E,
params: P,
credential?: string | null,
): Promise<SwitchCaseResponseType<E, P>>;
/**
* No description provided.
*