3
3
/* tslint:disable */
4
4
/* eslint-disable */
5
5
import type { Body_login_login_access_token } from '../models/Body_login_login_access_token' ;
6
- import type { Body_login_reset_password } from '../models/Body_login_reset_password ' ;
7
- import type { Msg } from '../models/Msg ' ;
6
+ import type { Message } from '../models/Message ' ;
7
+ import type { NewPassword } from '../models/NewPassword ' ;
8
8
import type { Token } from '../models/Token' ;
9
- import type { User } from '../models/User ' ;
9
+ import type { UserOut } from '../models/UserOut ' ;
10
10
11
11
import type { CancelablePromise } from '../core/CancelablePromise' ;
12
12
import { OpenAPI } from '../core/OpenAPI' ;
@@ -39,10 +39,10 @@ formData: Body_login_login_access_token,
39
39
/**
40
40
* Test Token
41
41
* Test access token
42
- * @returns User Successful Response
42
+ * @returns UserOut Successful Response
43
43
* @throws ApiError
44
44
*/
45
- public static testToken ( ) : CancelablePromise < User > {
45
+ public static testToken ( ) : CancelablePromise < UserOut > {
46
46
return __request ( OpenAPI , {
47
47
method : 'POST' ,
48
48
url : '/api/v1/login/test-token' ,
@@ -52,14 +52,14 @@ formData: Body_login_login_access_token,
52
52
/**
53
53
* Recover Password
54
54
* Password Recovery
55
- * @returns Msg Successful Response
55
+ * @returns Message Successful Response
56
56
* @throws ApiError
57
57
*/
58
58
public static recoverPassword ( {
59
59
email,
60
60
} : {
61
61
email : string ,
62
- } ) : CancelablePromise < Msg > {
62
+ } ) : CancelablePromise < Message > {
63
63
return __request ( OpenAPI , {
64
64
method : 'POST' ,
65
65
url : '/api/v1/password-recovery/{email}' ,
@@ -75,14 +75,14 @@ email: string,
75
75
/**
76
76
* Reset Password
77
77
* Reset password
78
- * @returns Msg Successful Response
78
+ * @returns Message Successful Response
79
79
* @throws ApiError
80
80
*/
81
81
public static resetPassword ( {
82
82
requestBody,
83
83
} : {
84
- requestBody : Body_login_reset_password ,
85
- } ) : CancelablePromise < Msg > {
84
+ requestBody : NewPassword ,
85
+ } ) : CancelablePromise < Message > {
86
86
return __request ( OpenAPI , {
87
87
method : 'POST' ,
88
88
url : '/api/v1/reset-password/' ,
0 commit comments