@experts_hub/shared 1.0.422 → 1.0.424

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
@@ -328,6 +328,7 @@ interface IAttachPermissionsToSubAdminResponse {
328
328
  }
329
329
 
330
330
  declare const CLIENT_PROFILE_PATTERN: {
331
+ fetchClientProfileQuestions: string;
331
332
  fetchClientProfile: string;
332
333
  fetchClientPublicProfile: string;
333
334
  updateClientProfile: string;
@@ -489,10 +490,7 @@ declare class JobBasicInformationDto {
489
490
  hideExpectedSalaryFrom: boolean;
490
491
  expectedSalaryTo: number;
491
492
  hideExpectedSalaryTo: boolean;
492
- tentativeStartDate: string;
493
- tentativeEndDate: string;
494
493
  numberOfHours: number;
495
- onboardingTat?: string;
496
494
  candidateCommunicationSkills?: string;
497
495
  academicQualification?: string;
498
496
  yearsOfExperience?: string;
package/dist/index.d.ts CHANGED
@@ -328,6 +328,7 @@ interface IAttachPermissionsToSubAdminResponse {
328
328
  }
329
329
 
330
330
  declare const CLIENT_PROFILE_PATTERN: {
331
+ fetchClientProfileQuestions: string;
331
332
  fetchClientProfile: string;
332
333
  fetchClientPublicProfile: string;
333
334
  updateClientProfile: string;
@@ -489,10 +490,7 @@ declare class JobBasicInformationDto {
489
490
  hideExpectedSalaryFrom: boolean;
490
491
  expectedSalaryTo: number;
491
492
  hideExpectedSalaryTo: boolean;
492
- tentativeStartDate: string;
493
- tentativeEndDate: string;
494
493
  numberOfHours: number;
495
- onboardingTat?: string;
496
494
  candidateCommunicationSkills?: string;
497
495
  academicQualification?: string;
498
496
  yearsOfExperience?: string;
package/dist/index.js CHANGED
@@ -1051,6 +1051,7 @@ __decorateClass([
1051
1051
 
1052
1052
  // src/modules/user/client-profile/pattern/pattern.ts
1053
1053
  var CLIENT_PROFILE_PATTERN = {
1054
+ fetchClientProfileQuestions: "fetch.client.profile.questions",
1054
1055
  fetchClientProfile: "fetch.client.profile",
1055
1056
  fetchClientPublicProfile: "fetch.client.public.profile",
1056
1057
  updateClientProfile: "update.client.profile",
@@ -1274,16 +1275,6 @@ __decorateClass([
1274
1275
  __decorateClass([
1275
1276
  (0, import_class_validator33.IsOptional)()
1276
1277
  ], JobBasicInformationDto.prototype, "hideExpectedSalaryTo", 2);
1277
- __decorateClass([
1278
- (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1279
- (0, import_class_validator33.IsNotEmpty)({ message: "Please enter start date" }),
1280
- (0, import_class_validator33.IsString)({ message: "Start date must be valid" })
1281
- ], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
1282
- __decorateClass([
1283
- (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1284
- (0, import_class_validator33.IsNotEmpty)({ message: "Please enter end date" }),
1285
- (0, import_class_validator33.IsString)({ message: "End date must be valid" })
1286
- ], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
1287
1278
  __decorateClass([
1288
1279
  (0, import_class_validator33.IsOptional)(),
1289
1280
  (0, import_class_validator33.IsNumber)({}, { message: "Number of hours must be a number" }),
@@ -1291,11 +1282,6 @@ __decorateClass([
1291
1282
  (0, import_class_validator33.Max)(40, { message: "Number of hours cannot exceed 40" }),
1292
1283
  (0, import_class_transformer2.Type)(() => Number)
1293
1284
  ], JobBasicInformationDto.prototype, "numberOfHours", 2);
1294
- __decorateClass([
1295
- (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1296
- (0, import_class_validator33.IsString)({ message: "Onboarding TAT must be a string" }),
1297
- (0, import_class_validator33.IsOptional)()
1298
- ], JobBasicInformationDto.prototype, "onboardingTat", 2);
1299
1285
  __decorateClass([
1300
1286
  (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1301
1287
  (0, import_class_validator33.IsString)({ message: "Candidate communication skills must be a string" }),
package/dist/index.mjs CHANGED
@@ -825,6 +825,7 @@ __decorateClass([
825
825
 
826
826
  // src/modules/user/client-profile/pattern/pattern.ts
827
827
  var CLIENT_PROFILE_PATTERN = {
828
+ fetchClientProfileQuestions: "fetch.client.profile.questions",
828
829
  fetchClientProfile: "fetch.client.profile",
829
830
  fetchClientPublicProfile: "fetch.client.public.profile",
830
831
  updateClientProfile: "update.client.profile",
@@ -1077,16 +1078,6 @@ __decorateClass([
1077
1078
  __decorateClass([
1078
1079
  IsOptional12()
1079
1080
  ], JobBasicInformationDto.prototype, "hideExpectedSalaryTo", 2);
1080
- __decorateClass([
1081
- ValidateIf3((o) => !o.isDraft),
1082
- IsNotEmpty29({ message: "Please enter start date" }),
1083
- IsString12({ message: "Start date must be valid" })
1084
- ], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
1085
- __decorateClass([
1086
- ValidateIf3((o) => !o.isDraft),
1087
- IsNotEmpty29({ message: "Please enter end date" }),
1088
- IsString12({ message: "End date must be valid" })
1089
- ], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
1090
1081
  __decorateClass([
1091
1082
  IsOptional12(),
1092
1083
  IsNumber({}, { message: "Number of hours must be a number" }),
@@ -1094,11 +1085,6 @@ __decorateClass([
1094
1085
  Max(40, { message: "Number of hours cannot exceed 40" }),
1095
1086
  Type(() => Number)
1096
1087
  ], JobBasicInformationDto.prototype, "numberOfHours", 2);
1097
- __decorateClass([
1098
- ValidateIf3((o) => !o.isDraft),
1099
- IsString12({ message: "Onboarding TAT must be a string" }),
1100
- IsOptional12()
1101
- ], JobBasicInformationDto.prototype, "onboardingTat", 2);
1102
1088
  __decorateClass([
1103
1089
  ValidateIf3((o) => !o.isDraft),
1104
1090
  IsString12({ message: "Candidate communication skills must be a string" }),
@@ -27,10 +27,7 @@ export declare class JobBasicInformationDto {
27
27
  hideExpectedSalaryFrom: boolean;
28
28
  expectedSalaryTo: number;
29
29
  hideExpectedSalaryTo: boolean;
30
- tentativeStartDate: string;
31
- tentativeEndDate: string;
32
30
  numberOfHours: number;
33
- onboardingTat?: string;
34
31
  candidateCommunicationSkills?: string;
35
32
  academicQualification?: string;
36
33
  yearsOfExperience?: string;
@@ -1,4 +1,5 @@
1
1
  export declare const CLIENT_PROFILE_PATTERN: {
2
+ fetchClientProfileQuestions: string;
2
3
  fetchClientProfile: string;
3
4
  fetchClientPublicProfile: string;
4
5
  updateClientProfile: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.422",
3
+ "version": "1.0.424",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",