@jobsearch-works/firestore-models 4.3.3 → 4.3.4
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 +26 -1
- package/dist/index.d.ts +26 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -766,6 +766,30 @@ interface ClientResume {
|
|
|
766
766
|
additional_info: string;
|
|
767
767
|
}
|
|
768
768
|
|
|
769
|
+
/**
|
|
770
|
+
* Application Note - Activity log entry stored as array item in Application document
|
|
771
|
+
* Stored in: Application.notes[]
|
|
772
|
+
*
|
|
773
|
+
* Tracks all actions and changes made to an application with timestamps.
|
|
774
|
+
* Examples: status changes, withdrawals, manual interventions, etc.
|
|
775
|
+
*/
|
|
776
|
+
interface ApplicationNote {
|
|
777
|
+
/** Type of action/note */
|
|
778
|
+
type: "status_change" | "withdrawal" | "manual_intervention" | "note" | "other";
|
|
779
|
+
/** Human-readable message describing the action */
|
|
780
|
+
message: string;
|
|
781
|
+
/** Previous status (if status change) */
|
|
782
|
+
previousStatus?: string;
|
|
783
|
+
/** New status (if status change) */
|
|
784
|
+
newStatus?: string;
|
|
785
|
+
/** User who performed the action (clientId or admin userId) */
|
|
786
|
+
performedBy?: string;
|
|
787
|
+
/** Additional metadata */
|
|
788
|
+
metadata?: Record<string, any>;
|
|
789
|
+
/** Timestamp when the note was created */
|
|
790
|
+
createdAt: Date | string;
|
|
791
|
+
}
|
|
792
|
+
|
|
769
793
|
declare const ApplicationStatus: {
|
|
770
794
|
readonly New: "new";
|
|
771
795
|
readonly Submitted: "submitted";
|
|
@@ -820,6 +844,7 @@ interface Application {
|
|
|
820
844
|
fullPageText?: string;
|
|
821
845
|
requiresHumanVerification?: boolean;
|
|
822
846
|
verificationType?: string;
|
|
847
|
+
notes?: ApplicationNote[];
|
|
823
848
|
createdAt?: Date | string;
|
|
824
849
|
updatedAt?: Date | string;
|
|
825
850
|
}
|
|
@@ -1276,4 +1301,4 @@ declare const firestorePaths: {
|
|
|
1276
1301
|
};
|
|
1277
1302
|
};
|
|
1278
1303
|
|
|
1279
|
-
export { Address, AdminReport, Agent, AgentStatus, Application, ApplicationPeriodStats, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationRun, ApplicationRunLogEntry, ApplicationRunMetadata, ApplicationRunOutcome, ApplicationRunStatus, ApplicationRunTrigger, ApplicationStats, ApplicationStatus, AuthEmail, AuthUser, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, EMAIL_CATEGORIES, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, GmailOAuthSession, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
|
1304
|
+
export { Address, AdminReport, Agent, AgentStatus, Application, ApplicationNote, ApplicationPeriodStats, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationRun, ApplicationRunLogEntry, ApplicationRunMetadata, ApplicationRunOutcome, ApplicationRunStatus, ApplicationRunTrigger, ApplicationStats, ApplicationStatus, AuthEmail, AuthUser, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, EMAIL_CATEGORIES, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, GmailOAuthSession, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
package/dist/index.d.ts
CHANGED
|
@@ -766,6 +766,30 @@ interface ClientResume {
|
|
|
766
766
|
additional_info: string;
|
|
767
767
|
}
|
|
768
768
|
|
|
769
|
+
/**
|
|
770
|
+
* Application Note - Activity log entry stored as array item in Application document
|
|
771
|
+
* Stored in: Application.notes[]
|
|
772
|
+
*
|
|
773
|
+
* Tracks all actions and changes made to an application with timestamps.
|
|
774
|
+
* Examples: status changes, withdrawals, manual interventions, etc.
|
|
775
|
+
*/
|
|
776
|
+
interface ApplicationNote {
|
|
777
|
+
/** Type of action/note */
|
|
778
|
+
type: "status_change" | "withdrawal" | "manual_intervention" | "note" | "other";
|
|
779
|
+
/** Human-readable message describing the action */
|
|
780
|
+
message: string;
|
|
781
|
+
/** Previous status (if status change) */
|
|
782
|
+
previousStatus?: string;
|
|
783
|
+
/** New status (if status change) */
|
|
784
|
+
newStatus?: string;
|
|
785
|
+
/** User who performed the action (clientId or admin userId) */
|
|
786
|
+
performedBy?: string;
|
|
787
|
+
/** Additional metadata */
|
|
788
|
+
metadata?: Record<string, any>;
|
|
789
|
+
/** Timestamp when the note was created */
|
|
790
|
+
createdAt: Date | string;
|
|
791
|
+
}
|
|
792
|
+
|
|
769
793
|
declare const ApplicationStatus: {
|
|
770
794
|
readonly New: "new";
|
|
771
795
|
readonly Submitted: "submitted";
|
|
@@ -820,6 +844,7 @@ interface Application {
|
|
|
820
844
|
fullPageText?: string;
|
|
821
845
|
requiresHumanVerification?: boolean;
|
|
822
846
|
verificationType?: string;
|
|
847
|
+
notes?: ApplicationNote[];
|
|
823
848
|
createdAt?: Date | string;
|
|
824
849
|
updatedAt?: Date | string;
|
|
825
850
|
}
|
|
@@ -1276,4 +1301,4 @@ declare const firestorePaths: {
|
|
|
1276
1301
|
};
|
|
1277
1302
|
};
|
|
1278
1303
|
|
|
1279
|
-
export { Address, AdminReport, Agent, AgentStatus, Application, ApplicationPeriodStats, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationRun, ApplicationRunLogEntry, ApplicationRunMetadata, ApplicationRunOutcome, ApplicationRunStatus, ApplicationRunTrigger, ApplicationStats, ApplicationStatus, AuthEmail, AuthUser, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, EMAIL_CATEGORIES, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, GmailOAuthSession, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
|
1304
|
+
export { Address, AdminReport, Agent, AgentStatus, Application, ApplicationNote, ApplicationPeriodStats, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationRun, ApplicationRunLogEntry, ApplicationRunMetadata, ApplicationRunOutcome, ApplicationRunStatus, ApplicationRunTrigger, ApplicationStats, ApplicationStatus, AuthEmail, AuthUser, Certification, Client, ClientAccessToken, ClientCompanyPreferences, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientStatusEnum, ClientVirtualInterview, Companies, EMAIL_CATEGORIES, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, GmailOAuthSession, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
package/package.json
CHANGED