@rasadov/lumoar-sdk 1.1.6 → 1.1.8
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 +4 -0
- package/api.ts +476 -20
- package/dist/api.d.ts +285 -20
- package/dist/api.js +369 -20
- package/docs/ForgotPasswordSchema.md +23 -0
- package/docs/ResendOTPSchema.md +25 -0
- package/docs/ResetPasswordSchema.md +27 -0
- package/docs/SendOTPSchema.md +23 -0
- package/docs/UserApi.md +273 -5
- package/docs/VerifyEmailSchema.md +21 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1056,6 +1056,25 @@ export interface FileDownload {
|
|
|
1056
1056
|
*/
|
|
1057
1057
|
'file_type'?: string | null;
|
|
1058
1058
|
}
|
|
1059
|
+
/**
|
|
1060
|
+
* Schema for forgot password request
|
|
1061
|
+
* @export
|
|
1062
|
+
* @interface ForgotPasswordSchema
|
|
1063
|
+
*/
|
|
1064
|
+
export interface ForgotPasswordSchema {
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @type {string}
|
|
1068
|
+
* @memberof ForgotPasswordSchema
|
|
1069
|
+
*/
|
|
1070
|
+
'email': string;
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @type {string}
|
|
1074
|
+
* @memberof ForgotPasswordSchema
|
|
1075
|
+
*/
|
|
1076
|
+
'turnstile_token': string;
|
|
1077
|
+
}
|
|
1059
1078
|
/**
|
|
1060
1079
|
*
|
|
1061
1080
|
* @export
|
|
@@ -1567,6 +1586,62 @@ export interface ReportGenerate {
|
|
|
1567
1586
|
*/
|
|
1568
1587
|
'report_id': string;
|
|
1569
1588
|
}
|
|
1589
|
+
/**
|
|
1590
|
+
* Schema for resending OTP
|
|
1591
|
+
* @export
|
|
1592
|
+
* @interface ResendOTPSchema
|
|
1593
|
+
*/
|
|
1594
|
+
export interface ResendOTPSchema {
|
|
1595
|
+
/**
|
|
1596
|
+
*
|
|
1597
|
+
* @type {string}
|
|
1598
|
+
* @memberof ResendOTPSchema
|
|
1599
|
+
*/
|
|
1600
|
+
'email': string;
|
|
1601
|
+
/**
|
|
1602
|
+
*
|
|
1603
|
+
* @type {string}
|
|
1604
|
+
* @memberof ResendOTPSchema
|
|
1605
|
+
*/
|
|
1606
|
+
'otp_type': string;
|
|
1607
|
+
/**
|
|
1608
|
+
*
|
|
1609
|
+
* @type {string}
|
|
1610
|
+
* @memberof ResendOTPSchema
|
|
1611
|
+
*/
|
|
1612
|
+
'turnstile_token': string;
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* Schema for password reset
|
|
1616
|
+
* @export
|
|
1617
|
+
* @interface ResetPasswordSchema
|
|
1618
|
+
*/
|
|
1619
|
+
export interface ResetPasswordSchema {
|
|
1620
|
+
/**
|
|
1621
|
+
*
|
|
1622
|
+
* @type {string}
|
|
1623
|
+
* @memberof ResetPasswordSchema
|
|
1624
|
+
*/
|
|
1625
|
+
'email': string;
|
|
1626
|
+
/**
|
|
1627
|
+
*
|
|
1628
|
+
* @type {string}
|
|
1629
|
+
* @memberof ResetPasswordSchema
|
|
1630
|
+
*/
|
|
1631
|
+
'otp_code': string;
|
|
1632
|
+
/**
|
|
1633
|
+
*
|
|
1634
|
+
* @type {string}
|
|
1635
|
+
* @memberof ResetPasswordSchema
|
|
1636
|
+
*/
|
|
1637
|
+
'new_password': string;
|
|
1638
|
+
/**
|
|
1639
|
+
*
|
|
1640
|
+
* @type {string}
|
|
1641
|
+
* @memberof ResetPasswordSchema
|
|
1642
|
+
*/
|
|
1643
|
+
'turnstile_token': string;
|
|
1644
|
+
}
|
|
1570
1645
|
/**
|
|
1571
1646
|
*
|
|
1572
1647
|
* @export
|
|
@@ -2133,6 +2208,19 @@ export interface ValidationError {
|
|
|
2133
2208
|
*/
|
|
2134
2209
|
export interface ValidationErrorLocInner {
|
|
2135
2210
|
}
|
|
2211
|
+
/**
|
|
2212
|
+
* Schema for email verification
|
|
2213
|
+
* @export
|
|
2214
|
+
* @interface VerifyEmailSchema
|
|
2215
|
+
*/
|
|
2216
|
+
export interface VerifyEmailSchema {
|
|
2217
|
+
/**
|
|
2218
|
+
*
|
|
2219
|
+
* @type {string}
|
|
2220
|
+
* @memberof VerifyEmailSchema
|
|
2221
|
+
*/
|
|
2222
|
+
'otp_code': string;
|
|
2223
|
+
}
|
|
2136
2224
|
|
|
2137
2225
|
/**
|
|
2138
2226
|
* AuditLogsApi - axios parameter creator
|
|
@@ -6872,7 +6960,7 @@ export type ListTasksForUserV1TasksUserGetOrderEnum = typeof ListTasksForUserV1T
|
|
|
6872
6960
|
export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
6873
6961
|
return {
|
|
6874
6962
|
/**
|
|
6875
|
-
*
|
|
6963
|
+
*
|
|
6876
6964
|
* @summary Change Password
|
|
6877
6965
|
* @param {UpdatePassword} updatePassword
|
|
6878
6966
|
* @param {string | null} [sessionId]
|
|
@@ -6909,7 +6997,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6909
6997
|
};
|
|
6910
6998
|
},
|
|
6911
6999
|
/**
|
|
6912
|
-
*
|
|
7000
|
+
*
|
|
6913
7001
|
* @summary Delete User
|
|
6914
7002
|
* @param {string | null} [sessionId]
|
|
6915
7003
|
* @param {*} [options] Override http request option.
|
|
@@ -6940,7 +7028,43 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6940
7028
|
};
|
|
6941
7029
|
},
|
|
6942
7030
|
/**
|
|
6943
|
-
*
|
|
7031
|
+
*
|
|
7032
|
+
* @summary Forgot Password
|
|
7033
|
+
* @param {ForgotPasswordSchema} forgotPasswordSchema
|
|
7034
|
+
* @param {*} [options] Override http request option.
|
|
7035
|
+
* @throws {RequiredError}
|
|
7036
|
+
*/
|
|
7037
|
+
forgotPasswordV1UserForgotPasswordPost: async (forgotPasswordSchema: ForgotPasswordSchema, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7038
|
+
// verify required parameter 'forgotPasswordSchema' is not null or undefined
|
|
7039
|
+
assertParamExists('forgotPasswordV1UserForgotPasswordPost', 'forgotPasswordSchema', forgotPasswordSchema)
|
|
7040
|
+
const localVarPath = `/v1/user/forgot-password`;
|
|
7041
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7042
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7043
|
+
let baseOptions;
|
|
7044
|
+
if (configuration) {
|
|
7045
|
+
baseOptions = configuration.baseOptions;
|
|
7046
|
+
}
|
|
7047
|
+
|
|
7048
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7049
|
+
const localVarHeaderParameter = {} as any;
|
|
7050
|
+
const localVarQueryParameter = {} as any;
|
|
7051
|
+
|
|
7052
|
+
|
|
7053
|
+
|
|
7054
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7055
|
+
|
|
7056
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7057
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7058
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7059
|
+
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordSchema, localVarRequestOptions, configuration)
|
|
7060
|
+
|
|
7061
|
+
return {
|
|
7062
|
+
url: toPathString(localVarUrlObj),
|
|
7063
|
+
options: localVarRequestOptions,
|
|
7064
|
+
};
|
|
7065
|
+
},
|
|
7066
|
+
/**
|
|
7067
|
+
*
|
|
6944
7068
|
* @summary Get User Dash
|
|
6945
7069
|
* @param {string | null} [sessionId]
|
|
6946
7070
|
* @param {*} [options] Override http request option.
|
|
@@ -6971,7 +7095,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6971
7095
|
};
|
|
6972
7096
|
},
|
|
6973
7097
|
/**
|
|
6974
|
-
*
|
|
7098
|
+
*
|
|
6975
7099
|
* @summary Get User
|
|
6976
7100
|
* @param {string | null} [sessionId]
|
|
6977
7101
|
* @param {*} [options] Override http request option.
|
|
@@ -7002,7 +7126,114 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7002
7126
|
};
|
|
7003
7127
|
},
|
|
7004
7128
|
/**
|
|
7005
|
-
*
|
|
7129
|
+
*
|
|
7130
|
+
* @summary Resend Otp
|
|
7131
|
+
* @param {ResendOTPSchema} resendOTPSchema
|
|
7132
|
+
* @param {*} [options] Override http request option.
|
|
7133
|
+
* @throws {RequiredError}
|
|
7134
|
+
*/
|
|
7135
|
+
resendOtpV1UserResendOtpPost: async (resendOTPSchema: ResendOTPSchema, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7136
|
+
// verify required parameter 'resendOTPSchema' is not null or undefined
|
|
7137
|
+
assertParamExists('resendOtpV1UserResendOtpPost', 'resendOTPSchema', resendOTPSchema)
|
|
7138
|
+
const localVarPath = `/v1/user/resend-otp`;
|
|
7139
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7140
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7141
|
+
let baseOptions;
|
|
7142
|
+
if (configuration) {
|
|
7143
|
+
baseOptions = configuration.baseOptions;
|
|
7144
|
+
}
|
|
7145
|
+
|
|
7146
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7147
|
+
const localVarHeaderParameter = {} as any;
|
|
7148
|
+
const localVarQueryParameter = {} as any;
|
|
7149
|
+
|
|
7150
|
+
|
|
7151
|
+
|
|
7152
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7153
|
+
|
|
7154
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7155
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7156
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7157
|
+
localVarRequestOptions.data = serializeDataIfNeeded(resendOTPSchema, localVarRequestOptions, configuration)
|
|
7158
|
+
|
|
7159
|
+
return {
|
|
7160
|
+
url: toPathString(localVarUrlObj),
|
|
7161
|
+
options: localVarRequestOptions,
|
|
7162
|
+
};
|
|
7163
|
+
},
|
|
7164
|
+
/**
|
|
7165
|
+
*
|
|
7166
|
+
* @summary Reset Password
|
|
7167
|
+
* @param {ResetPasswordSchema} resetPasswordSchema
|
|
7168
|
+
* @param {*} [options] Override http request option.
|
|
7169
|
+
* @throws {RequiredError}
|
|
7170
|
+
*/
|
|
7171
|
+
resetPasswordV1UserResetPasswordPost: async (resetPasswordSchema: ResetPasswordSchema, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7172
|
+
// verify required parameter 'resetPasswordSchema' is not null or undefined
|
|
7173
|
+
assertParamExists('resetPasswordV1UserResetPasswordPost', 'resetPasswordSchema', resetPasswordSchema)
|
|
7174
|
+
const localVarPath = `/v1/user/reset-password`;
|
|
7175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7177
|
+
let baseOptions;
|
|
7178
|
+
if (configuration) {
|
|
7179
|
+
baseOptions = configuration.baseOptions;
|
|
7180
|
+
}
|
|
7181
|
+
|
|
7182
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7183
|
+
const localVarHeaderParameter = {} as any;
|
|
7184
|
+
const localVarQueryParameter = {} as any;
|
|
7185
|
+
|
|
7186
|
+
|
|
7187
|
+
|
|
7188
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7189
|
+
|
|
7190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7192
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7193
|
+
localVarRequestOptions.data = serializeDataIfNeeded(resetPasswordSchema, localVarRequestOptions, configuration)
|
|
7194
|
+
|
|
7195
|
+
return {
|
|
7196
|
+
url: toPathString(localVarUrlObj),
|
|
7197
|
+
options: localVarRequestOptions,
|
|
7198
|
+
};
|
|
7199
|
+
},
|
|
7200
|
+
/**
|
|
7201
|
+
*
|
|
7202
|
+
* @summary Send Verification Email
|
|
7203
|
+
* @param {string} [authorization]
|
|
7204
|
+
* @param {string} [sessionId]
|
|
7205
|
+
* @param {*} [options] Override http request option.
|
|
7206
|
+
* @throws {RequiredError}
|
|
7207
|
+
*/
|
|
7208
|
+
sendVerificationEmailV1UserSendVerificationEmailPost: async (authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7209
|
+
const localVarPath = `/v1/user/send-verification-email`;
|
|
7210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7212
|
+
let baseOptions;
|
|
7213
|
+
if (configuration) {
|
|
7214
|
+
baseOptions = configuration.baseOptions;
|
|
7215
|
+
}
|
|
7216
|
+
|
|
7217
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7218
|
+
const localVarHeaderParameter = {} as any;
|
|
7219
|
+
const localVarQueryParameter = {} as any;
|
|
7220
|
+
|
|
7221
|
+
|
|
7222
|
+
|
|
7223
|
+
if (authorization != null) {
|
|
7224
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7225
|
+
}
|
|
7226
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7228
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7229
|
+
|
|
7230
|
+
return {
|
|
7231
|
+
url: toPathString(localVarUrlObj),
|
|
7232
|
+
options: localVarRequestOptions,
|
|
7233
|
+
};
|
|
7234
|
+
},
|
|
7235
|
+
/**
|
|
7236
|
+
*
|
|
7006
7237
|
* @summary Update User
|
|
7007
7238
|
* @param {UserUpdate} userUpdate
|
|
7008
7239
|
* @param {string | null} [sessionId]
|
|
@@ -7033,6 +7264,47 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7033
7264
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7034
7265
|
localVarRequestOptions.data = serializeDataIfNeeded(userUpdate, localVarRequestOptions, configuration)
|
|
7035
7266
|
|
|
7267
|
+
return {
|
|
7268
|
+
url: toPathString(localVarUrlObj),
|
|
7269
|
+
options: localVarRequestOptions,
|
|
7270
|
+
};
|
|
7271
|
+
},
|
|
7272
|
+
/**
|
|
7273
|
+
*
|
|
7274
|
+
* @summary Verify Email
|
|
7275
|
+
* @param {VerifyEmailSchema} verifyEmailSchema
|
|
7276
|
+
* @param {string} [authorization]
|
|
7277
|
+
* @param {string} [sessionId]
|
|
7278
|
+
* @param {*} [options] Override http request option.
|
|
7279
|
+
* @throws {RequiredError}
|
|
7280
|
+
*/
|
|
7281
|
+
verifyEmailV1UserVerifyEmailPost: async (verifyEmailSchema: VerifyEmailSchema, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7282
|
+
// verify required parameter 'verifyEmailSchema' is not null or undefined
|
|
7283
|
+
assertParamExists('verifyEmailV1UserVerifyEmailPost', 'verifyEmailSchema', verifyEmailSchema)
|
|
7284
|
+
const localVarPath = `/v1/user/verify-email`;
|
|
7285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7286
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7287
|
+
let baseOptions;
|
|
7288
|
+
if (configuration) {
|
|
7289
|
+
baseOptions = configuration.baseOptions;
|
|
7290
|
+
}
|
|
7291
|
+
|
|
7292
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7293
|
+
const localVarHeaderParameter = {} as any;
|
|
7294
|
+
const localVarQueryParameter = {} as any;
|
|
7295
|
+
|
|
7296
|
+
|
|
7297
|
+
|
|
7298
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7299
|
+
|
|
7300
|
+
if (authorization != null) {
|
|
7301
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7302
|
+
}
|
|
7303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7305
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7306
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailSchema, localVarRequestOptions, configuration)
|
|
7307
|
+
|
|
7036
7308
|
return {
|
|
7037
7309
|
url: toPathString(localVarUrlObj),
|
|
7038
7310
|
options: localVarRequestOptions,
|
|
@@ -7049,7 +7321,7 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7049
7321
|
const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
|
|
7050
7322
|
return {
|
|
7051
7323
|
/**
|
|
7052
|
-
*
|
|
7324
|
+
*
|
|
7053
7325
|
* @summary Change Password
|
|
7054
7326
|
* @param {UpdatePassword} updatePassword
|
|
7055
7327
|
* @param {string | null} [sessionId]
|
|
@@ -7063,7 +7335,7 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7063
7335
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7064
7336
|
},
|
|
7065
7337
|
/**
|
|
7066
|
-
*
|
|
7338
|
+
*
|
|
7067
7339
|
* @summary Delete User
|
|
7068
7340
|
* @param {string | null} [sessionId]
|
|
7069
7341
|
* @param {*} [options] Override http request option.
|
|
@@ -7076,7 +7348,20 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7076
7348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7077
7349
|
},
|
|
7078
7350
|
/**
|
|
7079
|
-
*
|
|
7351
|
+
*
|
|
7352
|
+
* @summary Forgot Password
|
|
7353
|
+
* @param {ForgotPasswordSchema} forgotPasswordSchema
|
|
7354
|
+
* @param {*} [options] Override http request option.
|
|
7355
|
+
* @throws {RequiredError}
|
|
7356
|
+
*/
|
|
7357
|
+
async forgotPasswordV1UserForgotPasswordPost(forgotPasswordSchema: ForgotPasswordSchema, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7358
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPasswordV1UserForgotPasswordPost(forgotPasswordSchema, options);
|
|
7359
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7360
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.forgotPasswordV1UserForgotPasswordPost']?.[localVarOperationServerIndex]?.url;
|
|
7361
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7362
|
+
},
|
|
7363
|
+
/**
|
|
7364
|
+
*
|
|
7080
7365
|
* @summary Get User Dash
|
|
7081
7366
|
* @param {string | null} [sessionId]
|
|
7082
7367
|
* @param {*} [options] Override http request option.
|
|
@@ -7089,7 +7374,7 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7089
7374
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7090
7375
|
},
|
|
7091
7376
|
/**
|
|
7092
|
-
*
|
|
7377
|
+
*
|
|
7093
7378
|
* @summary Get User
|
|
7094
7379
|
* @param {string | null} [sessionId]
|
|
7095
7380
|
* @param {*} [options] Override http request option.
|
|
@@ -7102,7 +7387,47 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7102
7387
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7103
7388
|
},
|
|
7104
7389
|
/**
|
|
7105
|
-
*
|
|
7390
|
+
*
|
|
7391
|
+
* @summary Resend Otp
|
|
7392
|
+
* @param {ResendOTPSchema} resendOTPSchema
|
|
7393
|
+
* @param {*} [options] Override http request option.
|
|
7394
|
+
* @throws {RequiredError}
|
|
7395
|
+
*/
|
|
7396
|
+
async resendOtpV1UserResendOtpPost(resendOTPSchema: ResendOTPSchema, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpV1UserResendOtpPost(resendOTPSchema, options);
|
|
7398
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7399
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpV1UserResendOtpPost']?.[localVarOperationServerIndex]?.url;
|
|
7400
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7401
|
+
},
|
|
7402
|
+
/**
|
|
7403
|
+
*
|
|
7404
|
+
* @summary Reset Password
|
|
7405
|
+
* @param {ResetPasswordSchema} resetPasswordSchema
|
|
7406
|
+
* @param {*} [options] Override http request option.
|
|
7407
|
+
* @throws {RequiredError}
|
|
7408
|
+
*/
|
|
7409
|
+
async resetPasswordV1UserResetPasswordPost(resetPasswordSchema: ResetPasswordSchema, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetPasswordV1UserResetPasswordPost(resetPasswordSchema, options);
|
|
7411
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7412
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.resetPasswordV1UserResetPasswordPost']?.[localVarOperationServerIndex]?.url;
|
|
7413
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7414
|
+
},
|
|
7415
|
+
/**
|
|
7416
|
+
*
|
|
7417
|
+
* @summary Send Verification Email
|
|
7418
|
+
* @param {string} [authorization]
|
|
7419
|
+
* @param {string} [sessionId]
|
|
7420
|
+
* @param {*} [options] Override http request option.
|
|
7421
|
+
* @throws {RequiredError}
|
|
7422
|
+
*/
|
|
7423
|
+
async sendVerificationEmailV1UserSendVerificationEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendVerificationEmailV1UserSendVerificationEmailPost(authorization, sessionId, options);
|
|
7425
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7426
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.sendVerificationEmailV1UserSendVerificationEmailPost']?.[localVarOperationServerIndex]?.url;
|
|
7427
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7428
|
+
},
|
|
7429
|
+
/**
|
|
7430
|
+
*
|
|
7106
7431
|
* @summary Update User
|
|
7107
7432
|
* @param {UserUpdate} userUpdate
|
|
7108
7433
|
* @param {string | null} [sessionId]
|
|
@@ -7115,6 +7440,21 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7115
7440
|
const localVarOperationServerBasePath = operationServerMap['UserApi.updateUserV1UserUpdatePatch']?.[localVarOperationServerIndex]?.url;
|
|
7116
7441
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7117
7442
|
},
|
|
7443
|
+
/**
|
|
7444
|
+
*
|
|
7445
|
+
* @summary Verify Email
|
|
7446
|
+
* @param {VerifyEmailSchema} verifyEmailSchema
|
|
7447
|
+
* @param {string} [authorization]
|
|
7448
|
+
* @param {string} [sessionId]
|
|
7449
|
+
* @param {*} [options] Override http request option.
|
|
7450
|
+
* @throws {RequiredError}
|
|
7451
|
+
*/
|
|
7452
|
+
async verifyEmailV1UserVerifyEmailPost(verifyEmailSchema: VerifyEmailSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.verifyEmailV1UserVerifyEmailPost(verifyEmailSchema, authorization, sessionId, options);
|
|
7454
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7455
|
+
const localVarOperationServerBasePath = operationServerMap['UserApi.verifyEmailV1UserVerifyEmailPost']?.[localVarOperationServerIndex]?.url;
|
|
7456
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7457
|
+
},
|
|
7118
7458
|
}
|
|
7119
7459
|
};
|
|
7120
7460
|
|
|
@@ -7126,7 +7466,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7126
7466
|
const localVarFp = UserApiFp(configuration)
|
|
7127
7467
|
return {
|
|
7128
7468
|
/**
|
|
7129
|
-
*
|
|
7469
|
+
*
|
|
7130
7470
|
* @summary Change Password
|
|
7131
7471
|
* @param {UpdatePassword} updatePassword
|
|
7132
7472
|
* @param {string | null} [sessionId]
|
|
@@ -7137,7 +7477,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7137
7477
|
return localVarFp.changePasswordV1UserPasswordChangePatch(updatePassword, sessionId, options).then((request) => request(axios, basePath));
|
|
7138
7478
|
},
|
|
7139
7479
|
/**
|
|
7140
|
-
*
|
|
7480
|
+
*
|
|
7141
7481
|
* @summary Delete User
|
|
7142
7482
|
* @param {string | null} [sessionId]
|
|
7143
7483
|
* @param {*} [options] Override http request option.
|
|
@@ -7147,7 +7487,17 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7147
7487
|
return localVarFp.deleteUserV1UserDeleteDelete(sessionId, options).then((request) => request(axios, basePath));
|
|
7148
7488
|
},
|
|
7149
7489
|
/**
|
|
7150
|
-
*
|
|
7490
|
+
*
|
|
7491
|
+
* @summary Forgot Password
|
|
7492
|
+
* @param {ForgotPasswordSchema} forgotPasswordSchema
|
|
7493
|
+
* @param {*} [options] Override http request option.
|
|
7494
|
+
* @throws {RequiredError}
|
|
7495
|
+
*/
|
|
7496
|
+
forgotPasswordV1UserForgotPasswordPost(forgotPasswordSchema: ForgotPasswordSchema, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7497
|
+
return localVarFp.forgotPasswordV1UserForgotPasswordPost(forgotPasswordSchema, options).then((request) => request(axios, basePath));
|
|
7498
|
+
},
|
|
7499
|
+
/**
|
|
7500
|
+
*
|
|
7151
7501
|
* @summary Get User Dash
|
|
7152
7502
|
* @param {string | null} [sessionId]
|
|
7153
7503
|
* @param {*} [options] Override http request option.
|
|
@@ -7157,7 +7507,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7157
7507
|
return localVarFp.getUserDashV1UserMeDashGet(sessionId, options).then((request) => request(axios, basePath));
|
|
7158
7508
|
},
|
|
7159
7509
|
/**
|
|
7160
|
-
*
|
|
7510
|
+
*
|
|
7161
7511
|
* @summary Get User
|
|
7162
7512
|
* @param {string | null} [sessionId]
|
|
7163
7513
|
* @param {*} [options] Override http request option.
|
|
@@ -7167,7 +7517,38 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7167
7517
|
return localVarFp.getUserV1UserMeGet(sessionId, options).then((request) => request(axios, basePath));
|
|
7168
7518
|
},
|
|
7169
7519
|
/**
|
|
7170
|
-
*
|
|
7520
|
+
*
|
|
7521
|
+
* @summary Resend Otp
|
|
7522
|
+
* @param {ResendOTPSchema} resendOTPSchema
|
|
7523
|
+
* @param {*} [options] Override http request option.
|
|
7524
|
+
* @throws {RequiredError}
|
|
7525
|
+
*/
|
|
7526
|
+
resendOtpV1UserResendOtpPost(resendOTPSchema: ResendOTPSchema, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7527
|
+
return localVarFp.resendOtpV1UserResendOtpPost(resendOTPSchema, options).then((request) => request(axios, basePath));
|
|
7528
|
+
},
|
|
7529
|
+
/**
|
|
7530
|
+
*
|
|
7531
|
+
* @summary Reset Password
|
|
7532
|
+
* @param {ResetPasswordSchema} resetPasswordSchema
|
|
7533
|
+
* @param {*} [options] Override http request option.
|
|
7534
|
+
* @throws {RequiredError}
|
|
7535
|
+
*/
|
|
7536
|
+
resetPasswordV1UserResetPasswordPost(resetPasswordSchema: ResetPasswordSchema, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7537
|
+
return localVarFp.resetPasswordV1UserResetPasswordPost(resetPasswordSchema, options).then((request) => request(axios, basePath));
|
|
7538
|
+
},
|
|
7539
|
+
/**
|
|
7540
|
+
*
|
|
7541
|
+
* @summary Send Verification Email
|
|
7542
|
+
* @param {string} [authorization]
|
|
7543
|
+
* @param {string} [sessionId]
|
|
7544
|
+
* @param {*} [options] Override http request option.
|
|
7545
|
+
* @throws {RequiredError}
|
|
7546
|
+
*/
|
|
7547
|
+
sendVerificationEmailV1UserSendVerificationEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7548
|
+
return localVarFp.sendVerificationEmailV1UserSendVerificationEmailPost(authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
7549
|
+
},
|
|
7550
|
+
/**
|
|
7551
|
+
*
|
|
7171
7552
|
* @summary Update User
|
|
7172
7553
|
* @param {UserUpdate} userUpdate
|
|
7173
7554
|
* @param {string | null} [sessionId]
|
|
@@ -7177,6 +7558,18 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7177
7558
|
updateUserV1UserUpdatePatch(userUpdate: UserUpdate, sessionId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7178
7559
|
return localVarFp.updateUserV1UserUpdatePatch(userUpdate, sessionId, options).then((request) => request(axios, basePath));
|
|
7179
7560
|
},
|
|
7561
|
+
/**
|
|
7562
|
+
*
|
|
7563
|
+
* @summary Verify Email
|
|
7564
|
+
* @param {VerifyEmailSchema} verifyEmailSchema
|
|
7565
|
+
* @param {string} [authorization]
|
|
7566
|
+
* @param {string} [sessionId]
|
|
7567
|
+
* @param {*} [options] Override http request option.
|
|
7568
|
+
* @throws {RequiredError}
|
|
7569
|
+
*/
|
|
7570
|
+
verifyEmailV1UserVerifyEmailPost(verifyEmailSchema: VerifyEmailSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7571
|
+
return localVarFp.verifyEmailV1UserVerifyEmailPost(verifyEmailSchema, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
7572
|
+
},
|
|
7180
7573
|
};
|
|
7181
7574
|
};
|
|
7182
7575
|
|
|
@@ -7188,7 +7581,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7188
7581
|
*/
|
|
7189
7582
|
export class UserApi extends BaseAPI {
|
|
7190
7583
|
/**
|
|
7191
|
-
*
|
|
7584
|
+
*
|
|
7192
7585
|
* @summary Change Password
|
|
7193
7586
|
* @param {UpdatePassword} updatePassword
|
|
7194
7587
|
* @param {string | null} [sessionId]
|
|
@@ -7201,7 +7594,7 @@ export class UserApi extends BaseAPI {
|
|
|
7201
7594
|
}
|
|
7202
7595
|
|
|
7203
7596
|
/**
|
|
7204
|
-
*
|
|
7597
|
+
*
|
|
7205
7598
|
* @summary Delete User
|
|
7206
7599
|
* @param {string | null} [sessionId]
|
|
7207
7600
|
* @param {*} [options] Override http request option.
|
|
@@ -7213,7 +7606,19 @@ export class UserApi extends BaseAPI {
|
|
|
7213
7606
|
}
|
|
7214
7607
|
|
|
7215
7608
|
/**
|
|
7216
|
-
*
|
|
7609
|
+
*
|
|
7610
|
+
* @summary Forgot Password
|
|
7611
|
+
* @param {ForgotPasswordSchema} forgotPasswordSchema
|
|
7612
|
+
* @param {*} [options] Override http request option.
|
|
7613
|
+
* @throws {RequiredError}
|
|
7614
|
+
* @memberof UserApi
|
|
7615
|
+
*/
|
|
7616
|
+
public forgotPasswordV1UserForgotPasswordPost(forgotPasswordSchema: ForgotPasswordSchema, options?: RawAxiosRequestConfig) {
|
|
7617
|
+
return UserApiFp(this.configuration).forgotPasswordV1UserForgotPasswordPost(forgotPasswordSchema, options).then((request) => request(this.axios, this.basePath));
|
|
7618
|
+
}
|
|
7619
|
+
|
|
7620
|
+
/**
|
|
7621
|
+
*
|
|
7217
7622
|
* @summary Get User Dash
|
|
7218
7623
|
* @param {string | null} [sessionId]
|
|
7219
7624
|
* @param {*} [options] Override http request option.
|
|
@@ -7225,7 +7630,7 @@ export class UserApi extends BaseAPI {
|
|
|
7225
7630
|
}
|
|
7226
7631
|
|
|
7227
7632
|
/**
|
|
7228
|
-
*
|
|
7633
|
+
*
|
|
7229
7634
|
* @summary Get User
|
|
7230
7635
|
* @param {string | null} [sessionId]
|
|
7231
7636
|
* @param {*} [options] Override http request option.
|
|
@@ -7237,7 +7642,44 @@ export class UserApi extends BaseAPI {
|
|
|
7237
7642
|
}
|
|
7238
7643
|
|
|
7239
7644
|
/**
|
|
7240
|
-
*
|
|
7645
|
+
*
|
|
7646
|
+
* @summary Resend Otp
|
|
7647
|
+
* @param {ResendOTPSchema} resendOTPSchema
|
|
7648
|
+
* @param {*} [options] Override http request option.
|
|
7649
|
+
* @throws {RequiredError}
|
|
7650
|
+
* @memberof UserApi
|
|
7651
|
+
*/
|
|
7652
|
+
public resendOtpV1UserResendOtpPost(resendOTPSchema: ResendOTPSchema, options?: RawAxiosRequestConfig) {
|
|
7653
|
+
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPost(resendOTPSchema, options).then((request) => request(this.axios, this.basePath));
|
|
7654
|
+
}
|
|
7655
|
+
|
|
7656
|
+
/**
|
|
7657
|
+
*
|
|
7658
|
+
* @summary Reset Password
|
|
7659
|
+
* @param {ResetPasswordSchema} resetPasswordSchema
|
|
7660
|
+
* @param {*} [options] Override http request option.
|
|
7661
|
+
* @throws {RequiredError}
|
|
7662
|
+
* @memberof UserApi
|
|
7663
|
+
*/
|
|
7664
|
+
public resetPasswordV1UserResetPasswordPost(resetPasswordSchema: ResetPasswordSchema, options?: RawAxiosRequestConfig) {
|
|
7665
|
+
return UserApiFp(this.configuration).resetPasswordV1UserResetPasswordPost(resetPasswordSchema, options).then((request) => request(this.axios, this.basePath));
|
|
7666
|
+
}
|
|
7667
|
+
|
|
7668
|
+
/**
|
|
7669
|
+
*
|
|
7670
|
+
* @summary Send Verification Email
|
|
7671
|
+
* @param {string} [authorization]
|
|
7672
|
+
* @param {string} [sessionId]
|
|
7673
|
+
* @param {*} [options] Override http request option.
|
|
7674
|
+
* @throws {RequiredError}
|
|
7675
|
+
* @memberof UserApi
|
|
7676
|
+
*/
|
|
7677
|
+
public sendVerificationEmailV1UserSendVerificationEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
7678
|
+
return UserApiFp(this.configuration).sendVerificationEmailV1UserSendVerificationEmailPost(authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
7679
|
+
}
|
|
7680
|
+
|
|
7681
|
+
/**
|
|
7682
|
+
*
|
|
7241
7683
|
* @summary Update User
|
|
7242
7684
|
* @param {UserUpdate} userUpdate
|
|
7243
7685
|
* @param {string | null} [sessionId]
|
|
@@ -7248,6 +7690,20 @@ export class UserApi extends BaseAPI {
|
|
|
7248
7690
|
public updateUserV1UserUpdatePatch(userUpdate: UserUpdate, sessionId?: string | null, options?: RawAxiosRequestConfig) {
|
|
7249
7691
|
return UserApiFp(this.configuration).updateUserV1UserUpdatePatch(userUpdate, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
7250
7692
|
}
|
|
7693
|
+
|
|
7694
|
+
/**
|
|
7695
|
+
*
|
|
7696
|
+
* @summary Verify Email
|
|
7697
|
+
* @param {VerifyEmailSchema} verifyEmailSchema
|
|
7698
|
+
* @param {string} [authorization]
|
|
7699
|
+
* @param {string} [sessionId]
|
|
7700
|
+
* @param {*} [options] Override http request option.
|
|
7701
|
+
* @throws {RequiredError}
|
|
7702
|
+
* @memberof UserApi
|
|
7703
|
+
*/
|
|
7704
|
+
public verifyEmailV1UserVerifyEmailPost(verifyEmailSchema: VerifyEmailSchema, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
7705
|
+
return UserApiFp(this.configuration).verifyEmailV1UserVerifyEmailPost(verifyEmailSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
7706
|
+
}
|
|
7251
7707
|
}
|
|
7252
7708
|
|
|
7253
7709
|
|