Skip to content

isopruefi-frontend v1.0.0


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

protected jsonParseReviver: 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

ChangePassword

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

ApiUser

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()

protected processChangePassword(response): Promise\<FileResponse>

Defined in: api/api-client.ts:848

Parameters

response

Response

Returns

Promise\<FileResponse>


processChangeUser()

protected processChangeUser(response): Promise\<FileResponse>

Defined in: api/api-client.ts:895

Parameters

response

Response

Returns

Promise\<FileResponse>


processDeleteUser()

protected processDeleteUser(response): Promise\<FileResponse>

Defined in: api/api-client.ts:942

Parameters

response

Response

Returns

Promise\<FileResponse>


processGetUserById()

protected processGetUserById(response): Promise\<FileResponse>

Defined in: api/api-client.ts:801

Parameters

response

Response

Returns

Promise\<FileResponse>