@rasadov/lumoar-sdk 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -1
- package/api.ts +126 -46
- package/dist/api.d.ts +79 -36
- package/dist/api.js +88 -17
- package/docs/AuthenticationSuccess.md +2 -2
- package/docs/UserApi.md +64 -10
- package/docs/UserAuth.md +26 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -63,7 +63,6 @@ docs/RemoveFromCompany.md
|
|
|
63
63
|
docs/ReportBase.md
|
|
64
64
|
docs/ReportGenerate.md
|
|
65
65
|
docs/ReportsApi.md
|
|
66
|
-
docs/ResendOTPSchema.md
|
|
67
66
|
docs/ResetPasswordSchema.md
|
|
68
67
|
docs/ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet.md
|
|
69
68
|
docs/ResponseGetSubscriptionV1PaymentsSubscriptionGet.md
|
|
@@ -81,6 +80,7 @@ docs/UpdatePassword.md
|
|
|
81
80
|
docs/UpdateTaskSchema.md
|
|
82
81
|
docs/UpdateTaskStatus.md
|
|
83
82
|
docs/UserApi.md
|
|
83
|
+
docs/UserAuth.md
|
|
84
84
|
docs/UserBase.md
|
|
85
85
|
docs/UserInDBBase.md
|
|
86
86
|
docs/UserPermissionsWithCompany.md
|
package/api.ts
CHANGED
|
@@ -111,7 +111,7 @@ export interface AuditLogSchema {
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
* Authentication success response schema. Attributes: -
|
|
114
|
+
* Authentication success response schema. Attributes: - detail: dict[str, str] - access_token: str - user: UserAuth | None
|
|
115
115
|
* @export
|
|
116
116
|
* @interface AuthenticationSuccess
|
|
117
117
|
*/
|
|
@@ -130,10 +130,10 @@ export interface AuthenticationSuccess {
|
|
|
130
130
|
'access_token': string;
|
|
131
131
|
/**
|
|
132
132
|
*
|
|
133
|
-
* @type {
|
|
133
|
+
* @type {UserAuth}
|
|
134
134
|
* @memberof AuthenticationSuccess
|
|
135
135
|
*/
|
|
136
|
-
'user'
|
|
136
|
+
'user': UserAuth | null;
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
139
|
*
|
|
@@ -1584,31 +1584,6 @@ export interface ReportGenerate {
|
|
|
1584
1584
|
*/
|
|
1585
1585
|
'report_id': string;
|
|
1586
1586
|
}
|
|
1587
|
-
/**
|
|
1588
|
-
* Schema for resending OTP
|
|
1589
|
-
* @export
|
|
1590
|
-
* @interface ResendOTPSchema
|
|
1591
|
-
*/
|
|
1592
|
-
export interface ResendOTPSchema {
|
|
1593
|
-
/**
|
|
1594
|
-
*
|
|
1595
|
-
* @type {string}
|
|
1596
|
-
* @memberof ResendOTPSchema
|
|
1597
|
-
*/
|
|
1598
|
-
'email': string;
|
|
1599
|
-
/**
|
|
1600
|
-
*
|
|
1601
|
-
* @type {string}
|
|
1602
|
-
* @memberof ResendOTPSchema
|
|
1603
|
-
*/
|
|
1604
|
-
'otp_type': string;
|
|
1605
|
-
/**
|
|
1606
|
-
*
|
|
1607
|
-
* @type {string}
|
|
1608
|
-
* @memberof ResendOTPSchema
|
|
1609
|
-
*/
|
|
1610
|
-
'turnstile_token': string;
|
|
1611
|
-
}
|
|
1612
1587
|
/**
|
|
1613
1588
|
* Schema for password reset
|
|
1614
1589
|
* @export
|
|
@@ -2073,6 +2048,37 @@ export interface UpdateTaskStatus {
|
|
|
2073
2048
|
}
|
|
2074
2049
|
|
|
2075
2050
|
|
|
2051
|
+
/**
|
|
2052
|
+
*
|
|
2053
|
+
* @export
|
|
2054
|
+
* @interface UserAuth
|
|
2055
|
+
*/
|
|
2056
|
+
export interface UserAuth {
|
|
2057
|
+
/**
|
|
2058
|
+
*
|
|
2059
|
+
* @type {string}
|
|
2060
|
+
* @memberof UserAuth
|
|
2061
|
+
*/
|
|
2062
|
+
'name': string;
|
|
2063
|
+
/**
|
|
2064
|
+
*
|
|
2065
|
+
* @type {string}
|
|
2066
|
+
* @memberof UserAuth
|
|
2067
|
+
*/
|
|
2068
|
+
'email': string;
|
|
2069
|
+
/**
|
|
2070
|
+
*
|
|
2071
|
+
* @type {string}
|
|
2072
|
+
* @memberof UserAuth
|
|
2073
|
+
*/
|
|
2074
|
+
'role': string;
|
|
2075
|
+
/**
|
|
2076
|
+
*
|
|
2077
|
+
* @type {boolean}
|
|
2078
|
+
* @memberof UserAuth
|
|
2079
|
+
*/
|
|
2080
|
+
'email_confirmed': boolean;
|
|
2081
|
+
}
|
|
2076
2082
|
/**
|
|
2077
2083
|
*
|
|
2078
2084
|
* @export
|
|
@@ -7463,15 +7469,15 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7463
7469
|
},
|
|
7464
7470
|
/**
|
|
7465
7471
|
*
|
|
7466
|
-
* @summary Resend Otp
|
|
7467
|
-
* @param {
|
|
7472
|
+
* @summary Resend Otp By Email
|
|
7473
|
+
* @param {string} email
|
|
7468
7474
|
* @param {*} [options] Override http request option.
|
|
7469
7475
|
* @throws {RequiredError}
|
|
7470
7476
|
*/
|
|
7471
|
-
|
|
7472
|
-
// verify required parameter '
|
|
7473
|
-
assertParamExists('
|
|
7474
|
-
const localVarPath = `/v1/user/resend-otp`;
|
|
7477
|
+
resendOtpByEmailV1UserResendOtpEmailPost: async (email: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7478
|
+
// verify required parameter 'email' is not null or undefined
|
|
7479
|
+
assertParamExists('resendOtpByEmailV1UserResendOtpEmailPost', 'email', email)
|
|
7480
|
+
const localVarPath = `/v1/user/resend-otp/email`;
|
|
7475
7481
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7476
7482
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7477
7483
|
let baseOptions;
|
|
@@ -7483,14 +7489,50 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7483
7489
|
const localVarHeaderParameter = {} as any;
|
|
7484
7490
|
const localVarQueryParameter = {} as any;
|
|
7485
7491
|
|
|
7492
|
+
if (email !== undefined) {
|
|
7493
|
+
localVarQueryParameter['email'] = email;
|
|
7494
|
+
}
|
|
7495
|
+
|
|
7486
7496
|
|
|
7487
7497
|
|
|
7488
|
-
|
|
7498
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7499
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7500
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7489
7501
|
|
|
7502
|
+
return {
|
|
7503
|
+
url: toPathString(localVarUrlObj),
|
|
7504
|
+
options: localVarRequestOptions,
|
|
7505
|
+
};
|
|
7506
|
+
},
|
|
7507
|
+
/**
|
|
7508
|
+
*
|
|
7509
|
+
* @summary Resend Otp
|
|
7510
|
+
* @param {string} [authorization]
|
|
7511
|
+
* @param {string} [sessionId]
|
|
7512
|
+
* @param {*} [options] Override http request option.
|
|
7513
|
+
* @throws {RequiredError}
|
|
7514
|
+
*/
|
|
7515
|
+
resendOtpV1UserResendOtpPasswordPost: async (authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7516
|
+
const localVarPath = `/v1/user/resend-otp/password`;
|
|
7517
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7518
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7519
|
+
let baseOptions;
|
|
7520
|
+
if (configuration) {
|
|
7521
|
+
baseOptions = configuration.baseOptions;
|
|
7522
|
+
}
|
|
7523
|
+
|
|
7524
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7525
|
+
const localVarHeaderParameter = {} as any;
|
|
7526
|
+
const localVarQueryParameter = {} as any;
|
|
7527
|
+
|
|
7528
|
+
|
|
7529
|
+
|
|
7530
|
+
if (authorization != null) {
|
|
7531
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7532
|
+
}
|
|
7490
7533
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7491
7534
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7492
7535
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7493
|
-
localVarRequestOptions.data = serializeDataIfNeeded(resendOTPSchema, localVarRequestOptions, configuration)
|
|
7494
7536
|
|
|
7495
7537
|
return {
|
|
7496
7538
|
url: toPathString(localVarUrlObj),
|
|
@@ -7722,17 +7764,31 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7722
7764
|
const localVarOperationServerBasePath = operationServerMap['UserApi.getUserV1UserMeGet']?.[localVarOperationServerIndex]?.url;
|
|
7723
7765
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7724
7766
|
},
|
|
7767
|
+
/**
|
|
7768
|
+
*
|
|
7769
|
+
* @summary Resend Otp By Email
|
|
7770
|
+
* @param {string} email
|
|
7771
|
+
* @param {*} [options] Override http request option.
|
|
7772
|
+
* @throws {RequiredError}
|
|
7773
|
+
*/
|
|
7774
|
+
async resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7775
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(email, options);
|
|
7776
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7777
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpByEmailV1UserResendOtpEmailPost']?.[localVarOperationServerIndex]?.url;
|
|
7778
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7779
|
+
},
|
|
7725
7780
|
/**
|
|
7726
7781
|
*
|
|
7727
7782
|
* @summary Resend Otp
|
|
7728
|
-
* @param {
|
|
7783
|
+
* @param {string} [authorization]
|
|
7784
|
+
* @param {string} [sessionId]
|
|
7729
7785
|
* @param {*} [options] Override http request option.
|
|
7730
7786
|
* @throws {RequiredError}
|
|
7731
7787
|
*/
|
|
7732
|
-
async
|
|
7733
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
7788
|
+
async resendOtpV1UserResendOtpPasswordPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7789
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpV1UserResendOtpPasswordPost(authorization, sessionId, options);
|
|
7734
7790
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7735
|
-
const localVarOperationServerBasePath = operationServerMap['UserApi.
|
|
7791
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpV1UserResendOtpPasswordPost']?.[localVarOperationServerIndex]?.url;
|
|
7736
7792
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7737
7793
|
},
|
|
7738
7794
|
/**
|
|
@@ -7852,15 +7908,26 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7852
7908
|
getUserV1UserMeGet(sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UserInDBBase> {
|
|
7853
7909
|
return localVarFp.getUserV1UserMeGet(sessionId, options).then((request) => request(axios, basePath));
|
|
7854
7910
|
},
|
|
7911
|
+
/**
|
|
7912
|
+
*
|
|
7913
|
+
* @summary Resend Otp By Email
|
|
7914
|
+
* @param {string} email
|
|
7915
|
+
* @param {*} [options] Override http request option.
|
|
7916
|
+
* @throws {RequiredError}
|
|
7917
|
+
*/
|
|
7918
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7919
|
+
return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(axios, basePath));
|
|
7920
|
+
},
|
|
7855
7921
|
/**
|
|
7856
7922
|
*
|
|
7857
7923
|
* @summary Resend Otp
|
|
7858
|
-
* @param {
|
|
7924
|
+
* @param {string} [authorization]
|
|
7925
|
+
* @param {string} [sessionId]
|
|
7859
7926
|
* @param {*} [options] Override http request option.
|
|
7860
7927
|
* @throws {RequiredError}
|
|
7861
7928
|
*/
|
|
7862
|
-
|
|
7863
|
-
return localVarFp.
|
|
7929
|
+
resendOtpV1UserResendOtpPasswordPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7930
|
+
return localVarFp.resendOtpV1UserResendOtpPasswordPost(authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
7864
7931
|
},
|
|
7865
7932
|
/**
|
|
7866
7933
|
*
|
|
@@ -7977,16 +8044,29 @@ export class UserApi extends BaseAPI {
|
|
|
7977
8044
|
return UserApiFp(this.configuration).getUserV1UserMeGet(sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
7978
8045
|
}
|
|
7979
8046
|
|
|
8047
|
+
/**
|
|
8048
|
+
*
|
|
8049
|
+
* @summary Resend Otp By Email
|
|
8050
|
+
* @param {string} email
|
|
8051
|
+
* @param {*} [options] Override http request option.
|
|
8052
|
+
* @throws {RequiredError}
|
|
8053
|
+
* @memberof UserApi
|
|
8054
|
+
*/
|
|
8055
|
+
public resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig) {
|
|
8056
|
+
return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(this.axios, this.basePath));
|
|
8057
|
+
}
|
|
8058
|
+
|
|
7980
8059
|
/**
|
|
7981
8060
|
*
|
|
7982
8061
|
* @summary Resend Otp
|
|
7983
|
-
* @param {
|
|
8062
|
+
* @param {string} [authorization]
|
|
8063
|
+
* @param {string} [sessionId]
|
|
7984
8064
|
* @param {*} [options] Override http request option.
|
|
7985
8065
|
* @throws {RequiredError}
|
|
7986
8066
|
* @memberof UserApi
|
|
7987
8067
|
*/
|
|
7988
|
-
public
|
|
7989
|
-
return UserApiFp(this.configuration).
|
|
8068
|
+
public resendOtpV1UserResendOtpPasswordPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
8069
|
+
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPasswordPost(authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
7990
8070
|
}
|
|
7991
8071
|
|
|
7992
8072
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export interface AuditLogSchema {
|
|
|
93
93
|
'user': UserBase;
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
|
-
* Authentication success response schema. Attributes: -
|
|
96
|
+
* Authentication success response schema. Attributes: - detail: dict[str, str] - access_token: str - user: UserAuth | None
|
|
97
97
|
* @export
|
|
98
98
|
* @interface AuthenticationSuccess
|
|
99
99
|
*/
|
|
@@ -114,10 +114,10 @@ export interface AuthenticationSuccess {
|
|
|
114
114
|
'access_token': string;
|
|
115
115
|
/**
|
|
116
116
|
*
|
|
117
|
-
* @type {
|
|
117
|
+
* @type {UserAuth}
|
|
118
118
|
* @memberof AuthenticationSuccess
|
|
119
119
|
*/
|
|
120
|
-
'user'
|
|
120
|
+
'user': UserAuth | null;
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
*
|
|
@@ -1548,31 +1548,6 @@ export interface ReportGenerate {
|
|
|
1548
1548
|
*/
|
|
1549
1549
|
'report_id': string;
|
|
1550
1550
|
}
|
|
1551
|
-
/**
|
|
1552
|
-
* Schema for resending OTP
|
|
1553
|
-
* @export
|
|
1554
|
-
* @interface ResendOTPSchema
|
|
1555
|
-
*/
|
|
1556
|
-
export interface ResendOTPSchema {
|
|
1557
|
-
/**
|
|
1558
|
-
*
|
|
1559
|
-
* @type {string}
|
|
1560
|
-
* @memberof ResendOTPSchema
|
|
1561
|
-
*/
|
|
1562
|
-
'email': string;
|
|
1563
|
-
/**
|
|
1564
|
-
*
|
|
1565
|
-
* @type {string}
|
|
1566
|
-
* @memberof ResendOTPSchema
|
|
1567
|
-
*/
|
|
1568
|
-
'otp_type': string;
|
|
1569
|
-
/**
|
|
1570
|
-
*
|
|
1571
|
-
* @type {string}
|
|
1572
|
-
* @memberof ResendOTPSchema
|
|
1573
|
-
*/
|
|
1574
|
-
'turnstile_token': string;
|
|
1575
|
-
}
|
|
1576
1551
|
/**
|
|
1577
1552
|
* Schema for password reset
|
|
1578
1553
|
* @export
|
|
@@ -2021,6 +1996,37 @@ export interface UpdateTaskStatus {
|
|
|
2021
1996
|
*/
|
|
2022
1997
|
'status': TaskStatus;
|
|
2023
1998
|
}
|
|
1999
|
+
/**
|
|
2000
|
+
*
|
|
2001
|
+
* @export
|
|
2002
|
+
* @interface UserAuth
|
|
2003
|
+
*/
|
|
2004
|
+
export interface UserAuth {
|
|
2005
|
+
/**
|
|
2006
|
+
*
|
|
2007
|
+
* @type {string}
|
|
2008
|
+
* @memberof UserAuth
|
|
2009
|
+
*/
|
|
2010
|
+
'name': string;
|
|
2011
|
+
/**
|
|
2012
|
+
*
|
|
2013
|
+
* @type {string}
|
|
2014
|
+
* @memberof UserAuth
|
|
2015
|
+
*/
|
|
2016
|
+
'email': string;
|
|
2017
|
+
/**
|
|
2018
|
+
*
|
|
2019
|
+
* @type {string}
|
|
2020
|
+
* @memberof UserAuth
|
|
2021
|
+
*/
|
|
2022
|
+
'role': string;
|
|
2023
|
+
/**
|
|
2024
|
+
*
|
|
2025
|
+
* @type {boolean}
|
|
2026
|
+
* @memberof UserAuth
|
|
2027
|
+
*/
|
|
2028
|
+
'email_confirmed': boolean;
|
|
2029
|
+
}
|
|
2024
2030
|
/**
|
|
2025
2031
|
*
|
|
2026
2032
|
* @export
|
|
@@ -4859,14 +4865,23 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
4859
4865
|
* @throws {RequiredError}
|
|
4860
4866
|
*/
|
|
4861
4867
|
getUserV1UserMeGet: (sessionId?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4868
|
+
/**
|
|
4869
|
+
*
|
|
4870
|
+
* @summary Resend Otp By Email
|
|
4871
|
+
* @param {string} email
|
|
4872
|
+
* @param {*} [options] Override http request option.
|
|
4873
|
+
* @throws {RequiredError}
|
|
4874
|
+
*/
|
|
4875
|
+
resendOtpByEmailV1UserResendOtpEmailPost: (email: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4862
4876
|
/**
|
|
4863
4877
|
*
|
|
4864
4878
|
* @summary Resend Otp
|
|
4865
|
-
* @param {
|
|
4879
|
+
* @param {string} [authorization]
|
|
4880
|
+
* @param {string} [sessionId]
|
|
4866
4881
|
* @param {*} [options] Override http request option.
|
|
4867
4882
|
* @throws {RequiredError}
|
|
4868
4883
|
*/
|
|
4869
|
-
|
|
4884
|
+
resendOtpV1UserResendOtpPasswordPost: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4870
4885
|
/**
|
|
4871
4886
|
*
|
|
4872
4887
|
* @summary Reset Password
|
|
@@ -4950,14 +4965,23 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
4950
4965
|
* @throws {RequiredError}
|
|
4951
4966
|
*/
|
|
4952
4967
|
getUserV1UserMeGet(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserInDBBase>>;
|
|
4968
|
+
/**
|
|
4969
|
+
*
|
|
4970
|
+
* @summary Resend Otp By Email
|
|
4971
|
+
* @param {string} email
|
|
4972
|
+
* @param {*} [options] Override http request option.
|
|
4973
|
+
* @throws {RequiredError}
|
|
4974
|
+
*/
|
|
4975
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
|
|
4953
4976
|
/**
|
|
4954
4977
|
*
|
|
4955
4978
|
* @summary Resend Otp
|
|
4956
|
-
* @param {
|
|
4979
|
+
* @param {string} [authorization]
|
|
4980
|
+
* @param {string} [sessionId]
|
|
4957
4981
|
* @param {*} [options] Override http request option.
|
|
4958
4982
|
* @throws {RequiredError}
|
|
4959
4983
|
*/
|
|
4960
|
-
|
|
4984
|
+
resendOtpV1UserResendOtpPasswordPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
|
|
4961
4985
|
/**
|
|
4962
4986
|
*
|
|
4963
4987
|
* @summary Reset Password
|
|
@@ -5041,14 +5065,23 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5041
5065
|
* @throws {RequiredError}
|
|
5042
5066
|
*/
|
|
5043
5067
|
getUserV1UserMeGet(sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UserInDBBase>;
|
|
5068
|
+
/**
|
|
5069
|
+
*
|
|
5070
|
+
* @summary Resend Otp By Email
|
|
5071
|
+
* @param {string} email
|
|
5072
|
+
* @param {*} [options] Override http request option.
|
|
5073
|
+
* @throws {RequiredError}
|
|
5074
|
+
*/
|
|
5075
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
|
|
5044
5076
|
/**
|
|
5045
5077
|
*
|
|
5046
5078
|
* @summary Resend Otp
|
|
5047
|
-
* @param {
|
|
5079
|
+
* @param {string} [authorization]
|
|
5080
|
+
* @param {string} [sessionId]
|
|
5048
5081
|
* @param {*} [options] Override http request option.
|
|
5049
5082
|
* @throws {RequiredError}
|
|
5050
5083
|
*/
|
|
5051
|
-
|
|
5084
|
+
resendOtpV1UserResendOtpPasswordPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
|
|
5052
5085
|
/**
|
|
5053
5086
|
*
|
|
5054
5087
|
* @summary Reset Password
|
|
@@ -5139,15 +5172,25 @@ export declare class UserApi extends BaseAPI {
|
|
|
5139
5172
|
* @memberof UserApi
|
|
5140
5173
|
*/
|
|
5141
5174
|
getUserV1UserMeGet(sessionId?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserInDBBase, any, {}>>;
|
|
5175
|
+
/**
|
|
5176
|
+
*
|
|
5177
|
+
* @summary Resend Otp By Email
|
|
5178
|
+
* @param {string} email
|
|
5179
|
+
* @param {*} [options] Override http request option.
|
|
5180
|
+
* @throws {RequiredError}
|
|
5181
|
+
* @memberof UserApi
|
|
5182
|
+
*/
|
|
5183
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
|
|
5142
5184
|
/**
|
|
5143
5185
|
*
|
|
5144
5186
|
* @summary Resend Otp
|
|
5145
|
-
* @param {
|
|
5187
|
+
* @param {string} [authorization]
|
|
5188
|
+
* @param {string} [sessionId]
|
|
5146
5189
|
* @param {*} [options] Override http request option.
|
|
5147
5190
|
* @throws {RequiredError}
|
|
5148
5191
|
* @memberof UserApi
|
|
5149
5192
|
*/
|
|
5150
|
-
|
|
5193
|
+
resendOtpV1UserResendOtpPasswordPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
|
|
5151
5194
|
/**
|
|
5152
5195
|
*
|
|
5153
5196
|
* @summary Reset Password
|
package/dist/api.js
CHANGED
|
@@ -4961,17 +4961,47 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
4961
4961
|
options: localVarRequestOptions,
|
|
4962
4962
|
};
|
|
4963
4963
|
}),
|
|
4964
|
+
/**
|
|
4965
|
+
*
|
|
4966
|
+
* @summary Resend Otp By Email
|
|
4967
|
+
* @param {string} email
|
|
4968
|
+
* @param {*} [options] Override http request option.
|
|
4969
|
+
* @throws {RequiredError}
|
|
4970
|
+
*/
|
|
4971
|
+
resendOtpByEmailV1UserResendOtpEmailPost: (email_1, ...args_1) => __awaiter(this, [email_1, ...args_1], void 0, function* (email, options = {}) {
|
|
4972
|
+
// verify required parameter 'email' is not null or undefined
|
|
4973
|
+
assertParamExists('resendOtpByEmailV1UserResendOtpEmailPost', 'email', email);
|
|
4974
|
+
const localVarPath = `/v1/user/resend-otp/email`;
|
|
4975
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4976
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4977
|
+
let baseOptions;
|
|
4978
|
+
if (configuration) {
|
|
4979
|
+
baseOptions = configuration.baseOptions;
|
|
4980
|
+
}
|
|
4981
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4982
|
+
const localVarHeaderParameter = {};
|
|
4983
|
+
const localVarQueryParameter = {};
|
|
4984
|
+
if (email !== undefined) {
|
|
4985
|
+
localVarQueryParameter['email'] = email;
|
|
4986
|
+
}
|
|
4987
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4988
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4989
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4990
|
+
return {
|
|
4991
|
+
url: toPathString(localVarUrlObj),
|
|
4992
|
+
options: localVarRequestOptions,
|
|
4993
|
+
};
|
|
4994
|
+
}),
|
|
4964
4995
|
/**
|
|
4965
4996
|
*
|
|
4966
4997
|
* @summary Resend Otp
|
|
4967
|
-
* @param {
|
|
4998
|
+
* @param {string} [authorization]
|
|
4999
|
+
* @param {string} [sessionId]
|
|
4968
5000
|
* @param {*} [options] Override http request option.
|
|
4969
5001
|
* @throws {RequiredError}
|
|
4970
5002
|
*/
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
assertParamExists('resendOtpV1UserResendOtpPost', 'resendOTPSchema', resendOTPSchema);
|
|
4974
|
-
const localVarPath = `/v1/user/resend-otp`;
|
|
5003
|
+
resendOtpV1UserResendOtpPasswordPost: (authorization_1, sessionId_1, ...args_1) => __awaiter(this, [authorization_1, sessionId_1, ...args_1], void 0, function* (authorization, sessionId, options = {}) {
|
|
5004
|
+
const localVarPath = `/v1/user/resend-otp/password`;
|
|
4975
5005
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4976
5006
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4977
5007
|
let baseOptions;
|
|
@@ -4981,11 +5011,12 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
4981
5011
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4982
5012
|
const localVarHeaderParameter = {};
|
|
4983
5013
|
const localVarQueryParameter = {};
|
|
4984
|
-
|
|
5014
|
+
if (authorization != null) {
|
|
5015
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5016
|
+
}
|
|
4985
5017
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4986
5018
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4987
5019
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4988
|
-
localVarRequestOptions.data = serializeDataIfNeeded(resendOTPSchema, localVarRequestOptions, configuration);
|
|
4989
5020
|
return {
|
|
4990
5021
|
url: toPathString(localVarUrlObj),
|
|
4991
5022
|
options: localVarRequestOptions,
|
|
@@ -5207,19 +5238,36 @@ export const UserApiFp = function (configuration) {
|
|
|
5207
5238
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5208
5239
|
});
|
|
5209
5240
|
},
|
|
5241
|
+
/**
|
|
5242
|
+
*
|
|
5243
|
+
* @summary Resend Otp By Email
|
|
5244
|
+
* @param {string} email
|
|
5245
|
+
* @param {*} [options] Override http request option.
|
|
5246
|
+
* @throws {RequiredError}
|
|
5247
|
+
*/
|
|
5248
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email, options) {
|
|
5249
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5250
|
+
var _a, _b, _c;
|
|
5251
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(email, options);
|
|
5252
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5253
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.resendOtpByEmailV1UserResendOtpEmailPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5254
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5255
|
+
});
|
|
5256
|
+
},
|
|
5210
5257
|
/**
|
|
5211
5258
|
*
|
|
5212
5259
|
* @summary Resend Otp
|
|
5213
|
-
* @param {
|
|
5260
|
+
* @param {string} [authorization]
|
|
5261
|
+
* @param {string} [sessionId]
|
|
5214
5262
|
* @param {*} [options] Override http request option.
|
|
5215
5263
|
* @throws {RequiredError}
|
|
5216
5264
|
*/
|
|
5217
|
-
|
|
5265
|
+
resendOtpV1UserResendOtpPasswordPost(authorization, sessionId, options) {
|
|
5218
5266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5219
5267
|
var _a, _b, _c;
|
|
5220
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5268
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpV1UserResendOtpPasswordPost(authorization, sessionId, options);
|
|
5221
5269
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5222
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.
|
|
5270
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.resendOtpV1UserResendOtpPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5223
5271
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5224
5272
|
});
|
|
5225
5273
|
},
|
|
@@ -5351,15 +5399,26 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
5351
5399
|
getUserV1UserMeGet(sessionId, options) {
|
|
5352
5400
|
return localVarFp.getUserV1UserMeGet(sessionId, options).then((request) => request(axios, basePath));
|
|
5353
5401
|
},
|
|
5402
|
+
/**
|
|
5403
|
+
*
|
|
5404
|
+
* @summary Resend Otp By Email
|
|
5405
|
+
* @param {string} email
|
|
5406
|
+
* @param {*} [options] Override http request option.
|
|
5407
|
+
* @throws {RequiredError}
|
|
5408
|
+
*/
|
|
5409
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email, options) {
|
|
5410
|
+
return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(axios, basePath));
|
|
5411
|
+
},
|
|
5354
5412
|
/**
|
|
5355
5413
|
*
|
|
5356
5414
|
* @summary Resend Otp
|
|
5357
|
-
* @param {
|
|
5415
|
+
* @param {string} [authorization]
|
|
5416
|
+
* @param {string} [sessionId]
|
|
5358
5417
|
* @param {*} [options] Override http request option.
|
|
5359
5418
|
* @throws {RequiredError}
|
|
5360
5419
|
*/
|
|
5361
|
-
|
|
5362
|
-
return localVarFp.
|
|
5420
|
+
resendOtpV1UserResendOtpPasswordPost(authorization, sessionId, options) {
|
|
5421
|
+
return localVarFp.resendOtpV1UserResendOtpPasswordPost(authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5363
5422
|
},
|
|
5364
5423
|
/**
|
|
5365
5424
|
*
|
|
@@ -5470,16 +5529,28 @@ export class UserApi extends BaseAPI {
|
|
|
5470
5529
|
getUserV1UserMeGet(sessionId, options) {
|
|
5471
5530
|
return UserApiFp(this.configuration).getUserV1UserMeGet(sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5472
5531
|
}
|
|
5532
|
+
/**
|
|
5533
|
+
*
|
|
5534
|
+
* @summary Resend Otp By Email
|
|
5535
|
+
* @param {string} email
|
|
5536
|
+
* @param {*} [options] Override http request option.
|
|
5537
|
+
* @throws {RequiredError}
|
|
5538
|
+
* @memberof UserApi
|
|
5539
|
+
*/
|
|
5540
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email, options) {
|
|
5541
|
+
return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(this.axios, this.basePath));
|
|
5542
|
+
}
|
|
5473
5543
|
/**
|
|
5474
5544
|
*
|
|
5475
5545
|
* @summary Resend Otp
|
|
5476
|
-
* @param {
|
|
5546
|
+
* @param {string} [authorization]
|
|
5547
|
+
* @param {string} [sessionId]
|
|
5477
5548
|
* @param {*} [options] Override http request option.
|
|
5478
5549
|
* @throws {RequiredError}
|
|
5479
5550
|
* @memberof UserApi
|
|
5480
5551
|
*/
|
|
5481
|
-
|
|
5482
|
-
return UserApiFp(this.configuration).
|
|
5552
|
+
resendOtpV1UserResendOtpPasswordPost(authorization, sessionId, options) {
|
|
5553
|
+
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPasswordPost(authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5483
5554
|
}
|
|
5484
5555
|
/**
|
|
5485
5556
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AuthenticationSuccess
|
|
2
2
|
|
|
3
|
-
Authentication success response schema. Attributes: -
|
|
3
|
+
Authentication success response schema. Attributes: - detail: dict[str, str] - access_token: str - user: UserAuth | None
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**detail** | **{ [key: string]: string; }** | | [default to undefined]
|
|
10
10
|
**access_token** | **string** | | [default to undefined]
|
|
11
|
-
**user** | [**
|
|
11
|
+
**user** | [**UserAuth**](UserAuth.md) | | [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
package/docs/UserApi.md
CHANGED
|
@@ -9,7 +9,8 @@ All URIs are relative to *http://localhost*
|
|
|
9
9
|
|[**forgotPasswordV1UserForgotPasswordPost**](#forgotpasswordv1userforgotpasswordpost) | **POST** /v1/user/forgot-password | Forgot Password|
|
|
10
10
|
|[**getUserDashV1UserMeDashGet**](#getuserdashv1usermedashget) | **GET** /v1/user/me/dash | Get User Dash|
|
|
11
11
|
|[**getUserV1UserMeGet**](#getuserv1usermeget) | **GET** /v1/user/me | Get User|
|
|
12
|
-
|[**
|
|
12
|
+
|[**resendOtpByEmailV1UserResendOtpEmailPost**](#resendotpbyemailv1userresendotpemailpost) | **POST** /v1/user/resend-otp/email | Resend Otp By Email|
|
|
13
|
+
|[**resendOtpV1UserResendOtpPasswordPost**](#resendotpv1userresendotppasswordpost) | **POST** /v1/user/resend-otp/password | Resend Otp|
|
|
13
14
|
|[**resetPasswordV1UserResetPasswordPost**](#resetpasswordv1userresetpasswordpost) | **POST** /v1/user/reset-password | Reset Password|
|
|
14
15
|
|[**sendVerificationEmailV1UserSendVerificationEmailPost**](#sendverificationemailv1usersendverificationemailpost) | **POST** /v1/user/send-verification-email | Send Verification Email|
|
|
15
16
|
|[**updateUserV1UserUpdatePatch**](#updateuserv1userupdatepatch) | **PATCH** /v1/user/update | Update User|
|
|
@@ -275,8 +276,8 @@ No authorization required
|
|
|
275
276
|
|
|
276
277
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
277
278
|
|
|
278
|
-
# **
|
|
279
|
-
> Details
|
|
279
|
+
# **resendOtpByEmailV1UserResendOtpEmailPost**
|
|
280
|
+
> Details resendOtpByEmailV1UserResendOtpEmailPost()
|
|
280
281
|
|
|
281
282
|
|
|
282
283
|
### Example
|
|
@@ -284,17 +285,16 @@ No authorization required
|
|
|
284
285
|
```typescript
|
|
285
286
|
import {
|
|
286
287
|
UserApi,
|
|
287
|
-
Configuration
|
|
288
|
-
ResendOTPSchema
|
|
288
|
+
Configuration
|
|
289
289
|
} from './api';
|
|
290
290
|
|
|
291
291
|
const configuration = new Configuration();
|
|
292
292
|
const apiInstance = new UserApi(configuration);
|
|
293
293
|
|
|
294
|
-
let
|
|
294
|
+
let email: string; // (default to undefined)
|
|
295
295
|
|
|
296
|
-
const { status, data } = await apiInstance.
|
|
297
|
-
|
|
296
|
+
const { status, data } = await apiInstance.resendOtpByEmailV1UserResendOtpEmailPost(
|
|
297
|
+
email
|
|
298
298
|
);
|
|
299
299
|
```
|
|
300
300
|
|
|
@@ -302,7 +302,7 @@ const { status, data } = await apiInstance.resendOtpV1UserResendOtpPost(
|
|
|
302
302
|
|
|
303
303
|
|Name | Type | Description | Notes|
|
|
304
304
|
|------------- | ------------- | ------------- | -------------|
|
|
305
|
-
| **
|
|
305
|
+
| **email** | [**string**] | | defaults to undefined|
|
|
306
306
|
|
|
307
307
|
|
|
308
308
|
### Return type
|
|
@@ -315,7 +315,61 @@ No authorization required
|
|
|
315
315
|
|
|
316
316
|
### HTTP request headers
|
|
317
317
|
|
|
318
|
-
- **Content-Type**:
|
|
318
|
+
- **Content-Type**: Not defined
|
|
319
|
+
- **Accept**: application/json
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
### HTTP response details
|
|
323
|
+
| Status code | Description | Response headers |
|
|
324
|
+
|-------------|-------------|------------------|
|
|
325
|
+
|**200** | Successful Response | - |
|
|
326
|
+
|**422** | Validation Error | - |
|
|
327
|
+
|
|
328
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
329
|
+
|
|
330
|
+
# **resendOtpV1UserResendOtpPasswordPost**
|
|
331
|
+
> Details resendOtpV1UserResendOtpPasswordPost()
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
### Example
|
|
335
|
+
|
|
336
|
+
```typescript
|
|
337
|
+
import {
|
|
338
|
+
UserApi,
|
|
339
|
+
Configuration
|
|
340
|
+
} from './api';
|
|
341
|
+
|
|
342
|
+
const configuration = new Configuration();
|
|
343
|
+
const apiInstance = new UserApi(configuration);
|
|
344
|
+
|
|
345
|
+
let authorization: string; // (optional) (default to undefined)
|
|
346
|
+
let sessionId: string; // (optional) (default to undefined)
|
|
347
|
+
|
|
348
|
+
const { status, data } = await apiInstance.resendOtpV1UserResendOtpPasswordPost(
|
|
349
|
+
authorization,
|
|
350
|
+
sessionId
|
|
351
|
+
);
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
### Parameters
|
|
355
|
+
|
|
356
|
+
|Name | Type | Description | Notes|
|
|
357
|
+
|------------- | ------------- | ------------- | -------------|
|
|
358
|
+
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
359
|
+
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
### Return type
|
|
363
|
+
|
|
364
|
+
**Details**
|
|
365
|
+
|
|
366
|
+
### Authorization
|
|
367
|
+
|
|
368
|
+
No authorization required
|
|
369
|
+
|
|
370
|
+
### HTTP request headers
|
|
371
|
+
|
|
372
|
+
- **Content-Type**: Not defined
|
|
319
373
|
- **Accept**: application/json
|
|
320
374
|
|
|
321
375
|
|
package/docs/UserAuth.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UserAuth
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [default to undefined]
|
|
9
|
+
**email** | **string** | | [default to undefined]
|
|
10
|
+
**role** | **string** | | [default to undefined]
|
|
11
|
+
**email_confirmed** | **boolean** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { UserAuth } from './api';
|
|
17
|
+
|
|
18
|
+
const instance: UserAuth = {
|
|
19
|
+
name,
|
|
20
|
+
email,
|
|
21
|
+
role,
|
|
22
|
+
email_confirmed,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|