@jobsearch-works/firestore-models 2.4.10 → 2.4.11
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 +141 -117
- package/dist/index.d.ts +141 -117
- package/dist/index.js +0 -4
- package/dist/index.mjs +0 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -640,6 +640,69 @@ interface VacancySuggestion {
|
|
|
640
640
|
createdAt?: Date | string;
|
|
641
641
|
}
|
|
642
642
|
|
|
643
|
+
interface Education {
|
|
644
|
+
degree: string;
|
|
645
|
+
fieldOfStudy: string;
|
|
646
|
+
institution: string;
|
|
647
|
+
startDate: string | null;
|
|
648
|
+
endDate: string | null;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
interface WorkExperience {
|
|
652
|
+
jobTitle: string;
|
|
653
|
+
company: string;
|
|
654
|
+
startDate: string;
|
|
655
|
+
endDate: string;
|
|
656
|
+
description: string;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
interface Certification {
|
|
660
|
+
name: string;
|
|
661
|
+
organization: string;
|
|
662
|
+
issueDate: string;
|
|
663
|
+
expirationDate?: string;
|
|
664
|
+
credentialId?: string;
|
|
665
|
+
verificationUrl?: string;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
interface Language {
|
|
669
|
+
language: string;
|
|
670
|
+
proficiency: string;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
interface Project {
|
|
674
|
+
projectName: string;
|
|
675
|
+
description: string;
|
|
676
|
+
technologies: string[];
|
|
677
|
+
startDate: string;
|
|
678
|
+
endDate: string;
|
|
679
|
+
url: string | null;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
type Skill = string;
|
|
683
|
+
|
|
684
|
+
type Summary = string | null;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Subcollection document under Client
|
|
688
|
+
* Path: clients/{clientId}/resumes/{docId}
|
|
689
|
+
* @see Client - Parent document
|
|
690
|
+
*
|
|
691
|
+
* @description Represents a client's resume document.
|
|
692
|
+
*/
|
|
693
|
+
interface ClientResume {
|
|
694
|
+
readonly id?: string;
|
|
695
|
+
jobTitle: string | null;
|
|
696
|
+
skills: Skill[];
|
|
697
|
+
education: Education[];
|
|
698
|
+
experience: WorkExperience[];
|
|
699
|
+
certifications: Certification[];
|
|
700
|
+
languages: Language[];
|
|
701
|
+
projects: Project[];
|
|
702
|
+
summary: Summary;
|
|
703
|
+
additionalInfo: string | null;
|
|
704
|
+
}
|
|
705
|
+
|
|
643
706
|
declare const ApplicationStatus: {
|
|
644
707
|
readonly New: "new";
|
|
645
708
|
readonly Submitted: "submitted";
|
|
@@ -659,7 +722,7 @@ interface Application {
|
|
|
659
722
|
status: ApplicationStatus;
|
|
660
723
|
assignedTo?: string;
|
|
661
724
|
coverLetter?: string;
|
|
662
|
-
resume?:
|
|
725
|
+
resume?: ClientResume;
|
|
663
726
|
submittedAt?: Date | string;
|
|
664
727
|
interviewingAt?: Date | string;
|
|
665
728
|
acceptedAt?: Date | string;
|
|
@@ -696,52 +759,37 @@ interface ApplicationQuestion {
|
|
|
696
759
|
action?: string;
|
|
697
760
|
}
|
|
698
761
|
|
|
699
|
-
interface ClientCompanyPreferences {
|
|
700
|
-
companyId?: string;
|
|
701
|
-
name: string;
|
|
702
|
-
careersUrl: string;
|
|
703
|
-
location: string;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
interface ClientLanguage {
|
|
707
|
-
readonly language: string;
|
|
708
|
-
readonly level: string;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
interface ClientCertifications {
|
|
712
|
-
readonly name: string;
|
|
713
|
-
readonly date: Date;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
interface ClientSkill {
|
|
717
|
-
readonly name: string;
|
|
718
|
-
readonly level: string;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
interface ClientEducation {
|
|
722
|
-
readonly schoolName: string;
|
|
723
|
-
readonly degree: string;
|
|
724
|
-
readonly fieldOfStudy: string;
|
|
725
|
-
readonly startDate: Date;
|
|
726
|
-
readonly endDate: Date;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
interface ClientWorkExperience {
|
|
730
|
-
readonly companyName: string;
|
|
731
|
-
readonly position: string;
|
|
732
|
-
readonly startDate: Date;
|
|
733
|
-
readonly endDate: Date;
|
|
734
|
-
readonly description: string;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
762
|
/**
|
|
738
763
|
* Embedded sub-object within Client document
|
|
739
764
|
* @see Client - Parent document interface
|
|
740
765
|
*/
|
|
741
|
-
interface
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
766
|
+
interface ClientPersonalData {
|
|
767
|
+
id?: string;
|
|
768
|
+
firstName: string;
|
|
769
|
+
lastName: string;
|
|
770
|
+
middleName?: string;
|
|
771
|
+
preferredName?: string;
|
|
772
|
+
email: string;
|
|
773
|
+
phone: string;
|
|
774
|
+
address: string;
|
|
775
|
+
city: string;
|
|
776
|
+
suburb: string;
|
|
777
|
+
state: string;
|
|
778
|
+
postcode: string;
|
|
779
|
+
country: string;
|
|
780
|
+
linkedIn?: string;
|
|
781
|
+
countryPhoneCode: string;
|
|
782
|
+
nationality: string;
|
|
783
|
+
dateOfBirth?: Date | string;
|
|
784
|
+
ethnicity?: string;
|
|
785
|
+
disabilityStatus?: string;
|
|
786
|
+
securityClearance?: string;
|
|
787
|
+
createdAt?: Date | string;
|
|
788
|
+
updatedAt?: Date | string;
|
|
789
|
+
photoUrl?: string;
|
|
790
|
+
personalWebsite?: string;
|
|
791
|
+
portfolioUrl?: string;
|
|
792
|
+
professionalTitle?: string;
|
|
745
793
|
}
|
|
746
794
|
|
|
747
795
|
/**
|
|
@@ -770,32 +818,13 @@ interface ClientJobPreferences {
|
|
|
770
818
|
* Embedded sub-object within Client document
|
|
771
819
|
* @see Client - Parent document interface
|
|
772
820
|
*/
|
|
773
|
-
interface
|
|
774
|
-
id?: string;
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
middleName?: string;
|
|
778
|
-
preferredName?: string;
|
|
779
|
-
email: string;
|
|
780
|
-
phone: string;
|
|
781
|
-
address: string;
|
|
782
|
-
city: string;
|
|
783
|
-
suburb: string;
|
|
784
|
-
state: string;
|
|
785
|
-
postcode: string;
|
|
786
|
-
country: string;
|
|
787
|
-
linkedIn?: string;
|
|
788
|
-
countryPhoneCode: string;
|
|
789
|
-
nationality: string;
|
|
790
|
-
dateOfBirth?: Date | string;
|
|
791
|
-
ethnicity?: string;
|
|
792
|
-
disabilityStatus?: string;
|
|
793
|
-
securityClearance?: string;
|
|
794
|
-
createdAt?: Date | string;
|
|
795
|
-
updatedAt?: Date | string;
|
|
821
|
+
interface ClientWebsitePreferences {
|
|
822
|
+
readonly id?: string;
|
|
823
|
+
theme: string;
|
|
824
|
+
notifications: string;
|
|
796
825
|
}
|
|
797
826
|
|
|
798
|
-
type ClientStatus = typeof ClientStatusEnum[keyof typeof ClientStatusEnum];
|
|
827
|
+
type ClientStatus = (typeof ClientStatusEnum)[keyof typeof ClientStatusEnum];
|
|
799
828
|
/**
|
|
800
829
|
* Root Client document
|
|
801
830
|
* Path: clients/{clientId}
|
|
@@ -809,12 +838,7 @@ interface Client {
|
|
|
809
838
|
readonly personalData?: ClientPersonalData;
|
|
810
839
|
readonly jobPreferences?: ClientJobPreferences;
|
|
811
840
|
readonly websitePreferences?: ClientWebsitePreferences;
|
|
812
|
-
|
|
813
|
-
readonly education?: ClientEducation[];
|
|
814
|
-
readonly skills?: ClientSkill[];
|
|
815
|
-
readonly certifications?: ClientCertifications;
|
|
816
|
-
readonly languages?: ClientLanguage[];
|
|
817
|
-
readonly clientCompanyPreferences?: ClientCompanyPreferences[];
|
|
841
|
+
resume: ClientResume;
|
|
818
842
|
readonly createdAt?: Date | string;
|
|
819
843
|
}
|
|
820
844
|
|
|
@@ -879,45 +903,6 @@ interface ClientQuestion {
|
|
|
879
903
|
vacancyId?: string;
|
|
880
904
|
}
|
|
881
905
|
|
|
882
|
-
/**
|
|
883
|
-
* Subcollection document under Client
|
|
884
|
-
* Path: clients/{clientId}/resumes/{docId}
|
|
885
|
-
* @see Client - Parent document
|
|
886
|
-
*
|
|
887
|
-
* @description Represents a client's resume document.
|
|
888
|
-
* @author [Your Name]
|
|
889
|
-
* @version 1.0.0
|
|
890
|
-
* @since [Date]
|
|
891
|
-
*/
|
|
892
|
-
interface ClientResume {
|
|
893
|
-
readonly id?: string;
|
|
894
|
-
title: string;
|
|
895
|
-
createdAt: Date | string;
|
|
896
|
-
updatedAt: Date | string;
|
|
897
|
-
format: string;
|
|
898
|
-
storagePath: string;
|
|
899
|
-
notes: string;
|
|
900
|
-
isActive: boolean;
|
|
901
|
-
clientId: string;
|
|
902
|
-
about: {
|
|
903
|
-
summary: string;
|
|
904
|
-
};
|
|
905
|
-
education: Array<{
|
|
906
|
-
school: string;
|
|
907
|
-
degree: string;
|
|
908
|
-
field: string;
|
|
909
|
-
startDate: Date | string;
|
|
910
|
-
endDate?: Date | string;
|
|
911
|
-
}>;
|
|
912
|
-
workExperience: Array<{
|
|
913
|
-
company: string;
|
|
914
|
-
role: string;
|
|
915
|
-
startDate: Date | string;
|
|
916
|
-
endDate?: Date | string;
|
|
917
|
-
description: string;
|
|
918
|
-
}>;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
906
|
/**
|
|
922
907
|
* Subcollection document under Client
|
|
923
908
|
* Path: clients/{clientId}/applications/{applicationId}/virtualInterview/{interviewId}
|
|
@@ -940,6 +925,49 @@ interface ClientVirtualInterview {
|
|
|
940
925
|
}>;
|
|
941
926
|
}
|
|
942
927
|
|
|
928
|
+
interface Award {
|
|
929
|
+
readonly name: string;
|
|
930
|
+
readonly organization: string;
|
|
931
|
+
readonly date: Date | string;
|
|
932
|
+
readonly description?: string;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
interface Publication {
|
|
936
|
+
readonly title: string;
|
|
937
|
+
readonly venue: string;
|
|
938
|
+
readonly date: Date | string;
|
|
939
|
+
readonly coAuthors?: string[];
|
|
940
|
+
readonly url?: string;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
interface Reference {
|
|
944
|
+
readonly name: string;
|
|
945
|
+
readonly title: string;
|
|
946
|
+
readonly company: string;
|
|
947
|
+
readonly relationship: string;
|
|
948
|
+
readonly contactInfo: {
|
|
949
|
+
email?: string;
|
|
950
|
+
phone?: string;
|
|
951
|
+
};
|
|
952
|
+
readonly highlights?: string;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
interface VolunteerEntry {
|
|
956
|
+
readonly organization: string;
|
|
957
|
+
readonly role: string;
|
|
958
|
+
readonly startDate: Date | string;
|
|
959
|
+
readonly endDate?: Date | string;
|
|
960
|
+
readonly responsibilities?: string;
|
|
961
|
+
readonly achievements?: string;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
interface ClientCompanyPreferences {
|
|
965
|
+
companyId?: string;
|
|
966
|
+
name: string;
|
|
967
|
+
careersUrl: string;
|
|
968
|
+
location: string;
|
|
969
|
+
}
|
|
970
|
+
|
|
943
971
|
/**
|
|
944
972
|
* Subcollection document under clients/{userId}/access_tokens/{provider}
|
|
945
973
|
*/
|
|
@@ -1005,10 +1033,6 @@ declare const firestorePaths: {
|
|
|
1005
1033
|
readonly collection: (clientId: string) => string;
|
|
1006
1034
|
readonly doc: (clientId: string, loginId: string) => string;
|
|
1007
1035
|
};
|
|
1008
|
-
readonly resumes: {
|
|
1009
|
-
readonly collection: (clientId: string) => string;
|
|
1010
|
-
readonly doc: (clientId: string, resumeId: string) => string;
|
|
1011
|
-
};
|
|
1012
1036
|
readonly applications: {
|
|
1013
1037
|
readonly collection: (clientId: string) => string;
|
|
1014
1038
|
readonly doc: (clientId: string, applicationId: string) => string;
|
|
@@ -1060,4 +1084,4 @@ declare const firestorePaths: {
|
|
|
1060
1084
|
};
|
|
1061
1085
|
};
|
|
1062
1086
|
|
|
1063
|
-
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser,
|
|
1087
|
+
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Award, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, Education, EmailCategory, FirestoreTimestamp, JobCategory, JobTitle, Language, LocationId, Project, Publication, Reference, Skill, Summary, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, VolunteerEntry, WorkExperience, countries, firestorePaths, jobClassifications, locations };
|
package/dist/index.d.ts
CHANGED
|
@@ -640,6 +640,69 @@ interface VacancySuggestion {
|
|
|
640
640
|
createdAt?: Date | string;
|
|
641
641
|
}
|
|
642
642
|
|
|
643
|
+
interface Education {
|
|
644
|
+
degree: string;
|
|
645
|
+
fieldOfStudy: string;
|
|
646
|
+
institution: string;
|
|
647
|
+
startDate: string | null;
|
|
648
|
+
endDate: string | null;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
interface WorkExperience {
|
|
652
|
+
jobTitle: string;
|
|
653
|
+
company: string;
|
|
654
|
+
startDate: string;
|
|
655
|
+
endDate: string;
|
|
656
|
+
description: string;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
interface Certification {
|
|
660
|
+
name: string;
|
|
661
|
+
organization: string;
|
|
662
|
+
issueDate: string;
|
|
663
|
+
expirationDate?: string;
|
|
664
|
+
credentialId?: string;
|
|
665
|
+
verificationUrl?: string;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
interface Language {
|
|
669
|
+
language: string;
|
|
670
|
+
proficiency: string;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
interface Project {
|
|
674
|
+
projectName: string;
|
|
675
|
+
description: string;
|
|
676
|
+
technologies: string[];
|
|
677
|
+
startDate: string;
|
|
678
|
+
endDate: string;
|
|
679
|
+
url: string | null;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
type Skill = string;
|
|
683
|
+
|
|
684
|
+
type Summary = string | null;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Subcollection document under Client
|
|
688
|
+
* Path: clients/{clientId}/resumes/{docId}
|
|
689
|
+
* @see Client - Parent document
|
|
690
|
+
*
|
|
691
|
+
* @description Represents a client's resume document.
|
|
692
|
+
*/
|
|
693
|
+
interface ClientResume {
|
|
694
|
+
readonly id?: string;
|
|
695
|
+
jobTitle: string | null;
|
|
696
|
+
skills: Skill[];
|
|
697
|
+
education: Education[];
|
|
698
|
+
experience: WorkExperience[];
|
|
699
|
+
certifications: Certification[];
|
|
700
|
+
languages: Language[];
|
|
701
|
+
projects: Project[];
|
|
702
|
+
summary: Summary;
|
|
703
|
+
additionalInfo: string | null;
|
|
704
|
+
}
|
|
705
|
+
|
|
643
706
|
declare const ApplicationStatus: {
|
|
644
707
|
readonly New: "new";
|
|
645
708
|
readonly Submitted: "submitted";
|
|
@@ -659,7 +722,7 @@ interface Application {
|
|
|
659
722
|
status: ApplicationStatus;
|
|
660
723
|
assignedTo?: string;
|
|
661
724
|
coverLetter?: string;
|
|
662
|
-
resume?:
|
|
725
|
+
resume?: ClientResume;
|
|
663
726
|
submittedAt?: Date | string;
|
|
664
727
|
interviewingAt?: Date | string;
|
|
665
728
|
acceptedAt?: Date | string;
|
|
@@ -696,52 +759,37 @@ interface ApplicationQuestion {
|
|
|
696
759
|
action?: string;
|
|
697
760
|
}
|
|
698
761
|
|
|
699
|
-
interface ClientCompanyPreferences {
|
|
700
|
-
companyId?: string;
|
|
701
|
-
name: string;
|
|
702
|
-
careersUrl: string;
|
|
703
|
-
location: string;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
interface ClientLanguage {
|
|
707
|
-
readonly language: string;
|
|
708
|
-
readonly level: string;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
interface ClientCertifications {
|
|
712
|
-
readonly name: string;
|
|
713
|
-
readonly date: Date;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
interface ClientSkill {
|
|
717
|
-
readonly name: string;
|
|
718
|
-
readonly level: string;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
interface ClientEducation {
|
|
722
|
-
readonly schoolName: string;
|
|
723
|
-
readonly degree: string;
|
|
724
|
-
readonly fieldOfStudy: string;
|
|
725
|
-
readonly startDate: Date;
|
|
726
|
-
readonly endDate: Date;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
interface ClientWorkExperience {
|
|
730
|
-
readonly companyName: string;
|
|
731
|
-
readonly position: string;
|
|
732
|
-
readonly startDate: Date;
|
|
733
|
-
readonly endDate: Date;
|
|
734
|
-
readonly description: string;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
762
|
/**
|
|
738
763
|
* Embedded sub-object within Client document
|
|
739
764
|
* @see Client - Parent document interface
|
|
740
765
|
*/
|
|
741
|
-
interface
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
766
|
+
interface ClientPersonalData {
|
|
767
|
+
id?: string;
|
|
768
|
+
firstName: string;
|
|
769
|
+
lastName: string;
|
|
770
|
+
middleName?: string;
|
|
771
|
+
preferredName?: string;
|
|
772
|
+
email: string;
|
|
773
|
+
phone: string;
|
|
774
|
+
address: string;
|
|
775
|
+
city: string;
|
|
776
|
+
suburb: string;
|
|
777
|
+
state: string;
|
|
778
|
+
postcode: string;
|
|
779
|
+
country: string;
|
|
780
|
+
linkedIn?: string;
|
|
781
|
+
countryPhoneCode: string;
|
|
782
|
+
nationality: string;
|
|
783
|
+
dateOfBirth?: Date | string;
|
|
784
|
+
ethnicity?: string;
|
|
785
|
+
disabilityStatus?: string;
|
|
786
|
+
securityClearance?: string;
|
|
787
|
+
createdAt?: Date | string;
|
|
788
|
+
updatedAt?: Date | string;
|
|
789
|
+
photoUrl?: string;
|
|
790
|
+
personalWebsite?: string;
|
|
791
|
+
portfolioUrl?: string;
|
|
792
|
+
professionalTitle?: string;
|
|
745
793
|
}
|
|
746
794
|
|
|
747
795
|
/**
|
|
@@ -770,32 +818,13 @@ interface ClientJobPreferences {
|
|
|
770
818
|
* Embedded sub-object within Client document
|
|
771
819
|
* @see Client - Parent document interface
|
|
772
820
|
*/
|
|
773
|
-
interface
|
|
774
|
-
id?: string;
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
middleName?: string;
|
|
778
|
-
preferredName?: string;
|
|
779
|
-
email: string;
|
|
780
|
-
phone: string;
|
|
781
|
-
address: string;
|
|
782
|
-
city: string;
|
|
783
|
-
suburb: string;
|
|
784
|
-
state: string;
|
|
785
|
-
postcode: string;
|
|
786
|
-
country: string;
|
|
787
|
-
linkedIn?: string;
|
|
788
|
-
countryPhoneCode: string;
|
|
789
|
-
nationality: string;
|
|
790
|
-
dateOfBirth?: Date | string;
|
|
791
|
-
ethnicity?: string;
|
|
792
|
-
disabilityStatus?: string;
|
|
793
|
-
securityClearance?: string;
|
|
794
|
-
createdAt?: Date | string;
|
|
795
|
-
updatedAt?: Date | string;
|
|
821
|
+
interface ClientWebsitePreferences {
|
|
822
|
+
readonly id?: string;
|
|
823
|
+
theme: string;
|
|
824
|
+
notifications: string;
|
|
796
825
|
}
|
|
797
826
|
|
|
798
|
-
type ClientStatus = typeof ClientStatusEnum[keyof typeof ClientStatusEnum];
|
|
827
|
+
type ClientStatus = (typeof ClientStatusEnum)[keyof typeof ClientStatusEnum];
|
|
799
828
|
/**
|
|
800
829
|
* Root Client document
|
|
801
830
|
* Path: clients/{clientId}
|
|
@@ -809,12 +838,7 @@ interface Client {
|
|
|
809
838
|
readonly personalData?: ClientPersonalData;
|
|
810
839
|
readonly jobPreferences?: ClientJobPreferences;
|
|
811
840
|
readonly websitePreferences?: ClientWebsitePreferences;
|
|
812
|
-
|
|
813
|
-
readonly education?: ClientEducation[];
|
|
814
|
-
readonly skills?: ClientSkill[];
|
|
815
|
-
readonly certifications?: ClientCertifications;
|
|
816
|
-
readonly languages?: ClientLanguage[];
|
|
817
|
-
readonly clientCompanyPreferences?: ClientCompanyPreferences[];
|
|
841
|
+
resume: ClientResume;
|
|
818
842
|
readonly createdAt?: Date | string;
|
|
819
843
|
}
|
|
820
844
|
|
|
@@ -879,45 +903,6 @@ interface ClientQuestion {
|
|
|
879
903
|
vacancyId?: string;
|
|
880
904
|
}
|
|
881
905
|
|
|
882
|
-
/**
|
|
883
|
-
* Subcollection document under Client
|
|
884
|
-
* Path: clients/{clientId}/resumes/{docId}
|
|
885
|
-
* @see Client - Parent document
|
|
886
|
-
*
|
|
887
|
-
* @description Represents a client's resume document.
|
|
888
|
-
* @author [Your Name]
|
|
889
|
-
* @version 1.0.0
|
|
890
|
-
* @since [Date]
|
|
891
|
-
*/
|
|
892
|
-
interface ClientResume {
|
|
893
|
-
readonly id?: string;
|
|
894
|
-
title: string;
|
|
895
|
-
createdAt: Date | string;
|
|
896
|
-
updatedAt: Date | string;
|
|
897
|
-
format: string;
|
|
898
|
-
storagePath: string;
|
|
899
|
-
notes: string;
|
|
900
|
-
isActive: boolean;
|
|
901
|
-
clientId: string;
|
|
902
|
-
about: {
|
|
903
|
-
summary: string;
|
|
904
|
-
};
|
|
905
|
-
education: Array<{
|
|
906
|
-
school: string;
|
|
907
|
-
degree: string;
|
|
908
|
-
field: string;
|
|
909
|
-
startDate: Date | string;
|
|
910
|
-
endDate?: Date | string;
|
|
911
|
-
}>;
|
|
912
|
-
workExperience: Array<{
|
|
913
|
-
company: string;
|
|
914
|
-
role: string;
|
|
915
|
-
startDate: Date | string;
|
|
916
|
-
endDate?: Date | string;
|
|
917
|
-
description: string;
|
|
918
|
-
}>;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
906
|
/**
|
|
922
907
|
* Subcollection document under Client
|
|
923
908
|
* Path: clients/{clientId}/applications/{applicationId}/virtualInterview/{interviewId}
|
|
@@ -940,6 +925,49 @@ interface ClientVirtualInterview {
|
|
|
940
925
|
}>;
|
|
941
926
|
}
|
|
942
927
|
|
|
928
|
+
interface Award {
|
|
929
|
+
readonly name: string;
|
|
930
|
+
readonly organization: string;
|
|
931
|
+
readonly date: Date | string;
|
|
932
|
+
readonly description?: string;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
interface Publication {
|
|
936
|
+
readonly title: string;
|
|
937
|
+
readonly venue: string;
|
|
938
|
+
readonly date: Date | string;
|
|
939
|
+
readonly coAuthors?: string[];
|
|
940
|
+
readonly url?: string;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
interface Reference {
|
|
944
|
+
readonly name: string;
|
|
945
|
+
readonly title: string;
|
|
946
|
+
readonly company: string;
|
|
947
|
+
readonly relationship: string;
|
|
948
|
+
readonly contactInfo: {
|
|
949
|
+
email?: string;
|
|
950
|
+
phone?: string;
|
|
951
|
+
};
|
|
952
|
+
readonly highlights?: string;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
interface VolunteerEntry {
|
|
956
|
+
readonly organization: string;
|
|
957
|
+
readonly role: string;
|
|
958
|
+
readonly startDate: Date | string;
|
|
959
|
+
readonly endDate?: Date | string;
|
|
960
|
+
readonly responsibilities?: string;
|
|
961
|
+
readonly achievements?: string;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
interface ClientCompanyPreferences {
|
|
965
|
+
companyId?: string;
|
|
966
|
+
name: string;
|
|
967
|
+
careersUrl: string;
|
|
968
|
+
location: string;
|
|
969
|
+
}
|
|
970
|
+
|
|
943
971
|
/**
|
|
944
972
|
* Subcollection document under clients/{userId}/access_tokens/{provider}
|
|
945
973
|
*/
|
|
@@ -1005,10 +1033,6 @@ declare const firestorePaths: {
|
|
|
1005
1033
|
readonly collection: (clientId: string) => string;
|
|
1006
1034
|
readonly doc: (clientId: string, loginId: string) => string;
|
|
1007
1035
|
};
|
|
1008
|
-
readonly resumes: {
|
|
1009
|
-
readonly collection: (clientId: string) => string;
|
|
1010
|
-
readonly doc: (clientId: string, resumeId: string) => string;
|
|
1011
|
-
};
|
|
1012
1036
|
readonly applications: {
|
|
1013
1037
|
readonly collection: (clientId: string) => string;
|
|
1014
1038
|
readonly doc: (clientId: string, applicationId: string) => string;
|
|
@@ -1060,4 +1084,4 @@ declare const firestorePaths: {
|
|
|
1060
1084
|
};
|
|
1061
1085
|
};
|
|
1062
1086
|
|
|
1063
|
-
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser,
|
|
1087
|
+
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Award, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, Education, EmailCategory, FirestoreTimestamp, JobCategory, JobTitle, Language, LocationId, Project, Publication, Reference, Skill, Summary, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, VolunteerEntry, WorkExperience, countries, firestorePaths, jobClassifications, locations };
|
package/dist/index.js
CHANGED
|
@@ -1296,10 +1296,6 @@ var firestorePaths = {
|
|
|
1296
1296
|
collection: (clientId) => `clients/${clientId}/logins`,
|
|
1297
1297
|
doc: (clientId, loginId) => `clients/${clientId}/logins/${loginId}`
|
|
1298
1298
|
},
|
|
1299
|
-
resumes: {
|
|
1300
|
-
collection: (clientId) => `clients/${clientId}/resumes`,
|
|
1301
|
-
doc: (clientId, resumeId) => `clients/${clientId}/resumes/${resumeId}`
|
|
1302
|
-
},
|
|
1303
1299
|
applications: {
|
|
1304
1300
|
collection: (clientId) => `clients/${clientId}/applications`,
|
|
1305
1301
|
doc: (clientId, applicationId) => `clients/${clientId}/applications/${applicationId}`,
|
package/dist/index.mjs
CHANGED
|
@@ -1263,10 +1263,6 @@ var firestorePaths = {
|
|
|
1263
1263
|
collection: (clientId) => `clients/${clientId}/logins`,
|
|
1264
1264
|
doc: (clientId, loginId) => `clients/${clientId}/logins/${loginId}`
|
|
1265
1265
|
},
|
|
1266
|
-
resumes: {
|
|
1267
|
-
collection: (clientId) => `clients/${clientId}/resumes`,
|
|
1268
|
-
doc: (clientId, resumeId) => `clients/${clientId}/resumes/${resumeId}`
|
|
1269
|
-
},
|
|
1270
1266
|
applications: {
|
|
1271
1267
|
collection: (clientId) => `clients/${clientId}/applications`,
|
|
1272
1268
|
doc: (clientId, applicationId) => `clients/${clientId}/applications/${applicationId}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobsearch-works/firestore-models",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.11",
|
|
4
4
|
"description": "A shared library for standardizing Firestore document schemas and paths across multiple projects",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|