@experts_hub/shared 1.0.696 → 1.0.698

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
@@ -39,6 +39,7 @@ declare class LoginDto {
39
39
  email: string;
40
40
  password: string;
41
41
  scope: ScopeEnum$3;
42
+ ip: string;
42
43
  }
43
44
 
44
45
  declare enum LoginViaOtpScopeEnum {
@@ -51,6 +52,7 @@ declare class LoginViaOtpDto {
51
52
  email: string;
52
53
  otp: string;
53
54
  scope: LoginViaOtpScopeEnum;
55
+ ip: string;
54
56
  }
55
57
 
56
58
  declare class RefreshDto {
@@ -227,6 +229,7 @@ declare class FreelancerCreateAccountDto {
227
229
  mobile: string;
228
230
  countryISOCode: string;
229
231
  onBoardedBy: string;
232
+ ip: string;
230
233
  referralCode?: string;
231
234
  }
232
235
 
package/dist/index.d.ts CHANGED
@@ -39,6 +39,7 @@ declare class LoginDto {
39
39
  email: string;
40
40
  password: string;
41
41
  scope: ScopeEnum$3;
42
+ ip: string;
42
43
  }
43
44
 
44
45
  declare enum LoginViaOtpScopeEnum {
@@ -51,6 +52,7 @@ declare class LoginViaOtpDto {
51
52
  email: string;
52
53
  otp: string;
53
54
  scope: LoginViaOtpScopeEnum;
55
+ ip: string;
54
56
  }
55
57
 
56
58
  declare class RefreshDto {
@@ -227,6 +229,7 @@ declare class FreelancerCreateAccountDto {
227
229
  mobile: string;
228
230
  countryISOCode: string;
229
231
  onBoardedBy: string;
232
+ ip: string;
230
233
  referralCode?: string;
231
234
  }
232
235
 
package/dist/index.js CHANGED
@@ -542,6 +542,9 @@ __decorateClass([
542
542
  message: `Scope must be one of: ${Object.values(ScopeEnum).join(", ")}`
543
543
  })
544
544
  ], LoginDto.prototype, "scope", 2);
545
+ __decorateClass([
546
+ (0, import_class_validator.IsOptional)()
547
+ ], LoginDto.prototype, "ip", 2);
545
548
 
546
549
  // src/modules/authentication/dto/login-via-otp.dto.ts
547
550
  var import_class_validator2 = require("class-validator");
@@ -565,6 +568,9 @@ __decorateClass([
565
568
  message: `Scope must be one of: ${Object.values(LoginViaOtpScopeEnum).join(", ")}`
566
569
  })
567
570
  ], LoginViaOtpDto.prototype, "scope", 2);
571
+ __decorateClass([
572
+ (0, import_class_validator2.IsOptional)()
573
+ ], LoginViaOtpDto.prototype, "ip", 2);
568
574
 
569
575
  // src/modules/authentication/dto/refresh.dto.ts
570
576
  var import_class_validator3 = require("class-validator");
@@ -1106,6 +1112,9 @@ __decorateClass([
1106
1112
  __decorateClass([
1107
1113
  (0, import_class_validator23.IsOptional)()
1108
1114
  ], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
1115
+ __decorateClass([
1116
+ (0, import_class_validator23.IsOptional)()
1117
+ ], FreelancerCreateAccountDto.prototype, "ip", 2);
1109
1118
  __decorateClass([
1110
1119
  (0, import_class_validator23.IsOptional)()
1111
1120
  ], FreelancerCreateAccountDto.prototype, "referralCode", 2);