@experts_hub/shared 1.0.412 → 1.0.414

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
@@ -200,6 +200,7 @@ declare class ClientProfileQuestionDto {
200
200
  uuid: string;
201
201
  question_slug: string;
202
202
  answer: any;
203
+ numberOfHours?: number;
203
204
  foundUsOnDetail?: string;
204
205
  }
205
206
 
@@ -540,8 +541,7 @@ declare class FreelancerChangePasswordDto {
540
541
 
541
542
  declare enum NatureOfWorkDto {
542
543
  FULLTIME = "FULLTIME",
543
- PARTTIME = "PARTTIME",
544
- BOTH = "BOTH"
544
+ HOURLY = "HOURLY"
545
545
  }
546
546
  declare enum ModeOfWorkDto {
547
547
  ONSITE = "ONSITE",
@@ -557,7 +557,6 @@ declare class UpdateFreelancerProfileDto {
557
557
  mobileCode: string;
558
558
  mobile: string;
559
559
  countryId: number;
560
- currency: string;
561
560
  expectedHourlyCompensation: string;
562
561
  natureOfWork: NatureOfWorkDto;
563
562
  modeOfWork: ModeOfWorkDto;
package/dist/index.d.ts CHANGED
@@ -200,6 +200,7 @@ declare class ClientProfileQuestionDto {
200
200
  uuid: string;
201
201
  question_slug: string;
202
202
  answer: any;
203
+ numberOfHours?: number;
203
204
  foundUsOnDetail?: string;
204
205
  }
205
206
 
@@ -540,8 +541,7 @@ declare class FreelancerChangePasswordDto {
540
541
 
541
542
  declare enum NatureOfWorkDto {
542
543
  FULLTIME = "FULLTIME",
543
- PARTTIME = "PARTTIME",
544
- BOTH = "BOTH"
544
+ HOURLY = "HOURLY"
545
545
  }
546
546
  declare enum ModeOfWorkDto {
547
547
  ONSITE = "ONSITE",
@@ -557,7 +557,6 @@ declare class UpdateFreelancerProfileDto {
557
557
  mobileCode: string;
558
558
  mobile: string;
559
559
  countryId: number;
560
- currency: string;
561
560
  expectedHourlyCompensation: string;
562
561
  natureOfWork: NatureOfWorkDto;
563
562
  modeOfWork: ModeOfWorkDto;
package/dist/index.js CHANGED
@@ -929,6 +929,9 @@ __decorateClass([
929
929
  __decorateClass([
930
930
  (0, import_class_validator25.IsNotEmpty)({ message: "Please enter answer." })
931
931
  ], ClientProfileQuestionDto.prototype, "answer", 2);
932
+ __decorateClass([
933
+ (0, import_class_validator25.IsOptional)()
934
+ ], ClientProfileQuestionDto.prototype, "numberOfHours", 2);
932
935
  __decorateClass([
933
936
  (0, import_class_validator25.ValidateIf)((o) => o.questionSlug === "foundUsOn" && o.answer === "OTHER"),
934
937
  (0, import_class_validator25.IsNotEmpty)({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
@@ -1401,8 +1404,7 @@ __decorateClass([
1401
1404
  var import_class_validator39 = require("class-validator");
1402
1405
  var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
1403
1406
  NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
1404
- NatureOfWorkDto2["PARTTIME"] = "PARTTIME";
1405
- NatureOfWorkDto2["BOTH"] = "BOTH";
1407
+ NatureOfWorkDto2["HOURLY"] = "HOURLY";
1406
1408
  return NatureOfWorkDto2;
1407
1409
  })(NatureOfWorkDto || {});
1408
1410
  var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
@@ -1445,10 +1447,6 @@ __decorateClass([
1445
1447
  (0, import_class_validator39.IsOptional)(),
1446
1448
  (0, import_class_validator39.IsNumber)()
1447
1449
  ], UpdateFreelancerProfileDto.prototype, "countryId", 2);
1448
- __decorateClass([
1449
- (0, import_class_validator39.IsNotEmpty)({ message: "Please select currency." }),
1450
- (0, import_class_validator39.IsString)({ message: "Please enter valid currency." })
1451
- ], UpdateFreelancerProfileDto.prototype, "currency", 2);
1452
1450
  __decorateClass([
1453
1451
  (0, import_class_validator39.IsNotEmpty)({ message: "Please enter expected hourly compensation." }),
1454
1452
  (0, import_class_validator39.IsString)({ message: "Please enter valid expected hourly compensation." })
package/dist/index.mjs CHANGED
@@ -673,7 +673,8 @@ import {
673
673
  IsString as IsString7,
674
674
  IsNotEmpty as IsNotEmpty22,
675
675
  IsIn as IsIn2,
676
- ValidateIf
676
+ ValidateIf,
677
+ IsOptional as IsOptional7
677
678
  } from "class-validator";
678
679
  var ClientProfileQuestionDto = class {
679
680
  };
@@ -695,6 +696,9 @@ __decorateClass([
695
696
  __decorateClass([
696
697
  IsNotEmpty22({ message: "Please enter answer." })
697
698
  ], ClientProfileQuestionDto.prototype, "answer", 2);
699
+ __decorateClass([
700
+ IsOptional7()
701
+ ], ClientProfileQuestionDto.prototype, "numberOfHours", 2);
698
702
  __decorateClass([
699
703
  ValidateIf((o) => o.questionSlug === "foundUsOn" && o.answer === "OTHER"),
700
704
  IsNotEmpty22({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
@@ -706,7 +710,7 @@ import {
706
710
  IsNotEmpty as IsNotEmpty23,
707
711
  IsEmail as IsEmail3,
708
712
  IsString as IsString8,
709
- IsOptional as IsOptional7
713
+ IsOptional as IsOptional8
710
714
  } from "class-validator";
711
715
  var ClientCreateAccountDto = class {
712
716
  };
@@ -724,7 +728,7 @@ __decorateClass([
724
728
  IsString8({ message: "Please enter valid company name." })
725
729
  ], ClientCreateAccountDto.prototype, "companyName", 2);
726
730
  __decorateClass([
727
- IsOptional7()
731
+ IsOptional8()
728
732
  ], ClientCreateAccountDto.prototype, "onBoardedBy", 2);
729
733
 
730
734
  // src/modules/resume-parser/pattern/pattern.ts
@@ -785,7 +789,7 @@ __decorateClass([
785
789
 
786
790
  // src/modules/user/subadmin/dto/update-subadmin.dto.ts
787
791
  import { Transform } from "class-transformer";
788
- import { IsNotEmpty as IsNotEmpty25, IsOptional as IsOptional8, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength5 } from "class-validator";
792
+ import { IsNotEmpty as IsNotEmpty25, IsOptional as IsOptional9, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength5 } from "class-validator";
789
793
  var UpdateSubAdminDto = class {
790
794
  };
791
795
  __decorateClass([
@@ -807,7 +811,7 @@ __decorateClass([
807
811
  IsNotEmpty25({ message: "Please enter mobile number." })
808
812
  ], UpdateSubAdminDto.prototype, "mobile", 2);
809
813
  __decorateClass([
810
- IsOptional8(),
814
+ IsOptional9(),
811
815
  Transform(({ value }) => value === null || value === "" ? void 0 : value),
812
816
  MinLength5(6, { message: "Password must be at least 6 characters." }),
813
817
  MaxLength5(32, { message: "Password must not exceed 32 characters." }),
@@ -836,7 +840,7 @@ import {
836
840
  IsEmail as IsEmail4,
837
841
  Length as Length2,
838
842
  IsUrl as IsUrl2,
839
- IsOptional as IsOptional9,
843
+ IsOptional as IsOptional10,
840
844
  ValidateIf as ValidateIf2
841
845
  } from "class-validator";
842
846
  var UpdateCompanyProfileDto = class {
@@ -849,7 +853,7 @@ __decorateClass([
849
853
  })
850
854
  ], UpdateCompanyProfileDto.prototype, "companyName", 2);
851
855
  __decorateClass([
852
- IsOptional9(),
856
+ IsOptional10(),
853
857
  ValidateIf2((o) => o.webSite !== ""),
854
858
  IsUrl2({}, { message: "Invalid website URL format" })
855
859
  ], UpdateCompanyProfileDto.prototype, "webSite", 2);
@@ -874,7 +878,7 @@ __decorateClass([
874
878
  IsEmail4()
875
879
  ], UpdateCompanyProfileDto.prototype, "email", 2);
876
880
  __decorateClass([
877
- IsOptional9(),
881
+ IsOptional10(),
878
882
  IsString10({ message: "About company must be a string." })
879
883
  ], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
880
884
 
@@ -910,7 +914,7 @@ var ASSESSMENT_QUESTION_PATTERN = {
910
914
  // src/modules/question/dto/create-question.dto.ts
911
915
  import {
912
916
  IsNotEmpty as IsNotEmpty28,
913
- IsOptional as IsOptional10,
917
+ IsOptional as IsOptional11,
914
918
  IsBoolean as IsBoolean2
915
919
  } from "class-validator";
916
920
  var CreateQuestionDto = class {
@@ -928,7 +932,7 @@ __decorateClass([
928
932
  IsNotEmpty28({ message: "Please enter options." })
929
933
  ], CreateQuestionDto.prototype, "options", 2);
930
934
  __decorateClass([
931
- IsOptional10(),
935
+ IsOptional11(),
932
936
  IsBoolean2({ message: "Whether the question status active" })
933
937
  ], CreateQuestionDto.prototype, "isActive", 2);
934
938
 
@@ -964,7 +968,7 @@ import {
964
968
  IsArray,
965
969
  ArrayNotEmpty,
966
970
  IsNumber,
967
- IsOptional as IsOptional11,
971
+ IsOptional as IsOptional12,
968
972
  IsEnum as IsEnum10,
969
973
  Min,
970
974
  ValidateIf as ValidateIf3,
@@ -992,7 +996,7 @@ var JobBasicInformationDto = class {
992
996
  }
993
997
  };
994
998
  __decorateClass([
995
- IsOptional11(),
999
+ IsOptional12(),
996
1000
  Type(() => Boolean)
997
1001
  ], JobBasicInformationDto.prototype, "isDraft", 2);
998
1002
  __decorateClass([
@@ -1000,11 +1004,11 @@ __decorateClass([
1000
1004
  IsString12({ message: "Job role must be a string" })
1001
1005
  ], JobBasicInformationDto.prototype, "jobRole", 2);
1002
1006
  __decorateClass([
1003
- IsOptional11(),
1007
+ IsOptional12(),
1004
1008
  IsString12({ message: "Project name must be a string" })
1005
1009
  ], JobBasicInformationDto.prototype, "projectName", 2);
1006
1010
  __decorateClass([
1007
- IsOptional11(),
1011
+ IsOptional12(),
1008
1012
  IsString12({ message: "Note must be a string" })
1009
1013
  ], JobBasicInformationDto.prototype, "note", 2);
1010
1014
  __decorateClass([
@@ -1062,7 +1066,7 @@ __decorateClass([
1062
1066
  Type(() => Number)
1063
1067
  ], JobBasicInformationDto.prototype, "expectedSalaryFrom", 2);
1064
1068
  __decorateClass([
1065
- IsOptional11()
1069
+ IsOptional12()
1066
1070
  ], JobBasicInformationDto.prototype, "hideExpectedSalaryFrom", 2);
1067
1071
  __decorateClass([
1068
1072
  ValidateIf3((o) => !o.isDraft),
@@ -1071,7 +1075,7 @@ __decorateClass([
1071
1075
  Type(() => Number)
1072
1076
  ], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
1073
1077
  __decorateClass([
1074
- IsOptional11()
1078
+ IsOptional12()
1075
1079
  ], JobBasicInformationDto.prototype, "hideExpectedSalaryTo", 2);
1076
1080
  __decorateClass([
1077
1081
  ValidateIf3((o) => !o.isDraft),
@@ -1093,12 +1097,12 @@ __decorateClass([
1093
1097
  __decorateClass([
1094
1098
  ValidateIf3((o) => !o.isDraft),
1095
1099
  IsString12({ message: "Onboarding TAT must be a string" }),
1096
- IsOptional11()
1100
+ IsOptional12()
1097
1101
  ], JobBasicInformationDto.prototype, "onboardingTat", 2);
1098
1102
  __decorateClass([
1099
1103
  ValidateIf3((o) => !o.isDraft),
1100
1104
  IsString12({ message: "Candidate communication skills must be a string" }),
1101
- IsOptional11()
1105
+ IsOptional12()
1102
1106
  ], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
1103
1107
  __decorateClass([
1104
1108
  ValidateIf3((o) => !o.isDraft),
@@ -1111,21 +1115,21 @@ __decorateClass([
1111
1115
  IsString12({ message: "Years of experience must be a string" })
1112
1116
  ], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
1113
1117
  __decorateClass([
1114
- IsOptional11(),
1118
+ IsOptional12(),
1115
1119
  IsString12({ message: "Business industry must be a string" })
1116
1120
  ], JobBasicInformationDto.prototype, "businessIndustry", 2);
1117
1121
  __decorateClass([
1118
- IsOptional11(),
1122
+ IsOptional12(),
1119
1123
  IsString12({ message: "Additional comment must be a string" }),
1120
1124
  MaxLength6(500, { message: "Additional comment must not exceed 500 characters" })
1121
1125
  ], JobBasicInformationDto.prototype, "additionalComment", 2);
1122
1126
 
1123
1127
  // src/modules/job/dto/job-additional-comment.dto.ts
1124
- import { IsOptional as IsOptional12, IsString as IsString13, MaxLength as MaxLength7 } from "class-validator";
1128
+ import { IsOptional as IsOptional13, IsString as IsString13, MaxLength as MaxLength7 } from "class-validator";
1125
1129
  var JobAdditionalCommentDto = class {
1126
1130
  };
1127
1131
  __decorateClass([
1128
- IsOptional12(),
1132
+ IsOptional13(),
1129
1133
  IsString13({ message: "Additional comment must be a string" }),
1130
1134
  MaxLength7(500, { message: "Additional comment must not exceed 500 characters" })
1131
1135
  ], JobAdditionalCommentDto.prototype, "additionalComment", 2);
@@ -1207,7 +1211,7 @@ __decorateClass([
1207
1211
 
1208
1212
  // src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
1209
1213
  import {
1210
- IsOptional as IsOptional13,
1214
+ IsOptional as IsOptional14,
1211
1215
  IsString as IsString16,
1212
1216
  IsEmail as IsEmail5,
1213
1217
  IsNumber as IsNumber2,
@@ -1216,8 +1220,7 @@ import {
1216
1220
  } from "class-validator";
1217
1221
  var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
1218
1222
  NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
1219
- NatureOfWorkDto2["PARTTIME"] = "PARTTIME";
1220
- NatureOfWorkDto2["BOTH"] = "BOTH";
1223
+ NatureOfWorkDto2["HOURLY"] = "HOURLY";
1221
1224
  return NatureOfWorkDto2;
1222
1225
  })(NatureOfWorkDto || {});
1223
1226
  var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
@@ -1257,13 +1260,9 @@ __decorateClass([
1257
1260
  IsString16({ message: "Please enter valid mobile number." })
1258
1261
  ], UpdateFreelancerProfileDto.prototype, "mobile", 2);
1259
1262
  __decorateClass([
1260
- IsOptional13(),
1263
+ IsOptional14(),
1261
1264
  IsNumber2()
1262
1265
  ], UpdateFreelancerProfileDto.prototype, "countryId", 2);
1263
- __decorateClass([
1264
- IsNotEmpty33({ message: "Please select currency." }),
1265
- IsString16({ message: "Please enter valid currency." })
1266
- ], UpdateFreelancerProfileDto.prototype, "currency", 2);
1267
1266
  __decorateClass([
1268
1267
  IsNotEmpty33({ message: "Please enter expected hourly compensation." }),
1269
1268
  IsString16({ message: "Please enter valid expected hourly compensation." })
@@ -1285,35 +1284,35 @@ __decorateClass([
1285
1284
  })
1286
1285
  ], UpdateFreelancerProfileDto.prototype, "modeOfWork", 2);
1287
1286
  __decorateClass([
1288
- IsOptional13(),
1287
+ IsOptional14(),
1289
1288
  IsString16()
1290
1289
  ], UpdateFreelancerProfileDto.prototype, "portfolioLink", 2);
1291
1290
  __decorateClass([
1292
- IsOptional13(),
1291
+ IsOptional14(),
1293
1292
  IsString16()
1294
1293
  ], UpdateFreelancerProfileDto.prototype, "address", 2);
1295
1294
  __decorateClass([
1296
- IsOptional13(),
1295
+ IsOptional14(),
1297
1296
  IsString16()
1298
1297
  ], UpdateFreelancerProfileDto.prototype, "about", 2);
1299
1298
  __decorateClass([
1300
- IsOptional13(),
1299
+ IsOptional14(),
1301
1300
  IsString16()
1302
1301
  ], UpdateFreelancerProfileDto.prototype, "linkedinProfileLink", 2);
1303
1302
  __decorateClass([
1304
- IsOptional13(),
1303
+ IsOptional14(),
1305
1304
  IsString16()
1306
1305
  ], UpdateFreelancerProfileDto.prototype, "kaggleProfileLink", 2);
1307
1306
  __decorateClass([
1308
- IsOptional13(),
1307
+ IsOptional14(),
1309
1308
  IsString16()
1310
1309
  ], UpdateFreelancerProfileDto.prototype, "githubProfileLink", 2);
1311
1310
  __decorateClass([
1312
- IsOptional13(),
1311
+ IsOptional14(),
1313
1312
  IsString16()
1314
1313
  ], UpdateFreelancerProfileDto.prototype, "stackOverflowProfileLink", 2);
1315
1314
  __decorateClass([
1316
- IsOptional13(),
1315
+ IsOptional14(),
1317
1316
  IsString16()
1318
1317
  ], UpdateFreelancerProfileDto.prototype, "resumeUrl", 2);
1319
1318
 
@@ -1328,7 +1327,7 @@ var BANK_PATTERN = {
1328
1327
  import {
1329
1328
  IsEnum as IsEnum13,
1330
1329
  IsNotEmpty as IsNotEmpty34,
1331
- IsOptional as IsOptional14,
1330
+ IsOptional as IsOptional15,
1332
1331
  ValidateIf as ValidateIf4
1333
1332
  } from "class-validator";
1334
1333
  var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
@@ -1348,7 +1347,7 @@ __decorateClass([
1348
1347
  IsNotEmpty34({ message: "Please enter Email." })
1349
1348
  ], FreelancerBankDetailsDto.prototype, "email", 2);
1350
1349
  __decorateClass([
1351
- IsOptional14()
1350
+ IsOptional15()
1352
1351
  ], FreelancerBankDetailsDto.prototype, "address", 2);
1353
1352
  __decorateClass([
1354
1353
  IsNotEmpty34({ message: "Please enter Account Number." })
@@ -1376,7 +1375,7 @@ __decorateClass([
1376
1375
  IsNotEmpty34({ message: "IBAN is required for INTERNATIONAL accounts." })
1377
1376
  ], FreelancerBankDetailsDto.prototype, "iban", 2);
1378
1377
  __decorateClass([
1379
- IsOptional14()
1378
+ IsOptional15()
1380
1379
  ], FreelancerBankDetailsDto.prototype, "accountType", 2);
1381
1380
  __decorateClass([
1382
1381
  IsEnum13(BankAccountScope, {
@@ -1438,7 +1437,7 @@ import {
1438
1437
  IsEnum as IsEnum15,
1439
1438
  IsInt,
1440
1439
  IsNotEmpty as IsNotEmpty35,
1441
- IsOptional as IsOptional15,
1440
+ IsOptional as IsOptional16,
1442
1441
  IsString as IsString17,
1443
1442
  Max as Max2,
1444
1443
  Min as Min2
@@ -5054,7 +5053,7 @@ __decorateClass([
5054
5053
  Max2(5, { message: "Rating must be at most 5" })
5055
5054
  ], CreateRatingDto.prototype, "rating", 2);
5056
5055
  __decorateClass([
5057
- IsOptional15(),
5056
+ IsOptional16(),
5058
5057
  IsString17({ message: "Review must be a string" })
5059
5058
  ], CreateRatingDto.prototype, "review", 2);
5060
5059
 
@@ -5071,7 +5070,7 @@ var COMPANY_ROLES_PATTERNS = {
5071
5070
  };
5072
5071
 
5073
5072
  // src/modules/company-role/dto/create-company-role.dto.ts
5074
- import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean4, IsInt as IsInt2, IsNotEmpty as IsNotEmpty36, IsOptional as IsOptional16 } from "class-validator";
5073
+ import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean4, IsInt as IsInt2, IsNotEmpty as IsNotEmpty36, IsOptional as IsOptional17 } from "class-validator";
5075
5074
  var CreateCompanyRoleDto = class {
5076
5075
  };
5077
5076
  __decorateClass([
@@ -5089,12 +5088,12 @@ __decorateClass([
5089
5088
  IsInt2({ each: true, message: "Each permission ID must be an integer." })
5090
5089
  ], CreateCompanyRoleDto.prototype, "permissionIds", 2);
5091
5090
  __decorateClass([
5092
- IsOptional16(),
5091
+ IsOptional17(),
5093
5092
  IsBoolean4({ message: "Is active must be a boolean value" })
5094
5093
  ], CreateCompanyRoleDto.prototype, "isActive", 2);
5095
5094
 
5096
5095
  // src/modules/company-role/dto/update-company-role.dto.ts
5097
- import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty37, IsOptional as IsOptional17 } from "class-validator";
5096
+ import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty37, IsOptional as IsOptional18 } from "class-validator";
5098
5097
  var UpdateCompanyRoleDto = class {
5099
5098
  };
5100
5099
  __decorateClass([
@@ -5112,7 +5111,7 @@ __decorateClass([
5112
5111
  IsInt3({ each: true, message: "Each permission ID must be an integer." })
5113
5112
  ], UpdateCompanyRoleDto.prototype, "permissionIds", 2);
5114
5113
  __decorateClass([
5115
- IsOptional17(),
5114
+ IsOptional18(),
5116
5115
  IsBoolean5({ message: "Is active must be a boolean value" })
5117
5116
  ], UpdateCompanyRoleDto.prototype, "isActive", 2);
5118
5117
 
@@ -5134,7 +5133,7 @@ var FREELANCER_EXPERIENCE_PATTERN = {
5134
5133
  import {
5135
5134
  ArrayMinSize,
5136
5135
  IsNotEmpty as IsNotEmpty38,
5137
- IsOptional as IsOptional18,
5136
+ IsOptional as IsOptional19,
5138
5137
  IsString as IsString20,
5139
5138
  MaxLength as MaxLength11,
5140
5139
  ValidateNested
@@ -5143,7 +5142,7 @@ import { Type as Type2 } from "class-transformer";
5143
5142
  var ExperienceDto = class {
5144
5143
  };
5145
5144
  __decorateClass([
5146
- IsOptional18()
5145
+ IsOptional19()
5147
5146
  ], ExperienceDto.prototype, "uuid", 2);
5148
5147
  __decorateClass([
5149
5148
  IsNotEmpty38(),
@@ -5158,7 +5157,7 @@ __decorateClass([
5158
5157
  IsString20()
5159
5158
  ], ExperienceDto.prototype, "jobDuration", 2);
5160
5159
  __decorateClass([
5161
- IsOptional18(),
5160
+ IsOptional19(),
5162
5161
  IsString20(),
5163
5162
  MaxLength11(5e3, { message: "Description must not exceed 5000 characters" })
5164
5163
  ], ExperienceDto.prototype, "description", 2);
@@ -5229,12 +5228,12 @@ var FREELANCER_EDUCATION_PATTERN = {
5229
5228
  };
5230
5229
 
5231
5230
  // src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
5232
- import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as IsNotEmpty41, IsOptional as IsOptional21, ArrayMinSize as ArrayMinSize2 } from "class-validator";
5231
+ import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as IsNotEmpty41, IsOptional as IsOptional22, ArrayMinSize as ArrayMinSize2 } from "class-validator";
5233
5232
  import { Type as Type3 } from "class-transformer";
5234
5233
  var EducationDto = class {
5235
5234
  };
5236
5235
  __decorateClass([
5237
- IsOptional21()
5236
+ IsOptional22()
5238
5237
  ], EducationDto.prototype, "uuid", 2);
5239
5238
  __decorateClass([
5240
5239
  IsString23(),
@@ -5264,12 +5263,12 @@ var FREELANCER_PROJECT_PATTERN = {
5264
5263
  };
5265
5264
 
5266
5265
  // src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
5267
- 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";
5266
+ import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional23, IsDateString, MaxLength as MaxLength13, ArrayMinSize as ArrayMinSize3 } from "class-validator";
5268
5267
  import { Type as Type4 } from "class-transformer";
5269
5268
  var ProjectDto = class {
5270
5269
  };
5271
5270
  __decorateClass([
5272
- IsOptional22()
5271
+ IsOptional23()
5273
5272
  ], ProjectDto.prototype, "uuid", 2);
5274
5273
  __decorateClass([
5275
5274
  IsString24(),
@@ -5284,33 +5283,33 @@ __decorateClass([
5284
5283
  IsNotEmpty42({ message: "Please Enter End Date " })
5285
5284
  ], ProjectDto.prototype, "endDate", 2);
5286
5285
  __decorateClass([
5287
- IsOptional22(),
5286
+ IsOptional23(),
5288
5287
  IsString24()
5289
5288
  ], ProjectDto.prototype, "clientName", 2);
5290
5289
  __decorateClass([
5291
- IsOptional22(),
5290
+ IsOptional23(),
5292
5291
  IsString24()
5293
5292
  ], ProjectDto.prototype, "gitLink", 2);
5294
5293
  __decorateClass([
5295
- IsOptional22(),
5294
+ IsOptional23(),
5296
5295
  IsString24(),
5297
5296
  MaxLength13(5e3, { message: "Description must not exceed 5000 characters" })
5298
5297
  ], ProjectDto.prototype, "description", 2);
5299
5298
  var CaseStudyDto = class {
5300
5299
  };
5301
5300
  __decorateClass([
5302
- IsOptional22()
5301
+ IsOptional23()
5303
5302
  ], CaseStudyDto.prototype, "uuid", 2);
5304
5303
  __decorateClass([
5305
5304
  IsString24(),
5306
5305
  IsNotEmpty42({ message: "Please Enter Project Name " })
5307
5306
  ], CaseStudyDto.prototype, "projectName", 2);
5308
5307
  __decorateClass([
5309
- IsOptional22(),
5308
+ IsOptional23(),
5310
5309
  IsString24()
5311
5310
  ], CaseStudyDto.prototype, "caseStudyLink", 2);
5312
5311
  __decorateClass([
5313
- IsOptional22(),
5312
+ IsOptional23(),
5314
5313
  IsString24(),
5315
5314
  MaxLength13(5e3, { message: "Description must not exceed 5000 characters" })
5316
5315
  ], CaseStudyDto.prototype, "description", 2);
@@ -5340,7 +5339,7 @@ var FREELANCER_SKILL_PATTERN = {
5340
5339
  };
5341
5340
 
5342
5341
  // src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
5343
- import { IsArray as IsArray8, IsString as IsString25, IsOptional as IsOptional23 } from "class-validator";
5342
+ import { IsArray as IsArray8, IsString as IsString25, IsOptional as IsOptional24 } from "class-validator";
5344
5343
  import { Type as Type5 } from "class-transformer";
5345
5344
  var FreelancerSkillDto = class {
5346
5345
  constructor() {
@@ -5350,19 +5349,19 @@ var FreelancerSkillDto = class {
5350
5349
  }
5351
5350
  };
5352
5351
  __decorateClass([
5353
- IsOptional23(),
5352
+ IsOptional24(),
5354
5353
  IsArray8(),
5355
5354
  Type5(() => String),
5356
5355
  IsString25({ each: true })
5357
5356
  ], FreelancerSkillDto.prototype, "coreSkills", 2);
5358
5357
  __decorateClass([
5359
- IsOptional23(),
5358
+ IsOptional24(),
5360
5359
  IsArray8(),
5361
5360
  Type5(() => String),
5362
5361
  IsString25({ each: true })
5363
5362
  ], FreelancerSkillDto.prototype, "tools", 2);
5364
5363
  __decorateClass([
5365
- IsOptional23(),
5364
+ IsOptional24(),
5366
5365
  IsArray8(),
5367
5366
  Type5(() => String),
5368
5367
  IsString25({ each: true })
@@ -5385,7 +5384,7 @@ import {
5385
5384
  IsString as IsString26,
5386
5385
  IsEmail as IsEmail10,
5387
5386
  IsBoolean as IsBoolean10,
5388
- IsOptional as IsOptional24,
5387
+ IsOptional as IsOptional25,
5389
5388
  IsEnum as IsEnum16,
5390
5389
  IsNumber as IsNumber3,
5391
5390
  IsUrl as IsUrl3,
@@ -5468,23 +5467,23 @@ __decorateClass([
5468
5467
  IsNotEmpty44({ message: "Please enter availability to join." })
5469
5468
  ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
5470
5469
  __decorateClass([
5471
- IsOptional24(),
5470
+ IsOptional25(),
5472
5471
  IsUrl3({}, { message: "LinkedIn profile link must be a valid URL" })
5473
5472
  ], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
5474
5473
  __decorateClass([
5475
- IsOptional24(),
5474
+ IsOptional25(),
5476
5475
  IsString26({ message: "Kaggle profile link must be a string" })
5477
5476
  ], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
5478
5477
  __decorateClass([
5479
- IsOptional24(),
5478
+ IsOptional25(),
5480
5479
  IsUrl3({}, { message: "GitHub profile link must be a valid URL" })
5481
5480
  ], CreateFreelancerDto.prototype, "githubProfileLink", 2);
5482
5481
  __decorateClass([
5483
- IsOptional24(),
5482
+ IsOptional25(),
5484
5483
  IsUrl3({}, { message: "StackOverflow profile link must be a valid URL" })
5485
5484
  ], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
5486
5485
  __decorateClass([
5487
- IsOptional24(),
5486
+ IsOptional25(),
5488
5487
  IsUrl3({}, { message: "Portfolio link must be a valid URL" })
5489
5488
  ], CreateFreelancerDto.prototype, "portfolioLink", 2);
5490
5489
 
@@ -5493,7 +5492,7 @@ import {
5493
5492
  IsString as IsString27,
5494
5493
  IsEmail as IsEmail11,
5495
5494
  IsBoolean as IsBoolean11,
5496
- IsOptional as IsOptional25,
5495
+ IsOptional as IsOptional26,
5497
5496
  IsEnum as IsEnum17,
5498
5497
  IsNumber as IsNumber4,
5499
5498
  IsUrl as IsUrl4,
@@ -5520,24 +5519,24 @@ var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
5520
5519
  var UpdateFreelancerDto = class {
5521
5520
  };
5522
5521
  __decorateClass([
5523
- IsOptional25(),
5522
+ IsOptional26(),
5524
5523
  IsString27({ message: "Full name must be a string" }),
5525
5524
  MaxLength16(100, { message: "Full name must not exceed 100 characters" })
5526
5525
  ], UpdateFreelancerDto.prototype, "fullName", 2);
5527
5526
  __decorateClass([
5528
- IsOptional25(),
5527
+ IsOptional26(),
5529
5528
  IsEmail11({}, { message: "Invalid email address" })
5530
5529
  ], UpdateFreelancerDto.prototype, "email", 2);
5531
5530
  __decorateClass([
5532
- IsOptional25(),
5531
+ IsOptional26(),
5533
5532
  IsString27({ message: "Mobile code must be a string (e.g., +1)" })
5534
5533
  ], UpdateFreelancerDto.prototype, "mobileCode", 2);
5535
5534
  __decorateClass([
5536
- IsOptional25(),
5535
+ IsOptional26(),
5537
5536
  IsString27({ message: "Mobile must be a string (e.g., 1243253534)" })
5538
5537
  ], UpdateFreelancerDto.prototype, "mobile", 2);
5539
5538
  __decorateClass([
5540
- IsOptional25(),
5539
+ IsOptional26(),
5541
5540
  Transform2(({ value }) => value === null || value === "" ? void 0 : value),
5542
5541
  MinLength13(6, { message: "Password must be at least 6 characters." }),
5543
5542
  MaxLength16(32, { message: "Password must not exceed 32 characters." }),
@@ -5546,12 +5545,12 @@ __decorateClass([
5546
5545
  })
5547
5546
  ], UpdateFreelancerDto.prototype, "password", 2);
5548
5547
  __decorateClass([
5549
- IsOptional25(),
5548
+ IsOptional26(),
5550
5549
  IsBoolean11({ message: "Developer flag must be true or false" }),
5551
5550
  Type7(() => Boolean)
5552
5551
  ], UpdateFreelancerDto.prototype, "developer", 2);
5553
5552
  __decorateClass([
5554
- IsOptional25(),
5553
+ IsOptional26(),
5555
5554
  IsEnum17(NatureOfWorkEnum2, {
5556
5555
  message: `Nature of work must be one of: ${Object.values(
5557
5556
  NatureOfWorkEnum2
@@ -5559,13 +5558,13 @@ __decorateClass([
5559
5558
  })
5560
5559
  ], UpdateFreelancerDto.prototype, "natureOfWork", 2);
5561
5560
  __decorateClass([
5562
- IsOptional25(),
5561
+ IsOptional26(),
5563
5562
  IsNumber4({}, { message: "Expected hourly compensation must be a number" }),
5564
5563
  Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
5565
5564
  Type7(() => Number)
5566
5565
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
5567
5566
  __decorateClass([
5568
- IsOptional25(),
5567
+ IsOptional26(),
5569
5568
  IsEnum17(ModeOfWorkEnum2, {
5570
5569
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
5571
5570
  ", "
@@ -5573,7 +5572,7 @@ __decorateClass([
5573
5572
  })
5574
5573
  ], UpdateFreelancerDto.prototype, "modeOfWork", 2);
5575
5574
  __decorateClass([
5576
- IsOptional25(),
5575
+ IsOptional26(),
5577
5576
  IsBoolean11({ message: "isImmediateJoiner must be true or false" }),
5578
5577
  Type7(() => Boolean)
5579
5578
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
@@ -5582,23 +5581,23 @@ __decorateClass([
5582
5581
  IsNotEmpty45({ message: "Please enter availability to join." })
5583
5582
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
5584
5583
  __decorateClass([
5585
- IsOptional25(),
5584
+ IsOptional26(),
5586
5585
  IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" })
5587
5586
  ], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
5588
5587
  __decorateClass([
5589
- IsOptional25(),
5588
+ IsOptional26(),
5590
5589
  IsString27({ message: "Kaggle profile link must be a string" })
5591
5590
  ], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
5592
5591
  __decorateClass([
5593
- IsOptional25(),
5592
+ IsOptional26(),
5594
5593
  IsUrl4({}, { message: "GitHub profile link must be a valid URL" })
5595
5594
  ], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
5596
5595
  __decorateClass([
5597
- IsOptional25(),
5596
+ IsOptional26(),
5598
5597
  IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" })
5599
5598
  ], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
5600
5599
  __decorateClass([
5601
- IsOptional25(),
5600
+ IsOptional26(),
5602
5601
  IsUrl4({}, { message: "Portfolio link must be a valid URL" })
5603
5602
  ], UpdateFreelancerDto.prototype, "portfolioLink", 2);
5604
5603
 
@@ -5619,7 +5618,7 @@ var CLIENT_ADMIN_PATTERNS = {
5619
5618
  import {
5620
5619
  IsNotEmpty as IsNotEmpty46,
5621
5620
  IsEmail as IsEmail12,
5622
- IsOptional as IsOptional26,
5621
+ IsOptional as IsOptional27,
5623
5622
  IsString as IsString28,
5624
5623
  IsArray as IsArray9,
5625
5624
  MinLength as MinLength14,
@@ -5690,7 +5689,7 @@ __decorateClass([
5690
5689
  IsString28()
5691
5690
  ], CreateClientDto.prototype, "foundUsOn", 2);
5692
5691
  __decorateClass([
5693
- IsOptional26(),
5692
+ IsOptional27(),
5694
5693
  IsString28()
5695
5694
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
5696
5695
 
@@ -5708,7 +5707,7 @@ import { Transform as Transform3 } from "class-transformer";
5708
5707
  import {
5709
5708
  IsNotEmpty as IsNotEmpty48,
5710
5709
  IsEmail as IsEmail13,
5711
- IsOptional as IsOptional27,
5710
+ IsOptional as IsOptional28,
5712
5711
  IsString as IsString30,
5713
5712
  IsArray as IsArray10,
5714
5713
  MinLength as MinLength15,
@@ -5743,7 +5742,7 @@ __decorateClass([
5743
5742
  IsEmail13()
5744
5743
  ], UpdateClientDto.prototype, "email", 2);
5745
5744
  __decorateClass([
5746
- IsOptional27(),
5745
+ IsOptional28(),
5747
5746
  Transform3(({ value }) => value === null || value === "" ? void 0 : value),
5748
5747
  MinLength15(6, { message: "Password must be at least 6 characters." }),
5749
5748
  MaxLength18(32, { message: "Password must not exceed 32 characters." }),
@@ -5776,7 +5775,7 @@ __decorateClass([
5776
5775
  IsString30()
5777
5776
  ], UpdateClientDto.prototype, "foundUsOn", 2);
5778
5777
  __decorateClass([
5779
- IsOptional27(),
5778
+ IsOptional28(),
5780
5779
  IsString30()
5781
5780
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
5782
5781
 
@@ -5787,7 +5786,7 @@ var FREELANCER_DECLARATION_PATTERN = {
5787
5786
  };
5788
5787
 
5789
5788
  // src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
5790
- import { IsOptional as IsOptional28, IsEnum as IsEnum20, IsString as IsString31, IsNotEmpty as IsNotEmpty49, IsIn as IsIn3 } from "class-validator";
5789
+ import { IsOptional as IsOptional29, IsEnum as IsEnum20, IsString as IsString31, IsNotEmpty as IsNotEmpty49, IsIn as IsIn3 } from "class-validator";
5791
5790
  var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
5792
5791
  DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
5793
5792
  DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
@@ -5798,7 +5797,7 @@ var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
5798
5797
  var FreelancerDeclarationDto = class {
5799
5798
  };
5800
5799
  __decorateClass([
5801
- IsOptional28(),
5800
+ IsOptional29(),
5802
5801
  IsString31({ message: "UUID must be a string" })
5803
5802
  ], FreelancerDeclarationDto.prototype, "uuid", 2);
5804
5803
  __decorateClass([
@@ -5822,35 +5821,35 @@ var CMS_PATTERNS = {
5822
5821
  };
5823
5822
 
5824
5823
  // src/modules/cms/dto/create-cms.dto.ts
5825
- import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty50, IsOptional as IsOptional29 } from "class-validator";
5824
+ import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty50, IsOptional as IsOptional30 } from "class-validator";
5826
5825
  var CreateCmsDto = class {
5827
5826
  };
5828
5827
  __decorateClass([
5829
5828
  IsNotEmpty50({ message: "Please enter name." })
5830
5829
  ], CreateCmsDto.prototype, "title", 2);
5831
5830
  __decorateClass([
5832
- IsOptional29()
5831
+ IsOptional30()
5833
5832
  ], CreateCmsDto.prototype, "content", 2);
5834
5833
  __decorateClass([
5835
- IsOptional29(),
5834
+ IsOptional30(),
5836
5835
  IsBoolean12({ message: "Is active must be a boolean value" })
5837
5836
  ], CreateCmsDto.prototype, "isActive", 2);
5838
5837
 
5839
5838
  // src/modules/cms/dto/update-cms.dto.ts
5840
- import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty51, IsOptional as IsOptional30 } from "class-validator";
5839
+ import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty51, IsOptional as IsOptional31 } from "class-validator";
5841
5840
  var UpdateCmsDto = class {
5842
5841
  };
5843
5842
  __decorateClass([
5844
- IsOptional30()
5843
+ IsOptional31()
5845
5844
  ], UpdateCmsDto.prototype, "uuid", 2);
5846
5845
  __decorateClass([
5847
5846
  IsNotEmpty51({ message: "Please enter name." })
5848
5847
  ], UpdateCmsDto.prototype, "title", 2);
5849
5848
  __decorateClass([
5850
- IsOptional30()
5849
+ IsOptional31()
5851
5850
  ], UpdateCmsDto.prototype, "content", 2);
5852
5851
  __decorateClass([
5853
- IsOptional30(),
5852
+ IsOptional31(),
5854
5853
  IsBoolean13({ message: "Is active must be a boolean value" })
5855
5854
  ], UpdateCmsDto.prototype, "isActive", 2);
5856
5855
 
@@ -5883,7 +5882,7 @@ import {
5883
5882
  IsString as IsString32,
5884
5883
  IsEnum as IsEnum21,
5885
5884
  IsInt as IsInt6,
5886
- IsOptional as IsOptional31,
5885
+ IsOptional as IsOptional32,
5887
5886
  IsArray as IsArray11,
5888
5887
  IsDateString as IsDateString4,
5889
5888
  IsNotEmpty as IsNotEmpty52,
@@ -5910,7 +5909,7 @@ __decorateClass([
5910
5909
  IsNotEmpty52({ message: "Job role is required." })
5911
5910
  ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
5912
5911
  __decorateClass([
5913
- IsOptional31(),
5912
+ IsOptional32(),
5914
5913
  IsString32({ message: "Note must be a string." })
5915
5914
  ], AdminCreateJobInformationDto.prototype, "note", 2);
5916
5915
  __decorateClass([
@@ -5969,7 +5968,7 @@ __decorateClass([
5969
5968
  )
5970
5969
  ], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
5971
5970
  __decorateClass([
5972
- IsOptional31(),
5971
+ IsOptional32(),
5973
5972
  IsString32({ message: "Additional comment must be a string." })
5974
5973
  ], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
5975
5974
  __decorateClass([
@@ -5991,7 +5990,7 @@ import {
5991
5990
  IsString as IsString33,
5992
5991
  IsEnum as IsEnum22,
5993
5992
  IsInt as IsInt7,
5994
- IsOptional as IsOptional32,
5993
+ IsOptional as IsOptional33,
5995
5994
  IsArray as IsArray12,
5996
5995
  IsDateString as IsDateString5,
5997
5996
  IsNotEmpty as IsNotEmpty53,
@@ -6018,7 +6017,7 @@ __decorateClass([
6018
6017
  IsNotEmpty53({ message: "Job role is required." })
6019
6018
  ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
6020
6019
  __decorateClass([
6021
- IsOptional32(),
6020
+ IsOptional33(),
6022
6021
  IsString33({ message: "Note must be a string." })
6023
6022
  ], AdminUpdateJobInformationDto.prototype, "note", 2);
6024
6023
  __decorateClass([
@@ -6077,7 +6076,7 @@ __decorateClass([
6077
6076
  )
6078
6077
  ], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
6079
6078
  __decorateClass([
6080
- IsOptional32(),
6079
+ IsOptional33(),
6081
6080
  IsString33({ message: "Additional comment must be a string." })
6082
6081
  ], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
6083
6082
  __decorateClass([
@@ -6100,7 +6099,7 @@ var LEAD_PATTERN = {
6100
6099
  };
6101
6100
 
6102
6101
  // src/modules/lead/dto/create-lead.dto.ts
6103
- import { IsString as IsString34, IsEmail as IsEmail14, IsOptional as IsOptional33, IsEnum as IsEnum23 } from "class-validator";
6102
+ import { IsString as IsString34, IsEmail as IsEmail14, IsOptional as IsOptional34, IsEnum as IsEnum23 } from "class-validator";
6104
6103
  var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
6105
6104
  CategoryEmumDto2["BUSINESS"] = "BUSINESS";
6106
6105
  CategoryEmumDto2["FREELANCER"] = "FREELANCER";
@@ -6121,7 +6120,7 @@ __decorateClass([
6121
6120
  IsString34({ message: "Mobile must be a string (e.g., 1243253534)" })
6122
6121
  ], CreateLeadDto.prototype, "mobile", 2);
6123
6122
  __decorateClass([
6124
- IsOptional33(),
6123
+ IsOptional34(),
6125
6124
  IsString34({ message: "Description must be a string" })
6126
6125
  ], CreateLeadDto.prototype, "description", 2);
6127
6126
  __decorateClass([
@@ -6145,7 +6144,7 @@ var ADMIN_ROLE_PATTERN = {
6145
6144
  };
6146
6145
 
6147
6146
  // src/modules/admin-role/dto/create-admin-role.dto.ts
6148
- import { IsNotEmpty as IsNotEmpty54, IsOptional as IsOptional34, IsString as IsString35 } from "class-validator";
6147
+ import { IsNotEmpty as IsNotEmpty54, IsOptional as IsOptional35, IsString as IsString35 } from "class-validator";
6149
6148
  var CreateAdminRoleDto = class {
6150
6149
  };
6151
6150
  __decorateClass([
@@ -6153,12 +6152,12 @@ __decorateClass([
6153
6152
  IsString35({ message: "Role name must be a string." })
6154
6153
  ], CreateAdminRoleDto.prototype, "roleName", 2);
6155
6154
  __decorateClass([
6156
- IsOptional34(),
6155
+ IsOptional35(),
6157
6156
  IsString35({ message: "Role description must be a string." })
6158
6157
  ], CreateAdminRoleDto.prototype, "roleDescription", 2);
6159
6158
 
6160
6159
  // src/modules/admin-role/dto/update-admin-role.dto.ts
6161
- import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty55, IsOptional as IsOptional35, IsString as IsString36 } from "class-validator";
6160
+ import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty55, IsOptional as IsOptional36, IsString as IsString36 } from "class-validator";
6162
6161
  var UpdateAdminRoleDto = class {
6163
6162
  };
6164
6163
  __decorateClass([
@@ -6166,11 +6165,11 @@ __decorateClass([
6166
6165
  IsString36({ message: "Role name must be a string." })
6167
6166
  ], UpdateAdminRoleDto.prototype, "roleName", 2);
6168
6167
  __decorateClass([
6169
- IsOptional35(),
6168
+ IsOptional36(),
6170
6169
  IsString36({ message: "Role description must be a string." })
6171
6170
  ], UpdateAdminRoleDto.prototype, "roleDescription", 2);
6172
6171
  __decorateClass([
6173
- IsOptional35(),
6172
+ IsOptional36(),
6174
6173
  IsBoolean15({ message: "Is active must be a boolean value." })
6175
6174
  ], UpdateAdminRoleDto.prototype, "isActive", 2);
6176
6175
 
@@ -6429,7 +6428,7 @@ import {
6429
6428
  IsDateString as IsDateString6,
6430
6429
  IsInt as IsInt8,
6431
6430
  IsNotEmpty as IsNotEmpty63,
6432
- IsOptional as IsOptional38,
6431
+ IsOptional as IsOptional39,
6433
6432
  IsString as IsString41,
6434
6433
  Matches as Matches13,
6435
6434
  IsNumber as IsNumber10
@@ -6461,19 +6460,19 @@ __decorateClass([
6461
6460
  })
6462
6461
  ], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
6463
6462
  __decorateClass([
6464
- IsOptional38(),
6463
+ IsOptional39(),
6465
6464
  IsInt8()
6466
6465
  ], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
6467
6466
  __decorateClass([
6468
- IsOptional38(),
6467
+ IsOptional39(),
6469
6468
  IsString41()
6470
6469
  ], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
6471
6470
  __decorateClass([
6472
- IsOptional38(),
6471
+ IsOptional39(),
6473
6472
  IsString41()
6474
6473
  ], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
6475
6474
  __decorateClass([
6476
- IsOptional38(),
6475
+ IsOptional39(),
6477
6476
  IsString41()
6478
6477
  ], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
6479
6478
  __decorateClass([
@@ -6485,7 +6484,7 @@ import {
6485
6484
  IsDateString as IsDateString7,
6486
6485
  IsInt as IsInt9,
6487
6486
  IsNotEmpty as IsNotEmpty64,
6488
- IsOptional as IsOptional39,
6487
+ IsOptional as IsOptional40,
6489
6488
  IsString as IsString42,
6490
6489
  Matches as Matches14,
6491
6490
  IsNumber as IsNumber11
@@ -6517,19 +6516,19 @@ __decorateClass([
6517
6516
  })
6518
6517
  ], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
6519
6518
  __decorateClass([
6520
- IsOptional39(),
6519
+ IsOptional40(),
6521
6520
  IsInt9()
6522
6521
  ], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
6523
6522
  __decorateClass([
6524
- IsOptional39(),
6523
+ IsOptional40(),
6525
6524
  IsString42()
6526
6525
  ], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
6527
6526
  __decorateClass([
6528
- IsOptional39(),
6527
+ IsOptional40(),
6529
6528
  IsString42()
6530
6529
  ], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
6531
6530
  __decorateClass([
6532
- IsOptional39(),
6531
+ IsOptional40(),
6533
6532
  IsString42()
6534
6533
  ], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
6535
6534
  __decorateClass([
@@ -2,5 +2,6 @@ export declare class ClientProfileQuestionDto {
2
2
  uuid: string;
3
3
  question_slug: string;
4
4
  answer: any;
5
+ numberOfHours?: number;
5
6
  foundUsOnDetail?: string;
6
7
  }
@@ -1,7 +1,6 @@
1
1
  export declare enum NatureOfWorkDto {
2
2
  FULLTIME = "FULLTIME",
3
- PARTTIME = "PARTTIME",
4
- BOTH = "BOTH"
3
+ HOURLY = "HOURLY"
5
4
  }
6
5
  export declare enum ModeOfWorkDto {
7
6
  ONSITE = "ONSITE",
@@ -17,7 +16,6 @@ export declare class UpdateFreelancerProfileDto {
17
16
  mobileCode: string;
18
17
  mobile: string;
19
18
  countryId: number;
20
- currency: string;
21
19
  expectedHourlyCompensation: string;
22
20
  natureOfWork: NatureOfWorkDto;
23
21
  modeOfWork: ModeOfWorkDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.412",
3
+ "version": "1.0.414",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",