@experts_hub/shared 1.0.352 → 1.0.353

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,6 +177,8 @@ declare class ClientProfileQuestionDto {
177
177
  }
178
178
 
179
179
  declare class ClientCreateAccountDto {
180
+ firstName: string;
181
+ lastName: string;
180
182
  email: string;
181
183
  companyName: string;
182
184
  onBoardedBy: string;
package/dist/index.d.ts CHANGED
@@ -177,6 +177,8 @@ declare class ClientProfileQuestionDto {
177
177
  }
178
178
 
179
179
  declare class ClientCreateAccountDto {
180
+ firstName: string;
181
+ lastName: string;
180
182
  email: string;
181
183
  companyName: string;
182
184
  onBoardedBy: string;
package/dist/index.js CHANGED
@@ -858,6 +858,14 @@ __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);
861
869
  __decorateClass([
862
870
  (0, import_class_validator24.IsNotEmpty)({ message: "Please enter email." }),
863
871
  (0, import_class_validator24.IsEmail)(),
package/dist/index.mjs CHANGED
@@ -666,6 +666,14 @@ import {
666
666
  } from "class-validator";
667
667
  var ClientCreateAccountDto = class {
668
668
  };
669
+ __decorateClass([
670
+ IsNotEmpty21({ message: "Please enter first name." }),
671
+ IsString7({ message: "Please enter valid first name." })
672
+ ], ClientCreateAccountDto.prototype, "firstName", 2);
673
+ __decorateClass([
674
+ IsNotEmpty21({ message: "Please enter last name." }),
675
+ IsString7({ message: "Please enter valid last name." })
676
+ ], ClientCreateAccountDto.prototype, "lastName", 2);
669
677
  __decorateClass([
670
678
  IsNotEmpty21({ message: "Please enter email." }),
671
679
  IsEmail3(),
@@ -1,4 +1,6 @@
1
1
  export declare class ClientCreateAccountDto {
2
+ firstName: string;
3
+ lastName: string;
2
4
  email: string;
3
5
  companyName: string;
4
6
  onBoardedBy: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.352",
3
+ "version": "1.0.353",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",