@experts_hub/shared 1.0.724 → 1.0.725

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/dist/index.d.mts CHANGED
@@ -152,7 +152,8 @@ declare const OTP_PATTERN: {
152
152
  };
153
153
 
154
154
  declare enum SendGuestOtpPurposeEnum {
155
- ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
155
+ SIGN_UP = "SIGN_UP",
156
+ LOGIN = "LOGIN"
156
157
  }
157
158
  declare enum SendGuestOtpScopeEnum {
158
159
  CLIENT = "CLIENT",
@@ -167,7 +168,7 @@ declare class SendGuestOtpDto {
167
168
  }
168
169
 
169
170
  declare enum SendLoginOtpPurposeEnum {
170
- ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
171
+ LOGIN = "LOGIN"
171
172
  }
172
173
  declare enum SendLoginOtpScopeEnum {
173
174
  CLIENT = "CLIENT",
@@ -180,7 +181,8 @@ declare class SendLoginOtpDto {
180
181
  }
181
182
 
182
183
  declare enum VerifyGuestOtpPurposeEnum {
183
- ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
184
+ SIGN_UP = "SIGN_UP",
185
+ LOGIN = "LOGIN"
184
186
  }
185
187
  declare class VerifyGuestOtpDto {
186
188
  target: string;
package/dist/index.d.ts CHANGED
@@ -152,7 +152,8 @@ declare const OTP_PATTERN: {
152
152
  };
153
153
 
154
154
  declare enum SendGuestOtpPurposeEnum {
155
- ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
155
+ SIGN_UP = "SIGN_UP",
156
+ LOGIN = "LOGIN"
156
157
  }
157
158
  declare enum SendGuestOtpScopeEnum {
158
159
  CLIENT = "CLIENT",
@@ -167,7 +168,7 @@ declare class SendGuestOtpDto {
167
168
  }
168
169
 
169
170
  declare enum SendLoginOtpPurposeEnum {
170
- ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
171
+ LOGIN = "LOGIN"
171
172
  }
172
173
  declare enum SendLoginOtpScopeEnum {
173
174
  CLIENT = "CLIENT",
@@ -180,7 +181,8 @@ declare class SendLoginOtpDto {
180
181
  }
181
182
 
182
183
  declare enum VerifyGuestOtpPurposeEnum {
183
- ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
184
+ SIGN_UP = "SIGN_UP",
185
+ LOGIN = "LOGIN"
184
186
  }
185
187
  declare class VerifyGuestOtpDto {
186
188
  target: string;
package/dist/index.js CHANGED
@@ -797,7 +797,8 @@ var OTP_PATTERN = {
797
797
  // src/modules/otp/dto/send-guest-otp.dto.ts
798
798
  var import_class_validator15 = require("class-validator");
799
799
  var SendGuestOtpPurposeEnum = /* @__PURE__ */ ((SendGuestOtpPurposeEnum2) => {
800
- SendGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
800
+ SendGuestOtpPurposeEnum2["SIGN_UP"] = "SIGN_UP";
801
+ SendGuestOtpPurposeEnum2["LOGIN"] = "LOGIN";
801
802
  return SendGuestOtpPurposeEnum2;
802
803
  })(SendGuestOtpPurposeEnum || {});
803
804
  var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
@@ -831,7 +832,7 @@ __decorateClass([
831
832
  // src/modules/otp/dto/send-login-otp.dto.ts
832
833
  var import_class_validator16 = require("class-validator");
833
834
  var SendLoginOtpPurposeEnum = /* @__PURE__ */ ((SendLoginOtpPurposeEnum2) => {
834
- SendLoginOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
835
+ SendLoginOtpPurposeEnum2["LOGIN"] = "LOGIN";
835
836
  return SendLoginOtpPurposeEnum2;
836
837
  })(SendLoginOtpPurposeEnum || {});
837
838
  var SendLoginOtpScopeEnum = /* @__PURE__ */ ((SendLoginOtpScopeEnum2) => {
@@ -857,7 +858,8 @@ __decorateClass([
857
858
  // src/modules/otp/dto/verify-guest-otp.dto.ts
858
859
  var import_class_validator17 = require("class-validator");
859
860
  var VerifyGuestOtpPurposeEnum = /* @__PURE__ */ ((VerifyGuestOtpPurposeEnum2) => {
860
- VerifyGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
861
+ VerifyGuestOtpPurposeEnum2["SIGN_UP"] = "SIGN_UP";
862
+ VerifyGuestOtpPurposeEnum2["LOGIN"] = "LOGIN";
861
863
  return VerifyGuestOtpPurposeEnum2;
862
864
  })(VerifyGuestOtpPurposeEnum || {});
863
865
  var VerifyGuestOtpDto = class {
package/dist/index.mjs CHANGED
@@ -323,7 +323,8 @@ var OTP_PATTERN = {
323
323
  // src/modules/otp/dto/send-guest-otp.dto.ts
324
324
  import { IsEnum as IsEnum9, IsNotEmpty as IsNotEmpty14, IsOptional as IsOptional5, IsString as IsString5 } from "class-validator";
325
325
  var SendGuestOtpPurposeEnum = /* @__PURE__ */ ((SendGuestOtpPurposeEnum2) => {
326
- SendGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
326
+ SendGuestOtpPurposeEnum2["SIGN_UP"] = "SIGN_UP";
327
+ SendGuestOtpPurposeEnum2["LOGIN"] = "LOGIN";
327
328
  return SendGuestOtpPurposeEnum2;
328
329
  })(SendGuestOtpPurposeEnum || {});
329
330
  var SendGuestOtpScopeEnum = /* @__PURE__ */ ((SendGuestOtpScopeEnum2) => {
@@ -357,7 +358,7 @@ __decorateClass([
357
358
  // src/modules/otp/dto/send-login-otp.dto.ts
358
359
  import { IsEnum as IsEnum10, IsNotEmpty as IsNotEmpty15, IsString as IsString6 } from "class-validator";
359
360
  var SendLoginOtpPurposeEnum = /* @__PURE__ */ ((SendLoginOtpPurposeEnum2) => {
360
- SendLoginOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
361
+ SendLoginOtpPurposeEnum2["LOGIN"] = "LOGIN";
361
362
  return SendLoginOtpPurposeEnum2;
362
363
  })(SendLoginOtpPurposeEnum || {});
363
364
  var SendLoginOtpScopeEnum = /* @__PURE__ */ ((SendLoginOtpScopeEnum2) => {
@@ -383,7 +384,8 @@ __decorateClass([
383
384
  // src/modules/otp/dto/verify-guest-otp.dto.ts
384
385
  import { IsEnum as IsEnum11, IsNotEmpty as IsNotEmpty16, IsString as IsString7, Length } from "class-validator";
385
386
  var VerifyGuestOtpPurposeEnum = /* @__PURE__ */ ((VerifyGuestOtpPurposeEnum2) => {
386
- VerifyGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
387
+ VerifyGuestOtpPurposeEnum2["SIGN_UP"] = "SIGN_UP";
388
+ VerifyGuestOtpPurposeEnum2["LOGIN"] = "LOGIN";
387
389
  return VerifyGuestOtpPurposeEnum2;
388
390
  })(VerifyGuestOtpPurposeEnum || {});
389
391
  var VerifyGuestOtpDto = class {
@@ -1,5 +1,6 @@
1
1
  declare enum SendGuestOtpPurposeEnum {
2
- ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
2
+ SIGN_UP = "SIGN_UP",
3
+ LOGIN = "LOGIN"
3
4
  }
4
5
  declare enum SendGuestOtpScopeEnum {
5
6
  CLIENT = "CLIENT",
@@ -1,5 +1,5 @@
1
1
  declare enum SendLoginOtpPurposeEnum {
2
- ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
2
+ LOGIN = "LOGIN"
3
3
  }
4
4
  declare enum SendLoginOtpScopeEnum {
5
5
  CLIENT = "CLIENT",
@@ -1,5 +1,6 @@
1
1
  declare enum VerifyGuestOtpPurposeEnum {
2
- ACCOUNT_VERIFICATION = "ACCOUNT_VERIFICATION"
2
+ SIGN_UP = "SIGN_UP",
3
+ LOGIN = "LOGIN"
3
4
  }
4
5
  export declare class VerifyGuestOtpDto {
5
6
  target: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.724",
3
+ "version": "1.0.725",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",