@experts_hub/shared 1.0.625 → 1.0.627

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.
@@ -22,4 +22,5 @@ export declare class FreelancerAssessment extends BaseEntity {
22
22
  interviewSummary: string;
23
23
  status: AssessmentStatusEnum;
24
24
  taskId: string;
25
+ metaData: any;
25
26
  }
package/dist/index.d.mts CHANGED
@@ -2054,6 +2054,7 @@ declare class FreelancerAssessment extends BaseEntity {
2054
2054
  interviewSummary: string;
2055
2055
  status: AssessmentStatusEnum;
2056
2056
  taskId: string;
2057
+ metaData: any;
2057
2058
  }
2058
2059
 
2059
2060
  declare enum DocumentType {
@@ -2986,14 +2987,8 @@ declare class CreateClientDto {
2986
2987
  password: string;
2987
2988
  confirmPassword: string;
2988
2989
  companyName: string;
2989
- skills: string[];
2990
- requiredFreelancer: string;
2991
- kindOfHiring: string;
2992
- modeOfHire: string;
2993
2990
  foundUsOn: string;
2994
2991
  foundUsOnDetail?: string;
2995
- hiringCommisionTypeForFte?: string;
2996
- hiringCommissionValueForFte?: string;
2997
2992
  about?: string;
2998
2993
  webSite?: string;
2999
2994
  companyAddress?: string;
@@ -3016,14 +3011,8 @@ declare class UpdateClientDto {
3016
3011
  phoneNumber?: string;
3017
3012
  password?: string;
3018
3013
  companyName: string;
3019
- skills: string[];
3020
- requiredFreelancer: string;
3021
- kindOfHiring: string;
3022
- modeOfHire: string;
3023
3014
  foundUsOn: string;
3024
3015
  foundUsOnDetail?: string;
3025
- hiringCommisionTypeForFte?: string;
3026
- hiringCommissionValueForFte?: string;
3027
3016
  about?: string;
3028
3017
  webSite?: string;
3029
3018
  companyAddress?: string;
package/dist/index.d.ts CHANGED
@@ -2054,6 +2054,7 @@ declare class FreelancerAssessment extends BaseEntity {
2054
2054
  interviewSummary: string;
2055
2055
  status: AssessmentStatusEnum;
2056
2056
  taskId: string;
2057
+ metaData: any;
2057
2058
  }
2058
2059
 
2059
2060
  declare enum DocumentType {
@@ -2986,14 +2987,8 @@ declare class CreateClientDto {
2986
2987
  password: string;
2987
2988
  confirmPassword: string;
2988
2989
  companyName: string;
2989
- skills: string[];
2990
- requiredFreelancer: string;
2991
- kindOfHiring: string;
2992
- modeOfHire: string;
2993
2990
  foundUsOn: string;
2994
2991
  foundUsOnDetail?: string;
2995
- hiringCommisionTypeForFte?: string;
2996
- hiringCommissionValueForFte?: string;
2997
2992
  about?: string;
2998
2993
  webSite?: string;
2999
2994
  companyAddress?: string;
@@ -3016,14 +3011,8 @@ declare class UpdateClientDto {
3016
3011
  phoneNumber?: string;
3017
3012
  password?: string;
3018
3013
  companyName: string;
3019
- skills: string[];
3020
- requiredFreelancer: string;
3021
- kindOfHiring: string;
3022
- modeOfHire: string;
3023
3014
  foundUsOn: string;
3024
3015
  foundUsOnDetail?: string;
3025
- hiringCommisionTypeForFte?: string;
3026
- hiringCommissionValueForFte?: string;
3027
3016
  about?: string;
3028
3017
  webSite?: string;
3029
3018
  companyAddress?: string;
package/dist/index.js CHANGED
@@ -5968,6 +5968,9 @@ __decorateClass([
5968
5968
  __decorateClass([
5969
5969
  (0, import_typeorm44.Column)({ name: "task_id", type: "varchar", nullable: true })
5970
5970
  ], FreelancerAssessment.prototype, "taskId", 2);
5971
+ __decorateClass([
5972
+ (0, import_typeorm44.Column)({ name: "meta_data", type: "jsonb", nullable: true })
5973
+ ], FreelancerAssessment.prototype, "metaData", 2);
5971
5974
  FreelancerAssessment = __decorateClass([
5972
5975
  (0, import_typeorm44.Entity)("freelancer_assessments")
5973
5976
  ], FreelancerAssessment);
@@ -8418,18 +8421,6 @@ var CLIENT_ADMIN_PATTERNS = {
8418
8421
  // src/modules/client-admin/dto/create-client.dto.ts
8419
8422
  var import_class_validator78 = require("class-validator");
8420
8423
  var import_class_transformer11 = require("class-transformer");
8421
- var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
8422
- CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
8423
- CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
8424
- CreateClientHiringModeEnum2["HYBRID"] = "HYBRID";
8425
- return CreateClientHiringModeEnum2;
8426
- })(CreateClientHiringModeEnum || {});
8427
- var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2) => {
8428
- CreateClientHiringTypeEnum2["FTE"] = "FTE";
8429
- CreateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
8430
- CreateClientHiringTypeEnum2["BOTH"] = "BOTH";
8431
- return CreateClientHiringTypeEnum2;
8432
- })(CreateClientHiringTypeEnum || {});
8433
8424
  var CreateClientDto = class {
8434
8425
  };
8435
8426
  __decorateClass([
@@ -8469,37 +8460,13 @@ __decorateClass([
8469
8460
  (0, import_class_validator78.IsString)()
8470
8461
  ], CreateClientDto.prototype, "companyName", 2);
8471
8462
  __decorateClass([
8472
- (0, import_class_validator78.IsArray)({ message: "Skills should be an array." }),
8473
- (0, import_class_validator78.IsNotEmpty)({ message: "Please enter skills." })
8474
- ], CreateClientDto.prototype, "skills", 2);
8475
- __decorateClass([
8476
- (0, import_class_validator78.IsNotEmpty)({ message: "Please specify required freelancer count." }),
8477
- (0, import_class_validator78.IsString)()
8478
- ], CreateClientDto.prototype, "requiredFreelancer", 2);
8479
- __decorateClass([
8480
- (0, import_class_validator78.IsNotEmpty)({ message: "Please specify the kind of hiring." }),
8481
- (0, import_class_validator78.IsEnum)(CreateClientHiringTypeEnum)
8482
- ], CreateClientDto.prototype, "kindOfHiring", 2);
8483
- __decorateClass([
8484
- (0, import_class_validator78.IsNotEmpty)({ message: "Please specify the mode of hire." }),
8485
- (0, import_class_validator78.IsEnum)(CreateClientHiringModeEnum)
8486
- ], CreateClientDto.prototype, "modeOfHire", 2);
8487
- __decorateClass([
8488
- (0, import_class_validator78.IsNotEmpty)({ message: "Please let us know how you found us." }),
8463
+ (0, import_class_validator78.IsOptional)(),
8489
8464
  (0, import_class_validator78.IsString)()
8490
8465
  ], CreateClientDto.prototype, "foundUsOn", 2);
8491
8466
  __decorateClass([
8492
8467
  (0, import_class_validator78.IsOptional)(),
8493
8468
  (0, import_class_validator78.IsString)()
8494
8469
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
8495
- __decorateClass([
8496
- (0, import_class_validator78.IsOptional)(),
8497
- (0, import_class_validator78.IsString)()
8498
- ], CreateClientDto.prototype, "hiringCommisionTypeForFte", 2);
8499
- __decorateClass([
8500
- (0, import_class_validator78.IsOptional)(),
8501
- (0, import_class_validator78.IsString)()
8502
- ], CreateClientDto.prototype, "hiringCommissionValueForFte", 2);
8503
8470
  __decorateClass([
8504
8471
  (0, import_class_validator78.IsOptional)(),
8505
8472
  (0, import_class_validator78.IsString)({ message: "About company must be a string." })
@@ -8548,18 +8515,6 @@ __decorateClass([
8548
8515
  // src/modules/client-admin/dto/update-client.dto.ts
8549
8516
  var import_class_transformer12 = require("class-transformer");
8550
8517
  var import_class_validator80 = require("class-validator");
8551
- var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
8552
- UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
8553
- UpdateClientHiringModeEnum2["ONSITE"] = "ONSITE";
8554
- UpdateClientHiringModeEnum2["HYBRID"] = "HYBRID";
8555
- return UpdateClientHiringModeEnum2;
8556
- })(UpdateClientHiringModeEnum || {});
8557
- var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2) => {
8558
- UpdateClientHiringTypeEnum2["FTE"] = "FTE";
8559
- UpdateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
8560
- UpdateClientHiringTypeEnum2["BOTH"] = "BOTH";
8561
- return UpdateClientHiringTypeEnum2;
8562
- })(UpdateClientHiringTypeEnum || {});
8563
8518
  var UpdateClientDto = class {
8564
8519
  };
8565
8520
  __decorateClass([
@@ -8596,37 +8551,13 @@ __decorateClass([
8596
8551
  (0, import_class_validator80.IsString)()
8597
8552
  ], UpdateClientDto.prototype, "companyName", 2);
8598
8553
  __decorateClass([
8599
- (0, import_class_validator80.IsArray)({ message: "Skills should be an array." }),
8600
- (0, import_class_validator80.IsNotEmpty)({ message: "Please enter skills." })
8601
- ], UpdateClientDto.prototype, "skills", 2);
8602
- __decorateClass([
8603
- (0, import_class_validator80.IsNotEmpty)({ message: "Please specify required freelancer count." }),
8604
- (0, import_class_validator80.IsString)()
8605
- ], UpdateClientDto.prototype, "requiredFreelancer", 2);
8606
- __decorateClass([
8607
- (0, import_class_validator80.IsNotEmpty)({ message: "Please specify the kind of hiring." }),
8608
- (0, import_class_validator80.IsEnum)(UpdateClientHiringTypeEnum)
8609
- ], UpdateClientDto.prototype, "kindOfHiring", 2);
8610
- __decorateClass([
8611
- (0, import_class_validator80.IsNotEmpty)({ message: "Please specify the mode of hire." }),
8612
- (0, import_class_validator80.IsEnum)(UpdateClientHiringModeEnum)
8613
- ], UpdateClientDto.prototype, "modeOfHire", 2);
8614
- __decorateClass([
8615
- (0, import_class_validator80.IsNotEmpty)({ message: "Please let us know how you found us." }),
8554
+ (0, import_class_validator80.IsOptional)(),
8616
8555
  (0, import_class_validator80.IsString)()
8617
8556
  ], UpdateClientDto.prototype, "foundUsOn", 2);
8618
8557
  __decorateClass([
8619
8558
  (0, import_class_validator80.IsOptional)(),
8620
8559
  (0, import_class_validator80.IsString)()
8621
8560
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
8622
- __decorateClass([
8623
- (0, import_class_validator80.IsOptional)(),
8624
- (0, import_class_validator80.IsString)()
8625
- ], UpdateClientDto.prototype, "hiringCommisionTypeForFte", 2);
8626
- __decorateClass([
8627
- (0, import_class_validator80.IsOptional)(),
8628
- (0, import_class_validator80.IsString)()
8629
- ], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
8630
8561
  __decorateClass([
8631
8562
  (0, import_class_validator80.IsOptional)(),
8632
8563
  (0, import_class_validator80.IsString)({ message: "About company must be a string." })
package/dist/index.mjs CHANGED
@@ -5871,6 +5871,9 @@ __decorateClass([
5871
5871
  __decorateClass([
5872
5872
  Column44({ name: "task_id", type: "varchar", nullable: true })
5873
5873
  ], FreelancerAssessment.prototype, "taskId", 2);
5874
+ __decorateClass([
5875
+ Column44({ name: "meta_data", type: "jsonb", nullable: true })
5876
+ ], FreelancerAssessment.prototype, "metaData", 2);
5874
5877
  FreelancerAssessment = __decorateClass([
5875
5878
  Entity43("freelancer_assessments")
5876
5879
  ], FreelancerAssessment);
@@ -8409,27 +8412,13 @@ import {
8409
8412
  IsEmail as IsEmail15,
8410
8413
  IsOptional as IsOptional41,
8411
8414
  IsString as IsString42,
8412
- IsArray as IsArray12,
8413
8415
  MinLength as MinLength14,
8414
8416
  MaxLength as MaxLength18,
8415
- IsEnum as IsEnum26,
8416
8417
  Matches as Matches11,
8417
8418
  IsInt as IsInt9,
8418
8419
  IsUrl as IsUrl5
8419
8420
  } from "class-validator";
8420
8421
  import { Type as Type8 } from "class-transformer";
8421
- var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
8422
- CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
8423
- CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
8424
- CreateClientHiringModeEnum2["HYBRID"] = "HYBRID";
8425
- return CreateClientHiringModeEnum2;
8426
- })(CreateClientHiringModeEnum || {});
8427
- var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2) => {
8428
- CreateClientHiringTypeEnum2["FTE"] = "FTE";
8429
- CreateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
8430
- CreateClientHiringTypeEnum2["BOTH"] = "BOTH";
8431
- return CreateClientHiringTypeEnum2;
8432
- })(CreateClientHiringTypeEnum || {});
8433
8422
  var CreateClientDto = class {
8434
8423
  };
8435
8424
  __decorateClass([
@@ -8469,37 +8458,13 @@ __decorateClass([
8469
8458
  IsString42()
8470
8459
  ], CreateClientDto.prototype, "companyName", 2);
8471
8460
  __decorateClass([
8472
- IsArray12({ message: "Skills should be an array." }),
8473
- IsNotEmpty64({ message: "Please enter skills." })
8474
- ], CreateClientDto.prototype, "skills", 2);
8475
- __decorateClass([
8476
- IsNotEmpty64({ message: "Please specify required freelancer count." }),
8477
- IsString42()
8478
- ], CreateClientDto.prototype, "requiredFreelancer", 2);
8479
- __decorateClass([
8480
- IsNotEmpty64({ message: "Please specify the kind of hiring." }),
8481
- IsEnum26(CreateClientHiringTypeEnum)
8482
- ], CreateClientDto.prototype, "kindOfHiring", 2);
8483
- __decorateClass([
8484
- IsNotEmpty64({ message: "Please specify the mode of hire." }),
8485
- IsEnum26(CreateClientHiringModeEnum)
8486
- ], CreateClientDto.prototype, "modeOfHire", 2);
8487
- __decorateClass([
8488
- IsNotEmpty64({ message: "Please let us know how you found us." }),
8461
+ IsOptional41(),
8489
8462
  IsString42()
8490
8463
  ], CreateClientDto.prototype, "foundUsOn", 2);
8491
8464
  __decorateClass([
8492
8465
  IsOptional41(),
8493
8466
  IsString42()
8494
8467
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
8495
- __decorateClass([
8496
- IsOptional41(),
8497
- IsString42()
8498
- ], CreateClientDto.prototype, "hiringCommisionTypeForFte", 2);
8499
- __decorateClass([
8500
- IsOptional41(),
8501
- IsString42()
8502
- ], CreateClientDto.prototype, "hiringCommissionValueForFte", 2);
8503
8468
  __decorateClass([
8504
8469
  IsOptional41(),
8505
8470
  IsString42({ message: "About company must be a string." })
@@ -8552,24 +8517,10 @@ import {
8552
8517
  IsEmail as IsEmail16,
8553
8518
  IsOptional as IsOptional42,
8554
8519
  IsString as IsString44,
8555
- IsArray as IsArray13,
8556
8520
  MinLength as MinLength15,
8557
8521
  MaxLength as MaxLength19,
8558
- IsEnum as IsEnum27,
8559
8522
  Matches as Matches12
8560
8523
  } from "class-validator";
8561
- var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
8562
- UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
8563
- UpdateClientHiringModeEnum2["ONSITE"] = "ONSITE";
8564
- UpdateClientHiringModeEnum2["HYBRID"] = "HYBRID";
8565
- return UpdateClientHiringModeEnum2;
8566
- })(UpdateClientHiringModeEnum || {});
8567
- var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2) => {
8568
- UpdateClientHiringTypeEnum2["FTE"] = "FTE";
8569
- UpdateClientHiringTypeEnum2["FREELANCE"] = "FREELANCE";
8570
- UpdateClientHiringTypeEnum2["BOTH"] = "BOTH";
8571
- return UpdateClientHiringTypeEnum2;
8572
- })(UpdateClientHiringTypeEnum || {});
8573
8524
  var UpdateClientDto = class {
8574
8525
  };
8575
8526
  __decorateClass([
@@ -8606,37 +8557,13 @@ __decorateClass([
8606
8557
  IsString44()
8607
8558
  ], UpdateClientDto.prototype, "companyName", 2);
8608
8559
  __decorateClass([
8609
- IsArray13({ message: "Skills should be an array." }),
8610
- IsNotEmpty66({ message: "Please enter skills." })
8611
- ], UpdateClientDto.prototype, "skills", 2);
8612
- __decorateClass([
8613
- IsNotEmpty66({ message: "Please specify required freelancer count." }),
8614
- IsString44()
8615
- ], UpdateClientDto.prototype, "requiredFreelancer", 2);
8616
- __decorateClass([
8617
- IsNotEmpty66({ message: "Please specify the kind of hiring." }),
8618
- IsEnum27(UpdateClientHiringTypeEnum)
8619
- ], UpdateClientDto.prototype, "kindOfHiring", 2);
8620
- __decorateClass([
8621
- IsNotEmpty66({ message: "Please specify the mode of hire." }),
8622
- IsEnum27(UpdateClientHiringModeEnum)
8623
- ], UpdateClientDto.prototype, "modeOfHire", 2);
8624
- __decorateClass([
8625
- IsNotEmpty66({ message: "Please let us know how you found us." }),
8560
+ IsOptional42(),
8626
8561
  IsString44()
8627
8562
  ], UpdateClientDto.prototype, "foundUsOn", 2);
8628
8563
  __decorateClass([
8629
8564
  IsOptional42(),
8630
8565
  IsString44()
8631
8566
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
8632
- __decorateClass([
8633
- IsOptional42(),
8634
- IsString44()
8635
- ], UpdateClientDto.prototype, "hiringCommisionTypeForFte", 2);
8636
- __decorateClass([
8637
- IsOptional42(),
8638
- IsString44()
8639
- ], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
8640
8567
  __decorateClass([
8641
8568
  IsOptional42(),
8642
8569
  IsString44({ message: "About company must be a string." })
@@ -7,14 +7,8 @@ export declare class CreateClientDto {
7
7
  password: string;
8
8
  confirmPassword: string;
9
9
  companyName: string;
10
- skills: string[];
11
- requiredFreelancer: string;
12
- kindOfHiring: string;
13
- modeOfHire: string;
14
10
  foundUsOn: string;
15
11
  foundUsOnDetail?: string;
16
- hiringCommisionTypeForFte?: string;
17
- hiringCommissionValueForFte?: string;
18
12
  about?: string;
19
13
  webSite?: string;
20
14
  companyAddress?: string;
@@ -6,14 +6,8 @@ export declare class UpdateClientDto {
6
6
  phoneNumber?: string;
7
7
  password?: string;
8
8
  companyName: string;
9
- skills: string[];
10
- requiredFreelancer: string;
11
- kindOfHiring: string;
12
- modeOfHire: string;
13
9
  foundUsOn: string;
14
10
  foundUsOnDetail?: string;
15
- hiringCommisionTypeForFte?: string;
16
- hiringCommissionValueForFte?: string;
17
11
  about?: string;
18
12
  webSite?: string;
19
13
  companyAddress?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.625",
3
+ "version": "1.0.627",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",