@experts_hub/shared 1.0.351 → 1.0.352

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
@@ -177,12 +177,8 @@ declare class ClientProfileQuestionDto {
177
177
  }
178
178
 
179
179
  declare class ClientCreateAccountDto {
180
- firstName: string;
181
- lastName: string;
182
180
  email: string;
183
181
  companyName: string;
184
- password: string;
185
- confirmPassword: string;
186
182
  onBoardedBy: string;
187
183
  }
188
184
 
package/dist/index.d.ts CHANGED
@@ -177,12 +177,8 @@ declare class ClientProfileQuestionDto {
177
177
  }
178
178
 
179
179
  declare class ClientCreateAccountDto {
180
- firstName: string;
181
- lastName: string;
182
180
  email: string;
183
181
  companyName: string;
184
- password: string;
185
- confirmPassword: string;
186
182
  onBoardedBy: string;
187
183
  }
188
184
 
package/dist/index.js CHANGED
@@ -858,14 +858,6 @@ __decorateClass([
858
858
  var import_class_validator24 = require("class-validator");
859
859
  var ClientCreateAccountDto = class {
860
860
  };
861
- __decorateClass([
862
- (0, import_class_validator24.IsNotEmpty)({ message: "Please enter first name." }),
863
- (0, import_class_validator24.IsString)({ message: "Please enter valid first name." })
864
- ], ClientCreateAccountDto.prototype, "firstName", 2);
865
- __decorateClass([
866
- (0, import_class_validator24.IsNotEmpty)({ message: "Please enter last name." }),
867
- (0, import_class_validator24.IsString)({ message: "Please enter valid last name." })
868
- ], ClientCreateAccountDto.prototype, "lastName", 2);
869
861
  __decorateClass([
870
862
  (0, import_class_validator24.IsNotEmpty)({ message: "Please enter email." }),
871
863
  (0, import_class_validator24.IsEmail)(),
@@ -875,18 +867,6 @@ __decorateClass([
875
867
  (0, import_class_validator24.IsNotEmpty)({ message: "Please enter company name." }),
876
868
  (0, import_class_validator24.IsString)({ message: "Please enter valid company name." })
877
869
  ], ClientCreateAccountDto.prototype, "companyName", 2);
878
- __decorateClass([
879
- (0, import_class_validator24.IsNotEmpty)({ message: "Please enter password." }),
880
- (0, import_class_validator24.MinLength)(6),
881
- (0, import_class_validator24.MaxLength)(32),
882
- (0, import_class_validator24.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
883
- message: "Password must include letters, numbers and symbols."
884
- })
885
- ], ClientCreateAccountDto.prototype, "password", 2);
886
- __decorateClass([
887
- (0, import_class_validator24.IsNotEmpty)({ message: "Please enter confirm password." }),
888
- Match("password", { message: "Passwords do not match" })
889
- ], ClientCreateAccountDto.prototype, "confirmPassword", 2);
890
870
  __decorateClass([
891
871
  (0, import_class_validator24.IsOptional)()
892
872
  ], ClientCreateAccountDto.prototype, "onBoardedBy", 2);
package/dist/index.mjs CHANGED
@@ -661,22 +661,11 @@ __decorateClass([
661
661
  import {
662
662
  IsNotEmpty as IsNotEmpty21,
663
663
  IsEmail as IsEmail3,
664
- Matches as Matches4,
665
- MinLength as MinLength4,
666
- MaxLength as MaxLength4,
667
664
  IsString as IsString7,
668
665
  IsOptional as IsOptional6
669
666
  } from "class-validator";
670
667
  var ClientCreateAccountDto = class {
671
668
  };
672
- __decorateClass([
673
- IsNotEmpty21({ message: "Please enter first name." }),
674
- IsString7({ message: "Please enter valid first name." })
675
- ], ClientCreateAccountDto.prototype, "firstName", 2);
676
- __decorateClass([
677
- IsNotEmpty21({ message: "Please enter last name." }),
678
- IsString7({ message: "Please enter valid last name." })
679
- ], ClientCreateAccountDto.prototype, "lastName", 2);
680
669
  __decorateClass([
681
670
  IsNotEmpty21({ message: "Please enter email." }),
682
671
  IsEmail3(),
@@ -686,18 +675,6 @@ __decorateClass([
686
675
  IsNotEmpty21({ message: "Please enter company name." }),
687
676
  IsString7({ message: "Please enter valid company name." })
688
677
  ], ClientCreateAccountDto.prototype, "companyName", 2);
689
- __decorateClass([
690
- IsNotEmpty21({ message: "Please enter password." }),
691
- MinLength4(6),
692
- MaxLength4(32),
693
- Matches4(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
694
- message: "Password must include letters, numbers and symbols."
695
- })
696
- ], ClientCreateAccountDto.prototype, "password", 2);
697
- __decorateClass([
698
- IsNotEmpty21({ message: "Please enter confirm password." }),
699
- Match("password", { message: "Passwords do not match" })
700
- ], ClientCreateAccountDto.prototype, "confirmPassword", 2);
701
678
  __decorateClass([
702
679
  IsOptional6()
703
680
  ], ClientCreateAccountDto.prototype, "onBoardedBy", 2);
@@ -1,9 +1,5 @@
1
1
  export declare class ClientCreateAccountDto {
2
- firstName: string;
3
- lastName: string;
4
2
  email: string;
5
3
  companyName: string;
6
- password: string;
7
- confirmPassword: string;
8
4
  onBoardedBy: string;
9
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.351",
3
+ "version": "1.0.352",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",