@experts_hub/shared 1.0.240 → 1.0.242

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
@@ -493,6 +493,7 @@ declare class UpdateFreelancerProfileDto {
493
493
  firstName?: string;
494
494
  lastName?: string;
495
495
  email?: string;
496
+ mobileCode?: string;
496
497
  mobile?: string;
497
498
  countryId?: number;
498
499
  currency?: string;
@@ -1641,7 +1642,6 @@ declare class CreateClientDto {
1641
1642
  kindOfHiring: string;
1642
1643
  modeOfHire: string;
1643
1644
  foundUsOn: string;
1644
- OTHER?: string;
1645
1645
  foundUsOnDetail?: string;
1646
1646
  }
1647
1647
 
@@ -1670,7 +1670,6 @@ declare class UpdateClientDto {
1670
1670
  kindOfHiring: string;
1671
1671
  modeOfHire: string;
1672
1672
  foundUsOn: string;
1673
- OTHER?: string;
1674
1673
  foundUsOnDetail?: string;
1675
1674
  }
1676
1675
 
@@ -1692,7 +1691,6 @@ interface ICreateClientPayload {
1692
1691
  kindOfHiring: string;
1693
1692
  modeOfHire: string;
1694
1693
  foundUsOn: string;
1695
- OTHER?: string;
1696
1694
  foundUsOnDetail?: string;
1697
1695
  }
1698
1696
  interface ICreateClientResponse {
@@ -1711,7 +1709,6 @@ interface IUpdateClientPayload {
1711
1709
  kindOfHiring?: string;
1712
1710
  modeOfHire?: string;
1713
1711
  foundUsOn?: string;
1714
- OTHER?: string;
1715
1712
  foundUsOnDetail?: string;
1716
1713
  }
1717
1714
  interface IUpdateClientResponse {
package/dist/index.d.ts CHANGED
@@ -493,6 +493,7 @@ declare class UpdateFreelancerProfileDto {
493
493
  firstName?: string;
494
494
  lastName?: string;
495
495
  email?: string;
496
+ mobileCode?: string;
496
497
  mobile?: string;
497
498
  countryId?: number;
498
499
  currency?: string;
@@ -1641,7 +1642,6 @@ declare class CreateClientDto {
1641
1642
  kindOfHiring: string;
1642
1643
  modeOfHire: string;
1643
1644
  foundUsOn: string;
1644
- OTHER?: string;
1645
1645
  foundUsOnDetail?: string;
1646
1646
  }
1647
1647
 
@@ -1670,7 +1670,6 @@ declare class UpdateClientDto {
1670
1670
  kindOfHiring: string;
1671
1671
  modeOfHire: string;
1672
1672
  foundUsOn: string;
1673
- OTHER?: string;
1674
1673
  foundUsOnDetail?: string;
1675
1674
  }
1676
1675
 
@@ -1692,7 +1691,6 @@ interface ICreateClientPayload {
1692
1691
  kindOfHiring: string;
1693
1692
  modeOfHire: string;
1694
1693
  foundUsOn: string;
1695
- OTHER?: string;
1696
1694
  foundUsOnDetail?: string;
1697
1695
  }
1698
1696
  interface ICreateClientResponse {
@@ -1711,7 +1709,6 @@ interface IUpdateClientPayload {
1711
1709
  kindOfHiring?: string;
1712
1710
  modeOfHire?: string;
1713
1711
  foundUsOn?: string;
1714
- OTHER?: string;
1715
1712
  foundUsOnDetail?: string;
1716
1713
  }
1717
1714
  interface IUpdateClientResponse {
package/dist/index.js CHANGED
@@ -1071,6 +1071,10 @@ __decorateClass([
1071
1071
  (0, import_class_validator34.IsOptional)(),
1072
1072
  (0, import_class_validator34.IsEmail)()
1073
1073
  ], UpdateFreelancerProfileDto.prototype, "email", 2);
1074
+ __decorateClass([
1075
+ (0, import_class_validator34.IsOptional)(),
1076
+ (0, import_class_validator34.IsString)()
1077
+ ], UpdateFreelancerProfileDto.prototype, "mobileCode", 2);
1074
1078
  __decorateClass([
1075
1079
  (0, import_class_validator34.IsOptional)(),
1076
1080
  (0, import_class_validator34.IsString)()
@@ -1841,7 +1845,7 @@ __decorateClass([
1841
1845
  (0, import_typeorm9.Column)({ name: "phone_number", type: "varchar", nullable: true })
1842
1846
  ], CompanyProfile.prototype, "phoneNumber", 2);
1843
1847
  __decorateClass([
1844
- (0, import_typeorm9.Column)({ name: "skills", type: "text", nullable: true })
1848
+ (0, import_typeorm9.Column)("text", { name: "skills", array: true, nullable: true })
1845
1849
  ], CompanyProfile.prototype, "skills", 2);
1846
1850
  __decorateClass([
1847
1851
  (0, import_typeorm9.Column)({ name: "required_freelancer", type: "varchar", nullable: true })
@@ -3821,10 +3825,6 @@ __decorateClass([
3821
3825
  (0, import_class_validator50.IsNotEmpty)({ message: "Please let us know how you found us." }),
3822
3826
  (0, import_class_validator50.IsString)()
3823
3827
  ], CreateClientDto.prototype, "foundUsOn", 2);
3824
- __decorateClass([
3825
- (0, import_class_validator50.IsOptional)(),
3826
- (0, import_class_validator50.IsString)()
3827
- ], CreateClientDto.prototype, "OTHER", 2);
3828
3828
  __decorateClass([
3829
3829
  (0, import_class_validator50.IsOptional)(),
3830
3830
  (0, import_class_validator50.IsString)()
@@ -3899,10 +3899,6 @@ __decorateClass([
3899
3899
  (0, import_class_validator52.IsNotEmpty)({ message: "Please let us know how you found us." }),
3900
3900
  (0, import_class_validator52.IsString)()
3901
3901
  ], UpdateClientDto.prototype, "foundUsOn", 2);
3902
- __decorateClass([
3903
- (0, import_class_validator52.IsOptional)(),
3904
- (0, import_class_validator52.IsString)()
3905
- ], UpdateClientDto.prototype, "OTHER", 2);
3906
3902
  __decorateClass([
3907
3903
  (0, import_class_validator52.IsOptional)(),
3908
3904
  (0, import_class_validator52.IsString)()
package/dist/index.mjs CHANGED
@@ -942,6 +942,10 @@ __decorateClass([
942
942
  IsOptional8(),
943
943
  IsEmail6()
944
944
  ], UpdateFreelancerProfileDto.prototype, "email", 2);
945
+ __decorateClass([
946
+ IsOptional8(),
947
+ IsString16()
948
+ ], UpdateFreelancerProfileDto.prototype, "mobileCode", 2);
945
949
  __decorateClass([
946
950
  IsOptional8(),
947
951
  IsString16()
@@ -1787,7 +1791,7 @@ __decorateClass([
1787
1791
  Column9({ name: "phone_number", type: "varchar", nullable: true })
1788
1792
  ], CompanyProfile.prototype, "phoneNumber", 2);
1789
1793
  __decorateClass([
1790
- Column9({ name: "skills", type: "text", nullable: true })
1794
+ Column9("text", { name: "skills", array: true, nullable: true })
1791
1795
  ], CompanyProfile.prototype, "skills", 2);
1792
1796
  __decorateClass([
1793
1797
  Column9({ name: "required_freelancer", type: "varchar", nullable: true })
@@ -3930,10 +3934,6 @@ __decorateClass([
3930
3934
  IsNotEmpty42({ message: "Please let us know how you found us." }),
3931
3935
  IsString28()
3932
3936
  ], CreateClientDto.prototype, "foundUsOn", 2);
3933
- __decorateClass([
3934
- IsOptional21(),
3935
- IsString28()
3936
- ], CreateClientDto.prototype, "OTHER", 2);
3937
3937
  __decorateClass([
3938
3938
  IsOptional21(),
3939
3939
  IsString28()
@@ -4018,10 +4018,6 @@ __decorateClass([
4018
4018
  IsNotEmpty44({ message: "Please let us know how you found us." }),
4019
4019
  IsString30()
4020
4020
  ], UpdateClientDto.prototype, "foundUsOn", 2);
4021
- __decorateClass([
4022
- IsOptional22(),
4023
- IsString30()
4024
- ], UpdateClientDto.prototype, "OTHER", 2);
4025
4021
  __decorateClass([
4026
4022
  IsOptional22(),
4027
4023
  IsString30()
@@ -16,7 +16,6 @@ export interface ICreateClientPayload {
16
16
  kindOfHiring: string;
17
17
  modeOfHire: string;
18
18
  foundUsOn: string;
19
- OTHER?: string;
20
19
  foundUsOnDetail?: string;
21
20
  }
22
21
  export interface ICreateClientResponse {
@@ -35,7 +34,6 @@ export interface IUpdateClientPayload {
35
34
  kindOfHiring?: string;
36
35
  modeOfHire?: string;
37
36
  foundUsOn?: string;
38
- OTHER?: string;
39
37
  foundUsOnDetail?: string;
40
38
  }
41
39
  export interface IUpdateClientResponse {
@@ -20,6 +20,5 @@ export declare class CreateClientDto {
20
20
  kindOfHiring: string;
21
21
  modeOfHire: string;
22
22
  foundUsOn: string;
23
- OTHER?: string;
24
23
  foundUsOnDetail?: string;
25
24
  }
@@ -19,6 +19,5 @@ export declare class UpdateClientDto {
19
19
  kindOfHiring: string;
20
20
  modeOfHire: string;
21
21
  foundUsOn: string;
22
- OTHER?: string;
23
22
  foundUsOnDetail?: string;
24
23
  }
@@ -12,6 +12,7 @@ export declare class UpdateFreelancerProfileDto {
12
12
  firstName?: string;
13
13
  lastName?: string;
14
14
  email?: string;
15
+ mobileCode?: string;
15
16
  mobile?: string;
16
17
  countryId?: number;
17
18
  currency?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.240",
3
+ "version": "1.0.242",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",