@experts_hub/shared 1.0.105 → 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;
@@ -692,8 +693,9 @@ interface IFetchPlanResponse {
692
693
  }
693
694
 
694
695
  declare const SYSTEM_PREFERENCES_PATTERN: {
695
- fetchSystemPreferences: string;
696
- updateSystemPreferences: string;
696
+ fetchSystemPreference: string;
697
+ updateSystemPreference: string;
698
+ createSystemPreference: string;
697
699
  };
698
700
 
699
701
  declare enum SystemPreferenceKey {
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;
@@ -692,8 +693,9 @@ interface IFetchPlanResponse {
692
693
  }
693
694
 
694
695
  declare const SYSTEM_PREFERENCES_PATTERN: {
695
- fetchSystemPreferences: string;
696
- updateSystemPreferences: string;
696
+ fetchSystemPreference: string;
697
+ updateSystemPreference: string;
698
+ createSystemPreference: string;
697
699
  };
698
700
 
699
701
  declare enum SystemPreferenceKey {
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)()
@@ -1575,13 +1579,14 @@ var PLAN_PATTERN = {
1575
1579
  fetchPlans: "fetch.plans"
1576
1580
  };
1577
1581
 
1578
- // src/modules/systempreference/pattern/pattern.ts
1582
+ // src/modules/system-preference/pattern/pattern.ts
1579
1583
  var SYSTEM_PREFERENCES_PATTERN = {
1580
- fetchSystemPreferences: "fetch.system.preferences",
1581
- updateSystemPreferences: "update.system.preferences"
1584
+ fetchSystemPreference: "fetch.system.preferences",
1585
+ updateSystemPreference: "update.system.preferences",
1586
+ createSystemPreference: "create.system.preferences"
1582
1587
  };
1583
1588
 
1584
- // src/modules/systempreference/dto/system-preference.dto.ts
1589
+ // src/modules/system-preference/dto/system-preference.dto.ts
1585
1590
  var import_class_validator25 = require("class-validator");
1586
1591
  var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
1587
1592
  SystemPreferenceKey2["EMAIL_NOTIFICATION"] = "EMAIL_NOTIFICATION";
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()
@@ -1609,13 +1613,14 @@ var PLAN_PATTERN = {
1609
1613
  fetchPlans: "fetch.plans"
1610
1614
  };
1611
1615
 
1612
- // src/modules/systempreference/pattern/pattern.ts
1616
+ // src/modules/system-preference/pattern/pattern.ts
1613
1617
  var SYSTEM_PREFERENCES_PATTERN = {
1614
- fetchSystemPreferences: "fetch.system.preferences",
1615
- updateSystemPreferences: "update.system.preferences"
1618
+ fetchSystemPreference: "fetch.system.preferences",
1619
+ updateSystemPreference: "update.system.preferences",
1620
+ createSystemPreference: "create.system.preferences"
1616
1621
  };
1617
1622
 
1618
- // src/modules/systempreference/dto/system-preference.dto.ts
1623
+ // src/modules/system-preference/dto/system-preference.dto.ts
1619
1624
  import {
1620
1625
  IsBoolean as IsBoolean6,
1621
1626
  IsEnum as IsEnum6
@@ -9,4 +9,4 @@ export * from './job';
9
9
  export * from './user/freelancer-profile';
10
10
  export * from './bank';
11
11
  export * from './plan';
12
- export * from './systempreference';
12
+ export * from './system-preference';
@@ -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;
@@ -0,0 +1,5 @@
1
+ export declare const SYSTEM_PREFERENCES_PATTERN: {
2
+ fetchSystemPreference: string;
3
+ updateSystemPreference: string;
4
+ createSystemPreference: string;
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.105",
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/",
@@ -1,4 +0,0 @@
1
- export declare const SYSTEM_PREFERENCES_PATTERN: {
2
- fetchSystemPreferences: string;
3
- updateSystemPreferences: string;
4
- };