@experts_hub/shared 1.0.406 → 1.0.408

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.
@@ -4,7 +4,9 @@ import { Country } from "./country.entity";
4
4
  export declare enum NatureOfWork {
5
5
  FULLTIME = "FULLTIME",
6
6
  PARTTIME = "PARTTIME",
7
- BOTH = "BOTH"
7
+ BOTH = "BOTH",
8
+ HOURLY = "HOURLY",
9
+ FTE = "FTE"
8
10
  }
9
11
  export declare enum ModeOfWork {
10
12
  ONSITE = "ONSITE",
@@ -51,6 +53,7 @@ export declare class FreelancerProfile extends BaseEntity {
51
53
  aiAssessmentStatus: AiAssessmentStatusEnum;
52
54
  isDeveloper: boolean;
53
55
  natureOfWork: NatureOfWork;
56
+ numberOfHours: number;
54
57
  currency: string;
55
58
  expectedHourlyCompensation: number;
56
59
  modeOfWork: ModeOfWork;
package/dist/index.d.mts CHANGED
@@ -183,6 +183,7 @@ declare class FreelancerProfileQuestionDto {
183
183
  uuid: string;
184
184
  question_slug: string;
185
185
  answer: any;
186
+ numberOfHours?: number;
186
187
  currency?: string;
187
188
  }
188
189
 
@@ -717,7 +718,9 @@ declare class Country extends BaseEntity {
717
718
  declare enum NatureOfWork {
718
719
  FULLTIME = "FULLTIME",
719
720
  PARTTIME = "PARTTIME",
720
- BOTH = "BOTH"
721
+ BOTH = "BOTH",
722
+ HOURLY = "HOURLY",
723
+ FTE = "FTE"
721
724
  }
722
725
  declare enum ModeOfWork {
723
726
  ONSITE = "ONSITE",
@@ -764,6 +767,7 @@ declare class FreelancerProfile extends BaseEntity {
764
767
  aiAssessmentStatus: AiAssessmentStatusEnum;
765
768
  isDeveloper: boolean;
766
769
  natureOfWork: NatureOfWork;
770
+ numberOfHours: number;
767
771
  currency: string;
768
772
  expectedHourlyCompensation: number;
769
773
  modeOfWork: ModeOfWork;
package/dist/index.d.ts CHANGED
@@ -183,6 +183,7 @@ declare class FreelancerProfileQuestionDto {
183
183
  uuid: string;
184
184
  question_slug: string;
185
185
  answer: any;
186
+ numberOfHours?: number;
186
187
  currency?: string;
187
188
  }
188
189
 
@@ -717,7 +718,9 @@ declare class Country extends BaseEntity {
717
718
  declare enum NatureOfWork {
718
719
  FULLTIME = "FULLTIME",
719
720
  PARTTIME = "PARTTIME",
720
- BOTH = "BOTH"
721
+ BOTH = "BOTH",
722
+ HOURLY = "HOURLY",
723
+ FTE = "FTE"
721
724
  }
722
725
  declare enum ModeOfWork {
723
726
  ONSITE = "ONSITE",
@@ -764,6 +767,7 @@ declare class FreelancerProfile extends BaseEntity {
764
767
  aiAssessmentStatus: AiAssessmentStatusEnum;
765
768
  isDeveloper: boolean;
766
769
  natureOfWork: NatureOfWork;
770
+ numberOfHours: number;
767
771
  currency: string;
768
772
  expectedHourlyCompensation: number;
769
773
  modeOfWork: ModeOfWork;
package/dist/index.js CHANGED
@@ -824,6 +824,7 @@ __decorateClass([
824
824
  ], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
825
825
 
826
826
  // src/modules/onboarding/dto/freelancer-profile-question.dto.ts
827
+ var import_types = require("class-transformer/types");
827
828
  var import_class_validator23 = require("class-validator");
828
829
  var FreelancerProfileQuestionDto = class {
829
830
  };
@@ -845,6 +846,10 @@ __decorateClass([
845
846
  __decorateClass([
846
847
  (0, import_class_validator23.IsNotEmpty)({ message: "Please enter answer." })
847
848
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
849
+ __decorateClass([
850
+ (0, import_class_validator23.IsOptional)(),
851
+ (0, import_types.Type)(() => Number)
852
+ ], FreelancerProfileQuestionDto.prototype, "numberOfHours", 2);
848
853
  __decorateClass([
849
854
  (0, import_class_validator23.IsOptional)()
850
855
  ], FreelancerProfileQuestionDto.prototype, "currency", 2);
@@ -1967,6 +1972,8 @@ var NatureOfWork = /* @__PURE__ */ ((NatureOfWork2) => {
1967
1972
  NatureOfWork2["FULLTIME"] = "FULLTIME";
1968
1973
  NatureOfWork2["PARTTIME"] = "PARTTIME";
1969
1974
  NatureOfWork2["BOTH"] = "BOTH";
1975
+ NatureOfWork2["HOURLY"] = "HOURLY";
1976
+ NatureOfWork2["FTE"] = "FTE";
1970
1977
  return NatureOfWork2;
1971
1978
  })(NatureOfWork || {});
1972
1979
  var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
@@ -2068,6 +2075,15 @@ __decorateClass([
2068
2075
  nullable: true
2069
2076
  })
2070
2077
  ], FreelancerProfile.prototype, "natureOfWork", 2);
2078
+ __decorateClass([
2079
+ (0, import_typeorm8.Column)({
2080
+ name: "number_of_hours",
2081
+ type: "decimal",
2082
+ precision: 4,
2083
+ scale: 2,
2084
+ default: 0
2085
+ })
2086
+ ], FreelancerProfile.prototype, "numberOfHours", 2);
2071
2087
  __decorateClass([
2072
2088
  (0, import_typeorm8.Column)({ name: "currency", type: "varchar", default: "USD" })
2073
2089
  ], FreelancerProfile.prototype, "currency", 2);
package/dist/index.mjs CHANGED
@@ -572,6 +572,7 @@ __decorateClass([
572
572
  ], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
573
573
 
574
574
  // src/modules/onboarding/dto/freelancer-profile-question.dto.ts
575
+ import { Type } from "class-transformer/types";
575
576
  import {
576
577
  IsUUID as IsUUID8,
577
578
  IsString as IsString5,
@@ -599,6 +600,10 @@ __decorateClass([
599
600
  __decorateClass([
600
601
  IsNotEmpty20({ message: "Please enter answer." })
601
602
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
603
+ __decorateClass([
604
+ IsOptional5(),
605
+ Type(() => Number)
606
+ ], FreelancerProfileQuestionDto.prototype, "numberOfHours", 2);
602
607
  __decorateClass([
603
608
  IsOptional5()
604
609
  ], FreelancerProfileQuestionDto.prototype, "currency", 2);
@@ -968,7 +973,7 @@ import {
968
973
  MaxLength as MaxLength6,
969
974
  Max
970
975
  } from "class-validator";
971
- import { Type } from "class-transformer";
976
+ import { Type as Type2 } from "class-transformer";
972
977
  var JobLocation = /* @__PURE__ */ ((JobLocation2) => {
973
978
  JobLocation2["ONSITE"] = "ONSITE";
974
979
  JobLocation2["REMOTE"] = "REMOTE";
@@ -990,7 +995,7 @@ var JobBasicInformationDto = class {
990
995
  };
991
996
  __decorateClass([
992
997
  IsOptional11(),
993
- Type(() => Boolean)
998
+ Type2(() => Boolean)
994
999
  ], JobBasicInformationDto.prototype, "isDraft", 2);
995
1000
  __decorateClass([
996
1001
  IsNotEmpty29({ message: "Please enter job role" }),
@@ -1009,13 +1014,13 @@ __decorateClass([
1009
1014
  IsArray({ message: "Skills must be an array" }),
1010
1015
  ArrayNotEmpty({ message: "Please select at least one skill" }),
1011
1016
  IsString12({ each: true, message: "Each skill must be a string" }),
1012
- Type(() => String)
1017
+ Type2(() => String)
1013
1018
  ], JobBasicInformationDto.prototype, "skills", 2);
1014
1019
  __decorateClass([
1015
1020
  ValidateIf3((o) => !o.isDraft),
1016
1021
  IsNumber({}, { message: "Openings must be a number" }),
1017
1022
  Min(1, { message: "There must be at least 1 opening" }),
1018
- Type(() => Number)
1023
+ Type2(() => Number)
1019
1024
  ], JobBasicInformationDto.prototype, "openings", 2);
1020
1025
  __decorateClass([
1021
1026
  ValidateIf3((o) => !o.isDraft),
@@ -1028,17 +1033,17 @@ __decorateClass([
1028
1033
  __decorateClass([
1029
1034
  ValidateIf3((o) => !o.isDraft),
1030
1035
  IsNumber({}, { message: "Country id must be a number" }),
1031
- Type(() => Number)
1036
+ Type2(() => Number)
1032
1037
  ], JobBasicInformationDto.prototype, "countryId", 2);
1033
1038
  __decorateClass([
1034
1039
  ValidateIf3((o) => !o.isDraft),
1035
1040
  IsNumber({}, { message: "State id must be a number" }),
1036
- Type(() => Number)
1041
+ Type2(() => Number)
1037
1042
  ], JobBasicInformationDto.prototype, "stateId", 2);
1038
1043
  __decorateClass([
1039
1044
  ValidateIf3((o) => !o.isDraft),
1040
1045
  IsNumber({}, { message: "City id must be a number" }),
1041
- Type(() => Number)
1046
+ Type2(() => Number)
1042
1047
  ], JobBasicInformationDto.prototype, "cityId", 2);
1043
1048
  __decorateClass([
1044
1049
  ValidateIf3((o) => !o.isDraft),
@@ -1056,7 +1061,7 @@ __decorateClass([
1056
1061
  ValidateIf3((o) => !o.isDraft),
1057
1062
  IsNumber({}, { message: "Expected salary (from) must be a number" }),
1058
1063
  Min(0, { message: "Expected salary (from) cannot be negative" }),
1059
- Type(() => Number)
1064
+ Type2(() => Number)
1060
1065
  ], JobBasicInformationDto.prototype, "expectedSalaryFrom", 2);
1061
1066
  __decorateClass([
1062
1067
  IsOptional11()
@@ -1065,7 +1070,7 @@ __decorateClass([
1065
1070
  ValidateIf3((o) => !o.isDraft),
1066
1071
  IsNumber({}, { message: "Expected salary (to) must be a number" }),
1067
1072
  Min(0, { message: "Expected salary (to) cannot be negative" }),
1068
- Type(() => Number)
1073
+ Type2(() => Number)
1069
1074
  ], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
1070
1075
  __decorateClass([
1071
1076
  IsOptional11()
@@ -1085,7 +1090,7 @@ __decorateClass([
1085
1090
  IsNumber({}, { message: "Number of hours must be a number" }),
1086
1091
  Min(0, { message: "Number of hours cannot be negative" }),
1087
1092
  Max(40, { message: "Number of hours cannot exceed 40" }),
1088
- Type(() => Number)
1093
+ Type2(() => Number)
1089
1094
  ], JobBasicInformationDto.prototype, "numberOfHours", 2);
1090
1095
  __decorateClass([
1091
1096
  ValidateIf3((o) => !o.isDraft),
@@ -1852,6 +1857,8 @@ var NatureOfWork = /* @__PURE__ */ ((NatureOfWork2) => {
1852
1857
  NatureOfWork2["FULLTIME"] = "FULLTIME";
1853
1858
  NatureOfWork2["PARTTIME"] = "PARTTIME";
1854
1859
  NatureOfWork2["BOTH"] = "BOTH";
1860
+ NatureOfWork2["HOURLY"] = "HOURLY";
1861
+ NatureOfWork2["FTE"] = "FTE";
1855
1862
  return NatureOfWork2;
1856
1863
  })(NatureOfWork || {});
1857
1864
  var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
@@ -1953,6 +1960,15 @@ __decorateClass([
1953
1960
  nullable: true
1954
1961
  })
1955
1962
  ], FreelancerProfile.prototype, "natureOfWork", 2);
1963
+ __decorateClass([
1964
+ Column8({
1965
+ name: "number_of_hours",
1966
+ type: "decimal",
1967
+ precision: 4,
1968
+ scale: 2,
1969
+ default: 0
1970
+ })
1971
+ ], FreelancerProfile.prototype, "numberOfHours", 2);
1956
1972
  __decorateClass([
1957
1973
  Column8({ name: "currency", type: "varchar", default: "USD" })
1958
1974
  ], FreelancerProfile.prototype, "currency", 2);
@@ -5084,7 +5100,7 @@ import {
5084
5100
  MaxLength as MaxLength11,
5085
5101
  ValidateNested
5086
5102
  } from "class-validator";
5087
- import { Type as Type2 } from "class-transformer";
5103
+ import { Type as Type3 } from "class-transformer";
5088
5104
  var ExperienceDto = class {
5089
5105
  };
5090
5106
  __decorateClass([
@@ -5112,7 +5128,7 @@ var FreelancerExperienceDto = class {
5112
5128
  __decorateClass([
5113
5129
  ValidateNested({ each: true }),
5114
5130
  ArrayMinSize(1, { message: "At least one experience is required." }),
5115
- Type2(() => ExperienceDto)
5131
+ Type3(() => ExperienceDto)
5116
5132
  ], FreelancerExperienceDto.prototype, "experiences", 2);
5117
5133
 
5118
5134
  // src/modules/company-member/pattern/pattern.ts
@@ -5175,7 +5191,7 @@ var FREELANCER_EDUCATION_PATTERN = {
5175
5191
 
5176
5192
  // src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
5177
5193
  import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as IsNotEmpty41, IsOptional as IsOptional21, ArrayMinSize as ArrayMinSize2 } from "class-validator";
5178
- import { Type as Type3 } from "class-transformer";
5194
+ import { Type as Type4 } from "class-transformer";
5179
5195
  var EducationDto = class {
5180
5196
  };
5181
5197
  __decorateClass([
@@ -5199,7 +5215,7 @@ __decorateClass([
5199
5215
  IsArray6(),
5200
5216
  ArrayMinSize2(1, { message: "At least one education is required." }),
5201
5217
  ValidateNested2({ each: true }),
5202
- Type3(() => EducationDto)
5218
+ Type4(() => EducationDto)
5203
5219
  ], FreelancerEducationDto.prototype, "educations", 2);
5204
5220
 
5205
5221
  // src/modules/user/freelancer-project/pattern/pattern.ts
@@ -5210,7 +5226,7 @@ var FREELANCER_PROJECT_PATTERN = {
5210
5226
 
5211
5227
  // src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
5212
5228
  import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional22, IsDateString, MaxLength as MaxLength13, ArrayMinSize as ArrayMinSize3 } from "class-validator";
5213
- import { Type as Type4 } from "class-transformer";
5229
+ import { Type as Type5 } from "class-transformer";
5214
5230
  var ProjectDto = class {
5215
5231
  };
5216
5232
  __decorateClass([
@@ -5265,12 +5281,12 @@ __decorateClass([
5265
5281
  IsArray7(),
5266
5282
  ArrayMinSize3(1, { message: "At least one project is required." }),
5267
5283
  ValidateNested3({ each: true }),
5268
- Type4(() => ProjectDto)
5284
+ Type5(() => ProjectDto)
5269
5285
  ], FreelancerProjectDto.prototype, "projects", 2);
5270
5286
  __decorateClass([
5271
5287
  IsArray7(),
5272
5288
  ValidateNested3({ each: true }),
5273
- Type4(() => CaseStudyDto)
5289
+ Type5(() => CaseStudyDto)
5274
5290
  ], FreelancerProjectDto.prototype, "casestudies", 2);
5275
5291
 
5276
5292
  // src/modules/permission/pattern/pattern.ts
@@ -5286,7 +5302,7 @@ var FREELANCER_SKILL_PATTERN = {
5286
5302
 
5287
5303
  // src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
5288
5304
  import { IsArray as IsArray8, IsString as IsString25, IsOptional as IsOptional23 } from "class-validator";
5289
- import { Type as Type5 } from "class-transformer";
5305
+ import { Type as Type6 } from "class-transformer";
5290
5306
  var FreelancerSkillDto = class {
5291
5307
  constructor() {
5292
5308
  this.coreSkills = [];
@@ -5297,19 +5313,19 @@ var FreelancerSkillDto = class {
5297
5313
  __decorateClass([
5298
5314
  IsOptional23(),
5299
5315
  IsArray8(),
5300
- Type5(() => String),
5316
+ Type6(() => String),
5301
5317
  IsString25({ each: true })
5302
5318
  ], FreelancerSkillDto.prototype, "coreSkills", 2);
5303
5319
  __decorateClass([
5304
5320
  IsOptional23(),
5305
5321
  IsArray8(),
5306
- Type5(() => String),
5322
+ Type6(() => String),
5307
5323
  IsString25({ each: true })
5308
5324
  ], FreelancerSkillDto.prototype, "tools", 2);
5309
5325
  __decorateClass([
5310
5326
  IsOptional23(),
5311
5327
  IsArray8(),
5312
- Type5(() => String),
5328
+ Type6(() => String),
5313
5329
  IsString25({ each: true })
5314
5330
  ], FreelancerSkillDto.prototype, "frameworks", 2);
5315
5331
 
@@ -5341,7 +5357,7 @@ import {
5341
5357
  Matches as Matches9,
5342
5358
  ValidateIf as ValidateIf5
5343
5359
  } from "class-validator";
5344
- import { Type as Type6 } from "class-transformer";
5360
+ import { Type as Type7 } from "class-transformer";
5345
5361
  var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
5346
5362
  NatureOfWorkEnum3["FULLTIME"] = "FULLTIME";
5347
5363
  NatureOfWorkEnum3["PARTTIME"] = "PARTTIME";
@@ -5383,7 +5399,7 @@ __decorateClass([
5383
5399
  ], CreateFreelancerDto.prototype, "confirmPassword", 2);
5384
5400
  __decorateClass([
5385
5401
  IsBoolean10({ message: "Developer flag must be true or false" }),
5386
- Type6(() => Boolean)
5402
+ Type7(() => Boolean)
5387
5403
  ], CreateFreelancerDto.prototype, "developer", 2);
5388
5404
  __decorateClass([
5389
5405
  IsEnum16(NatureOfWorkEnum, {
@@ -5395,7 +5411,7 @@ __decorateClass([
5395
5411
  __decorateClass([
5396
5412
  IsNumber3({}, { message: "Expected hourly compensation must be a number" }),
5397
5413
  Min3(0, { message: "Expected hourly compensation must be 0 or more" }),
5398
- Type6(() => Number)
5414
+ Type7(() => Number)
5399
5415
  ], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
5400
5416
  __decorateClass([
5401
5417
  IsEnum16(ModeOfWorkEnum, {
@@ -5406,7 +5422,7 @@ __decorateClass([
5406
5422
  ], CreateFreelancerDto.prototype, "modeOfWork", 2);
5407
5423
  __decorateClass([
5408
5424
  IsBoolean10({ message: "isImmediateJoiner must be true or false" }),
5409
- Type6(() => Boolean)
5425
+ Type7(() => Boolean)
5410
5426
  ], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
5411
5427
  __decorateClass([
5412
5428
  ValidateIf5((o) => o.isImmediateJoiner === false),
@@ -5449,7 +5465,7 @@ import {
5449
5465
  IsNotEmpty as IsNotEmpty45,
5450
5466
  ValidateIf as ValidateIf6
5451
5467
  } from "class-validator";
5452
- import { Transform as Transform2, Type as Type7 } from "class-transformer";
5468
+ import { Transform as Transform2, Type as Type8 } from "class-transformer";
5453
5469
  var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
5454
5470
  NatureOfWorkEnum3["FULLTIME"] = "FULLTIME";
5455
5471
  NatureOfWorkEnum3["PARTTIME"] = "PARTTIME";
@@ -5493,7 +5509,7 @@ __decorateClass([
5493
5509
  __decorateClass([
5494
5510
  IsOptional25(),
5495
5511
  IsBoolean11({ message: "Developer flag must be true or false" }),
5496
- Type7(() => Boolean)
5512
+ Type8(() => Boolean)
5497
5513
  ], UpdateFreelancerDto.prototype, "developer", 2);
5498
5514
  __decorateClass([
5499
5515
  IsOptional25(),
@@ -5507,7 +5523,7 @@ __decorateClass([
5507
5523
  IsOptional25(),
5508
5524
  IsNumber4({}, { message: "Expected hourly compensation must be a number" }),
5509
5525
  Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
5510
- Type7(() => Number)
5526
+ Type8(() => Number)
5511
5527
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
5512
5528
  __decorateClass([
5513
5529
  IsOptional25(),
@@ -5520,7 +5536,7 @@ __decorateClass([
5520
5536
  __decorateClass([
5521
5537
  IsOptional25(),
5522
5538
  IsBoolean11({ message: "isImmediateJoiner must be true or false" }),
5523
- Type7(() => Boolean)
5539
+ Type8(() => Boolean)
5524
5540
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
5525
5541
  __decorateClass([
5526
5542
  ValidateIf6((o) => o.isImmediateJoiner === false),
@@ -5823,7 +5839,7 @@ var ADMIN_JOB_PATTERN = {
5823
5839
  };
5824
5840
 
5825
5841
  // src/modules/job-admin/dto/admin-create-job-information.dto.ts
5826
- import { Type as Type8 } from "class-transformer";
5842
+ import { Type as Type9 } from "class-transformer";
5827
5843
  import {
5828
5844
  IsString as IsString32,
5829
5845
  IsEnum as IsEnum21,
@@ -5894,11 +5910,11 @@ __decorateClass([
5894
5910
  IsNotEmpty52({ message: "Currency is required." })
5895
5911
  ], AdminCreateJobInformationDto.prototype, "currency", 2);
5896
5912
  __decorateClass([
5897
- Type8(() => Number),
5913
+ Type9(() => Number),
5898
5914
  IsNumber5({}, { message: "Expected salary from must be a number." })
5899
5915
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
5900
5916
  __decorateClass([
5901
- Type8(() => Number),
5917
+ Type9(() => Number),
5902
5918
  IsNumber5({}, { message: "Expected salary to must be a number." })
5903
5919
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
5904
5920
  __decorateClass([
@@ -5931,7 +5947,7 @@ __decorateClass([
5931
5947
  ], AdminCreateJobInformationDto.prototype, "clientId", 2);
5932
5948
 
5933
5949
  // src/modules/job-admin/dto/admin-update-job-information.dto.ts
5934
- import { Type as Type9 } from "class-transformer";
5950
+ import { Type as Type10 } from "class-transformer";
5935
5951
  import {
5936
5952
  IsString as IsString33,
5937
5953
  IsEnum as IsEnum22,
@@ -6002,11 +6018,11 @@ __decorateClass([
6002
6018
  IsNotEmpty53({ message: "Currency is required." })
6003
6019
  ], AdminUpdateJobInformationDto.prototype, "currency", 2);
6004
6020
  __decorateClass([
6005
- Type9(() => Number),
6021
+ Type10(() => Number),
6006
6022
  IsNumber6({}, { message: "Expected salary from must be a number." })
6007
6023
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
6008
6024
  __decorateClass([
6009
- Type9(() => Number),
6025
+ Type10(() => Number),
6010
6026
  IsNumber6({}, { message: "Expected salary to must be a number." })
6011
6027
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
6012
6028
  __decorateClass([
@@ -6166,7 +6182,7 @@ import {
6166
6182
  ValidateIf as ValidateIf7,
6167
6183
  ValidateNested as ValidateNested5
6168
6184
  } from "class-validator";
6169
- import { Type as Type10 } from "class-transformer";
6185
+ import { Type as Type11 } from "class-transformer";
6170
6186
  var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
6171
6187
  CandidateType2["SHORTLISTED"] = "SHORTLISTED";
6172
6188
  CandidateType2["APPLICATNTS"] = "APPLICATNTS";
@@ -6205,14 +6221,14 @@ __decorateClass([
6205
6221
  IsArray13({ message: "Existing candidates should be an array." }),
6206
6222
  ArrayNotEmpty8({ message: "Please select at least one candidate." }),
6207
6223
  ValidateNested5({ each: true }),
6208
- Type10(() => ExistingCandidateDto)
6224
+ Type11(() => ExistingCandidateDto)
6209
6225
  ], CandidatesDto.prototype, "exixtingCandidates", 2);
6210
6226
  __decorateClass([
6211
6227
  ValidateIf7((o) => o.newCandidates?.length > 0),
6212
6228
  IsArray13({ message: "New candidates should be an array." }),
6213
6229
  ArrayNotEmpty8({ message: "Please add at least one candidate." }),
6214
6230
  ValidateNested5({ each: true }),
6215
- Type10(() => NewCandidateDto)
6231
+ Type11(() => NewCandidateDto)
6216
6232
  ], CandidatesDto.prototype, "newCandidates", 2);
6217
6233
  var InterviewInviteDto = class {
6218
6234
  };
@@ -6221,7 +6237,7 @@ __decorateClass([
6221
6237
  ], InterviewInviteDto.prototype, "jobId", 2);
6222
6238
  __decorateClass([
6223
6239
  ValidateNested5({ each: true }),
6224
- Type10(() => CandidatesDto)
6240
+ Type11(() => CandidatesDto)
6225
6241
  ], InterviewInviteDto.prototype, "candidates", 2);
6226
6242
 
6227
6243
  // src/modules/interview/dto/create-f2f-interview.dto.ts
@@ -6290,17 +6306,17 @@ var CONTRACT_PATTERN = {
6290
6306
 
6291
6307
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
6292
6308
  import { IsEnum as IsEnum25, IsNotEmpty as IsNotEmpty60, IsNumber as IsNumber8 } from "class-validator";
6293
- import { Type as Type11 } from "class-transformer";
6309
+ import { Type as Type12 } from "class-transformer";
6294
6310
  var SignContractForClientDto = class {
6295
6311
  };
6296
6312
  __decorateClass([
6297
6313
  IsNotEmpty60({ message: "Job Id is required." }),
6298
- Type11(() => Number),
6314
+ Type12(() => Number),
6299
6315
  IsNumber8({}, { message: "Job ID must be a number." })
6300
6316
  ], SignContractForClientDto.prototype, "jobId", 2);
6301
6317
  __decorateClass([
6302
6318
  IsNotEmpty60({ message: "Freelancer ID is required." }),
6303
- Type11(() => Number),
6319
+ Type12(() => Number),
6304
6320
  IsNumber8({}, { message: "Freelancer ID must be a number." })
6305
6321
  ], SignContractForClientDto.prototype, "freelancerId", 2);
6306
6322
  __decorateClass([
@@ -6310,17 +6326,17 @@ __decorateClass([
6310
6326
 
6311
6327
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
6312
6328
  import { IsEnum as IsEnum26, IsNotEmpty as IsNotEmpty61, IsNumber as IsNumber9 } from "class-validator";
6313
- import { Type as Type12 } from "class-transformer";
6329
+ import { Type as Type13 } from "class-transformer";
6314
6330
  var SignContractForFreelancerDto = class {
6315
6331
  };
6316
6332
  __decorateClass([
6317
6333
  IsNotEmpty61({ message: "Job Id is required." }),
6318
- Type12(() => Number),
6334
+ Type13(() => Number),
6319
6335
  IsNumber9({}, { message: "Job ID must be a number." })
6320
6336
  ], SignContractForFreelancerDto.prototype, "jobId", 2);
6321
6337
  __decorateClass([
6322
6338
  IsNotEmpty61({ message: "Client ID is required." }),
6323
- Type12(() => Number),
6339
+ Type13(() => Number),
6324
6340
  IsNumber9({}, { message: "Client ID must be a number." })
6325
6341
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
6326
6342
  __decorateClass([
@@ -2,5 +2,6 @@ export declare class FreelancerProfileQuestionDto {
2
2
  uuid: string;
3
3
  question_slug: string;
4
4
  answer: any;
5
+ numberOfHours?: number;
5
6
  currency?: string;
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.406",
3
+ "version": "1.0.408",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",