@rasadov/lumoar-sdk 1.2.1 → 1.2.2
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 +121 -44
- package/dist/api.d.ts +79 -36
- package/dist/api.js +84 -15
- package/docs/AuthenticationSuccess.md +2 -2
- package/docs/UserApi.md +61 -7
- 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
|
|
@@ -7452,6 +7458,40 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7452
7458
|
|
|
7453
7459
|
|
|
7454
7460
|
|
|
7461
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7462
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7463
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7464
|
+
|
|
7465
|
+
return {
|
|
7466
|
+
url: toPathString(localVarUrlObj),
|
|
7467
|
+
options: localVarRequestOptions,
|
|
7468
|
+
};
|
|
7469
|
+
},
|
|
7470
|
+
/**
|
|
7471
|
+
*
|
|
7472
|
+
* @summary Resend Otp By Email
|
|
7473
|
+
* @param {string} email
|
|
7474
|
+
* @param {*} [options] Override http request option.
|
|
7475
|
+
* @throws {RequiredError}
|
|
7476
|
+
*/
|
|
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}`
|
|
7481
|
+
.replace(`{${"email"}}`, encodeURIComponent(String(email)));
|
|
7482
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7483
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7484
|
+
let baseOptions;
|
|
7485
|
+
if (configuration) {
|
|
7486
|
+
baseOptions = configuration.baseOptions;
|
|
7487
|
+
}
|
|
7488
|
+
|
|
7489
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7490
|
+
const localVarHeaderParameter = {} as any;
|
|
7491
|
+
const localVarQueryParameter = {} as any;
|
|
7492
|
+
|
|
7493
|
+
|
|
7494
|
+
|
|
7455
7495
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7456
7496
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7457
7497
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7464,13 +7504,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7464
7504
|
/**
|
|
7465
7505
|
*
|
|
7466
7506
|
* @summary Resend Otp
|
|
7467
|
-
* @param {
|
|
7507
|
+
* @param {string} [authorization]
|
|
7508
|
+
* @param {string} [sessionId]
|
|
7468
7509
|
* @param {*} [options] Override http request option.
|
|
7469
7510
|
* @throws {RequiredError}
|
|
7470
7511
|
*/
|
|
7471
|
-
resendOtpV1UserResendOtpPost: async (
|
|
7472
|
-
// verify required parameter 'resendOTPSchema' is not null or undefined
|
|
7473
|
-
assertParamExists('resendOtpV1UserResendOtpPost', 'resendOTPSchema', resendOTPSchema)
|
|
7512
|
+
resendOtpV1UserResendOtpPost: async (authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7474
7513
|
const localVarPath = `/v1/user/resend-otp`;
|
|
7475
7514
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7476
7515
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7485,12 +7524,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7485
7524
|
|
|
7486
7525
|
|
|
7487
7526
|
|
|
7488
|
-
|
|
7489
|
-
|
|
7527
|
+
if (authorization != null) {
|
|
7528
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7529
|
+
}
|
|
7490
7530
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7491
7531
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7492
7532
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7493
|
-
localVarRequestOptions.data = serializeDataIfNeeded(resendOTPSchema, localVarRequestOptions, configuration)
|
|
7494
7533
|
|
|
7495
7534
|
return {
|
|
7496
7535
|
url: toPathString(localVarUrlObj),
|
|
@@ -7722,15 +7761,29 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7722
7761
|
const localVarOperationServerBasePath = operationServerMap['UserApi.getUserV1UserMeGet']?.[localVarOperationServerIndex]?.url;
|
|
7723
7762
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7724
7763
|
},
|
|
7764
|
+
/**
|
|
7765
|
+
*
|
|
7766
|
+
* @summary Resend Otp By Email
|
|
7767
|
+
* @param {string} email
|
|
7768
|
+
* @param {*} [options] Override http request option.
|
|
7769
|
+
* @throws {RequiredError}
|
|
7770
|
+
*/
|
|
7771
|
+
async resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7772
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(email, options);
|
|
7773
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7774
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpByEmailV1UserResendOtpEmailPost']?.[localVarOperationServerIndex]?.url;
|
|
7775
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7776
|
+
},
|
|
7725
7777
|
/**
|
|
7726
7778
|
*
|
|
7727
7779
|
* @summary Resend Otp
|
|
7728
|
-
* @param {
|
|
7780
|
+
* @param {string} [authorization]
|
|
7781
|
+
* @param {string} [sessionId]
|
|
7729
7782
|
* @param {*} [options] Override http request option.
|
|
7730
7783
|
* @throws {RequiredError}
|
|
7731
7784
|
*/
|
|
7732
|
-
async resendOtpV1UserResendOtpPost(
|
|
7733
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpV1UserResendOtpPost(
|
|
7785
|
+
async resendOtpV1UserResendOtpPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7786
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpV1UserResendOtpPost(authorization, sessionId, options);
|
|
7734
7787
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7735
7788
|
const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpV1UserResendOtpPost']?.[localVarOperationServerIndex]?.url;
|
|
7736
7789
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7852,15 +7905,26 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7852
7905
|
getUserV1UserMeGet(sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UserInDBBase> {
|
|
7853
7906
|
return localVarFp.getUserV1UserMeGet(sessionId, options).then((request) => request(axios, basePath));
|
|
7854
7907
|
},
|
|
7908
|
+
/**
|
|
7909
|
+
*
|
|
7910
|
+
* @summary Resend Otp By Email
|
|
7911
|
+
* @param {string} email
|
|
7912
|
+
* @param {*} [options] Override http request option.
|
|
7913
|
+
* @throws {RequiredError}
|
|
7914
|
+
*/
|
|
7915
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7916
|
+
return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(axios, basePath));
|
|
7917
|
+
},
|
|
7855
7918
|
/**
|
|
7856
7919
|
*
|
|
7857
7920
|
* @summary Resend Otp
|
|
7858
|
-
* @param {
|
|
7921
|
+
* @param {string} [authorization]
|
|
7922
|
+
* @param {string} [sessionId]
|
|
7859
7923
|
* @param {*} [options] Override http request option.
|
|
7860
7924
|
* @throws {RequiredError}
|
|
7861
7925
|
*/
|
|
7862
|
-
resendOtpV1UserResendOtpPost(
|
|
7863
|
-
return localVarFp.resendOtpV1UserResendOtpPost(
|
|
7926
|
+
resendOtpV1UserResendOtpPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7927
|
+
return localVarFp.resendOtpV1UserResendOtpPost(authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
7864
7928
|
},
|
|
7865
7929
|
/**
|
|
7866
7930
|
*
|
|
@@ -7977,16 +8041,29 @@ export class UserApi extends BaseAPI {
|
|
|
7977
8041
|
return UserApiFp(this.configuration).getUserV1UserMeGet(sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
7978
8042
|
}
|
|
7979
8043
|
|
|
8044
|
+
/**
|
|
8045
|
+
*
|
|
8046
|
+
* @summary Resend Otp By Email
|
|
8047
|
+
* @param {string} email
|
|
8048
|
+
* @param {*} [options] Override http request option.
|
|
8049
|
+
* @throws {RequiredError}
|
|
8050
|
+
* @memberof UserApi
|
|
8051
|
+
*/
|
|
8052
|
+
public resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig) {
|
|
8053
|
+
return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(this.axios, this.basePath));
|
|
8054
|
+
}
|
|
8055
|
+
|
|
7980
8056
|
/**
|
|
7981
8057
|
*
|
|
7982
8058
|
* @summary Resend Otp
|
|
7983
|
-
* @param {
|
|
8059
|
+
* @param {string} [authorization]
|
|
8060
|
+
* @param {string} [sessionId]
|
|
7984
8061
|
* @param {*} [options] Override http request option.
|
|
7985
8062
|
* @throws {RequiredError}
|
|
7986
8063
|
* @memberof UserApi
|
|
7987
8064
|
*/
|
|
7988
|
-
public resendOtpV1UserResendOtpPost(
|
|
7989
|
-
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPost(
|
|
8065
|
+
public resendOtpV1UserResendOtpPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
8066
|
+
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPost(authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
7990
8067
|
}
|
|
7991
8068
|
|
|
7992
8069
|
/**
|
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
|
-
resendOtpV1UserResendOtpPost: (
|
|
4884
|
+
resendOtpV1UserResendOtpPost: (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
|
-
resendOtpV1UserResendOtpPost(
|
|
4984
|
+
resendOtpV1UserResendOtpPost(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
|
-
resendOtpV1UserResendOtpPost(
|
|
5084
|
+
resendOtpV1UserResendOtpPost(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
|
-
resendOtpV1UserResendOtpPost(
|
|
5193
|
+
resendOtpV1UserResendOtpPost(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,16 +4961,44 @@ 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
|
+
.replace(`{${"email"}}`, encodeURIComponent(String(email)));
|
|
4976
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4977
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4978
|
+
let baseOptions;
|
|
4979
|
+
if (configuration) {
|
|
4980
|
+
baseOptions = configuration.baseOptions;
|
|
4981
|
+
}
|
|
4982
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4983
|
+
const localVarHeaderParameter = {};
|
|
4984
|
+
const localVarQueryParameter = {};
|
|
4985
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4986
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4987
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4988
|
+
return {
|
|
4989
|
+
url: toPathString(localVarUrlObj),
|
|
4990
|
+
options: localVarRequestOptions,
|
|
4991
|
+
};
|
|
4992
|
+
}),
|
|
4964
4993
|
/**
|
|
4965
4994
|
*
|
|
4966
4995
|
* @summary Resend Otp
|
|
4967
|
-
* @param {
|
|
4996
|
+
* @param {string} [authorization]
|
|
4997
|
+
* @param {string} [sessionId]
|
|
4968
4998
|
* @param {*} [options] Override http request option.
|
|
4969
4999
|
* @throws {RequiredError}
|
|
4970
5000
|
*/
|
|
4971
|
-
resendOtpV1UserResendOtpPost: (
|
|
4972
|
-
// verify required parameter 'resendOTPSchema' is not null or undefined
|
|
4973
|
-
assertParamExists('resendOtpV1UserResendOtpPost', 'resendOTPSchema', resendOTPSchema);
|
|
5001
|
+
resendOtpV1UserResendOtpPost: (authorization_1, sessionId_1, ...args_1) => __awaiter(this, [authorization_1, sessionId_1, ...args_1], void 0, function* (authorization, sessionId, options = {}) {
|
|
4974
5002
|
const localVarPath = `/v1/user/resend-otp`;
|
|
4975
5003
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4976
5004
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4981,11 +5009,12 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
4981
5009
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4982
5010
|
const localVarHeaderParameter = {};
|
|
4983
5011
|
const localVarQueryParameter = {};
|
|
4984
|
-
|
|
5012
|
+
if (authorization != null) {
|
|
5013
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5014
|
+
}
|
|
4985
5015
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4986
5016
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4987
5017
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4988
|
-
localVarRequestOptions.data = serializeDataIfNeeded(resendOTPSchema, localVarRequestOptions, configuration);
|
|
4989
5018
|
return {
|
|
4990
5019
|
url: toPathString(localVarUrlObj),
|
|
4991
5020
|
options: localVarRequestOptions,
|
|
@@ -5207,17 +5236,34 @@ export const UserApiFp = function (configuration) {
|
|
|
5207
5236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5208
5237
|
});
|
|
5209
5238
|
},
|
|
5239
|
+
/**
|
|
5240
|
+
*
|
|
5241
|
+
* @summary Resend Otp By Email
|
|
5242
|
+
* @param {string} email
|
|
5243
|
+
* @param {*} [options] Override http request option.
|
|
5244
|
+
* @throws {RequiredError}
|
|
5245
|
+
*/
|
|
5246
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email, options) {
|
|
5247
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5248
|
+
var _a, _b, _c;
|
|
5249
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(email, options);
|
|
5250
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5251
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.resendOtpByEmailV1UserResendOtpEmailPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5252
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5253
|
+
});
|
|
5254
|
+
},
|
|
5210
5255
|
/**
|
|
5211
5256
|
*
|
|
5212
5257
|
* @summary Resend Otp
|
|
5213
|
-
* @param {
|
|
5258
|
+
* @param {string} [authorization]
|
|
5259
|
+
* @param {string} [sessionId]
|
|
5214
5260
|
* @param {*} [options] Override http request option.
|
|
5215
5261
|
* @throws {RequiredError}
|
|
5216
5262
|
*/
|
|
5217
|
-
resendOtpV1UserResendOtpPost(
|
|
5263
|
+
resendOtpV1UserResendOtpPost(authorization, sessionId, options) {
|
|
5218
5264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5219
5265
|
var _a, _b, _c;
|
|
5220
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpV1UserResendOtpPost(
|
|
5266
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpV1UserResendOtpPost(authorization, sessionId, options);
|
|
5221
5267
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5222
5268
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.resendOtpV1UserResendOtpPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5223
5269
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5351,15 +5397,26 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
5351
5397
|
getUserV1UserMeGet(sessionId, options) {
|
|
5352
5398
|
return localVarFp.getUserV1UserMeGet(sessionId, options).then((request) => request(axios, basePath));
|
|
5353
5399
|
},
|
|
5400
|
+
/**
|
|
5401
|
+
*
|
|
5402
|
+
* @summary Resend Otp By Email
|
|
5403
|
+
* @param {string} email
|
|
5404
|
+
* @param {*} [options] Override http request option.
|
|
5405
|
+
* @throws {RequiredError}
|
|
5406
|
+
*/
|
|
5407
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email, options) {
|
|
5408
|
+
return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(axios, basePath));
|
|
5409
|
+
},
|
|
5354
5410
|
/**
|
|
5355
5411
|
*
|
|
5356
5412
|
* @summary Resend Otp
|
|
5357
|
-
* @param {
|
|
5413
|
+
* @param {string} [authorization]
|
|
5414
|
+
* @param {string} [sessionId]
|
|
5358
5415
|
* @param {*} [options] Override http request option.
|
|
5359
5416
|
* @throws {RequiredError}
|
|
5360
5417
|
*/
|
|
5361
|
-
resendOtpV1UserResendOtpPost(
|
|
5362
|
-
return localVarFp.resendOtpV1UserResendOtpPost(
|
|
5418
|
+
resendOtpV1UserResendOtpPost(authorization, sessionId, options) {
|
|
5419
|
+
return localVarFp.resendOtpV1UserResendOtpPost(authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5363
5420
|
},
|
|
5364
5421
|
/**
|
|
5365
5422
|
*
|
|
@@ -5470,16 +5527,28 @@ export class UserApi extends BaseAPI {
|
|
|
5470
5527
|
getUserV1UserMeGet(sessionId, options) {
|
|
5471
5528
|
return UserApiFp(this.configuration).getUserV1UserMeGet(sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5472
5529
|
}
|
|
5530
|
+
/**
|
|
5531
|
+
*
|
|
5532
|
+
* @summary Resend Otp By Email
|
|
5533
|
+
* @param {string} email
|
|
5534
|
+
* @param {*} [options] Override http request option.
|
|
5535
|
+
* @throws {RequiredError}
|
|
5536
|
+
* @memberof UserApi
|
|
5537
|
+
*/
|
|
5538
|
+
resendOtpByEmailV1UserResendOtpEmailPost(email, options) {
|
|
5539
|
+
return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(this.axios, this.basePath));
|
|
5540
|
+
}
|
|
5473
5541
|
/**
|
|
5474
5542
|
*
|
|
5475
5543
|
* @summary Resend Otp
|
|
5476
|
-
* @param {
|
|
5544
|
+
* @param {string} [authorization]
|
|
5545
|
+
* @param {string} [sessionId]
|
|
5477
5546
|
* @param {*} [options] Override http request option.
|
|
5478
5547
|
* @throws {RequiredError}
|
|
5479
5548
|
* @memberof UserApi
|
|
5480
5549
|
*/
|
|
5481
|
-
resendOtpV1UserResendOtpPost(
|
|
5482
|
-
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPost(
|
|
5550
|
+
resendOtpV1UserResendOtpPost(authorization, sessionId, options) {
|
|
5551
|
+
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPost(authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5483
5552
|
}
|
|
5484
5553
|
/**
|
|
5485
5554
|
*
|
|
@@ -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,6 +9,7 @@ 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
|
+
|[**resendOtpByEmailV1UserResendOtpEmailPost**](#resendotpbyemailv1userresendotpemailpost) | **POST** /v1/user/resend-otp/{email} | Resend Otp By Email|
|
|
12
13
|
|[**resendOtpV1UserResendOtpPost**](#resendotpv1userresendotppost) | **POST** /v1/user/resend-otp | 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|
|
|
@@ -267,6 +268,57 @@ No authorization required
|
|
|
267
268
|
- **Accept**: application/json
|
|
268
269
|
|
|
269
270
|
|
|
271
|
+
### HTTP response details
|
|
272
|
+
| Status code | Description | Response headers |
|
|
273
|
+
|-------------|-------------|------------------|
|
|
274
|
+
|**200** | Successful Response | - |
|
|
275
|
+
|**422** | Validation Error | - |
|
|
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)
|
|
278
|
+
|
|
279
|
+
# **resendOtpByEmailV1UserResendOtpEmailPost**
|
|
280
|
+
> Details resendOtpByEmailV1UserResendOtpEmailPost()
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
### Example
|
|
284
|
+
|
|
285
|
+
```typescript
|
|
286
|
+
import {
|
|
287
|
+
UserApi,
|
|
288
|
+
Configuration
|
|
289
|
+
} from './api';
|
|
290
|
+
|
|
291
|
+
const configuration = new Configuration();
|
|
292
|
+
const apiInstance = new UserApi(configuration);
|
|
293
|
+
|
|
294
|
+
let email: string; // (default to undefined)
|
|
295
|
+
|
|
296
|
+
const { status, data } = await apiInstance.resendOtpByEmailV1UserResendOtpEmailPost(
|
|
297
|
+
email
|
|
298
|
+
);
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
### Parameters
|
|
302
|
+
|
|
303
|
+
|Name | Type | Description | Notes|
|
|
304
|
+
|------------- | ------------- | ------------- | -------------|
|
|
305
|
+
| **email** | [**string**] | | defaults to undefined|
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
### Return type
|
|
309
|
+
|
|
310
|
+
**Details**
|
|
311
|
+
|
|
312
|
+
### Authorization
|
|
313
|
+
|
|
314
|
+
No authorization required
|
|
315
|
+
|
|
316
|
+
### HTTP request headers
|
|
317
|
+
|
|
318
|
+
- **Content-Type**: Not defined
|
|
319
|
+
- **Accept**: application/json
|
|
320
|
+
|
|
321
|
+
|
|
270
322
|
### HTTP response details
|
|
271
323
|
| Status code | Description | Response headers |
|
|
272
324
|
|-------------|-------------|------------------|
|
|
@@ -276,7 +328,7 @@ No authorization required
|
|
|
276
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)
|
|
277
329
|
|
|
278
330
|
# **resendOtpV1UserResendOtpPost**
|
|
279
|
-
> Details resendOtpV1UserResendOtpPost(
|
|
331
|
+
> Details resendOtpV1UserResendOtpPost()
|
|
280
332
|
|
|
281
333
|
|
|
282
334
|
### Example
|
|
@@ -284,17 +336,18 @@ No authorization required
|
|
|
284
336
|
```typescript
|
|
285
337
|
import {
|
|
286
338
|
UserApi,
|
|
287
|
-
Configuration
|
|
288
|
-
ResendOTPSchema
|
|
339
|
+
Configuration
|
|
289
340
|
} from './api';
|
|
290
341
|
|
|
291
342
|
const configuration = new Configuration();
|
|
292
343
|
const apiInstance = new UserApi(configuration);
|
|
293
344
|
|
|
294
|
-
let
|
|
345
|
+
let authorization: string; // (optional) (default to undefined)
|
|
346
|
+
let sessionId: string; // (optional) (default to undefined)
|
|
295
347
|
|
|
296
348
|
const { status, data } = await apiInstance.resendOtpV1UserResendOtpPost(
|
|
297
|
-
|
|
349
|
+
authorization,
|
|
350
|
+
sessionId
|
|
298
351
|
);
|
|
299
352
|
```
|
|
300
353
|
|
|
@@ -302,7 +355,8 @@ const { status, data } = await apiInstance.resendOtpV1UserResendOtpPost(
|
|
|
302
355
|
|
|
303
356
|
|Name | Type | Description | Notes|
|
|
304
357
|
|------------- | ------------- | ------------- | -------------|
|
|
305
|
-
| **
|
|
358
|
+
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
359
|
+
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
306
360
|
|
|
307
361
|
|
|
308
362
|
### Return type
|
|
@@ -315,7 +369,7 @@ No authorization required
|
|
|
315
369
|
|
|
316
370
|
### HTTP request headers
|
|
317
371
|
|
|
318
|
-
- **Content-Type**:
|
|
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)
|