@experts_hub/shared 1.0.82 → 1.0.84

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.
@@ -11,6 +11,11 @@ export declare enum TypeOfEmployment {
11
11
  PARTTIME = "PARTTIME",
12
12
  BOTH = "BOTH"
13
13
  }
14
+ export declare enum Step {
15
+ BASIC_INFORMATION = "BASIC_INFORMATION",
16
+ ADDITIONAL_COMMENTS = "ADDITIONAL_COMMENTS",
17
+ JOB_DESCRIPTION = "JOB_DESCRIPTION"
18
+ }
14
19
  export declare enum JobStatus {
15
20
  ACTIVE = "ACTIVE",
16
21
  OPEN = "OPEN",
@@ -27,8 +32,14 @@ export declare class Job extends BaseEntity {
27
32
  openings: number;
28
33
  location: JobLocation;
29
34
  typeOfEmployment: TypeOfEmployment;
30
- additionalComment: string;
35
+ currency: string;
36
+ expectedSalaryFrom: number;
37
+ expectedSalaryTo: number;
31
38
  description: string;
39
+ additionalComment: string;
40
+ onboardingTat: string;
41
+ candidateCommunicationSkills: string;
42
+ stepCompleted: Step;
32
43
  status: JobStatus;
33
44
  jobSkills: JobSkill[];
34
45
  }
package/dist/index.d.mts CHANGED
@@ -312,6 +312,11 @@ declare enum TypeOfEmployment {
312
312
  PARTTIME = "PARTTIME",
313
313
  BOTH = "BOTH"
314
314
  }
315
+ declare enum Step {
316
+ BASIC_INFORMATION = "BASIC_INFORMATION",
317
+ ADDITIONAL_COMMENTS = "ADDITIONAL_COMMENTS",
318
+ JOB_DESCRIPTION = "JOB_DESCRIPTION"
319
+ }
315
320
  declare enum JobStatus {
316
321
  ACTIVE = "ACTIVE",
317
322
  OPEN = "OPEN",
@@ -328,8 +333,14 @@ declare class Job extends BaseEntity {
328
333
  openings: number;
329
334
  location: JobLocation;
330
335
  typeOfEmployment: TypeOfEmployment;
331
- additionalComment: string;
336
+ currency: string;
337
+ expectedSalaryFrom: number;
338
+ expectedSalaryTo: number;
332
339
  description: string;
340
+ additionalComment: string;
341
+ onboardingTat: string;
342
+ candidateCommunicationSkills: string;
343
+ stepCompleted: Step;
333
344
  status: JobStatus;
334
345
  jobSkills: JobSkill[];
335
346
  }
@@ -500,6 +511,7 @@ declare const JOB_ROLE_PATTERN: {
500
511
  declare const PROFILE_PATTERN: {
501
512
  fetchFreelancerProfile: string;
502
513
  changeFreelancerPassword: string;
514
+ uploadFreelancerProfilePic: string;
503
515
  };
504
516
 
505
517
  declare class FreelancerChangePasswordDto {
@@ -539,4 +551,4 @@ declare class JobRoles extends BaseEntity {
539
551
  isActive: boolean;
540
552
  }
541
553
 
542
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
554
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -312,6 +312,11 @@ declare enum TypeOfEmployment {
312
312
  PARTTIME = "PARTTIME",
313
313
  BOTH = "BOTH"
314
314
  }
315
+ declare enum Step {
316
+ BASIC_INFORMATION = "BASIC_INFORMATION",
317
+ ADDITIONAL_COMMENTS = "ADDITIONAL_COMMENTS",
318
+ JOB_DESCRIPTION = "JOB_DESCRIPTION"
319
+ }
315
320
  declare enum JobStatus {
316
321
  ACTIVE = "ACTIVE",
317
322
  OPEN = "OPEN",
@@ -328,8 +333,14 @@ declare class Job extends BaseEntity {
328
333
  openings: number;
329
334
  location: JobLocation;
330
335
  typeOfEmployment: TypeOfEmployment;
331
- additionalComment: string;
336
+ currency: string;
337
+ expectedSalaryFrom: number;
338
+ expectedSalaryTo: number;
332
339
  description: string;
340
+ additionalComment: string;
341
+ onboardingTat: string;
342
+ candidateCommunicationSkills: string;
343
+ stepCompleted: Step;
333
344
  status: JobStatus;
334
345
  jobSkills: JobSkill[];
335
346
  }
@@ -500,6 +511,7 @@ declare const JOB_ROLE_PATTERN: {
500
511
  declare const PROFILE_PATTERN: {
501
512
  fetchFreelancerProfile: string;
502
513
  changeFreelancerPassword: string;
514
+ uploadFreelancerProfilePic: string;
503
515
  };
504
516
 
505
517
  declare class FreelancerChangePasswordDto {
@@ -539,4 +551,4 @@ declare class JobRoles extends BaseEntity {
539
551
  isActive: boolean;
540
552
  }
541
553
 
542
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
554
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.js CHANGED
@@ -72,6 +72,7 @@ __export(index_exports, {
72
72
  ResumeParserLog: () => ResumeParserLog,
73
73
  SUBADMIN_PATTERN: () => SUBADMIN_PATTERN,
74
74
  Skill: () => Skill,
75
+ Step: () => Step,
75
76
  TypeOfEmployment: () => TypeOfEmployment,
76
77
  UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
77
78
  UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
@@ -735,6 +736,12 @@ var TypeOfEmployment = /* @__PURE__ */ ((TypeOfEmployment2) => {
735
736
  TypeOfEmployment2["BOTH"] = "BOTH";
736
737
  return TypeOfEmployment2;
737
738
  })(TypeOfEmployment || {});
739
+ var Step = /* @__PURE__ */ ((Step2) => {
740
+ Step2["BASIC_INFORMATION"] = "BASIC_INFORMATION";
741
+ Step2["ADDITIONAL_COMMENTS"] = "ADDITIONAL_COMMENTS";
742
+ Step2["JOB_DESCRIPTION"] = "JOB_DESCRIPTION";
743
+ return Step2;
744
+ })(Step || {});
738
745
  var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
739
746
  JobStatus2["ACTIVE"] = "ACTIVE";
740
747
  JobStatus2["OPEN"] = "OPEN";
@@ -783,11 +790,34 @@ __decorateClass([
783
790
  })
784
791
  ], Job.prototype, "typeOfEmployment", 2);
785
792
  __decorateClass([
786
- (0, import_typeorm8.Column)({ name: "additional_comment", type: "varchar", nullable: true })
787
- ], Job.prototype, "additionalComment", 2);
793
+ (0, import_typeorm8.Column)({ name: "currency", type: "varchar", default: "USD" })
794
+ ], Job.prototype, "currency", 2);
795
+ __decorateClass([
796
+ (0, import_typeorm8.Column)({ name: "expected_salary_from", type: "decimal", precision: 10, scale: 2, default: 0 })
797
+ ], Job.prototype, "expectedSalaryFrom", 2);
798
+ __decorateClass([
799
+ (0, import_typeorm8.Column)({ name: "expected_salary_to", type: "decimal", precision: 10, scale: 2, default: 0 })
800
+ ], Job.prototype, "expectedSalaryTo", 2);
788
801
  __decorateClass([
789
802
  (0, import_typeorm8.Column)({ name: "description", type: "varchar", nullable: true })
790
803
  ], Job.prototype, "description", 2);
804
+ __decorateClass([
805
+ (0, import_typeorm8.Column)({ name: "additional_comment", type: "varchar", nullable: true })
806
+ ], Job.prototype, "additionalComment", 2);
807
+ __decorateClass([
808
+ (0, import_typeorm8.Column)({ name: "onboarding_tat", type: "varchar", length: 50, nullable: true })
809
+ ], Job.prototype, "onboardingTat", 2);
810
+ __decorateClass([
811
+ (0, import_typeorm8.Column)({ name: "candidate_communication_skills", type: "varchar", nullable: true })
812
+ ], Job.prototype, "candidateCommunicationSkills", 2);
813
+ __decorateClass([
814
+ (0, import_typeorm8.Column)({
815
+ name: "step_completed",
816
+ type: "enum",
817
+ enum: Step,
818
+ nullable: true
819
+ })
820
+ ], Job.prototype, "stepCompleted", 2);
791
821
  __decorateClass([
792
822
  (0, import_typeorm8.Column)({
793
823
  name: "status",
@@ -1084,13 +1114,14 @@ var JOB_ROLE_PATTERN = {
1084
1114
  fetchJobRolesForDropdown: "fetch.job.roles.for.dropdown"
1085
1115
  };
1086
1116
 
1087
- // src/modules/profile/pattern/pattern.ts
1117
+ // src/modules/user/freelancer-profile/pattern/pattern.ts
1088
1118
  var PROFILE_PATTERN = {
1089
1119
  fetchFreelancerProfile: "fetch.freelancer.profile",
1090
- changeFreelancerPassword: "change.freelancer.password"
1120
+ changeFreelancerPassword: "change.freelancer.password",
1121
+ uploadFreelancerProfilePic: "upload.freelancer.profilepic"
1091
1122
  };
1092
1123
 
1093
- // src/modules/profile/dto/freelancer-change-password.dto.ts
1124
+ // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
1094
1125
  var import_class_validator17 = require("class-validator");
1095
1126
  var FreelancerChangePasswordDto = class {
1096
1127
  };
@@ -1354,6 +1385,7 @@ JobRoles = __decorateClass([
1354
1385
  ResumeParserLog,
1355
1386
  SUBADMIN_PATTERN,
1356
1387
  Skill,
1388
+ Step,
1357
1389
  TypeOfEmployment,
1358
1390
  UpdateCompanyProfileDto,
1359
1391
  UpdateSubAdminAccountStatusDto,
package/dist/index.mjs CHANGED
@@ -689,7 +689,14 @@ FreelancerProfile = __decorateClass([
689
689
  ], FreelancerProfile);
690
690
 
691
691
  // src/entities/job-entity.ts
692
- import { Entity as Entity7, Column as Column8, Index as Index4, ManyToOne as ManyToOne6, JoinColumn as JoinColumn6, OneToMany as OneToMany3 } from "typeorm";
692
+ import {
693
+ Entity as Entity7,
694
+ Column as Column8,
695
+ Index as Index4,
696
+ ManyToOne as ManyToOne6,
697
+ JoinColumn as JoinColumn6,
698
+ OneToMany as OneToMany3
699
+ } from "typeorm";
693
700
 
694
701
  // src/entities/job-skill.entity.ts
695
702
  import { Entity as Entity6, Column as Column7, Index as Index3, ManyToOne as ManyToOne5, JoinColumn as JoinColumn5 } from "typeorm";
@@ -750,6 +757,12 @@ var TypeOfEmployment = /* @__PURE__ */ ((TypeOfEmployment2) => {
750
757
  TypeOfEmployment2["BOTH"] = "BOTH";
751
758
  return TypeOfEmployment2;
752
759
  })(TypeOfEmployment || {});
760
+ var Step = /* @__PURE__ */ ((Step2) => {
761
+ Step2["BASIC_INFORMATION"] = "BASIC_INFORMATION";
762
+ Step2["ADDITIONAL_COMMENTS"] = "ADDITIONAL_COMMENTS";
763
+ Step2["JOB_DESCRIPTION"] = "JOB_DESCRIPTION";
764
+ return Step2;
765
+ })(Step || {});
753
766
  var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
754
767
  JobStatus2["ACTIVE"] = "ACTIVE";
755
768
  JobStatus2["OPEN"] = "OPEN";
@@ -798,11 +811,34 @@ __decorateClass([
798
811
  })
799
812
  ], Job.prototype, "typeOfEmployment", 2);
800
813
  __decorateClass([
801
- Column8({ name: "additional_comment", type: "varchar", nullable: true })
802
- ], Job.prototype, "additionalComment", 2);
814
+ Column8({ name: "currency", type: "varchar", default: "USD" })
815
+ ], Job.prototype, "currency", 2);
816
+ __decorateClass([
817
+ Column8({ name: "expected_salary_from", type: "decimal", precision: 10, scale: 2, default: 0 })
818
+ ], Job.prototype, "expectedSalaryFrom", 2);
819
+ __decorateClass([
820
+ Column8({ name: "expected_salary_to", type: "decimal", precision: 10, scale: 2, default: 0 })
821
+ ], Job.prototype, "expectedSalaryTo", 2);
803
822
  __decorateClass([
804
823
  Column8({ name: "description", type: "varchar", nullable: true })
805
824
  ], Job.prototype, "description", 2);
825
+ __decorateClass([
826
+ Column8({ name: "additional_comment", type: "varchar", nullable: true })
827
+ ], Job.prototype, "additionalComment", 2);
828
+ __decorateClass([
829
+ Column8({ name: "onboarding_tat", type: "varchar", length: 50, nullable: true })
830
+ ], Job.prototype, "onboardingTat", 2);
831
+ __decorateClass([
832
+ Column8({ name: "candidate_communication_skills", type: "varchar", nullable: true })
833
+ ], Job.prototype, "candidateCommunicationSkills", 2);
834
+ __decorateClass([
835
+ Column8({
836
+ name: "step_completed",
837
+ type: "enum",
838
+ enum: Step,
839
+ nullable: true
840
+ })
841
+ ], Job.prototype, "stepCompleted", 2);
806
842
  __decorateClass([
807
843
  Column8({
808
844
  name: "status",
@@ -1103,13 +1139,14 @@ var JOB_ROLE_PATTERN = {
1103
1139
  fetchJobRolesForDropdown: "fetch.job.roles.for.dropdown"
1104
1140
  };
1105
1141
 
1106
- // src/modules/profile/pattern/pattern.ts
1142
+ // src/modules/user/freelancer-profile/pattern/pattern.ts
1107
1143
  var PROFILE_PATTERN = {
1108
1144
  fetchFreelancerProfile: "fetch.freelancer.profile",
1109
- changeFreelancerPassword: "change.freelancer.password"
1145
+ changeFreelancerPassword: "change.freelancer.password",
1146
+ uploadFreelancerProfilePic: "upload.freelancer.profilepic"
1110
1147
  };
1111
1148
 
1112
- // src/modules/profile/dto/freelancer-change-password.dto.ts
1149
+ // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
1113
1150
  import {
1114
1151
  IsString as IsString9,
1115
1152
  IsNotEmpty as IsNotEmpty14,
@@ -1378,6 +1415,7 @@ export {
1378
1415
  ResumeParserLog,
1379
1416
  SUBADMIN_PATTERN,
1380
1417
  Skill,
1418
+ Step,
1381
1419
  TypeOfEmployment,
1382
1420
  UpdateCompanyProfileDto,
1383
1421
  UpdateSubAdminAccountStatusDto,
@@ -6,4 +6,4 @@ export * from './user/subadmin';
6
6
  export * from './user/client-profile';
7
7
  export * from './question';
8
8
  export * from './job';
9
- export * from './profile';
9
+ export * from './user/freelancer-profile';
@@ -1,4 +1,5 @@
1
1
  export declare const PROFILE_PATTERN: {
2
2
  fetchFreelancerProfile: string;
3
3
  changeFreelancerPassword: string;
4
+ uploadFreelancerProfilePic: string;
4
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.82",
3
+ "version": "1.0.84",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",