@experts_hub/shared 1.0.361 → 1.0.362

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
@@ -203,8 +203,7 @@ declare class ClientProfileQuestionDto {
203
203
  }
204
204
 
205
205
  declare class ClientCreateAccountDto {
206
- firstName: string;
207
- lastName: string;
206
+ fullName: string;
208
207
  email: string;
209
208
  companyName: string;
210
209
  onBoardedBy: string;
package/dist/index.d.ts CHANGED
@@ -203,8 +203,7 @@ declare class ClientProfileQuestionDto {
203
203
  }
204
204
 
205
205
  declare class ClientCreateAccountDto {
206
- firstName: string;
207
- lastName: string;
206
+ fullName: string;
208
207
  email: string;
209
208
  companyName: string;
210
209
  onBoardedBy: string;
package/dist/index.js CHANGED
@@ -907,13 +907,9 @@ var import_class_validator26 = require("class-validator");
907
907
  var ClientCreateAccountDto = class {
908
908
  };
909
909
  __decorateClass([
910
- (0, import_class_validator26.IsNotEmpty)({ message: "Please enter first name." }),
911
- (0, import_class_validator26.IsString)({ message: "Please enter valid first name." })
912
- ], ClientCreateAccountDto.prototype, "firstName", 2);
913
- __decorateClass([
914
- (0, import_class_validator26.IsNotEmpty)({ message: "Please enter last name." }),
915
- (0, import_class_validator26.IsString)({ message: "Please enter valid last name." })
916
- ], ClientCreateAccountDto.prototype, "lastName", 2);
910
+ (0, import_class_validator26.IsNotEmpty)({ message: "Please enter full name." }),
911
+ (0, import_class_validator26.IsString)({ message: "Please enter valid full name." })
912
+ ], ClientCreateAccountDto.prototype, "fullName", 2);
917
913
  __decorateClass([
918
914
  (0, import_class_validator26.IsNotEmpty)({ message: "Please enter email." }),
919
915
  (0, import_class_validator26.IsEmail)(),
package/dist/index.mjs CHANGED
@@ -708,13 +708,9 @@ import {
708
708
  var ClientCreateAccountDto = class {
709
709
  };
710
710
  __decorateClass([
711
- IsNotEmpty23({ message: "Please enter first name." }),
712
- IsString8({ message: "Please enter valid first name." })
713
- ], ClientCreateAccountDto.prototype, "firstName", 2);
714
- __decorateClass([
715
- IsNotEmpty23({ message: "Please enter last name." }),
716
- IsString8({ message: "Please enter valid last name." })
717
- ], ClientCreateAccountDto.prototype, "lastName", 2);
711
+ IsNotEmpty23({ message: "Please enter full name." }),
712
+ IsString8({ message: "Please enter valid full name." })
713
+ ], ClientCreateAccountDto.prototype, "fullName", 2);
718
714
  __decorateClass([
719
715
  IsNotEmpty23({ message: "Please enter email." }),
720
716
  IsEmail3(),
@@ -1,6 +1,5 @@
1
1
  export declare class ClientCreateAccountDto {
2
- firstName: string;
3
- lastName: string;
2
+ fullName: string;
4
3
  email: string;
5
4
  companyName: string;
6
5
  onBoardedBy: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.361",
3
+ "version": "1.0.362",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",