@experts_hub/shared 1.0.82 → 1.0.83

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
  }
@@ -539,4 +550,4 @@ declare class JobRoles extends BaseEntity {
539
550
  isActive: boolean;
540
551
  }
541
552
 
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 };
553
+ 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
  }
@@ -539,4 +550,4 @@ declare class JobRoles extends BaseEntity {
539
550
  isActive: boolean;
540
551
  }
541
552
 
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 };
553
+ 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",
@@ -1354,6 +1384,7 @@ JobRoles = __decorateClass([
1354
1384
  ResumeParserLog,
1355
1385
  SUBADMIN_PATTERN,
1356
1386
  Skill,
1387
+ Step,
1357
1388
  TypeOfEmployment,
1358
1389
  UpdateCompanyProfileDto,
1359
1390
  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",
@@ -1378,6 +1414,7 @@ export {
1378
1414
  ResumeParserLog,
1379
1415
  SUBADMIN_PATTERN,
1380
1416
  Skill,
1417
+ Step,
1381
1418
  TypeOfEmployment,
1382
1419
  UpdateCompanyProfileDto,
1383
1420
  UpdateSubAdminAccountStatusDto,
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.83",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",