@rasadov/lumoar-sdk 1.2.3 → 1.2.4
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/api.ts +35 -35
- package/dist/api.d.ts +20 -20
- package/dist/api.js +32 -32
- package/docs/UserApi.md +9 -9
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7470,13 +7470,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7470
7470
|
/**
|
|
7471
7471
|
*
|
|
7472
7472
|
* @summary Resend Otp By Email
|
|
7473
|
-
* @param {string}
|
|
7473
|
+
* @param {string} [authorization]
|
|
7474
|
+
* @param {string} [sessionId]
|
|
7474
7475
|
* @param {*} [options] Override http request option.
|
|
7475
7476
|
* @throws {RequiredError}
|
|
7476
7477
|
*/
|
|
7477
|
-
resendOtpByEmailV1UserResendOtpEmailPost: async (
|
|
7478
|
-
// verify required parameter 'email' is not null or undefined
|
|
7479
|
-
assertParamExists('resendOtpByEmailV1UserResendOtpEmailPost', 'email', email)
|
|
7478
|
+
resendOtpByEmailV1UserResendOtpEmailPost: async (authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7480
7479
|
const localVarPath = `/v1/user/resend-otp/email`;
|
|
7481
7480
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7482
7481
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7489,12 +7488,11 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7489
7488
|
const localVarHeaderParameter = {} as any;
|
|
7490
7489
|
const localVarQueryParameter = {} as any;
|
|
7491
7490
|
|
|
7492
|
-
if (email !== undefined) {
|
|
7493
|
-
localVarQueryParameter['email'] = email;
|
|
7494
|
-
}
|
|
7495
|
-
|
|
7496
7491
|
|
|
7497
7492
|
|
|
7493
|
+
if (authorization != null) {
|
|
7494
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7495
|
+
}
|
|
7498
7496
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7499
7497
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7500
7498
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7507,12 +7505,13 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7507
7505
|
/**
|
|
7508
7506
|
*
|
|
7509
7507
|
* @summary Resend Otp
|
|
7510
|
-
* @param {string}
|
|
7511
|
-
* @param {string} [sessionId]
|
|
7508
|
+
* @param {string} email
|
|
7512
7509
|
* @param {*} [options] Override http request option.
|
|
7513
7510
|
* @throws {RequiredError}
|
|
7514
7511
|
*/
|
|
7515
|
-
resendOtpV1UserResendOtpPasswordPost: async (
|
|
7512
|
+
resendOtpV1UserResendOtpPasswordPost: async (email: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7513
|
+
// verify required parameter 'email' is not null or undefined
|
|
7514
|
+
assertParamExists('resendOtpV1UserResendOtpPasswordPost', 'email', email)
|
|
7516
7515
|
const localVarPath = `/v1/user/resend-otp/password`;
|
|
7517
7516
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7518
7517
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7525,11 +7524,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7525
7524
|
const localVarHeaderParameter = {} as any;
|
|
7526
7525
|
const localVarQueryParameter = {} as any;
|
|
7527
7526
|
|
|
7527
|
+
if (email !== undefined) {
|
|
7528
|
+
localVarQueryParameter['email'] = email;
|
|
7529
|
+
}
|
|
7530
|
+
|
|
7528
7531
|
|
|
7529
7532
|
|
|
7530
|
-
if (authorization != null) {
|
|
7531
|
-
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7532
|
-
}
|
|
7533
7533
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7534
7534
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7535
7535
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -7767,12 +7767,13 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7767
7767
|
/**
|
|
7768
7768
|
*
|
|
7769
7769
|
* @summary Resend Otp By Email
|
|
7770
|
-
* @param {string}
|
|
7770
|
+
* @param {string} [authorization]
|
|
7771
|
+
* @param {string} [sessionId]
|
|
7771
7772
|
* @param {*} [options] Override http request option.
|
|
7772
7773
|
* @throws {RequiredError}
|
|
7773
7774
|
*/
|
|
7774
|
-
async resendOtpByEmailV1UserResendOtpEmailPost(
|
|
7775
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(
|
|
7775
|
+
async resendOtpByEmailV1UserResendOtpEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7776
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options);
|
|
7776
7777
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7777
7778
|
const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpByEmailV1UserResendOtpEmailPost']?.[localVarOperationServerIndex]?.url;
|
|
7778
7779
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7780,13 +7781,12 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
7780
7781
|
/**
|
|
7781
7782
|
*
|
|
7782
7783
|
* @summary Resend Otp
|
|
7783
|
-
* @param {string}
|
|
7784
|
-
* @param {string} [sessionId]
|
|
7784
|
+
* @param {string} email
|
|
7785
7785
|
* @param {*} [options] Override http request option.
|
|
7786
7786
|
* @throws {RequiredError}
|
|
7787
7787
|
*/
|
|
7788
|
-
async resendOtpV1UserResendOtpPasswordPost(
|
|
7789
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpV1UserResendOtpPasswordPost(
|
|
7788
|
+
async resendOtpV1UserResendOtpPasswordPost(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
|
|
7789
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpV1UserResendOtpPasswordPost(email, options);
|
|
7790
7790
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7791
7791
|
const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpV1UserResendOtpPasswordPost']?.[localVarOperationServerIndex]?.url;
|
|
7792
7792
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7911,23 +7911,23 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
7911
7911
|
/**
|
|
7912
7912
|
*
|
|
7913
7913
|
* @summary Resend Otp By Email
|
|
7914
|
-
* @param {string}
|
|
7914
|
+
* @param {string} [authorization]
|
|
7915
|
+
* @param {string} [sessionId]
|
|
7915
7916
|
* @param {*} [options] Override http request option.
|
|
7916
7917
|
* @throws {RequiredError}
|
|
7917
7918
|
*/
|
|
7918
|
-
resendOtpByEmailV1UserResendOtpEmailPost(
|
|
7919
|
-
return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(
|
|
7919
|
+
resendOtpByEmailV1UserResendOtpEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7920
|
+
return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
7920
7921
|
},
|
|
7921
7922
|
/**
|
|
7922
7923
|
*
|
|
7923
7924
|
* @summary Resend Otp
|
|
7924
|
-
* @param {string}
|
|
7925
|
-
* @param {string} [sessionId]
|
|
7925
|
+
* @param {string} email
|
|
7926
7926
|
* @param {*} [options] Override http request option.
|
|
7927
7927
|
* @throws {RequiredError}
|
|
7928
7928
|
*/
|
|
7929
|
-
resendOtpV1UserResendOtpPasswordPost(
|
|
7930
|
-
return localVarFp.resendOtpV1UserResendOtpPasswordPost(
|
|
7929
|
+
resendOtpV1UserResendOtpPasswordPost(email: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
|
|
7930
|
+
return localVarFp.resendOtpV1UserResendOtpPasswordPost(email, options).then((request) => request(axios, basePath));
|
|
7931
7931
|
},
|
|
7932
7932
|
/**
|
|
7933
7933
|
*
|
|
@@ -8047,26 +8047,26 @@ export class UserApi extends BaseAPI {
|
|
|
8047
8047
|
/**
|
|
8048
8048
|
*
|
|
8049
8049
|
* @summary Resend Otp By Email
|
|
8050
|
-
* @param {string}
|
|
8050
|
+
* @param {string} [authorization]
|
|
8051
|
+
* @param {string} [sessionId]
|
|
8051
8052
|
* @param {*} [options] Override http request option.
|
|
8052
8053
|
* @throws {RequiredError}
|
|
8053
8054
|
* @memberof UserApi
|
|
8054
8055
|
*/
|
|
8055
|
-
public resendOtpByEmailV1UserResendOtpEmailPost(
|
|
8056
|
-
return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(
|
|
8056
|
+
public resendOtpByEmailV1UserResendOtpEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
8057
|
+
return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
8057
8058
|
}
|
|
8058
8059
|
|
|
8059
8060
|
/**
|
|
8060
8061
|
*
|
|
8061
8062
|
* @summary Resend Otp
|
|
8062
|
-
* @param {string}
|
|
8063
|
-
* @param {string} [sessionId]
|
|
8063
|
+
* @param {string} email
|
|
8064
8064
|
* @param {*} [options] Override http request option.
|
|
8065
8065
|
* @throws {RequiredError}
|
|
8066
8066
|
* @memberof UserApi
|
|
8067
8067
|
*/
|
|
8068
|
-
public resendOtpV1UserResendOtpPasswordPost(
|
|
8069
|
-
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPasswordPost(
|
|
8068
|
+
public resendOtpV1UserResendOtpPasswordPost(email: string, options?: RawAxiosRequestConfig) {
|
|
8069
|
+
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPasswordPost(email, options).then((request) => request(this.axios, this.basePath));
|
|
8070
8070
|
}
|
|
8071
8071
|
|
|
8072
8072
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -4868,20 +4868,20 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
4868
4868
|
/**
|
|
4869
4869
|
*
|
|
4870
4870
|
* @summary Resend Otp By Email
|
|
4871
|
-
* @param {string}
|
|
4871
|
+
* @param {string} [authorization]
|
|
4872
|
+
* @param {string} [sessionId]
|
|
4872
4873
|
* @param {*} [options] Override http request option.
|
|
4873
4874
|
* @throws {RequiredError}
|
|
4874
4875
|
*/
|
|
4875
|
-
resendOtpByEmailV1UserResendOtpEmailPost: (
|
|
4876
|
+
resendOtpByEmailV1UserResendOtpEmailPost: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4876
4877
|
/**
|
|
4877
4878
|
*
|
|
4878
4879
|
* @summary Resend Otp
|
|
4879
|
-
* @param {string}
|
|
4880
|
-
* @param {string} [sessionId]
|
|
4880
|
+
* @param {string} email
|
|
4881
4881
|
* @param {*} [options] Override http request option.
|
|
4882
4882
|
* @throws {RequiredError}
|
|
4883
4883
|
*/
|
|
4884
|
-
resendOtpV1UserResendOtpPasswordPost: (
|
|
4884
|
+
resendOtpV1UserResendOtpPasswordPost: (email: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4885
4885
|
/**
|
|
4886
4886
|
*
|
|
4887
4887
|
* @summary Reset Password
|
|
@@ -4968,20 +4968,20 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
4968
4968
|
/**
|
|
4969
4969
|
*
|
|
4970
4970
|
* @summary Resend Otp By Email
|
|
4971
|
-
* @param {string}
|
|
4971
|
+
* @param {string} [authorization]
|
|
4972
|
+
* @param {string} [sessionId]
|
|
4972
4973
|
* @param {*} [options] Override http request option.
|
|
4973
4974
|
* @throws {RequiredError}
|
|
4974
4975
|
*/
|
|
4975
|
-
resendOtpByEmailV1UserResendOtpEmailPost(
|
|
4976
|
+
resendOtpByEmailV1UserResendOtpEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
|
|
4976
4977
|
/**
|
|
4977
4978
|
*
|
|
4978
4979
|
* @summary Resend Otp
|
|
4979
|
-
* @param {string}
|
|
4980
|
-
* @param {string} [sessionId]
|
|
4980
|
+
* @param {string} email
|
|
4981
4981
|
* @param {*} [options] Override http request option.
|
|
4982
4982
|
* @throws {RequiredError}
|
|
4983
4983
|
*/
|
|
4984
|
-
resendOtpV1UserResendOtpPasswordPost(
|
|
4984
|
+
resendOtpV1UserResendOtpPasswordPost(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
|
|
4985
4985
|
/**
|
|
4986
4986
|
*
|
|
4987
4987
|
* @summary Reset Password
|
|
@@ -5068,20 +5068,20 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5068
5068
|
/**
|
|
5069
5069
|
*
|
|
5070
5070
|
* @summary Resend Otp By Email
|
|
5071
|
-
* @param {string}
|
|
5071
|
+
* @param {string} [authorization]
|
|
5072
|
+
* @param {string} [sessionId]
|
|
5072
5073
|
* @param {*} [options] Override http request option.
|
|
5073
5074
|
* @throws {RequiredError}
|
|
5074
5075
|
*/
|
|
5075
|
-
resendOtpByEmailV1UserResendOtpEmailPost(
|
|
5076
|
+
resendOtpByEmailV1UserResendOtpEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
|
|
5076
5077
|
/**
|
|
5077
5078
|
*
|
|
5078
5079
|
* @summary Resend Otp
|
|
5079
|
-
* @param {string}
|
|
5080
|
-
* @param {string} [sessionId]
|
|
5080
|
+
* @param {string} email
|
|
5081
5081
|
* @param {*} [options] Override http request option.
|
|
5082
5082
|
* @throws {RequiredError}
|
|
5083
5083
|
*/
|
|
5084
|
-
resendOtpV1UserResendOtpPasswordPost(
|
|
5084
|
+
resendOtpV1UserResendOtpPasswordPost(email: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
|
|
5085
5085
|
/**
|
|
5086
5086
|
*
|
|
5087
5087
|
* @summary Reset Password
|
|
@@ -5175,22 +5175,22 @@ export declare class UserApi extends BaseAPI {
|
|
|
5175
5175
|
/**
|
|
5176
5176
|
*
|
|
5177
5177
|
* @summary Resend Otp By Email
|
|
5178
|
-
* @param {string}
|
|
5178
|
+
* @param {string} [authorization]
|
|
5179
|
+
* @param {string} [sessionId]
|
|
5179
5180
|
* @param {*} [options] Override http request option.
|
|
5180
5181
|
* @throws {RequiredError}
|
|
5181
5182
|
* @memberof UserApi
|
|
5182
5183
|
*/
|
|
5183
|
-
resendOtpByEmailV1UserResendOtpEmailPost(
|
|
5184
|
+
resendOtpByEmailV1UserResendOtpEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
|
|
5184
5185
|
/**
|
|
5185
5186
|
*
|
|
5186
5187
|
* @summary Resend Otp
|
|
5187
|
-
* @param {string}
|
|
5188
|
-
* @param {string} [sessionId]
|
|
5188
|
+
* @param {string} email
|
|
5189
5189
|
* @param {*} [options] Override http request option.
|
|
5190
5190
|
* @throws {RequiredError}
|
|
5191
5191
|
* @memberof UserApi
|
|
5192
5192
|
*/
|
|
5193
|
-
resendOtpV1UserResendOtpPasswordPost(
|
|
5193
|
+
resendOtpV1UserResendOtpPasswordPost(email: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
|
|
5194
5194
|
/**
|
|
5195
5195
|
*
|
|
5196
5196
|
* @summary Reset Password
|
package/dist/api.js
CHANGED
|
@@ -4964,13 +4964,12 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
4964
4964
|
/**
|
|
4965
4965
|
*
|
|
4966
4966
|
* @summary Resend Otp By Email
|
|
4967
|
-
* @param {string}
|
|
4967
|
+
* @param {string} [authorization]
|
|
4968
|
+
* @param {string} [sessionId]
|
|
4968
4969
|
* @param {*} [options] Override http request option.
|
|
4969
4970
|
* @throws {RequiredError}
|
|
4970
4971
|
*/
|
|
4971
|
-
resendOtpByEmailV1UserResendOtpEmailPost: (
|
|
4972
|
-
// verify required parameter 'email' is not null or undefined
|
|
4973
|
-
assertParamExists('resendOtpByEmailV1UserResendOtpEmailPost', 'email', email);
|
|
4972
|
+
resendOtpByEmailV1UserResendOtpEmailPost: (authorization_1, sessionId_1, ...args_1) => __awaiter(this, [authorization_1, sessionId_1, ...args_1], void 0, function* (authorization, sessionId, options = {}) {
|
|
4974
4973
|
const localVarPath = `/v1/user/resend-otp/email`;
|
|
4975
4974
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4976
4975
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4981,8 +4980,8 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
4981
4980
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4982
4981
|
const localVarHeaderParameter = {};
|
|
4983
4982
|
const localVarQueryParameter = {};
|
|
4984
|
-
if (
|
|
4985
|
-
|
|
4983
|
+
if (authorization != null) {
|
|
4984
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
4986
4985
|
}
|
|
4987
4986
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4988
4987
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4995,12 +4994,13 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
4995
4994
|
/**
|
|
4996
4995
|
*
|
|
4997
4996
|
* @summary Resend Otp
|
|
4998
|
-
* @param {string}
|
|
4999
|
-
* @param {string} [sessionId]
|
|
4997
|
+
* @param {string} email
|
|
5000
4998
|
* @param {*} [options] Override http request option.
|
|
5001
4999
|
* @throws {RequiredError}
|
|
5002
5000
|
*/
|
|
5003
|
-
resendOtpV1UserResendOtpPasswordPost: (
|
|
5001
|
+
resendOtpV1UserResendOtpPasswordPost: (email_1, ...args_1) => __awaiter(this, [email_1, ...args_1], void 0, function* (email, options = {}) {
|
|
5002
|
+
// verify required parameter 'email' is not null or undefined
|
|
5003
|
+
assertParamExists('resendOtpV1UserResendOtpPasswordPost', 'email', email);
|
|
5004
5004
|
const localVarPath = `/v1/user/resend-otp/password`;
|
|
5005
5005
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5006
5006
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5011,8 +5011,8 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5011
5011
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5012
5012
|
const localVarHeaderParameter = {};
|
|
5013
5013
|
const localVarQueryParameter = {};
|
|
5014
|
-
if (
|
|
5015
|
-
|
|
5014
|
+
if (email !== undefined) {
|
|
5015
|
+
localVarQueryParameter['email'] = email;
|
|
5016
5016
|
}
|
|
5017
5017
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5018
5018
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -5241,14 +5241,15 @@ export const UserApiFp = function (configuration) {
|
|
|
5241
5241
|
/**
|
|
5242
5242
|
*
|
|
5243
5243
|
* @summary Resend Otp By Email
|
|
5244
|
-
* @param {string}
|
|
5244
|
+
* @param {string} [authorization]
|
|
5245
|
+
* @param {string} [sessionId]
|
|
5245
5246
|
* @param {*} [options] Override http request option.
|
|
5246
5247
|
* @throws {RequiredError}
|
|
5247
5248
|
*/
|
|
5248
|
-
resendOtpByEmailV1UserResendOtpEmailPost(
|
|
5249
|
+
resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options) {
|
|
5249
5250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5250
5251
|
var _a, _b, _c;
|
|
5251
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(
|
|
5252
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options);
|
|
5252
5253
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5253
5254
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.resendOtpByEmailV1UserResendOtpEmailPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5254
5255
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5257,15 +5258,14 @@ export const UserApiFp = function (configuration) {
|
|
|
5257
5258
|
/**
|
|
5258
5259
|
*
|
|
5259
5260
|
* @summary Resend Otp
|
|
5260
|
-
* @param {string}
|
|
5261
|
-
* @param {string} [sessionId]
|
|
5261
|
+
* @param {string} email
|
|
5262
5262
|
* @param {*} [options] Override http request option.
|
|
5263
5263
|
* @throws {RequiredError}
|
|
5264
5264
|
*/
|
|
5265
|
-
resendOtpV1UserResendOtpPasswordPost(
|
|
5265
|
+
resendOtpV1UserResendOtpPasswordPost(email, options) {
|
|
5266
5266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5267
5267
|
var _a, _b, _c;
|
|
5268
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpV1UserResendOtpPasswordPost(
|
|
5268
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpV1UserResendOtpPasswordPost(email, options);
|
|
5269
5269
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5270
5270
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.resendOtpV1UserResendOtpPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5271
5271
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5402,23 +5402,23 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
5402
5402
|
/**
|
|
5403
5403
|
*
|
|
5404
5404
|
* @summary Resend Otp By Email
|
|
5405
|
-
* @param {string}
|
|
5405
|
+
* @param {string} [authorization]
|
|
5406
|
+
* @param {string} [sessionId]
|
|
5406
5407
|
* @param {*} [options] Override http request option.
|
|
5407
5408
|
* @throws {RequiredError}
|
|
5408
5409
|
*/
|
|
5409
|
-
resendOtpByEmailV1UserResendOtpEmailPost(
|
|
5410
|
-
return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(
|
|
5410
|
+
resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options) {
|
|
5411
|
+
return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5411
5412
|
},
|
|
5412
5413
|
/**
|
|
5413
5414
|
*
|
|
5414
5415
|
* @summary Resend Otp
|
|
5415
|
-
* @param {string}
|
|
5416
|
-
* @param {string} [sessionId]
|
|
5416
|
+
* @param {string} email
|
|
5417
5417
|
* @param {*} [options] Override http request option.
|
|
5418
5418
|
* @throws {RequiredError}
|
|
5419
5419
|
*/
|
|
5420
|
-
resendOtpV1UserResendOtpPasswordPost(
|
|
5421
|
-
return localVarFp.resendOtpV1UserResendOtpPasswordPost(
|
|
5420
|
+
resendOtpV1UserResendOtpPasswordPost(email, options) {
|
|
5421
|
+
return localVarFp.resendOtpV1UserResendOtpPasswordPost(email, options).then((request) => request(axios, basePath));
|
|
5422
5422
|
},
|
|
5423
5423
|
/**
|
|
5424
5424
|
*
|
|
@@ -5532,25 +5532,25 @@ export class UserApi extends BaseAPI {
|
|
|
5532
5532
|
/**
|
|
5533
5533
|
*
|
|
5534
5534
|
* @summary Resend Otp By Email
|
|
5535
|
-
* @param {string}
|
|
5535
|
+
* @param {string} [authorization]
|
|
5536
|
+
* @param {string} [sessionId]
|
|
5536
5537
|
* @param {*} [options] Override http request option.
|
|
5537
5538
|
* @throws {RequiredError}
|
|
5538
5539
|
* @memberof UserApi
|
|
5539
5540
|
*/
|
|
5540
|
-
resendOtpByEmailV1UserResendOtpEmailPost(
|
|
5541
|
-
return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(
|
|
5541
|
+
resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options) {
|
|
5542
|
+
return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5542
5543
|
}
|
|
5543
5544
|
/**
|
|
5544
5545
|
*
|
|
5545
5546
|
* @summary Resend Otp
|
|
5546
|
-
* @param {string}
|
|
5547
|
-
* @param {string} [sessionId]
|
|
5547
|
+
* @param {string} email
|
|
5548
5548
|
* @param {*} [options] Override http request option.
|
|
5549
5549
|
* @throws {RequiredError}
|
|
5550
5550
|
* @memberof UserApi
|
|
5551
5551
|
*/
|
|
5552
|
-
resendOtpV1UserResendOtpPasswordPost(
|
|
5553
|
-
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPasswordPost(
|
|
5552
|
+
resendOtpV1UserResendOtpPasswordPost(email, options) {
|
|
5553
|
+
return UserApiFp(this.configuration).resendOtpV1UserResendOtpPasswordPost(email, options).then((request) => request(this.axios, this.basePath));
|
|
5554
5554
|
}
|
|
5555
5555
|
/**
|
|
5556
5556
|
*
|
package/docs/UserApi.md
CHANGED
|
@@ -291,10 +291,12 @@ import {
|
|
|
291
291
|
const configuration = new Configuration();
|
|
292
292
|
const apiInstance = new UserApi(configuration);
|
|
293
293
|
|
|
294
|
-
let
|
|
294
|
+
let authorization: string; // (optional) (default to undefined)
|
|
295
|
+
let sessionId: string; // (optional) (default to undefined)
|
|
295
296
|
|
|
296
297
|
const { status, data } = await apiInstance.resendOtpByEmailV1UserResendOtpEmailPost(
|
|
297
|
-
|
|
298
|
+
authorization,
|
|
299
|
+
sessionId
|
|
298
300
|
);
|
|
299
301
|
```
|
|
300
302
|
|
|
@@ -302,7 +304,8 @@ const { status, data } = await apiInstance.resendOtpByEmailV1UserResendOtpEmailP
|
|
|
302
304
|
|
|
303
305
|
|Name | Type | Description | Notes|
|
|
304
306
|
|------------- | ------------- | ------------- | -------------|
|
|
305
|
-
| **
|
|
307
|
+
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
308
|
+
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
306
309
|
|
|
307
310
|
|
|
308
311
|
### Return type
|
|
@@ -342,12 +345,10 @@ import {
|
|
|
342
345
|
const configuration = new Configuration();
|
|
343
346
|
const apiInstance = new UserApi(configuration);
|
|
344
347
|
|
|
345
|
-
let
|
|
346
|
-
let sessionId: string; // (optional) (default to undefined)
|
|
348
|
+
let email: string; // (default to undefined)
|
|
347
349
|
|
|
348
350
|
const { status, data } = await apiInstance.resendOtpV1UserResendOtpPasswordPost(
|
|
349
|
-
|
|
350
|
-
sessionId
|
|
351
|
+
email
|
|
351
352
|
);
|
|
352
353
|
```
|
|
353
354
|
|
|
@@ -355,8 +356,7 @@ const { status, data } = await apiInstance.resendOtpV1UserResendOtpPasswordPost(
|
|
|
355
356
|
|
|
356
357
|
|Name | Type | Description | Notes|
|
|
357
358
|
|------------- | ------------- | ------------- | -------------|
|
|
358
|
-
| **
|
|
359
|
-
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
359
|
+
| **email** | [**string**] | | defaults to undefined|
|
|
360
360
|
|
|
361
361
|
|
|
362
362
|
### Return type
|