@experts_hub/shared 1.0.495 → 1.0.496

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.
@@ -2,6 +2,7 @@ import { BaseEntity } from "./base.entity";
2
2
  import { Country } from "./country.entity";
3
3
  import { State } from "./state.entity";
4
4
  import { FreelancerProfile } from "./freelancer-profile.entity";
5
+ import { CompanyProfile } from "./company-profile.entity";
5
6
  export declare class City extends BaseEntity {
6
7
  countryId: number;
7
8
  country: Country;
@@ -11,4 +12,5 @@ export declare class City extends BaseEntity {
11
12
  cityName: string;
12
13
  isActive: boolean;
13
14
  freelancerProfile: FreelancerProfile[];
15
+ companyProfile: CompanyProfile[];
14
16
  }
@@ -1,5 +1,8 @@
1
1
  import { BaseEntity } from "./base.entity";
2
2
  import { User } from "./user.entity";
3
+ import { Country } from "./country.entity";
4
+ import { State } from "./state.entity";
5
+ import { City } from "./city.entity";
3
6
  export declare enum KindOfHire {
4
7
  FULLTIME = "FULLTIME",
5
8
  PARTTIME = "PARTTIME",
@@ -35,7 +38,15 @@ export declare class CompanyProfile extends BaseEntity {
35
38
  originalDocumentUrl: string;
36
39
  serviceAgreementUrl: string;
37
40
  serviceAggrementSignedOn: Date;
41
+ countryId: number;
42
+ country: Country;
43
+ stateId: number;
44
+ state: State;
45
+ cityId: number;
46
+ city: City;
38
47
  companyAddress: string;
48
+ addressLine: string;
49
+ postalCode: string;
39
50
  phoneNumber: string;
40
51
  skills: string[];
41
52
  requiredFreelancer: string;
@@ -1,6 +1,7 @@
1
1
  import { BaseEntity } from "./base.entity";
2
2
  import { State } from "./state.entity";
3
3
  import { FreelancerProfile } from "./freelancer-profile.entity";
4
+ import { CompanyProfile } from "./company-profile.entity";
4
5
  export declare class Country extends BaseEntity {
5
6
  countryName: string;
6
7
  countryIsoCode: string;
@@ -9,4 +10,5 @@ export declare class Country extends BaseEntity {
9
10
  isActive: boolean;
10
11
  states: State[];
11
12
  freelancerProfile: FreelancerProfile[];
13
+ companyProfile: CompanyProfile[];
12
14
  }
@@ -76,6 +76,8 @@ export declare class FreelancerProfile extends BaseEntity {
76
76
  designation: string;
77
77
  experience: string;
78
78
  address: string;
79
+ addressLine: string;
80
+ postalCode: string;
79
81
  about: string;
80
82
  profileCompletedPercentage: Record<string, number>;
81
83
  originalDocumentUrl: string;
@@ -2,6 +2,7 @@ import { BaseEntity } from "./base.entity";
2
2
  import { Country } from "./country.entity";
3
3
  import { City } from "./city.entity";
4
4
  import { FreelancerProfile } from "./freelancer-profile.entity";
5
+ import { CompanyProfile } from "./company-profile.entity";
5
6
  export declare class State extends BaseEntity {
6
7
  countryId: number;
7
8
  country: Country;
@@ -10,4 +11,5 @@ export declare class State extends BaseEntity {
10
11
  stateCode: string;
11
12
  isActive: boolean;
12
13
  freelancerProfile: FreelancerProfile[];
14
+ companyProfile: CompanyProfile[];
13
15
  }
package/dist/index.d.mts CHANGED
@@ -340,7 +340,12 @@ declare const CLIENT_PROFILE_PATTERN: {
340
340
  declare class UpdateCompanyProfileDto {
341
341
  companyName?: string;
342
342
  webSite?: string;
343
+ countryId: number;
344
+ stateId: number;
345
+ cityId: number;
343
346
  companyAddress: string;
347
+ addressLine: string;
348
+ postalCode: string;
344
349
  mobileCode: string;
345
350
  phoneNumber?: string;
346
351
  email?: string;
@@ -571,7 +576,9 @@ declare class UpdateFreelancerProfileDto {
571
576
  natureOfWork: NatureOfWorkDto;
572
577
  modeOfWork: ModeOfWorkDto;
573
578
  portfolioLink?: string;
574
- address?: string;
579
+ address: string;
580
+ addressLine?: string;
581
+ postalCode: string;
575
582
  about?: string;
576
583
  linkedinProfileLink?: string;
577
584
  kaggleProfileLink?: string;
@@ -696,6 +703,62 @@ declare class Otp {
696
703
  user: User;
697
704
  }
698
705
 
706
+ declare enum KindOfHire {
707
+ FULLTIME = "FULLTIME",
708
+ PARTTIME = "PARTTIME",
709
+ BOTH = "BOTH",
710
+ HOURLY = "HOURLY",
711
+ FREELANCE = "FREELANCE",
712
+ FTE = "FTE"
713
+ }
714
+ declare enum ModeOfHire {
715
+ ONSITE = "ONSITE",
716
+ REMOTE = "REMOTE",
717
+ HYBRID = "HYBRID",
718
+ BOTH = "BOTH"
719
+ }
720
+ declare enum FromUsOn {
721
+ LINKEDIN = "LINKEDIN",
722
+ GOOGLE = "GOOGLE",
723
+ REFERRAL = "REFERRAL",
724
+ OTHER = "OTHER"
725
+ }
726
+ declare enum CompanyOnboardingStepEnum {
727
+ SIGN_UP = "SIGN_UP",
728
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
729
+ }
730
+ declare class CompanyProfile extends BaseEntity {
731
+ userId: number;
732
+ user: User;
733
+ companyName: string;
734
+ bio: string;
735
+ webSite: string;
736
+ aboutCompany: string;
737
+ isServiceAgreementSigned: boolean;
738
+ originalDocumentUrl: string;
739
+ serviceAgreementUrl: string;
740
+ serviceAggrementSignedOn: Date;
741
+ countryId: number;
742
+ country: Country;
743
+ stateId: number;
744
+ state: State;
745
+ cityId: number;
746
+ city: City;
747
+ companyAddress: string;
748
+ addressLine: string;
749
+ postalCode: string;
750
+ phoneNumber: string;
751
+ skills: string[];
752
+ requiredFreelancer: string;
753
+ kindOfHiring: KindOfHire;
754
+ numberOfHours: number;
755
+ modeOfHire: ModeOfHire;
756
+ foundUsOn: FromUsOn;
757
+ foundUsOnDetail: string;
758
+ onboardingStepCompleted: CompanyOnboardingStepEnum;
759
+ signaturePositions: any;
760
+ }
761
+
699
762
  declare class City extends BaseEntity {
700
763
  countryId: number;
701
764
  country: Country;
@@ -705,6 +768,7 @@ declare class City extends BaseEntity {
705
768
  cityName: string;
706
769
  isActive: boolean;
707
770
  freelancerProfile: FreelancerProfile[];
771
+ companyProfile: CompanyProfile[];
708
772
  }
709
773
 
710
774
  declare class State extends BaseEntity {
@@ -715,6 +779,7 @@ declare class State extends BaseEntity {
715
779
  stateCode: string;
716
780
  isActive: boolean;
717
781
  freelancerProfile: FreelancerProfile[];
782
+ companyProfile: CompanyProfile[];
718
783
  }
719
784
 
720
785
  declare class Country extends BaseEntity {
@@ -725,6 +790,7 @@ declare class Country extends BaseEntity {
725
790
  isActive: boolean;
726
791
  states: State[];
727
792
  freelancerProfile: FreelancerProfile[];
793
+ companyProfile: CompanyProfile[];
728
794
  }
729
795
 
730
796
  declare enum NatureOfWork {
@@ -800,6 +866,8 @@ declare class FreelancerProfile extends BaseEntity {
800
866
  designation: string;
801
867
  experience: string;
802
868
  address: string;
869
+ addressLine: string;
870
+ postalCode: string;
803
871
  about: string;
804
872
  profileCompletedPercentage: Record<string, number>;
805
873
  originalDocumentUrl: string;
@@ -811,54 +879,6 @@ declare class FreelancerProfile extends BaseEntity {
811
879
  signaturePositions: any;
812
880
  }
813
881
 
814
- declare enum KindOfHire {
815
- FULLTIME = "FULLTIME",
816
- PARTTIME = "PARTTIME",
817
- BOTH = "BOTH",
818
- HOURLY = "HOURLY",
819
- FREELANCE = "FREELANCE",
820
- FTE = "FTE"
821
- }
822
- declare enum ModeOfHire {
823
- ONSITE = "ONSITE",
824
- REMOTE = "REMOTE",
825
- HYBRID = "HYBRID",
826
- BOTH = "BOTH"
827
- }
828
- declare enum FromUsOn {
829
- LINKEDIN = "LINKEDIN",
830
- GOOGLE = "GOOGLE",
831
- REFERRAL = "REFERRAL",
832
- OTHER = "OTHER"
833
- }
834
- declare enum CompanyOnboardingStepEnum {
835
- SIGN_UP = "SIGN_UP",
836
- PROFILE_COMPLETION = "PROFILE_COMPLETION"
837
- }
838
- declare class CompanyProfile extends BaseEntity {
839
- userId: number;
840
- user: User;
841
- companyName: string;
842
- bio: string;
843
- webSite: string;
844
- aboutCompany: string;
845
- isServiceAgreementSigned: boolean;
846
- originalDocumentUrl: string;
847
- serviceAgreementUrl: string;
848
- serviceAggrementSignedOn: Date;
849
- companyAddress: string;
850
- phoneNumber: string;
851
- skills: string[];
852
- requiredFreelancer: string;
853
- kindOfHiring: KindOfHire;
854
- numberOfHours: number;
855
- modeOfHire: ModeOfHire;
856
- foundUsOn: FromUsOn;
857
- foundUsOnDetail: string;
858
- onboardingStepCompleted: CompanyOnboardingStepEnum;
859
- signaturePositions: any;
860
- }
861
-
862
882
  declare enum JobSkillCategoryEnum {
863
883
  GOOD_TO_HAVE = 0,
864
884
  MUST_HAVE = 1
package/dist/index.d.ts CHANGED
@@ -340,7 +340,12 @@ declare const CLIENT_PROFILE_PATTERN: {
340
340
  declare class UpdateCompanyProfileDto {
341
341
  companyName?: string;
342
342
  webSite?: string;
343
+ countryId: number;
344
+ stateId: number;
345
+ cityId: number;
343
346
  companyAddress: string;
347
+ addressLine: string;
348
+ postalCode: string;
344
349
  mobileCode: string;
345
350
  phoneNumber?: string;
346
351
  email?: string;
@@ -571,7 +576,9 @@ declare class UpdateFreelancerProfileDto {
571
576
  natureOfWork: NatureOfWorkDto;
572
577
  modeOfWork: ModeOfWorkDto;
573
578
  portfolioLink?: string;
574
- address?: string;
579
+ address: string;
580
+ addressLine?: string;
581
+ postalCode: string;
575
582
  about?: string;
576
583
  linkedinProfileLink?: string;
577
584
  kaggleProfileLink?: string;
@@ -696,6 +703,62 @@ declare class Otp {
696
703
  user: User;
697
704
  }
698
705
 
706
+ declare enum KindOfHire {
707
+ FULLTIME = "FULLTIME",
708
+ PARTTIME = "PARTTIME",
709
+ BOTH = "BOTH",
710
+ HOURLY = "HOURLY",
711
+ FREELANCE = "FREELANCE",
712
+ FTE = "FTE"
713
+ }
714
+ declare enum ModeOfHire {
715
+ ONSITE = "ONSITE",
716
+ REMOTE = "REMOTE",
717
+ HYBRID = "HYBRID",
718
+ BOTH = "BOTH"
719
+ }
720
+ declare enum FromUsOn {
721
+ LINKEDIN = "LINKEDIN",
722
+ GOOGLE = "GOOGLE",
723
+ REFERRAL = "REFERRAL",
724
+ OTHER = "OTHER"
725
+ }
726
+ declare enum CompanyOnboardingStepEnum {
727
+ SIGN_UP = "SIGN_UP",
728
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
729
+ }
730
+ declare class CompanyProfile extends BaseEntity {
731
+ userId: number;
732
+ user: User;
733
+ companyName: string;
734
+ bio: string;
735
+ webSite: string;
736
+ aboutCompany: string;
737
+ isServiceAgreementSigned: boolean;
738
+ originalDocumentUrl: string;
739
+ serviceAgreementUrl: string;
740
+ serviceAggrementSignedOn: Date;
741
+ countryId: number;
742
+ country: Country;
743
+ stateId: number;
744
+ state: State;
745
+ cityId: number;
746
+ city: City;
747
+ companyAddress: string;
748
+ addressLine: string;
749
+ postalCode: string;
750
+ phoneNumber: string;
751
+ skills: string[];
752
+ requiredFreelancer: string;
753
+ kindOfHiring: KindOfHire;
754
+ numberOfHours: number;
755
+ modeOfHire: ModeOfHire;
756
+ foundUsOn: FromUsOn;
757
+ foundUsOnDetail: string;
758
+ onboardingStepCompleted: CompanyOnboardingStepEnum;
759
+ signaturePositions: any;
760
+ }
761
+
699
762
  declare class City extends BaseEntity {
700
763
  countryId: number;
701
764
  country: Country;
@@ -705,6 +768,7 @@ declare class City extends BaseEntity {
705
768
  cityName: string;
706
769
  isActive: boolean;
707
770
  freelancerProfile: FreelancerProfile[];
771
+ companyProfile: CompanyProfile[];
708
772
  }
709
773
 
710
774
  declare class State extends BaseEntity {
@@ -715,6 +779,7 @@ declare class State extends BaseEntity {
715
779
  stateCode: string;
716
780
  isActive: boolean;
717
781
  freelancerProfile: FreelancerProfile[];
782
+ companyProfile: CompanyProfile[];
718
783
  }
719
784
 
720
785
  declare class Country extends BaseEntity {
@@ -725,6 +790,7 @@ declare class Country extends BaseEntity {
725
790
  isActive: boolean;
726
791
  states: State[];
727
792
  freelancerProfile: FreelancerProfile[];
793
+ companyProfile: CompanyProfile[];
728
794
  }
729
795
 
730
796
  declare enum NatureOfWork {
@@ -800,6 +866,8 @@ declare class FreelancerProfile extends BaseEntity {
800
866
  designation: string;
801
867
  experience: string;
802
868
  address: string;
869
+ addressLine: string;
870
+ postalCode: string;
803
871
  about: string;
804
872
  profileCompletedPercentage: Record<string, number>;
805
873
  originalDocumentUrl: string;
@@ -811,54 +879,6 @@ declare class FreelancerProfile extends BaseEntity {
811
879
  signaturePositions: any;
812
880
  }
813
881
 
814
- declare enum KindOfHire {
815
- FULLTIME = "FULLTIME",
816
- PARTTIME = "PARTTIME",
817
- BOTH = "BOTH",
818
- HOURLY = "HOURLY",
819
- FREELANCE = "FREELANCE",
820
- FTE = "FTE"
821
- }
822
- declare enum ModeOfHire {
823
- ONSITE = "ONSITE",
824
- REMOTE = "REMOTE",
825
- HYBRID = "HYBRID",
826
- BOTH = "BOTH"
827
- }
828
- declare enum FromUsOn {
829
- LINKEDIN = "LINKEDIN",
830
- GOOGLE = "GOOGLE",
831
- REFERRAL = "REFERRAL",
832
- OTHER = "OTHER"
833
- }
834
- declare enum CompanyOnboardingStepEnum {
835
- SIGN_UP = "SIGN_UP",
836
- PROFILE_COMPLETION = "PROFILE_COMPLETION"
837
- }
838
- declare class CompanyProfile extends BaseEntity {
839
- userId: number;
840
- user: User;
841
- companyName: string;
842
- bio: string;
843
- webSite: string;
844
- aboutCompany: string;
845
- isServiceAgreementSigned: boolean;
846
- originalDocumentUrl: string;
847
- serviceAgreementUrl: string;
848
- serviceAggrementSignedOn: Date;
849
- companyAddress: string;
850
- phoneNumber: string;
851
- skills: string[];
852
- requiredFreelancer: string;
853
- kindOfHiring: KindOfHire;
854
- numberOfHours: number;
855
- modeOfHire: ModeOfHire;
856
- foundUsOn: FromUsOn;
857
- foundUsOnDetail: string;
858
- onboardingStepCompleted: CompanyOnboardingStepEnum;
859
- signaturePositions: any;
860
- }
861
-
862
882
  declare enum JobSkillCategoryEnum {
863
883
  GOOD_TO_HAVE = 0,
864
884
  MUST_HAVE = 1