🚀New lib version v0.1.1 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
28
dist/services/MeService.d.ts
vendored
Normal file
28
dist/services/MeService.d.ts
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import type { ResponseUser } from '../models/ResponseUser';
|
||||
import type { ResponseUserPermissions } from '../models/ResponseUserPermissions';
|
||||
import type { UpdateUser } from '../models/UpdateUser';
|
||||
export declare class MeService {
|
||||
/**
|
||||
* Get permissions
|
||||
* Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects.
|
||||
* @returns ResponseUserPermissions
|
||||
* @throws ApiError
|
||||
*/
|
||||
static meControllerGetPermissions(): Promise<ResponseUserPermissions>;
|
||||
/**
|
||||
* Put
|
||||
* Update the yourself. <br> You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead. <br> Please remember that ids can't be changed.
|
||||
* @param requestBody UpdateUser
|
||||
* @returns ResponseUser
|
||||
* @throws ApiError
|
||||
*/
|
||||
static meControllerPut(requestBody?: UpdateUser): Promise<ResponseUser>;
|
||||
/**
|
||||
* Remove
|
||||
* Delete yourself. <br> You have to confirm your decision by providing the ?force=true query param. <br> If there are any permissions directly granted to you they will get deleted as well.
|
||||
* @param force
|
||||
* @returns ResponseUser
|
||||
* @throws ApiError
|
||||
*/
|
||||
static meControllerRemove(force?: boolean): Promise<ResponseUser>;
|
||||
}
|
||||
Reference in New Issue
Block a user