@jobsearch-works/firestore-models 2.0.0 → 2.0.1
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 +54 -54
- package/dist/index.d.ts +54 -54
- package/dist/index.js +1003 -18
- package/dist/index.mjs +1000 -17
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -9,6 +9,59 @@ interface Agent {
|
|
9
9
|
readonly updatedAt?: Date | string;
|
10
10
|
}
|
11
11
|
|
12
|
+
declare const ApplicationStatus: {
|
13
|
+
readonly New: "new";
|
14
|
+
readonly Submitted: "submitted";
|
15
|
+
readonly Interviewing: "interviewing";
|
16
|
+
readonly Accepted: "accepted";
|
17
|
+
readonly Rejected: "rejected";
|
18
|
+
readonly Withdrawn: "withdrawn";
|
19
|
+
readonly Applying: "applying";
|
20
|
+
readonly Suggested: "suggested";
|
21
|
+
readonly Approved: "approved";
|
22
|
+
};
|
23
|
+
type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
24
|
+
interface Application {
|
25
|
+
id?: string;
|
26
|
+
vacancyId: string;
|
27
|
+
clientId: string;
|
28
|
+
status: ApplicationStatus;
|
29
|
+
assignedTo?: string;
|
30
|
+
coverLetter?: string;
|
31
|
+
resume?: string;
|
32
|
+
submittedAt?: Date | string;
|
33
|
+
interviewingAt?: Date | string;
|
34
|
+
acceptedAt?: Date | string;
|
35
|
+
rejectedAt?: Date | string;
|
36
|
+
withdrawnAt?: Date | string;
|
37
|
+
applyingAt?: Date | string;
|
38
|
+
suggestedAt?: Date | string;
|
39
|
+
approvedAt?: Date | string;
|
40
|
+
company?: string;
|
41
|
+
position?: string;
|
42
|
+
location?: string;
|
43
|
+
jobId?: string;
|
44
|
+
advertisingUrl?: string;
|
45
|
+
applicationUrl?: string;
|
46
|
+
applicationDomain?: string;
|
47
|
+
advertisingDomain?: string;
|
48
|
+
description?: string;
|
49
|
+
fullPageText?: string;
|
50
|
+
createdAt?: Date | string;
|
51
|
+
updatedAt?: Date | string;
|
52
|
+
}
|
53
|
+
|
54
|
+
type ApplicationQuestionType = "text" | "select";
|
55
|
+
declare const ApplicationQuestionTypeOptions: readonly ApplicationQuestionType[];
|
56
|
+
interface ApplicationQuestion {
|
57
|
+
id?: string;
|
58
|
+
questionText: string;
|
59
|
+
answerText?: string;
|
60
|
+
type: ApplicationQuestionType;
|
61
|
+
createdAt?: Date | string;
|
62
|
+
updatedAt?: Date | string;
|
63
|
+
}
|
64
|
+
|
12
65
|
interface AuthUser {
|
13
66
|
id?: string;
|
14
67
|
email: string;
|
@@ -95,59 +148,6 @@ interface VacancySuggestion {
|
|
95
148
|
createdAt?: Date | string;
|
96
149
|
}
|
97
150
|
|
98
|
-
declare const ApplicationStatus: {
|
99
|
-
readonly New: "new";
|
100
|
-
readonly Submitted: "submitted";
|
101
|
-
readonly Interviewing: "interviewing";
|
102
|
-
readonly Accepted: "accepted";
|
103
|
-
readonly Rejected: "rejected";
|
104
|
-
readonly Withdrawn: "withdrawn";
|
105
|
-
readonly Applying: "applying";
|
106
|
-
readonly Suggested: "suggested";
|
107
|
-
readonly Approved: "approved";
|
108
|
-
};
|
109
|
-
type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
110
|
-
interface Application {
|
111
|
-
id?: string;
|
112
|
-
vacancyId: string;
|
113
|
-
clientId: string;
|
114
|
-
status: ApplicationStatus;
|
115
|
-
assignedTo?: string;
|
116
|
-
coverLetter?: string;
|
117
|
-
resume?: string;
|
118
|
-
submittedAt?: Date | string;
|
119
|
-
interviewingAt?: Date | string;
|
120
|
-
acceptedAt?: Date | string;
|
121
|
-
rejectedAt?: Date | string;
|
122
|
-
withdrawnAt?: Date | string;
|
123
|
-
applyingAt?: Date | string;
|
124
|
-
suggestedAt?: Date | string;
|
125
|
-
approvedAt?: Date | string;
|
126
|
-
company?: string;
|
127
|
-
position?: string;
|
128
|
-
location?: string;
|
129
|
-
jobId?: string;
|
130
|
-
advertisingUrl?: string;
|
131
|
-
applicationUrl?: string;
|
132
|
-
applicationDomain?: string;
|
133
|
-
advertisingDomain?: string;
|
134
|
-
description?: string;
|
135
|
-
fullPageText?: string;
|
136
|
-
createdAt?: Date | string;
|
137
|
-
updatedAt?: Date | string;
|
138
|
-
}
|
139
|
-
|
140
|
-
type ApplicationQuestionType = "text" | "select";
|
141
|
-
declare const ApplicationQuestionTypeOptions: readonly ApplicationQuestionType[];
|
142
|
-
interface ApplicationQuestion {
|
143
|
-
id?: string;
|
144
|
-
questionText: string;
|
145
|
-
answerText?: string;
|
146
|
-
type: ApplicationQuestionType;
|
147
|
-
createdAt?: Date | string;
|
148
|
-
updatedAt?: Date | string;
|
149
|
-
}
|
150
|
-
|
151
151
|
type ClientStatus = "active" | "inactive";
|
152
152
|
interface Client {
|
153
153
|
readonly id?: string;
|
@@ -882,4 +882,4 @@ declare const firestorePaths: {
|
|
882
882
|
};
|
883
883
|
};
|
884
884
|
|
885
|
-
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEmails, ClientGmailTokens, ClientInitialQuestion, ClientInterview, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientWebsitePreferences, JobCategory, JobTitle, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths };
|
885
|
+
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEmails, ClientGmailTokens, ClientInitialQuestion, ClientInterview, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientWebsitePreferences, JobCategory, JobTitle, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|
package/dist/index.d.ts
CHANGED
@@ -9,6 +9,59 @@ interface Agent {
|
|
9
9
|
readonly updatedAt?: Date | string;
|
10
10
|
}
|
11
11
|
|
12
|
+
declare const ApplicationStatus: {
|
13
|
+
readonly New: "new";
|
14
|
+
readonly Submitted: "submitted";
|
15
|
+
readonly Interviewing: "interviewing";
|
16
|
+
readonly Accepted: "accepted";
|
17
|
+
readonly Rejected: "rejected";
|
18
|
+
readonly Withdrawn: "withdrawn";
|
19
|
+
readonly Applying: "applying";
|
20
|
+
readonly Suggested: "suggested";
|
21
|
+
readonly Approved: "approved";
|
22
|
+
};
|
23
|
+
type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
24
|
+
interface Application {
|
25
|
+
id?: string;
|
26
|
+
vacancyId: string;
|
27
|
+
clientId: string;
|
28
|
+
status: ApplicationStatus;
|
29
|
+
assignedTo?: string;
|
30
|
+
coverLetter?: string;
|
31
|
+
resume?: string;
|
32
|
+
submittedAt?: Date | string;
|
33
|
+
interviewingAt?: Date | string;
|
34
|
+
acceptedAt?: Date | string;
|
35
|
+
rejectedAt?: Date | string;
|
36
|
+
withdrawnAt?: Date | string;
|
37
|
+
applyingAt?: Date | string;
|
38
|
+
suggestedAt?: Date | string;
|
39
|
+
approvedAt?: Date | string;
|
40
|
+
company?: string;
|
41
|
+
position?: string;
|
42
|
+
location?: string;
|
43
|
+
jobId?: string;
|
44
|
+
advertisingUrl?: string;
|
45
|
+
applicationUrl?: string;
|
46
|
+
applicationDomain?: string;
|
47
|
+
advertisingDomain?: string;
|
48
|
+
description?: string;
|
49
|
+
fullPageText?: string;
|
50
|
+
createdAt?: Date | string;
|
51
|
+
updatedAt?: Date | string;
|
52
|
+
}
|
53
|
+
|
54
|
+
type ApplicationQuestionType = "text" | "select";
|
55
|
+
declare const ApplicationQuestionTypeOptions: readonly ApplicationQuestionType[];
|
56
|
+
interface ApplicationQuestion {
|
57
|
+
id?: string;
|
58
|
+
questionText: string;
|
59
|
+
answerText?: string;
|
60
|
+
type: ApplicationQuestionType;
|
61
|
+
createdAt?: Date | string;
|
62
|
+
updatedAt?: Date | string;
|
63
|
+
}
|
64
|
+
|
12
65
|
interface AuthUser {
|
13
66
|
id?: string;
|
14
67
|
email: string;
|
@@ -95,59 +148,6 @@ interface VacancySuggestion {
|
|
95
148
|
createdAt?: Date | string;
|
96
149
|
}
|
97
150
|
|
98
|
-
declare const ApplicationStatus: {
|
99
|
-
readonly New: "new";
|
100
|
-
readonly Submitted: "submitted";
|
101
|
-
readonly Interviewing: "interviewing";
|
102
|
-
readonly Accepted: "accepted";
|
103
|
-
readonly Rejected: "rejected";
|
104
|
-
readonly Withdrawn: "withdrawn";
|
105
|
-
readonly Applying: "applying";
|
106
|
-
readonly Suggested: "suggested";
|
107
|
-
readonly Approved: "approved";
|
108
|
-
};
|
109
|
-
type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
110
|
-
interface Application {
|
111
|
-
id?: string;
|
112
|
-
vacancyId: string;
|
113
|
-
clientId: string;
|
114
|
-
status: ApplicationStatus;
|
115
|
-
assignedTo?: string;
|
116
|
-
coverLetter?: string;
|
117
|
-
resume?: string;
|
118
|
-
submittedAt?: Date | string;
|
119
|
-
interviewingAt?: Date | string;
|
120
|
-
acceptedAt?: Date | string;
|
121
|
-
rejectedAt?: Date | string;
|
122
|
-
withdrawnAt?: Date | string;
|
123
|
-
applyingAt?: Date | string;
|
124
|
-
suggestedAt?: Date | string;
|
125
|
-
approvedAt?: Date | string;
|
126
|
-
company?: string;
|
127
|
-
position?: string;
|
128
|
-
location?: string;
|
129
|
-
jobId?: string;
|
130
|
-
advertisingUrl?: string;
|
131
|
-
applicationUrl?: string;
|
132
|
-
applicationDomain?: string;
|
133
|
-
advertisingDomain?: string;
|
134
|
-
description?: string;
|
135
|
-
fullPageText?: string;
|
136
|
-
createdAt?: Date | string;
|
137
|
-
updatedAt?: Date | string;
|
138
|
-
}
|
139
|
-
|
140
|
-
type ApplicationQuestionType = "text" | "select";
|
141
|
-
declare const ApplicationQuestionTypeOptions: readonly ApplicationQuestionType[];
|
142
|
-
interface ApplicationQuestion {
|
143
|
-
id?: string;
|
144
|
-
questionText: string;
|
145
|
-
answerText?: string;
|
146
|
-
type: ApplicationQuestionType;
|
147
|
-
createdAt?: Date | string;
|
148
|
-
updatedAt?: Date | string;
|
149
|
-
}
|
150
|
-
|
151
151
|
type ClientStatus = "active" | "inactive";
|
152
152
|
interface Client {
|
153
153
|
readonly id?: string;
|
@@ -882,4 +882,4 @@ declare const firestorePaths: {
|
|
882
882
|
};
|
883
883
|
};
|
884
884
|
|
885
|
-
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEmails, ClientGmailTokens, ClientInitialQuestion, ClientInterview, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientWebsitePreferences, JobCategory, JobTitle, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths };
|
885
|
+
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEmails, ClientGmailTokens, ClientInitialQuestion, ClientInterview, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientStatus, ClientWebsitePreferences, JobCategory, JobTitle, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
|