@jobsearch-works/firestore-models 2.4.7 → 2.4.10
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 +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -525,6 +525,7 @@ declare const ClientStatusEnum: {
|
|
|
525
525
|
readonly onboarding: "onboarding";
|
|
526
526
|
readonly active: "active";
|
|
527
527
|
readonly inactive: "inactive";
|
|
528
|
+
readonly deleted: "deleted";
|
|
528
529
|
};
|
|
529
530
|
|
|
530
531
|
type AgentStatus = "active" | "inactive";
|
|
@@ -687,6 +688,7 @@ interface ApplicationQuestion {
|
|
|
687
688
|
id?: string;
|
|
688
689
|
questionText: string;
|
|
689
690
|
answerText?: string;
|
|
691
|
+
clientId: string;
|
|
690
692
|
type: ApplicationQuestionType;
|
|
691
693
|
createdAt?: Date | string;
|
|
692
694
|
updatedAt?: Date | string;
|
|
@@ -955,7 +957,7 @@ interface ClientAccessToken {
|
|
|
955
957
|
* Subcollection document under clients/{userId}/emails/{emailId}
|
|
956
958
|
* For new email structure
|
|
957
959
|
*/
|
|
958
|
-
type EmailCategory = "One Time Pin" | "Spam" | "Job Interview" | "Job Rejection" | "Require More Info" | "Job Suggestions" | "Uncategorised";
|
|
960
|
+
type EmailCategory = "One Time Pin" | "Spam" | "Job Submitted" | "Job Interview" | "Job Accepted" | "Job Rejection" | "Require More Info" | "Job Suggestions" | "Uncategorised";
|
|
959
961
|
interface ClientEmail {
|
|
960
962
|
bcc: string[];
|
|
961
963
|
cc: string[];
|
|
@@ -971,7 +973,7 @@ interface ClientEmail {
|
|
|
971
973
|
timestamp: number;
|
|
972
974
|
labels: string[];
|
|
973
975
|
categories: EmailCategory[];
|
|
974
|
-
|
|
976
|
+
jobApplicationId?: string;
|
|
975
977
|
}
|
|
976
978
|
|
|
977
979
|
type FirestoreTimestamp = {
|
package/dist/index.d.ts
CHANGED
|
@@ -525,6 +525,7 @@ declare const ClientStatusEnum: {
|
|
|
525
525
|
readonly onboarding: "onboarding";
|
|
526
526
|
readonly active: "active";
|
|
527
527
|
readonly inactive: "inactive";
|
|
528
|
+
readonly deleted: "deleted";
|
|
528
529
|
};
|
|
529
530
|
|
|
530
531
|
type AgentStatus = "active" | "inactive";
|
|
@@ -687,6 +688,7 @@ interface ApplicationQuestion {
|
|
|
687
688
|
id?: string;
|
|
688
689
|
questionText: string;
|
|
689
690
|
answerText?: string;
|
|
691
|
+
clientId: string;
|
|
690
692
|
type: ApplicationQuestionType;
|
|
691
693
|
createdAt?: Date | string;
|
|
692
694
|
updatedAt?: Date | string;
|
|
@@ -955,7 +957,7 @@ interface ClientAccessToken {
|
|
|
955
957
|
* Subcollection document under clients/{userId}/emails/{emailId}
|
|
956
958
|
* For new email structure
|
|
957
959
|
*/
|
|
958
|
-
type EmailCategory = "One Time Pin" | "Spam" | "Job Interview" | "Job Rejection" | "Require More Info" | "Job Suggestions" | "Uncategorised";
|
|
960
|
+
type EmailCategory = "One Time Pin" | "Spam" | "Job Submitted" | "Job Interview" | "Job Accepted" | "Job Rejection" | "Require More Info" | "Job Suggestions" | "Uncategorised";
|
|
959
961
|
interface ClientEmail {
|
|
960
962
|
bcc: string[];
|
|
961
963
|
cc: string[];
|
|
@@ -971,7 +973,7 @@ interface ClientEmail {
|
|
|
971
973
|
timestamp: number;
|
|
972
974
|
labels: string[];
|
|
973
975
|
categories: EmailCategory[];
|
|
974
|
-
|
|
976
|
+
jobApplicationId?: string;
|
|
975
977
|
}
|
|
976
978
|
|
|
977
979
|
type FirestoreTimestamp = {
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED