@jobsearch-works/firestore-models 2.4.3 → 2.4.5
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 +18 -3
- package/dist/index.d.ts +18 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -625,7 +625,7 @@ interface VacancySuggestion {
|
|
625
625
|
readonly id?: string;
|
626
626
|
clientId: string;
|
627
627
|
vacancyId: string;
|
628
|
-
status: 'suggested' | '
|
628
|
+
status: 'suggested' | 'accepted' | 'rejected';
|
629
629
|
createdAt?: Date | string;
|
630
630
|
}
|
631
631
|
|
@@ -684,6 +684,13 @@ interface ApplicationQuestion {
|
|
684
684
|
action?: string;
|
685
685
|
}
|
686
686
|
|
687
|
+
interface ClientCompanyPreferences {
|
688
|
+
companyId?: string;
|
689
|
+
name: string;
|
690
|
+
careersUrl: string;
|
691
|
+
location: string;
|
692
|
+
}
|
693
|
+
|
687
694
|
interface ClientLanguage {
|
688
695
|
readonly language: string;
|
689
696
|
readonly level: string;
|
@@ -776,7 +783,14 @@ interface ClientPersonalData {
|
|
776
783
|
updatedAt?: Date | string;
|
777
784
|
}
|
778
785
|
|
779
|
-
|
786
|
+
declare const ClientStatusEnum: {
|
787
|
+
readonly new: "new";
|
788
|
+
readonly onboarding: "onboarding";
|
789
|
+
readonly active: "active";
|
790
|
+
readonly inactive: "inactive";
|
791
|
+
};
|
792
|
+
|
793
|
+
type ClientStatus = typeof ClientStatusEnum[keyof typeof ClientStatusEnum];
|
780
794
|
/**
|
781
795
|
* Root Client document
|
782
796
|
* Path: clients/{clientId}
|
@@ -795,6 +809,7 @@ interface Client {
|
|
795
809
|
readonly skills?: ClientSkill[];
|
796
810
|
readonly certifications?: ClientCertifications;
|
797
811
|
readonly languages?: ClientLanguage[];
|
812
|
+
readonly clientCompanyPreferences?: ClientCompanyPreferences[];
|
798
813
|
readonly createdAt?: Date | string;
|
799
814
|
}
|
800
815
|
|
@@ -1039,4 +1054,4 @@ declare const firestorePaths: {
|
|
1039
1054
|
};
|
1040
1055
|
};
|
1041
1056
|
|
1042
|
-
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Client, ClientAccessToken, ClientCertifications, ClientEducation, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLanguage, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientSkill, ClientStatus, ClientVirtualInterview, ClientWebsitePreferences, ClientWorkExperience, Companies, EmailCategory, FirestoreTimestamp, JobCategory, JobTitle, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|
1057
|
+
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Client, ClientAccessToken, ClientCertifications, ClientCompanyPreferences, ClientEducation, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLanguage, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientSkill, ClientStatus, ClientVirtualInterview, ClientWebsitePreferences, ClientWorkExperience, Companies, EmailCategory, FirestoreTimestamp, JobCategory, JobTitle, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|
package/dist/index.d.ts
CHANGED
@@ -625,7 +625,7 @@ interface VacancySuggestion {
|
|
625
625
|
readonly id?: string;
|
626
626
|
clientId: string;
|
627
627
|
vacancyId: string;
|
628
|
-
status: 'suggested' | '
|
628
|
+
status: 'suggested' | 'accepted' | 'rejected';
|
629
629
|
createdAt?: Date | string;
|
630
630
|
}
|
631
631
|
|
@@ -684,6 +684,13 @@ interface ApplicationQuestion {
|
|
684
684
|
action?: string;
|
685
685
|
}
|
686
686
|
|
687
|
+
interface ClientCompanyPreferences {
|
688
|
+
companyId?: string;
|
689
|
+
name: string;
|
690
|
+
careersUrl: string;
|
691
|
+
location: string;
|
692
|
+
}
|
693
|
+
|
687
694
|
interface ClientLanguage {
|
688
695
|
readonly language: string;
|
689
696
|
readonly level: string;
|
@@ -776,7 +783,14 @@ interface ClientPersonalData {
|
|
776
783
|
updatedAt?: Date | string;
|
777
784
|
}
|
778
785
|
|
779
|
-
|
786
|
+
declare const ClientStatusEnum: {
|
787
|
+
readonly new: "new";
|
788
|
+
readonly onboarding: "onboarding";
|
789
|
+
readonly active: "active";
|
790
|
+
readonly inactive: "inactive";
|
791
|
+
};
|
792
|
+
|
793
|
+
type ClientStatus = typeof ClientStatusEnum[keyof typeof ClientStatusEnum];
|
780
794
|
/**
|
781
795
|
* Root Client document
|
782
796
|
* Path: clients/{clientId}
|
@@ -795,6 +809,7 @@ interface Client {
|
|
795
809
|
readonly skills?: ClientSkill[];
|
796
810
|
readonly certifications?: ClientCertifications;
|
797
811
|
readonly languages?: ClientLanguage[];
|
812
|
+
readonly clientCompanyPreferences?: ClientCompanyPreferences[];
|
798
813
|
readonly createdAt?: Date | string;
|
799
814
|
}
|
800
815
|
|
@@ -1039,4 +1054,4 @@ declare const firestorePaths: {
|
|
1039
1054
|
};
|
1040
1055
|
};
|
1041
1056
|
|
1042
|
-
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Client, ClientAccessToken, ClientCertifications, ClientEducation, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLanguage, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientSkill, ClientStatus, ClientVirtualInterview, ClientWebsitePreferences, ClientWorkExperience, Companies, EmailCategory, FirestoreTimestamp, JobCategory, JobTitle, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|
1057
|
+
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthEmail, AuthUser, Client, ClientAccessToken, ClientCertifications, ClientCompanyPreferences, ClientEducation, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLanguage, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientSkill, ClientStatus, ClientVirtualInterview, ClientWebsitePreferences, ClientWorkExperience, Companies, EmailCategory, FirestoreTimestamp, JobCategory, JobTitle, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|
package/package.json
CHANGED