@rasadov/lumoar-sdk 1.2.2 → 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 CHANGED
@@ -7470,15 +7470,13 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
7470
7470
  /**
7471
7471
  *
7472
7472
  * @summary Resend Otp By Email
7473
- * @param {string} email
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 (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)));
7478
+ resendOtpByEmailV1UserResendOtpEmailPost: async (authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7479
+ const localVarPath = `/v1/user/resend-otp/email`;
7482
7480
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7483
7481
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7484
7482
  let baseOptions;
@@ -7492,6 +7490,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
7492
7490
 
7493
7491
 
7494
7492
 
7493
+ if (authorization != null) {
7494
+ localVarHeaderParameter['Authorization'] = String(authorization);
7495
+ }
7495
7496
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7496
7497
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7497
7498
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -7504,13 +7505,14 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
7504
7505
  /**
7505
7506
  *
7506
7507
  * @summary Resend Otp
7507
- * @param {string} [authorization]
7508
- * @param {string} [sessionId]
7508
+ * @param {string} email
7509
7509
  * @param {*} [options] Override http request option.
7510
7510
  * @throws {RequiredError}
7511
7511
  */
7512
- resendOtpV1UserResendOtpPost: async (authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7513
- const localVarPath = `/v1/user/resend-otp`;
7512
+ resendOtpV1UserResendOtpPasswordPost: async (email: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7513
+ // verify required parameter 'email' is not null or undefined
7514
+ assertParamExists('resendOtpV1UserResendOtpPasswordPost', 'email', email)
7515
+ const localVarPath = `/v1/user/resend-otp/password`;
7514
7516
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7515
7517
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7516
7518
  let baseOptions;
@@ -7522,11 +7524,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
7522
7524
  const localVarHeaderParameter = {} as any;
7523
7525
  const localVarQueryParameter = {} as any;
7524
7526
 
7527
+ if (email !== undefined) {
7528
+ localVarQueryParameter['email'] = email;
7529
+ }
7530
+
7525
7531
 
7526
7532
 
7527
- if (authorization != null) {
7528
- localVarHeaderParameter['Authorization'] = String(authorization);
7529
- }
7530
7533
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7531
7534
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7532
7535
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -7764,12 +7767,13 @@ export const UserApiFp = function(configuration?: Configuration) {
7764
7767
  /**
7765
7768
  *
7766
7769
  * @summary Resend Otp By Email
7767
- * @param {string} email
7770
+ * @param {string} [authorization]
7771
+ * @param {string} [sessionId]
7768
7772
  * @param {*} [options] Override http request option.
7769
7773
  * @throws {RequiredError}
7770
7774
  */
7771
- async resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
7772
- const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(email, options);
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);
7773
7777
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7774
7778
  const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpByEmailV1UserResendOtpEmailPost']?.[localVarOperationServerIndex]?.url;
7775
7779
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -7777,15 +7781,14 @@ export const UserApiFp = function(configuration?: Configuration) {
7777
7781
  /**
7778
7782
  *
7779
7783
  * @summary Resend Otp
7780
- * @param {string} [authorization]
7781
- * @param {string} [sessionId]
7784
+ * @param {string} email
7782
7785
  * @param {*} [options] Override http request option.
7783
7786
  * @throws {RequiredError}
7784
7787
  */
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);
7788
+ async resendOtpV1UserResendOtpPasswordPost(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>> {
7789
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resendOtpV1UserResendOtpPasswordPost(email, options);
7787
7790
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7788
- const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpV1UserResendOtpPost']?.[localVarOperationServerIndex]?.url;
7791
+ const localVarOperationServerBasePath = operationServerMap['UserApi.resendOtpV1UserResendOtpPasswordPost']?.[localVarOperationServerIndex]?.url;
7789
7792
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7790
7793
  },
7791
7794
  /**
@@ -7908,23 +7911,23 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
7908
7911
  /**
7909
7912
  *
7910
7913
  * @summary Resend Otp By Email
7911
- * @param {string} email
7914
+ * @param {string} [authorization]
7915
+ * @param {string} [sessionId]
7912
7916
  * @param {*} [options] Override http request option.
7913
7917
  * @throws {RequiredError}
7914
7918
  */
7915
- resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
7916
- return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(axios, basePath));
7919
+ resendOtpByEmailV1UserResendOtpEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
7920
+ return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options).then((request) => request(axios, basePath));
7917
7921
  },
7918
7922
  /**
7919
7923
  *
7920
7924
  * @summary Resend Otp
7921
- * @param {string} [authorization]
7922
- * @param {string} [sessionId]
7925
+ * @param {string} email
7923
7926
  * @param {*} [options] Override http request option.
7924
7927
  * @throws {RequiredError}
7925
7928
  */
7926
- resendOtpV1UserResendOtpPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
7927
- return localVarFp.resendOtpV1UserResendOtpPost(authorization, sessionId, options).then((request) => request(axios, basePath));
7929
+ resendOtpV1UserResendOtpPasswordPost(email: string, options?: RawAxiosRequestConfig): AxiosPromise<Details> {
7930
+ return localVarFp.resendOtpV1UserResendOtpPasswordPost(email, options).then((request) => request(axios, basePath));
7928
7931
  },
7929
7932
  /**
7930
7933
  *
@@ -8044,26 +8047,26 @@ export class UserApi extends BaseAPI {
8044
8047
  /**
8045
8048
  *
8046
8049
  * @summary Resend Otp By Email
8047
- * @param {string} email
8050
+ * @param {string} [authorization]
8051
+ * @param {string} [sessionId]
8048
8052
  * @param {*} [options] Override http request option.
8049
8053
  * @throws {RequiredError}
8050
8054
  * @memberof UserApi
8051
8055
  */
8052
- public resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig) {
8053
- return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(this.axios, this.basePath));
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));
8054
8058
  }
8055
8059
 
8056
8060
  /**
8057
8061
  *
8058
8062
  * @summary Resend Otp
8059
- * @param {string} [authorization]
8060
- * @param {string} [sessionId]
8063
+ * @param {string} email
8061
8064
  * @param {*} [options] Override http request option.
8062
8065
  * @throws {RequiredError}
8063
8066
  * @memberof UserApi
8064
8067
  */
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));
8068
+ public resendOtpV1UserResendOtpPasswordPost(email: string, options?: RawAxiosRequestConfig) {
8069
+ return UserApiFp(this.configuration).resendOtpV1UserResendOtpPasswordPost(email, options).then((request) => request(this.axios, this.basePath));
8067
8070
  }
8068
8071
 
8069
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} email
4871
+ * @param {string} [authorization]
4872
+ * @param {string} [sessionId]
4872
4873
  * @param {*} [options] Override http request option.
4873
4874
  * @throws {RequiredError}
4874
4875
  */
4875
- resendOtpByEmailV1UserResendOtpEmailPost: (email: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4876
+ resendOtpByEmailV1UserResendOtpEmailPost: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4876
4877
  /**
4877
4878
  *
4878
4879
  * @summary Resend Otp
4879
- * @param {string} [authorization]
4880
- * @param {string} [sessionId]
4880
+ * @param {string} email
4881
4881
  * @param {*} [options] Override http request option.
4882
4882
  * @throws {RequiredError}
4883
4883
  */
4884
- resendOtpV1UserResendOtpPost: (authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
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} email
4971
+ * @param {string} [authorization]
4972
+ * @param {string} [sessionId]
4972
4973
  * @param {*} [options] Override http request option.
4973
4974
  * @throws {RequiredError}
4974
4975
  */
4975
- resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
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} [authorization]
4980
- * @param {string} [sessionId]
4980
+ * @param {string} email
4981
4981
  * @param {*} [options] Override http request option.
4982
4982
  * @throws {RequiredError}
4983
4983
  */
4984
- resendOtpV1UserResendOtpPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Details>>;
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} email
5071
+ * @param {string} [authorization]
5072
+ * @param {string} [sessionId]
5072
5073
  * @param {*} [options] Override http request option.
5073
5074
  * @throws {RequiredError}
5074
5075
  */
5075
- resendOtpByEmailV1UserResendOtpEmailPost(email: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
5076
+ resendOtpByEmailV1UserResendOtpEmailPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
5076
5077
  /**
5077
5078
  *
5078
5079
  * @summary Resend Otp
5079
- * @param {string} [authorization]
5080
- * @param {string} [sessionId]
5080
+ * @param {string} email
5081
5081
  * @param {*} [options] Override http request option.
5082
5082
  * @throws {RequiredError}
5083
5083
  */
5084
- resendOtpV1UserResendOtpPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Details>;
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} email
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(email: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
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} [authorization]
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
- resendOtpV1UserResendOtpPost(authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Details, any, {}>>;
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,15 +4964,13 @@ export const UserApiAxiosParamCreator = function (configuration) {
4964
4964
  /**
4965
4965
  *
4966
4966
  * @summary Resend Otp By Email
4967
- * @param {string} email
4967
+ * @param {string} [authorization]
4968
+ * @param {string} [sessionId]
4968
4969
  * @param {*} [options] Override http request option.
4969
4970
  * @throws {RequiredError}
4970
4971
  */
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)));
4972
+ resendOtpByEmailV1UserResendOtpEmailPost: (authorization_1, sessionId_1, ...args_1) => __awaiter(this, [authorization_1, sessionId_1, ...args_1], void 0, function* (authorization, sessionId, options = {}) {
4973
+ const localVarPath = `/v1/user/resend-otp/email`;
4976
4974
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4977
4975
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4978
4976
  let baseOptions;
@@ -4982,6 +4980,9 @@ export const UserApiAxiosParamCreator = function (configuration) {
4982
4980
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
4983
4981
  const localVarHeaderParameter = {};
4984
4982
  const localVarQueryParameter = {};
4983
+ if (authorization != null) {
4984
+ localVarHeaderParameter['Authorization'] = String(authorization);
4985
+ }
4985
4986
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4986
4987
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4987
4988
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4993,13 +4994,14 @@ export const UserApiAxiosParamCreator = function (configuration) {
4993
4994
  /**
4994
4995
  *
4995
4996
  * @summary Resend Otp
4996
- * @param {string} [authorization]
4997
- * @param {string} [sessionId]
4997
+ * @param {string} email
4998
4998
  * @param {*} [options] Override http request option.
4999
4999
  * @throws {RequiredError}
5000
5000
  */
5001
- resendOtpV1UserResendOtpPost: (authorization_1, sessionId_1, ...args_1) => __awaiter(this, [authorization_1, sessionId_1, ...args_1], void 0, function* (authorization, sessionId, options = {}) {
5002
- const localVarPath = `/v1/user/resend-otp`;
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
+ const localVarPath = `/v1/user/resend-otp/password`;
5003
5005
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5004
5006
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5005
5007
  let baseOptions;
@@ -5009,8 +5011,8 @@ export const UserApiAxiosParamCreator = function (configuration) {
5009
5011
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5010
5012
  const localVarHeaderParameter = {};
5011
5013
  const localVarQueryParameter = {};
5012
- if (authorization != null) {
5013
- localVarHeaderParameter['Authorization'] = String(authorization);
5014
+ if (email !== undefined) {
5015
+ localVarQueryParameter['email'] = email;
5014
5016
  }
5015
5017
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5016
5018
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -5239,14 +5241,15 @@ export const UserApiFp = function (configuration) {
5239
5241
  /**
5240
5242
  *
5241
5243
  * @summary Resend Otp By Email
5242
- * @param {string} email
5244
+ * @param {string} [authorization]
5245
+ * @param {string} [sessionId]
5243
5246
  * @param {*} [options] Override http request option.
5244
5247
  * @throws {RequiredError}
5245
5248
  */
5246
- resendOtpByEmailV1UserResendOtpEmailPost(email, options) {
5249
+ resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options) {
5247
5250
  return __awaiter(this, void 0, void 0, function* () {
5248
5251
  var _a, _b, _c;
5249
- const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(email, options);
5252
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options);
5250
5253
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5251
5254
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.resendOtpByEmailV1UserResendOtpEmailPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5252
5255
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -5255,17 +5258,16 @@ export const UserApiFp = function (configuration) {
5255
5258
  /**
5256
5259
  *
5257
5260
  * @summary Resend Otp
5258
- * @param {string} [authorization]
5259
- * @param {string} [sessionId]
5261
+ * @param {string} email
5260
5262
  * @param {*} [options] Override http request option.
5261
5263
  * @throws {RequiredError}
5262
5264
  */
5263
- resendOtpV1UserResendOtpPost(authorization, sessionId, options) {
5265
+ resendOtpV1UserResendOtpPasswordPost(email, options) {
5264
5266
  return __awaiter(this, void 0, void 0, function* () {
5265
5267
  var _a, _b, _c;
5266
- const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpV1UserResendOtpPost(authorization, sessionId, options);
5268
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.resendOtpV1UserResendOtpPasswordPost(email, options);
5267
5269
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5268
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.resendOtpV1UserResendOtpPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5270
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.resendOtpV1UserResendOtpPasswordPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5269
5271
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5270
5272
  });
5271
5273
  },
@@ -5400,23 +5402,23 @@ export const UserApiFactory = function (configuration, basePath, axios) {
5400
5402
  /**
5401
5403
  *
5402
5404
  * @summary Resend Otp By Email
5403
- * @param {string} email
5405
+ * @param {string} [authorization]
5406
+ * @param {string} [sessionId]
5404
5407
  * @param {*} [options] Override http request option.
5405
5408
  * @throws {RequiredError}
5406
5409
  */
5407
- resendOtpByEmailV1UserResendOtpEmailPost(email, options) {
5408
- return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(axios, basePath));
5410
+ resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options) {
5411
+ return localVarFp.resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options).then((request) => request(axios, basePath));
5409
5412
  },
5410
5413
  /**
5411
5414
  *
5412
5415
  * @summary Resend Otp
5413
- * @param {string} [authorization]
5414
- * @param {string} [sessionId]
5416
+ * @param {string} email
5415
5417
  * @param {*} [options] Override http request option.
5416
5418
  * @throws {RequiredError}
5417
5419
  */
5418
- resendOtpV1UserResendOtpPost(authorization, sessionId, options) {
5419
- return localVarFp.resendOtpV1UserResendOtpPost(authorization, sessionId, options).then((request) => request(axios, basePath));
5420
+ resendOtpV1UserResendOtpPasswordPost(email, options) {
5421
+ return localVarFp.resendOtpV1UserResendOtpPasswordPost(email, options).then((request) => request(axios, basePath));
5420
5422
  },
5421
5423
  /**
5422
5424
  *
@@ -5530,25 +5532,25 @@ export class UserApi extends BaseAPI {
5530
5532
  /**
5531
5533
  *
5532
5534
  * @summary Resend Otp By Email
5533
- * @param {string} email
5535
+ * @param {string} [authorization]
5536
+ * @param {string} [sessionId]
5534
5537
  * @param {*} [options] Override http request option.
5535
5538
  * @throws {RequiredError}
5536
5539
  * @memberof UserApi
5537
5540
  */
5538
- resendOtpByEmailV1UserResendOtpEmailPost(email, options) {
5539
- return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(email, options).then((request) => request(this.axios, this.basePath));
5541
+ resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options) {
5542
+ return UserApiFp(this.configuration).resendOtpByEmailV1UserResendOtpEmailPost(authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
5540
5543
  }
5541
5544
  /**
5542
5545
  *
5543
5546
  * @summary Resend Otp
5544
- * @param {string} [authorization]
5545
- * @param {string} [sessionId]
5547
+ * @param {string} email
5546
5548
  * @param {*} [options] Override http request option.
5547
5549
  * @throws {RequiredError}
5548
5550
  * @memberof UserApi
5549
5551
  */
5550
- resendOtpV1UserResendOtpPost(authorization, sessionId, options) {
5551
- return UserApiFp(this.configuration).resendOtpV1UserResendOtpPost(authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
5552
+ resendOtpV1UserResendOtpPasswordPost(email, options) {
5553
+ return UserApiFp(this.configuration).resendOtpV1UserResendOtpPasswordPost(email, options).then((request) => request(this.axios, this.basePath));
5552
5554
  }
5553
5555
  /**
5554
5556
  *
package/docs/UserApi.md CHANGED
@@ -9,8 +9,8 @@ All URIs are relative to *http://localhost*
9
9
  |[**forgotPasswordV1UserForgotPasswordPost**](#forgotpasswordv1userforgotpasswordpost) | **POST** /v1/user/forgot-password | Forgot Password|
10
10
  |[**getUserDashV1UserMeDashGet**](#getuserdashv1usermedashget) | **GET** /v1/user/me/dash | Get User Dash|
11
11
  |[**getUserV1UserMeGet**](#getuserv1usermeget) | **GET** /v1/user/me | Get User|
12
- |[**resendOtpByEmailV1UserResendOtpEmailPost**](#resendotpbyemailv1userresendotpemailpost) | **POST** /v1/user/resend-otp/{email} | Resend Otp By Email|
13
- |[**resendOtpV1UserResendOtpPost**](#resendotpv1userresendotppost) | **POST** /v1/user/resend-otp | Resend Otp|
12
+ |[**resendOtpByEmailV1UserResendOtpEmailPost**](#resendotpbyemailv1userresendotpemailpost) | **POST** /v1/user/resend-otp/email | Resend Otp By Email|
13
+ |[**resendOtpV1UserResendOtpPasswordPost**](#resendotpv1userresendotppasswordpost) | **POST** /v1/user/resend-otp/password | Resend Otp|
14
14
  |[**resetPasswordV1UserResetPasswordPost**](#resetpasswordv1userresetpasswordpost) | **POST** /v1/user/reset-password | Reset Password|
15
15
  |[**sendVerificationEmailV1UserSendVerificationEmailPost**](#sendverificationemailv1usersendverificationemailpost) | **POST** /v1/user/send-verification-email | Send Verification Email|
16
16
  |[**updateUserV1UserUpdatePatch**](#updateuserv1userupdatepatch) | **PATCH** /v1/user/update | Update User|
@@ -291,10 +291,12 @@ import {
291
291
  const configuration = new Configuration();
292
292
  const apiInstance = new UserApi(configuration);
293
293
 
294
- let email: string; // (default to undefined)
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
- email
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
- | **email** | [**string**] | | defaults to undefined|
307
+ | **authorization** | [**string**] | | (optional) defaults to undefined|
308
+ | **sessionId** | [**string**] | | (optional) defaults to undefined|
306
309
 
307
310
 
308
311
  ### Return type
@@ -327,8 +330,8 @@ No authorization required
327
330
 
328
331
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
329
332
 
330
- # **resendOtpV1UserResendOtpPost**
331
- > Details resendOtpV1UserResendOtpPost()
333
+ # **resendOtpV1UserResendOtpPasswordPost**
334
+ > Details resendOtpV1UserResendOtpPasswordPost()
332
335
 
333
336
 
334
337
  ### Example
@@ -342,12 +345,10 @@ import {
342
345
  const configuration = new Configuration();
343
346
  const apiInstance = new UserApi(configuration);
344
347
 
345
- let authorization: string; // (optional) (default to undefined)
346
- let sessionId: string; // (optional) (default to undefined)
348
+ let email: string; // (default to undefined)
347
349
 
348
- const { status, data } = await apiInstance.resendOtpV1UserResendOtpPost(
349
- authorization,
350
- sessionId
350
+ const { status, data } = await apiInstance.resendOtpV1UserResendOtpPasswordPost(
351
+ email
351
352
  );
352
353
  ```
353
354
 
@@ -355,8 +356,7 @@ const { status, data } = await apiInstance.resendOtpV1UserResendOtpPost(
355
356
 
356
357
  |Name | Type | Description | Notes|
357
358
  |------------- | ------------- | ------------- | -------------|
358
- | **authorization** | [**string**] | | (optional) defaults to undefined|
359
- | **sessionId** | [**string**] | | (optional) defaults to undefined|
359
+ | **email** | [**string**] | | defaults to undefined|
360
360
 
361
361
 
362
362
  ### Return type
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "openapi-generator-cli": "^1.0.0"
5
5
  },
6
6
  "name": "@rasadov/lumoar-sdk",
7
- "version": "1.2.2",
7
+ "version": "1.2.4",
8
8
  "description": "Lumoar API SDK",
9
9
  "main": "dist/index.js",
10
10
  "directories": {