@experts_hub/shared 1.0.280 → 1.0.282

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
@@ -195,6 +195,7 @@ declare class CreateSubAdminDto {
195
195
  mobileCode: string;
196
196
  mobile: string;
197
197
  password: string;
198
+ roleIds: string;
198
199
  }
199
200
 
200
201
  declare class UpdateSubAdminAccountStatusDto {
@@ -209,6 +210,7 @@ declare class UpdateSubAdminDto {
209
210
  mobileCode: string;
210
211
  mobile: string;
211
212
  password: string;
213
+ roleIds: string;
212
214
  }
213
215
 
214
216
  interface IFetchSubAdminQuery {
@@ -446,6 +448,9 @@ declare class JobBasicInformationDto {
446
448
  tentativeEndDate: string;
447
449
  onboardingTat?: string;
448
450
  candidateCommunicationSkills?: string;
451
+ academicQualification?: string;
452
+ yearsOfExperience?: string;
453
+ businessIndustry?: string;
449
454
  }
450
455
 
451
456
  declare class JobAdditionalCommentDto {
package/dist/index.d.ts CHANGED
@@ -195,6 +195,7 @@ declare class CreateSubAdminDto {
195
195
  mobileCode: string;
196
196
  mobile: string;
197
197
  password: string;
198
+ roleIds: string;
198
199
  }
199
200
 
200
201
  declare class UpdateSubAdminAccountStatusDto {
@@ -209,6 +210,7 @@ declare class UpdateSubAdminDto {
209
210
  mobileCode: string;
210
211
  mobile: string;
211
212
  password: string;
213
+ roleIds: string;
212
214
  }
213
215
 
214
216
  interface IFetchSubAdminQuery {
@@ -446,6 +448,9 @@ declare class JobBasicInformationDto {
446
448
  tentativeEndDate: string;
447
449
  onboardingTat?: string;
448
450
  candidateCommunicationSkills?: string;
451
+ academicQualification?: string;
452
+ yearsOfExperience?: string;
453
+ businessIndustry?: string;
449
454
  }
450
455
 
451
456
  declare class JobAdditionalCommentDto {
package/dist/index.js CHANGED
@@ -772,6 +772,9 @@ __decorateClass([
772
772
  __decorateClass([
773
773
  (0, import_class_validator23.IsNotEmpty)({ message: "Please enter the password." })
774
774
  ], CreateSubAdminDto.prototype, "password", 2);
775
+ __decorateClass([
776
+ (0, import_class_validator23.IsNotEmpty)({ message: "Please Select Roles." })
777
+ ], CreateSubAdminDto.prototype, "roleIds", 2);
775
778
 
776
779
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
777
780
  var import_class_validator24 = require("class-validator");
@@ -806,6 +809,9 @@ __decorateClass([
806
809
  __decorateClass([
807
810
  (0, import_class_validator25.IsNotEmpty)({ message: "Please enter the password." })
808
811
  ], UpdateSubAdminDto.prototype, "password", 2);
812
+ __decorateClass([
813
+ (0, import_class_validator25.IsNotEmpty)({ message: "Please Select Roles." })
814
+ ], UpdateSubAdminDto.prototype, "roleIds", 2);
809
815
 
810
816
  // src/modules/user/client-profile/pattern/pattern.ts
811
817
  var CLIENT_PROFILE_PATTERN = {
@@ -1017,6 +1023,18 @@ __decorateClass([
1017
1023
  (0, import_class_validator29.IsString)({ message: "Candidate communication skills must be a string" }),
1018
1024
  (0, import_class_validator29.IsOptional)()
1019
1025
  ], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
1026
+ __decorateClass([
1027
+ (0, import_class_validator29.IsNotEmpty)({ message: "Please enter the academic qualification" }),
1028
+ (0, import_class_validator29.IsString)({ message: "Academic qualification must be a string" })
1029
+ ], JobBasicInformationDto.prototype, "academicQualification", 2);
1030
+ __decorateClass([
1031
+ (0, import_class_validator29.IsNotEmpty)({ message: "Please enter the years of experience" }),
1032
+ (0, import_class_validator29.IsString)({ message: "Years of experience must be a string" })
1033
+ ], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
1034
+ __decorateClass([
1035
+ (0, import_class_validator29.IsNotEmpty)({ message: "Please enter the business industry" }),
1036
+ (0, import_class_validator29.IsString)({ message: "Business industry must be a string" })
1037
+ ], JobBasicInformationDto.prototype, "businessIndustry", 2);
1020
1038
 
1021
1039
  // src/modules/job/dto/job-additional-comment.dto.ts
1022
1040
  var import_class_validator30 = require("class-validator");
package/dist/index.mjs CHANGED
@@ -602,6 +602,9 @@ __decorateClass([
602
602
  __decorateClass([
603
603
  IsNotEmpty21({ message: "Please enter the password." })
604
604
  ], CreateSubAdminDto.prototype, "password", 2);
605
+ __decorateClass([
606
+ IsNotEmpty21({ message: "Please Select Roles." })
607
+ ], CreateSubAdminDto.prototype, "roleIds", 2);
605
608
 
606
609
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
607
610
  import { IsString as IsString8 } from "class-validator";
@@ -636,6 +639,9 @@ __decorateClass([
636
639
  __decorateClass([
637
640
  IsNotEmpty22({ message: "Please enter the password." })
638
641
  ], UpdateSubAdminDto.prototype, "password", 2);
642
+ __decorateClass([
643
+ IsNotEmpty22({ message: "Please Select Roles." })
644
+ ], UpdateSubAdminDto.prototype, "roleIds", 2);
639
645
 
640
646
  // src/modules/user/client-profile/pattern/pattern.ts
641
647
  var CLIENT_PROFILE_PATTERN = {
@@ -872,6 +878,18 @@ __decorateClass([
872
878
  IsString11({ message: "Candidate communication skills must be a string" }),
873
879
  IsOptional5()
874
880
  ], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
881
+ __decorateClass([
882
+ IsNotEmpty26({ message: "Please enter the academic qualification" }),
883
+ IsString11({ message: "Academic qualification must be a string" })
884
+ ], JobBasicInformationDto.prototype, "academicQualification", 2);
885
+ __decorateClass([
886
+ IsNotEmpty26({ message: "Please enter the years of experience" }),
887
+ IsString11({ message: "Years of experience must be a string" })
888
+ ], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
889
+ __decorateClass([
890
+ IsNotEmpty26({ message: "Please enter the business industry" }),
891
+ IsString11({ message: "Business industry must be a string" })
892
+ ], JobBasicInformationDto.prototype, "businessIndustry", 2);
875
893
 
876
894
  // src/modules/job/dto/job-additional-comment.dto.ts
877
895
  import { IsOptional as IsOptional6, IsString as IsString12, MaxLength as MaxLength5 } from "class-validator";
@@ -25,4 +25,7 @@ export declare class JobBasicInformationDto {
25
25
  tentativeEndDate: string;
26
26
  onboardingTat?: string;
27
27
  candidateCommunicationSkills?: string;
28
+ academicQualification?: string;
29
+ yearsOfExperience?: string;
30
+ businessIndustry?: string;
28
31
  }
@@ -6,4 +6,5 @@ export declare class CreateSubAdminDto {
6
6
  mobileCode: string;
7
7
  mobile: string;
8
8
  password: string;
9
+ roleIds: string;
9
10
  }
@@ -6,4 +6,5 @@ export declare class UpdateSubAdminDto {
6
6
  mobileCode: string;
7
7
  mobile: string;
8
8
  password: string;
9
+ roleIds: string;
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.280",
3
+ "version": "1.0.282",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",