@experts_hub/shared 1.0.106 → 1.0.107

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
@@ -85,7 +85,8 @@ declare class ClientProfileQuestionDto {
85
85
  }
86
86
 
87
87
  declare class ClientCreateAccountDto {
88
- fullName: string;
88
+ firstName: string;
89
+ lastName: string;
89
90
  email: string;
90
91
  companyName: string;
91
92
  password: string;
package/dist/index.d.ts CHANGED
@@ -85,7 +85,8 @@ declare class ClientProfileQuestionDto {
85
85
  }
86
86
 
87
87
  declare class ClientCreateAccountDto {
88
- fullName: string;
88
+ firstName: string;
89
+ lastName: string;
89
90
  email: string;
90
91
  companyName: string;
91
92
  password: string;
package/dist/index.js CHANGED
@@ -361,9 +361,13 @@ var import_class_validator11 = require("class-validator");
361
361
  var ClientCreateAccountDto = class {
362
362
  };
363
363
  __decorateClass([
364
- (0, import_class_validator11.IsNotEmpty)({ message: "Please enter full name." }),
365
- (0, import_class_validator11.IsString)({ message: "Please enter valid full name." })
366
- ], ClientCreateAccountDto.prototype, "fullName", 2);
364
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter first name." }),
365
+ (0, import_class_validator11.IsString)({ message: "Please enter valid first name." })
366
+ ], ClientCreateAccountDto.prototype, "firstName", 2);
367
+ __decorateClass([
368
+ (0, import_class_validator11.IsNotEmpty)({ message: "Please enter last name." }),
369
+ (0, import_class_validator11.IsString)({ message: "Please enter valid last name." })
370
+ ], ClientCreateAccountDto.prototype, "lastName", 2);
367
371
  __decorateClass([
368
372
  (0, import_class_validator11.IsNotEmpty)({ message: "Please enter email." }),
369
373
  (0, import_class_validator11.IsEmail)()
package/dist/index.mjs CHANGED
@@ -296,9 +296,13 @@ import {
296
296
  var ClientCreateAccountDto = class {
297
297
  };
298
298
  __decorateClass([
299
- IsNotEmpty10({ message: "Please enter full name." }),
300
- IsString5({ message: "Please enter valid full name." })
301
- ], ClientCreateAccountDto.prototype, "fullName", 2);
299
+ IsNotEmpty10({ message: "Please enter first name." }),
300
+ IsString5({ message: "Please enter valid first name." })
301
+ ], ClientCreateAccountDto.prototype, "firstName", 2);
302
+ __decorateClass([
303
+ IsNotEmpty10({ message: "Please enter last name." }),
304
+ IsString5({ message: "Please enter valid last name." })
305
+ ], ClientCreateAccountDto.prototype, "lastName", 2);
302
306
  __decorateClass([
303
307
  IsNotEmpty10({ message: "Please enter email." }),
304
308
  IsEmail2()
@@ -1,5 +1,6 @@
1
1
  export declare class ClientCreateAccountDto {
2
- fullName: string;
2
+ firstName: string;
3
+ lastName: string;
3
4
  email: string;
4
5
  companyName: string;
5
6
  password: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.106",
3
+ "version": "1.0.107",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",