@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 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
- applicationId: string;
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
- applicationId: string;
976
+ jobApplicationId?: string;
975
977
  }
976
978
 
977
979
  type FirestoreTimestamp = {
package/dist/index.js CHANGED
@@ -1217,7 +1217,8 @@ var ClientStatusEnum = {
1217
1217
  "new": "new",
1218
1218
  "onboarding": "onboarding",
1219
1219
  "active": "active",
1220
- "inactive": "inactive"
1220
+ "inactive": "inactive",
1221
+ "deleted": "deleted"
1221
1222
  };
1222
1223
 
1223
1224
  // src/types/Vacancy.ts
package/dist/index.mjs CHANGED
@@ -1184,7 +1184,8 @@ var ClientStatusEnum = {
1184
1184
  "new": "new",
1185
1185
  "onboarding": "onboarding",
1186
1186
  "active": "active",
1187
- "inactive": "inactive"
1187
+ "inactive": "inactive",
1188
+ "deleted": "deleted"
1188
1189
  };
1189
1190
 
1190
1191
  // src/types/Vacancy.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobsearch-works/firestore-models",
3
- "version": "2.4.7",
3
+ "version": "2.4.10",
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",