|
@ -23,6 +23,8 @@ import type { |
|
|
LoginResetPasswordResponse, |
|
|
LoginResetPasswordResponse, |
|
|
LoginRecoverPasswordHtmlContentData, |
|
|
LoginRecoverPasswordHtmlContentData, |
|
|
LoginRecoverPasswordHtmlContentResponse, |
|
|
LoginRecoverPasswordHtmlContentResponse, |
|
|
|
|
|
PrivateCreateUserData, |
|
|
|
|
|
PrivateCreateUserResponse, |
|
|
UsersReadUsersData, |
|
|
UsersReadUsersData, |
|
|
UsersReadUsersResponse, |
|
|
UsersReadUsersResponse, |
|
|
UsersCreateUserData, |
|
|
UsersCreateUserData, |
|
@ -272,6 +274,30 @@ export class LoginService { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export class PrivateService { |
|
|
|
|
|
/** |
|
|
|
|
|
* Create User |
|
|
|
|
|
* Create a new user. |
|
|
|
|
|
* @param data The data for the request. |
|
|
|
|
|
* @param data.requestBody |
|
|
|
|
|
* @returns UserPublic Successful Response |
|
|
|
|
|
* @throws ApiError |
|
|
|
|
|
*/ |
|
|
|
|
|
public static createUser( |
|
|
|
|
|
data: PrivateCreateUserData, |
|
|
|
|
|
): CancelablePromise<PrivateCreateUserResponse> { |
|
|
|
|
|
return __request(OpenAPI, { |
|
|
|
|
|
method: "POST", |
|
|
|
|
|
url: "/api/v1/private/users/", |
|
|
|
|
|
body: data.requestBody, |
|
|
|
|
|
mediaType: "application/json", |
|
|
|
|
|
errors: { |
|
|
|
|
|
422: "Validation Error", |
|
|
|
|
|
}, |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
export class UsersService { |
|
|
export class UsersService { |
|
|
/** |
|
|
/** |
|
|
* Read Users |
|
|
* Read Users |
|
|