isopruefi-frontend / api/api-client / UserInfoClient
Class: UserInfoClient¶
Defined in: api/api-client.ts:766
Constructors¶
Constructor¶
new UserInfoClient(
baseUrl?,http?):UserInfoClient
Defined in: api/api-client.ts:771
Parameters¶
baseUrl?¶
string
http?¶
fetch¶
Returns¶
UserInfoClient
Properties¶
jsonParseReviver¶
protectedjsonParseReviver:undefined| (key,value) =>any=undefined
Defined in: api/api-client.ts:769
Methods¶
changePassword()¶
changePassword(
input):Promise\<FileResponse>
Defined in: api/api-client.ts:828
Changes the password for a user.
Parameters¶
input¶
The change password request containing user ID, current password, and new password.
Returns¶
Promise\<FileResponse>
Ok if successful; otherwise, an error response.
changeUser()¶
changeUser(
user):Promise\<FileResponse>
Defined in: api/api-client.ts:875
Updates user information.
Parameters¶
user¶
The user object with updated information.
Returns¶
Promise\<FileResponse>
Ok if successful; otherwise, an error response.
deleteUser()¶
deleteUser(
userId?):Promise\<FileResponse>
Defined in: api/api-client.ts:922
Deletes a user by their unique identifier.
Parameters¶
userId?¶
string
(optional) The unique identifier of the user to delete.
Returns¶
Promise\<FileResponse>
Ok if successful; otherwise, an error response.
getUserById()¶
getUserById(
userId?):Promise\<FileResponse>
Defined in: api/api-client.ts:781
Retrieves a user by their unique identifier.
Parameters¶
userId?¶
string
(optional) The unique identifier of the user.
Returns¶
Promise\<FileResponse>
The user information if found; otherwise, NotFound.
processChangePassword()¶
protectedprocessChangePassword(response):Promise\<FileResponse>
Defined in: api/api-client.ts:848
Parameters¶
response¶
Response
Returns¶
Promise\<FileResponse>
processChangeUser()¶
protectedprocessChangeUser(response):Promise\<FileResponse>
Defined in: api/api-client.ts:895
Parameters¶
response¶
Response
Returns¶
Promise\<FileResponse>
processDeleteUser()¶
protectedprocessDeleteUser(response):Promise\<FileResponse>
Defined in: api/api-client.ts:942
Parameters¶
response¶
Response
Returns¶
Promise\<FileResponse>
processGetUserById()¶
protectedprocessGetUserById(response):Promise\<FileResponse>
Defined in: api/api-client.ts:801
Parameters¶
response¶
Response
Returns¶
Promise\<FileResponse>