@jobsearch-works/firestore-models 4.4.1 → 4.5.0
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 +101 -1
- package/dist/index.d.ts +101 -1
- package/dist/index.js +244 -2
- package/dist/index.mjs +239 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -520,6 +520,14 @@ declare const locations: readonly [{
|
|
|
520
520
|
|
|
521
521
|
declare const countries: readonly ["Afghanistan", "Albania", "Algeria", "Andorra", "Angola", "Antigua and Barbuda", "Argentina", "Armenia", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "Brunei", "Bulgaria", "Burkina Faso", "Burundi", "Cabo Verde", "Cambodia", "Cameroon", "Canada", "Central African Republic", "Chad", "Chile", "China", "Colombia", "Comoros", "Congo", "Costa Rica", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Eswatini", "Ethiopia", "European Union", "Fiji", "Finland", "France", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Greece", "Grenada", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Honduras", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Mauritania", "Mauritius", "Mexico", "Micronesia", "Moldova", "Monaco", "Mongolia", "Montenegro", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "New Zealand", "Nicaragua", "Niger", "Nigeria", "North Korea", "North Macedonia", "Norway", "Oman", "Pakistan", "Palau", "Palestine", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Qatar", "Remote", "Romania", "Russia", "Rwanda", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Korea", "South Sudan", "Spain", "Sri Lanka", "Sudan", "Suriname", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Tuvalu", "UAE", "Uganda", "Ukraine", "United Kingdom", "United States", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City", "Venezuela", "Vietnam", "Yemen", "Zambia", "Zimbabwe"];
|
|
522
522
|
|
|
523
|
+
declare const nationalities: readonly ["Afghan", "Albanian", "Algerian", "Andorran", "Angolan", "Antiguan and Barbudan", "Argentine", "Armenian", "Australian", "Austrian", "Azerbaijani", "Bahamian", "Bahraini", "Bangladeshi", "Barbadian", "Belarusian", "Belgian", "Belizean", "Beninese", "Bhutanese", "Bolivian", "Bosnian and Herzegovinian", "Botswanan", "Brazilian", "Bruneian", "Bulgarian", "Burkinabé", "Burundian", "Cabo Verdean", "Cambodian", "Cameroonian", "Canadian", "Central African", "Chadian", "Chilean", "Chinese", "Colombian", "Comoran", "Congolese", "Costa Rican", "Croatian", "Cuban", "Cypriot", "Czech", "Danish", "Djiboutian", "Dominican", "Dominican", "Ecuadorian", "Egyptian", "Salvadoran", "Equatorial Guinean", "Eritrean", "Estonian", "Eswatini Swazi", "Ethiopian", "European Union citizen", "Fijian", "Finnish", "French", "Gabonese", "Gambian", "Georgian", "German", "Ghanaian", "Greek", "Grenadian", "Guatemalan", "Guinean", "Bissau-Guinean", "Guyanese", "Haitian", "Honduran", "Hungarian", "Icelandic", "Indian", "Indonesian", "Iranian", "Iraqi", "Irish", "Israeli", "Italian", "Jamaican", "Japanese", "Jordanian", "Kazakhstani", "Kenyan", "Kuwaiti", "Kyrgyzstani", "Laotian", "Latvian", "Lebanese", "Liberian", "Libyan", "Liechtensteiner", "Lithuanian", "Luxembourger", "Malagasy", "Malawian", "Malaysian", "Maldivian", "Malian", "Maltese", "Marshallese", "Mauritanian", "Mauritian", "Mexican", "Micronesian", "Moldovan", "Monacan", "Mongolian", "Montenegrin", "Moroccan", "Mozambican", "Namibian", "Nauruan", "Nepalese", "Dutch", "New Zealander", "Nicaraguan", "Nigerien", "Nigerian", "North Korean", "Norwegian", "Omani", "Pakistani", "Palauan", "Palestinian", "Panamanian", "Papua New Guinean", "Paraguayan", "Peruvian", "Philippine", "Polish", "Portuguese", "Qatari", "Romanian", "Russian", "Rwandan", "Saint Kitts and Nevis", "Saint Lucian", "Saint Vincent and the Grenadines", "Samoan", "San Marinese", "Sao Tomean", "Saudi", "Senegalese", "Serbian", "Seychellois", "Sierra Leonean", "Singaporean", "Slovak", "Slovenian", "Solomon Islander", "Somali", "South African", "South Korean", "Spanish", "Sri Lankan", "Sudanese", "Surinamese", "Swedish", "Swiss", "Syrian", "Taiwanese", "Tajikistani", "Tanzanian", "Thai", "Togolese", "Tongan", "Trinidadian", "Tunisian", "Turkish", "Turkmen", "Tuvaluan", "Ugandan", "Ukrainian", "Emirati", "United Kingdom citizen", "United States citizen", "Uruguayan", "Uzbekistani", "Venezuelan", "Vietnamese", "Welsh", "Yemeni", "Zambian", "Zimbabwean", "Stateless"];
|
|
524
|
+
|
|
525
|
+
declare const genders: readonly ["Male", "Female", "Non-binary", "Other", "Prefer not to say"];
|
|
526
|
+
|
|
527
|
+
declare const backgrounds: readonly ["Aboriginal", "Torres Strait Islander", "Aboriginal and Torres Strait Islander", "Non-Indigenous Australian", "European", "Asian", "African", "Middle Eastern", "Pacific Islander", "Latin American", "North American", "Mixed Heritage", "Prefer not to say", "Other"];
|
|
528
|
+
|
|
529
|
+
declare const workEligibility: readonly ["Australian Citizen", "Permanent Resident", "Temporary Visa", "Student Visa", "Working Holiday Visa", "Other"];
|
|
530
|
+
|
|
523
531
|
declare const ClientStatusEnum: {
|
|
524
532
|
readonly new: "new";
|
|
525
533
|
readonly onboarding: "onboarding";
|
|
@@ -735,6 +743,94 @@ interface GmailOAuthSession {
|
|
|
735
743
|
completedAt?: Date | string;
|
|
736
744
|
}
|
|
737
745
|
|
|
746
|
+
/**
|
|
747
|
+
* Status of a scraper run
|
|
748
|
+
*/
|
|
749
|
+
type ScraperRunStatus = "queued" | "running" | "success" | "error";
|
|
750
|
+
/**
|
|
751
|
+
* Environment where the scraper run was executed
|
|
752
|
+
*/
|
|
753
|
+
type ScraperRunEnvironment = "dev" | "prod";
|
|
754
|
+
/**
|
|
755
|
+
* How the scraper run was triggered
|
|
756
|
+
*/
|
|
757
|
+
type ScraperRunTrigger = "scheduler" | "manual" | "api";
|
|
758
|
+
/**
|
|
759
|
+
* Represents a single execution of a company scraper
|
|
760
|
+
* Stored in the `scraperRuns` collection
|
|
761
|
+
*/
|
|
762
|
+
interface ScraperRun {
|
|
763
|
+
/**
|
|
764
|
+
* Unique identifier for this run
|
|
765
|
+
* Format: ISO-timestamp-companySlug (e.g., "2025-11-17T06-16-16-933Z-deloitte-Melbourne-Technology")
|
|
766
|
+
*/
|
|
767
|
+
runId: string;
|
|
768
|
+
/**
|
|
769
|
+
* Company slug identifier (e.g., "deloitte", "salesforce")
|
|
770
|
+
*/
|
|
771
|
+
companySlug: string;
|
|
772
|
+
/**
|
|
773
|
+
* Full company name
|
|
774
|
+
*/
|
|
775
|
+
companyName: string;
|
|
776
|
+
/**
|
|
777
|
+
* Location filter used for this scraper run
|
|
778
|
+
*/
|
|
779
|
+
locationFilter: string;
|
|
780
|
+
/**
|
|
781
|
+
* Job category filter used for this scraper run
|
|
782
|
+
*/
|
|
783
|
+
categoryFilter: string;
|
|
784
|
+
/**
|
|
785
|
+
* Maximum number of jobs to scrape
|
|
786
|
+
*/
|
|
787
|
+
maxJobs: number;
|
|
788
|
+
/**
|
|
789
|
+
* Current status of the scraper run
|
|
790
|
+
*/
|
|
791
|
+
status: ScraperRunStatus;
|
|
792
|
+
/**
|
|
793
|
+
* Environment where the run was executed
|
|
794
|
+
*/
|
|
795
|
+
env: ScraperRunEnvironment;
|
|
796
|
+
/**
|
|
797
|
+
* How the run was triggered
|
|
798
|
+
*/
|
|
799
|
+
triggeredBy: ScraperRunTrigger;
|
|
800
|
+
/**
|
|
801
|
+
* Number of jobs found during the scrape
|
|
802
|
+
*/
|
|
803
|
+
jobsFound?: number | null;
|
|
804
|
+
/**
|
|
805
|
+
* Number of jobs successfully saved to Firestore
|
|
806
|
+
*/
|
|
807
|
+
jobsSaved?: number | null;
|
|
808
|
+
/**
|
|
809
|
+
* Duration of the entire run in milliseconds
|
|
810
|
+
*/
|
|
811
|
+
durationMs?: number | null;
|
|
812
|
+
/**
|
|
813
|
+
* Error message if the run failed
|
|
814
|
+
*/
|
|
815
|
+
errorMessage?: string | null;
|
|
816
|
+
/**
|
|
817
|
+
* When the run was queued/created
|
|
818
|
+
*/
|
|
819
|
+
startedAt: Date | string;
|
|
820
|
+
/**
|
|
821
|
+
* When the run completed (success or error)
|
|
822
|
+
*/
|
|
823
|
+
finishedAt?: Date | string | null;
|
|
824
|
+
/**
|
|
825
|
+
* Firestore createdAt timestamp
|
|
826
|
+
*/
|
|
827
|
+
createdAt: Date | string;
|
|
828
|
+
/**
|
|
829
|
+
* Firestore updatedAt timestamp
|
|
830
|
+
*/
|
|
831
|
+
updatedAt: Date | string;
|
|
832
|
+
}
|
|
833
|
+
|
|
738
834
|
/**
|
|
739
835
|
* Address interface for client resume
|
|
740
836
|
*/
|
|
@@ -1352,6 +1448,10 @@ declare const firestorePaths: {
|
|
|
1352
1448
|
readonly collection: () => string;
|
|
1353
1449
|
readonly doc: (id: string) => string;
|
|
1354
1450
|
};
|
|
1451
|
+
readonly scraperRuns: {
|
|
1452
|
+
readonly collection: () => string;
|
|
1453
|
+
readonly doc: (runId: string) => string;
|
|
1454
|
+
};
|
|
1355
1455
|
};
|
|
1356
1456
|
|
|
1357
|
-
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, Company, EMAIL_CATEGORIES, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, GmailOAuthSession, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySearchRun, VacancySearchRunVacancy, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
|
1457
|
+
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, Company, EMAIL_CATEGORIES, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, GmailOAuthSession, JobCategory, JobTitle, LocationId, Project, ScraperRun, ScraperRunEnvironment, ScraperRunStatus, ScraperRunTrigger, UserPublic, Vacancy, VacancyCategory, VacancySearchRun, VacancySearchRunVacancy, VacancySuggestion, backgrounds, countries, firestorePaths, genders, initialQuestions, jobClassifications, locations, nationalities, workEligibility };
|
package/dist/index.d.ts
CHANGED
|
@@ -520,6 +520,14 @@ declare const locations: readonly [{
|
|
|
520
520
|
|
|
521
521
|
declare const countries: readonly ["Afghanistan", "Albania", "Algeria", "Andorra", "Angola", "Antigua and Barbuda", "Argentina", "Armenia", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "Brunei", "Bulgaria", "Burkina Faso", "Burundi", "Cabo Verde", "Cambodia", "Cameroon", "Canada", "Central African Republic", "Chad", "Chile", "China", "Colombia", "Comoros", "Congo", "Costa Rica", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Eswatini", "Ethiopia", "European Union", "Fiji", "Finland", "France", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Greece", "Grenada", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Honduras", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Mauritania", "Mauritius", "Mexico", "Micronesia", "Moldova", "Monaco", "Mongolia", "Montenegro", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "New Zealand", "Nicaragua", "Niger", "Nigeria", "North Korea", "North Macedonia", "Norway", "Oman", "Pakistan", "Palau", "Palestine", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Qatar", "Remote", "Romania", "Russia", "Rwanda", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Korea", "South Sudan", "Spain", "Sri Lanka", "Sudan", "Suriname", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Tuvalu", "UAE", "Uganda", "Ukraine", "United Kingdom", "United States", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City", "Venezuela", "Vietnam", "Yemen", "Zambia", "Zimbabwe"];
|
|
522
522
|
|
|
523
|
+
declare const nationalities: readonly ["Afghan", "Albanian", "Algerian", "Andorran", "Angolan", "Antiguan and Barbudan", "Argentine", "Armenian", "Australian", "Austrian", "Azerbaijani", "Bahamian", "Bahraini", "Bangladeshi", "Barbadian", "Belarusian", "Belgian", "Belizean", "Beninese", "Bhutanese", "Bolivian", "Bosnian and Herzegovinian", "Botswanan", "Brazilian", "Bruneian", "Bulgarian", "Burkinabé", "Burundian", "Cabo Verdean", "Cambodian", "Cameroonian", "Canadian", "Central African", "Chadian", "Chilean", "Chinese", "Colombian", "Comoran", "Congolese", "Costa Rican", "Croatian", "Cuban", "Cypriot", "Czech", "Danish", "Djiboutian", "Dominican", "Dominican", "Ecuadorian", "Egyptian", "Salvadoran", "Equatorial Guinean", "Eritrean", "Estonian", "Eswatini Swazi", "Ethiopian", "European Union citizen", "Fijian", "Finnish", "French", "Gabonese", "Gambian", "Georgian", "German", "Ghanaian", "Greek", "Grenadian", "Guatemalan", "Guinean", "Bissau-Guinean", "Guyanese", "Haitian", "Honduran", "Hungarian", "Icelandic", "Indian", "Indonesian", "Iranian", "Iraqi", "Irish", "Israeli", "Italian", "Jamaican", "Japanese", "Jordanian", "Kazakhstani", "Kenyan", "Kuwaiti", "Kyrgyzstani", "Laotian", "Latvian", "Lebanese", "Liberian", "Libyan", "Liechtensteiner", "Lithuanian", "Luxembourger", "Malagasy", "Malawian", "Malaysian", "Maldivian", "Malian", "Maltese", "Marshallese", "Mauritanian", "Mauritian", "Mexican", "Micronesian", "Moldovan", "Monacan", "Mongolian", "Montenegrin", "Moroccan", "Mozambican", "Namibian", "Nauruan", "Nepalese", "Dutch", "New Zealander", "Nicaraguan", "Nigerien", "Nigerian", "North Korean", "Norwegian", "Omani", "Pakistani", "Palauan", "Palestinian", "Panamanian", "Papua New Guinean", "Paraguayan", "Peruvian", "Philippine", "Polish", "Portuguese", "Qatari", "Romanian", "Russian", "Rwandan", "Saint Kitts and Nevis", "Saint Lucian", "Saint Vincent and the Grenadines", "Samoan", "San Marinese", "Sao Tomean", "Saudi", "Senegalese", "Serbian", "Seychellois", "Sierra Leonean", "Singaporean", "Slovak", "Slovenian", "Solomon Islander", "Somali", "South African", "South Korean", "Spanish", "Sri Lankan", "Sudanese", "Surinamese", "Swedish", "Swiss", "Syrian", "Taiwanese", "Tajikistani", "Tanzanian", "Thai", "Togolese", "Tongan", "Trinidadian", "Tunisian", "Turkish", "Turkmen", "Tuvaluan", "Ugandan", "Ukrainian", "Emirati", "United Kingdom citizen", "United States citizen", "Uruguayan", "Uzbekistani", "Venezuelan", "Vietnamese", "Welsh", "Yemeni", "Zambian", "Zimbabwean", "Stateless"];
|
|
524
|
+
|
|
525
|
+
declare const genders: readonly ["Male", "Female", "Non-binary", "Other", "Prefer not to say"];
|
|
526
|
+
|
|
527
|
+
declare const backgrounds: readonly ["Aboriginal", "Torres Strait Islander", "Aboriginal and Torres Strait Islander", "Non-Indigenous Australian", "European", "Asian", "African", "Middle Eastern", "Pacific Islander", "Latin American", "North American", "Mixed Heritage", "Prefer not to say", "Other"];
|
|
528
|
+
|
|
529
|
+
declare const workEligibility: readonly ["Australian Citizen", "Permanent Resident", "Temporary Visa", "Student Visa", "Working Holiday Visa", "Other"];
|
|
530
|
+
|
|
523
531
|
declare const ClientStatusEnum: {
|
|
524
532
|
readonly new: "new";
|
|
525
533
|
readonly onboarding: "onboarding";
|
|
@@ -735,6 +743,94 @@ interface GmailOAuthSession {
|
|
|
735
743
|
completedAt?: Date | string;
|
|
736
744
|
}
|
|
737
745
|
|
|
746
|
+
/**
|
|
747
|
+
* Status of a scraper run
|
|
748
|
+
*/
|
|
749
|
+
type ScraperRunStatus = "queued" | "running" | "success" | "error";
|
|
750
|
+
/**
|
|
751
|
+
* Environment where the scraper run was executed
|
|
752
|
+
*/
|
|
753
|
+
type ScraperRunEnvironment = "dev" | "prod";
|
|
754
|
+
/**
|
|
755
|
+
* How the scraper run was triggered
|
|
756
|
+
*/
|
|
757
|
+
type ScraperRunTrigger = "scheduler" | "manual" | "api";
|
|
758
|
+
/**
|
|
759
|
+
* Represents a single execution of a company scraper
|
|
760
|
+
* Stored in the `scraperRuns` collection
|
|
761
|
+
*/
|
|
762
|
+
interface ScraperRun {
|
|
763
|
+
/**
|
|
764
|
+
* Unique identifier for this run
|
|
765
|
+
* Format: ISO-timestamp-companySlug (e.g., "2025-11-17T06-16-16-933Z-deloitte-Melbourne-Technology")
|
|
766
|
+
*/
|
|
767
|
+
runId: string;
|
|
768
|
+
/**
|
|
769
|
+
* Company slug identifier (e.g., "deloitte", "salesforce")
|
|
770
|
+
*/
|
|
771
|
+
companySlug: string;
|
|
772
|
+
/**
|
|
773
|
+
* Full company name
|
|
774
|
+
*/
|
|
775
|
+
companyName: string;
|
|
776
|
+
/**
|
|
777
|
+
* Location filter used for this scraper run
|
|
778
|
+
*/
|
|
779
|
+
locationFilter: string;
|
|
780
|
+
/**
|
|
781
|
+
* Job category filter used for this scraper run
|
|
782
|
+
*/
|
|
783
|
+
categoryFilter: string;
|
|
784
|
+
/**
|
|
785
|
+
* Maximum number of jobs to scrape
|
|
786
|
+
*/
|
|
787
|
+
maxJobs: number;
|
|
788
|
+
/**
|
|
789
|
+
* Current status of the scraper run
|
|
790
|
+
*/
|
|
791
|
+
status: ScraperRunStatus;
|
|
792
|
+
/**
|
|
793
|
+
* Environment where the run was executed
|
|
794
|
+
*/
|
|
795
|
+
env: ScraperRunEnvironment;
|
|
796
|
+
/**
|
|
797
|
+
* How the run was triggered
|
|
798
|
+
*/
|
|
799
|
+
triggeredBy: ScraperRunTrigger;
|
|
800
|
+
/**
|
|
801
|
+
* Number of jobs found during the scrape
|
|
802
|
+
*/
|
|
803
|
+
jobsFound?: number | null;
|
|
804
|
+
/**
|
|
805
|
+
* Number of jobs successfully saved to Firestore
|
|
806
|
+
*/
|
|
807
|
+
jobsSaved?: number | null;
|
|
808
|
+
/**
|
|
809
|
+
* Duration of the entire run in milliseconds
|
|
810
|
+
*/
|
|
811
|
+
durationMs?: number | null;
|
|
812
|
+
/**
|
|
813
|
+
* Error message if the run failed
|
|
814
|
+
*/
|
|
815
|
+
errorMessage?: string | null;
|
|
816
|
+
/**
|
|
817
|
+
* When the run was queued/created
|
|
818
|
+
*/
|
|
819
|
+
startedAt: Date | string;
|
|
820
|
+
/**
|
|
821
|
+
* When the run completed (success or error)
|
|
822
|
+
*/
|
|
823
|
+
finishedAt?: Date | string | null;
|
|
824
|
+
/**
|
|
825
|
+
* Firestore createdAt timestamp
|
|
826
|
+
*/
|
|
827
|
+
createdAt: Date | string;
|
|
828
|
+
/**
|
|
829
|
+
* Firestore updatedAt timestamp
|
|
830
|
+
*/
|
|
831
|
+
updatedAt: Date | string;
|
|
832
|
+
}
|
|
833
|
+
|
|
738
834
|
/**
|
|
739
835
|
* Address interface for client resume
|
|
740
836
|
*/
|
|
@@ -1352,6 +1448,10 @@ declare const firestorePaths: {
|
|
|
1352
1448
|
readonly collection: () => string;
|
|
1353
1449
|
readonly doc: (id: string) => string;
|
|
1354
1450
|
};
|
|
1451
|
+
readonly scraperRuns: {
|
|
1452
|
+
readonly collection: () => string;
|
|
1453
|
+
readonly doc: (runId: string) => string;
|
|
1454
|
+
};
|
|
1355
1455
|
};
|
|
1356
1456
|
|
|
1357
|
-
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, Company, EMAIL_CATEGORIES, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, GmailOAuthSession, JobCategory, JobTitle, LocationId, Project, UserPublic, Vacancy, VacancyCategory, VacancySearchRun, VacancySearchRunVacancy, VacancySuggestion, countries, firestorePaths, initialQuestions, jobClassifications, locations };
|
|
1457
|
+
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, Company, EMAIL_CATEGORIES, Education, EmailCategory, EmailLog, Experience, FirestoreTimestamp, GmailOAuthSession, JobCategory, JobTitle, LocationId, Project, ScraperRun, ScraperRunEnvironment, ScraperRunStatus, ScraperRunTrigger, UserPublic, Vacancy, VacancyCategory, VacancySearchRun, VacancySearchRunVacancy, VacancySuggestion, backgrounds, countries, firestorePaths, genders, initialQuestions, jobClassifications, locations, nationalities, workEligibility };
|
package/dist/index.js
CHANGED
|
@@ -28,11 +28,15 @@ __export(src_exports, {
|
|
|
28
28
|
ClientStatusEnum: () => ClientStatusEnum,
|
|
29
29
|
EMAIL_CATEGORIES: () => EMAIL_CATEGORIES,
|
|
30
30
|
VacancyCategory: () => VacancyCategory,
|
|
31
|
+
backgrounds: () => backgrounds,
|
|
31
32
|
countries: () => countries,
|
|
32
33
|
firestorePaths: () => firestorePaths,
|
|
34
|
+
genders: () => genders,
|
|
33
35
|
initialQuestions: () => initialQuestions,
|
|
34
36
|
jobClassifications: () => jobClassification_default,
|
|
35
|
-
locations: () => locations
|
|
37
|
+
locations: () => locations,
|
|
38
|
+
nationalities: () => nationalities,
|
|
39
|
+
workEligibility: () => workEligibility
|
|
36
40
|
});
|
|
37
41
|
module.exports = __toCommonJS(src_exports);
|
|
38
42
|
|
|
@@ -1340,6 +1344,236 @@ var countries = [
|
|
|
1340
1344
|
"Zimbabwe"
|
|
1341
1345
|
];
|
|
1342
1346
|
|
|
1347
|
+
// src/static/nationalities.ts
|
|
1348
|
+
var nationalities = [
|
|
1349
|
+
"Afghan",
|
|
1350
|
+
"Albanian",
|
|
1351
|
+
"Algerian",
|
|
1352
|
+
"Andorran",
|
|
1353
|
+
"Angolan",
|
|
1354
|
+
"Antiguan and Barbudan",
|
|
1355
|
+
"Argentine",
|
|
1356
|
+
"Armenian",
|
|
1357
|
+
"Australian",
|
|
1358
|
+
"Austrian",
|
|
1359
|
+
"Azerbaijani",
|
|
1360
|
+
"Bahamian",
|
|
1361
|
+
"Bahraini",
|
|
1362
|
+
"Bangladeshi",
|
|
1363
|
+
"Barbadian",
|
|
1364
|
+
"Belarusian",
|
|
1365
|
+
"Belgian",
|
|
1366
|
+
"Belizean",
|
|
1367
|
+
"Beninese",
|
|
1368
|
+
"Bhutanese",
|
|
1369
|
+
"Bolivian",
|
|
1370
|
+
"Bosnian and Herzegovinian",
|
|
1371
|
+
"Botswanan",
|
|
1372
|
+
"Brazilian",
|
|
1373
|
+
"Bruneian",
|
|
1374
|
+
"Bulgarian",
|
|
1375
|
+
"Burkinab\xE9",
|
|
1376
|
+
"Burundian",
|
|
1377
|
+
"Cabo Verdean",
|
|
1378
|
+
"Cambodian",
|
|
1379
|
+
"Cameroonian",
|
|
1380
|
+
"Canadian",
|
|
1381
|
+
"Central African",
|
|
1382
|
+
"Chadian",
|
|
1383
|
+
"Chilean",
|
|
1384
|
+
"Chinese",
|
|
1385
|
+
"Colombian",
|
|
1386
|
+
"Comoran",
|
|
1387
|
+
"Congolese",
|
|
1388
|
+
"Costa Rican",
|
|
1389
|
+
"Croatian",
|
|
1390
|
+
"Cuban",
|
|
1391
|
+
"Cypriot",
|
|
1392
|
+
"Czech",
|
|
1393
|
+
"Danish",
|
|
1394
|
+
"Djiboutian",
|
|
1395
|
+
"Dominican",
|
|
1396
|
+
"Dominican",
|
|
1397
|
+
"Ecuadorian",
|
|
1398
|
+
"Egyptian",
|
|
1399
|
+
"Salvadoran",
|
|
1400
|
+
"Equatorial Guinean",
|
|
1401
|
+
"Eritrean",
|
|
1402
|
+
"Estonian",
|
|
1403
|
+
"Eswatini Swazi",
|
|
1404
|
+
"Ethiopian",
|
|
1405
|
+
"European Union citizen",
|
|
1406
|
+
"Fijian",
|
|
1407
|
+
"Finnish",
|
|
1408
|
+
"French",
|
|
1409
|
+
"Gabonese",
|
|
1410
|
+
"Gambian",
|
|
1411
|
+
"Georgian",
|
|
1412
|
+
"German",
|
|
1413
|
+
"Ghanaian",
|
|
1414
|
+
"Greek",
|
|
1415
|
+
"Grenadian",
|
|
1416
|
+
"Guatemalan",
|
|
1417
|
+
"Guinean",
|
|
1418
|
+
"Bissau-Guinean",
|
|
1419
|
+
"Guyanese",
|
|
1420
|
+
"Haitian",
|
|
1421
|
+
"Honduran",
|
|
1422
|
+
"Hungarian",
|
|
1423
|
+
"Icelandic",
|
|
1424
|
+
"Indian",
|
|
1425
|
+
"Indonesian",
|
|
1426
|
+
"Iranian",
|
|
1427
|
+
"Iraqi",
|
|
1428
|
+
"Irish",
|
|
1429
|
+
"Israeli",
|
|
1430
|
+
"Italian",
|
|
1431
|
+
"Jamaican",
|
|
1432
|
+
"Japanese",
|
|
1433
|
+
"Jordanian",
|
|
1434
|
+
"Kazakhstani",
|
|
1435
|
+
"Kenyan",
|
|
1436
|
+
"Kuwaiti",
|
|
1437
|
+
"Kyrgyzstani",
|
|
1438
|
+
"Laotian",
|
|
1439
|
+
"Latvian",
|
|
1440
|
+
"Lebanese",
|
|
1441
|
+
"Liberian",
|
|
1442
|
+
"Libyan",
|
|
1443
|
+
"Liechtensteiner",
|
|
1444
|
+
"Lithuanian",
|
|
1445
|
+
"Luxembourger",
|
|
1446
|
+
"Malagasy",
|
|
1447
|
+
"Malawian",
|
|
1448
|
+
"Malaysian",
|
|
1449
|
+
"Maldivian",
|
|
1450
|
+
"Malian",
|
|
1451
|
+
"Maltese",
|
|
1452
|
+
"Marshallese",
|
|
1453
|
+
"Mauritanian",
|
|
1454
|
+
"Mauritian",
|
|
1455
|
+
"Mexican",
|
|
1456
|
+
"Micronesian",
|
|
1457
|
+
"Moldovan",
|
|
1458
|
+
"Monacan",
|
|
1459
|
+
"Mongolian",
|
|
1460
|
+
"Montenegrin",
|
|
1461
|
+
"Moroccan",
|
|
1462
|
+
"Mozambican",
|
|
1463
|
+
"Namibian",
|
|
1464
|
+
"Nauruan",
|
|
1465
|
+
"Nepalese",
|
|
1466
|
+
"Dutch",
|
|
1467
|
+
"New Zealander",
|
|
1468
|
+
"Nicaraguan",
|
|
1469
|
+
"Nigerien",
|
|
1470
|
+
"Nigerian",
|
|
1471
|
+
"North Korean",
|
|
1472
|
+
"Norwegian",
|
|
1473
|
+
"Omani",
|
|
1474
|
+
"Pakistani",
|
|
1475
|
+
"Palauan",
|
|
1476
|
+
"Palestinian",
|
|
1477
|
+
"Panamanian",
|
|
1478
|
+
"Papua New Guinean",
|
|
1479
|
+
"Paraguayan",
|
|
1480
|
+
"Peruvian",
|
|
1481
|
+
"Philippine",
|
|
1482
|
+
"Polish",
|
|
1483
|
+
"Portuguese",
|
|
1484
|
+
"Qatari",
|
|
1485
|
+
"Romanian",
|
|
1486
|
+
"Russian",
|
|
1487
|
+
"Rwandan",
|
|
1488
|
+
"Saint Kitts and Nevis",
|
|
1489
|
+
"Saint Lucian",
|
|
1490
|
+
"Saint Vincent and the Grenadines",
|
|
1491
|
+
"Samoan",
|
|
1492
|
+
"San Marinese",
|
|
1493
|
+
"Sao Tomean",
|
|
1494
|
+
"Saudi",
|
|
1495
|
+
"Senegalese",
|
|
1496
|
+
"Serbian",
|
|
1497
|
+
"Seychellois",
|
|
1498
|
+
"Sierra Leonean",
|
|
1499
|
+
"Singaporean",
|
|
1500
|
+
"Slovak",
|
|
1501
|
+
"Slovenian",
|
|
1502
|
+
"Solomon Islander",
|
|
1503
|
+
"Somali",
|
|
1504
|
+
"South African",
|
|
1505
|
+
"South Korean",
|
|
1506
|
+
"Spanish",
|
|
1507
|
+
"Sri Lankan",
|
|
1508
|
+
"Sudanese",
|
|
1509
|
+
"Surinamese",
|
|
1510
|
+
"Swedish",
|
|
1511
|
+
"Swiss",
|
|
1512
|
+
"Syrian",
|
|
1513
|
+
"Taiwanese",
|
|
1514
|
+
"Tajikistani",
|
|
1515
|
+
"Tanzanian",
|
|
1516
|
+
"Thai",
|
|
1517
|
+
"Togolese",
|
|
1518
|
+
"Tongan",
|
|
1519
|
+
"Trinidadian",
|
|
1520
|
+
"Tunisian",
|
|
1521
|
+
"Turkish",
|
|
1522
|
+
"Turkmen",
|
|
1523
|
+
"Tuvaluan",
|
|
1524
|
+
"Ugandan",
|
|
1525
|
+
"Ukrainian",
|
|
1526
|
+
"Emirati",
|
|
1527
|
+
"United Kingdom citizen",
|
|
1528
|
+
"United States citizen",
|
|
1529
|
+
"Uruguayan",
|
|
1530
|
+
"Uzbekistani",
|
|
1531
|
+
"Venezuelan",
|
|
1532
|
+
"Vietnamese",
|
|
1533
|
+
"Welsh",
|
|
1534
|
+
"Yemeni",
|
|
1535
|
+
"Zambian",
|
|
1536
|
+
"Zimbabwean",
|
|
1537
|
+
"Stateless"
|
|
1538
|
+
];
|
|
1539
|
+
|
|
1540
|
+
// src/static/gender.ts
|
|
1541
|
+
var genders = [
|
|
1542
|
+
"Male",
|
|
1543
|
+
"Female",
|
|
1544
|
+
"Non-binary",
|
|
1545
|
+
"Other",
|
|
1546
|
+
"Prefer not to say"
|
|
1547
|
+
];
|
|
1548
|
+
|
|
1549
|
+
// src/static/background.ts
|
|
1550
|
+
var backgrounds = [
|
|
1551
|
+
"Aboriginal",
|
|
1552
|
+
"Torres Strait Islander",
|
|
1553
|
+
"Aboriginal and Torres Strait Islander",
|
|
1554
|
+
"Non-Indigenous Australian",
|
|
1555
|
+
"European",
|
|
1556
|
+
"Asian",
|
|
1557
|
+
"African",
|
|
1558
|
+
"Middle Eastern",
|
|
1559
|
+
"Pacific Islander",
|
|
1560
|
+
"Latin American",
|
|
1561
|
+
"North American",
|
|
1562
|
+
"Mixed Heritage",
|
|
1563
|
+
"Prefer not to say",
|
|
1564
|
+
"Other"
|
|
1565
|
+
];
|
|
1566
|
+
|
|
1567
|
+
// src/static/workEligibility.ts
|
|
1568
|
+
var workEligibility = [
|
|
1569
|
+
"Australian Citizen",
|
|
1570
|
+
"Permanent Resident",
|
|
1571
|
+
"Temporary Visa",
|
|
1572
|
+
"Student Visa",
|
|
1573
|
+
"Working Holiday Visa",
|
|
1574
|
+
"Other"
|
|
1575
|
+
];
|
|
1576
|
+
|
|
1343
1577
|
// src/static/clientStatus.ts
|
|
1344
1578
|
var ClientStatusEnum = {
|
|
1345
1579
|
"new": "new",
|
|
@@ -1530,6 +1764,10 @@ var firestorePaths = {
|
|
|
1530
1764
|
vacancySearchRuns: {
|
|
1531
1765
|
collection: () => "vacancySearchRuns",
|
|
1532
1766
|
doc: (id) => `vacancySearchRuns/${id}`
|
|
1767
|
+
},
|
|
1768
|
+
scraperRuns: {
|
|
1769
|
+
collection: () => "scraperRuns",
|
|
1770
|
+
doc: (runId) => `scraperRuns/${runId}`
|
|
1533
1771
|
}
|
|
1534
1772
|
};
|
|
1535
1773
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1542,9 +1780,13 @@ var firestorePaths = {
|
|
|
1542
1780
|
ClientStatusEnum,
|
|
1543
1781
|
EMAIL_CATEGORIES,
|
|
1544
1782
|
VacancyCategory,
|
|
1783
|
+
backgrounds,
|
|
1545
1784
|
countries,
|
|
1546
1785
|
firestorePaths,
|
|
1786
|
+
genders,
|
|
1547
1787
|
initialQuestions,
|
|
1548
1788
|
jobClassifications,
|
|
1549
|
-
locations
|
|
1789
|
+
locations,
|
|
1790
|
+
nationalities,
|
|
1791
|
+
workEligibility
|
|
1550
1792
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -1302,6 +1302,236 @@ var countries = [
|
|
|
1302
1302
|
"Zimbabwe"
|
|
1303
1303
|
];
|
|
1304
1304
|
|
|
1305
|
+
// src/static/nationalities.ts
|
|
1306
|
+
var nationalities = [
|
|
1307
|
+
"Afghan",
|
|
1308
|
+
"Albanian",
|
|
1309
|
+
"Algerian",
|
|
1310
|
+
"Andorran",
|
|
1311
|
+
"Angolan",
|
|
1312
|
+
"Antiguan and Barbudan",
|
|
1313
|
+
"Argentine",
|
|
1314
|
+
"Armenian",
|
|
1315
|
+
"Australian",
|
|
1316
|
+
"Austrian",
|
|
1317
|
+
"Azerbaijani",
|
|
1318
|
+
"Bahamian",
|
|
1319
|
+
"Bahraini",
|
|
1320
|
+
"Bangladeshi",
|
|
1321
|
+
"Barbadian",
|
|
1322
|
+
"Belarusian",
|
|
1323
|
+
"Belgian",
|
|
1324
|
+
"Belizean",
|
|
1325
|
+
"Beninese",
|
|
1326
|
+
"Bhutanese",
|
|
1327
|
+
"Bolivian",
|
|
1328
|
+
"Bosnian and Herzegovinian",
|
|
1329
|
+
"Botswanan",
|
|
1330
|
+
"Brazilian",
|
|
1331
|
+
"Bruneian",
|
|
1332
|
+
"Bulgarian",
|
|
1333
|
+
"Burkinab\xE9",
|
|
1334
|
+
"Burundian",
|
|
1335
|
+
"Cabo Verdean",
|
|
1336
|
+
"Cambodian",
|
|
1337
|
+
"Cameroonian",
|
|
1338
|
+
"Canadian",
|
|
1339
|
+
"Central African",
|
|
1340
|
+
"Chadian",
|
|
1341
|
+
"Chilean",
|
|
1342
|
+
"Chinese",
|
|
1343
|
+
"Colombian",
|
|
1344
|
+
"Comoran",
|
|
1345
|
+
"Congolese",
|
|
1346
|
+
"Costa Rican",
|
|
1347
|
+
"Croatian",
|
|
1348
|
+
"Cuban",
|
|
1349
|
+
"Cypriot",
|
|
1350
|
+
"Czech",
|
|
1351
|
+
"Danish",
|
|
1352
|
+
"Djiboutian",
|
|
1353
|
+
"Dominican",
|
|
1354
|
+
"Dominican",
|
|
1355
|
+
"Ecuadorian",
|
|
1356
|
+
"Egyptian",
|
|
1357
|
+
"Salvadoran",
|
|
1358
|
+
"Equatorial Guinean",
|
|
1359
|
+
"Eritrean",
|
|
1360
|
+
"Estonian",
|
|
1361
|
+
"Eswatini Swazi",
|
|
1362
|
+
"Ethiopian",
|
|
1363
|
+
"European Union citizen",
|
|
1364
|
+
"Fijian",
|
|
1365
|
+
"Finnish",
|
|
1366
|
+
"French",
|
|
1367
|
+
"Gabonese",
|
|
1368
|
+
"Gambian",
|
|
1369
|
+
"Georgian",
|
|
1370
|
+
"German",
|
|
1371
|
+
"Ghanaian",
|
|
1372
|
+
"Greek",
|
|
1373
|
+
"Grenadian",
|
|
1374
|
+
"Guatemalan",
|
|
1375
|
+
"Guinean",
|
|
1376
|
+
"Bissau-Guinean",
|
|
1377
|
+
"Guyanese",
|
|
1378
|
+
"Haitian",
|
|
1379
|
+
"Honduran",
|
|
1380
|
+
"Hungarian",
|
|
1381
|
+
"Icelandic",
|
|
1382
|
+
"Indian",
|
|
1383
|
+
"Indonesian",
|
|
1384
|
+
"Iranian",
|
|
1385
|
+
"Iraqi",
|
|
1386
|
+
"Irish",
|
|
1387
|
+
"Israeli",
|
|
1388
|
+
"Italian",
|
|
1389
|
+
"Jamaican",
|
|
1390
|
+
"Japanese",
|
|
1391
|
+
"Jordanian",
|
|
1392
|
+
"Kazakhstani",
|
|
1393
|
+
"Kenyan",
|
|
1394
|
+
"Kuwaiti",
|
|
1395
|
+
"Kyrgyzstani",
|
|
1396
|
+
"Laotian",
|
|
1397
|
+
"Latvian",
|
|
1398
|
+
"Lebanese",
|
|
1399
|
+
"Liberian",
|
|
1400
|
+
"Libyan",
|
|
1401
|
+
"Liechtensteiner",
|
|
1402
|
+
"Lithuanian",
|
|
1403
|
+
"Luxembourger",
|
|
1404
|
+
"Malagasy",
|
|
1405
|
+
"Malawian",
|
|
1406
|
+
"Malaysian",
|
|
1407
|
+
"Maldivian",
|
|
1408
|
+
"Malian",
|
|
1409
|
+
"Maltese",
|
|
1410
|
+
"Marshallese",
|
|
1411
|
+
"Mauritanian",
|
|
1412
|
+
"Mauritian",
|
|
1413
|
+
"Mexican",
|
|
1414
|
+
"Micronesian",
|
|
1415
|
+
"Moldovan",
|
|
1416
|
+
"Monacan",
|
|
1417
|
+
"Mongolian",
|
|
1418
|
+
"Montenegrin",
|
|
1419
|
+
"Moroccan",
|
|
1420
|
+
"Mozambican",
|
|
1421
|
+
"Namibian",
|
|
1422
|
+
"Nauruan",
|
|
1423
|
+
"Nepalese",
|
|
1424
|
+
"Dutch",
|
|
1425
|
+
"New Zealander",
|
|
1426
|
+
"Nicaraguan",
|
|
1427
|
+
"Nigerien",
|
|
1428
|
+
"Nigerian",
|
|
1429
|
+
"North Korean",
|
|
1430
|
+
"Norwegian",
|
|
1431
|
+
"Omani",
|
|
1432
|
+
"Pakistani",
|
|
1433
|
+
"Palauan",
|
|
1434
|
+
"Palestinian",
|
|
1435
|
+
"Panamanian",
|
|
1436
|
+
"Papua New Guinean",
|
|
1437
|
+
"Paraguayan",
|
|
1438
|
+
"Peruvian",
|
|
1439
|
+
"Philippine",
|
|
1440
|
+
"Polish",
|
|
1441
|
+
"Portuguese",
|
|
1442
|
+
"Qatari",
|
|
1443
|
+
"Romanian",
|
|
1444
|
+
"Russian",
|
|
1445
|
+
"Rwandan",
|
|
1446
|
+
"Saint Kitts and Nevis",
|
|
1447
|
+
"Saint Lucian",
|
|
1448
|
+
"Saint Vincent and the Grenadines",
|
|
1449
|
+
"Samoan",
|
|
1450
|
+
"San Marinese",
|
|
1451
|
+
"Sao Tomean",
|
|
1452
|
+
"Saudi",
|
|
1453
|
+
"Senegalese",
|
|
1454
|
+
"Serbian",
|
|
1455
|
+
"Seychellois",
|
|
1456
|
+
"Sierra Leonean",
|
|
1457
|
+
"Singaporean",
|
|
1458
|
+
"Slovak",
|
|
1459
|
+
"Slovenian",
|
|
1460
|
+
"Solomon Islander",
|
|
1461
|
+
"Somali",
|
|
1462
|
+
"South African",
|
|
1463
|
+
"South Korean",
|
|
1464
|
+
"Spanish",
|
|
1465
|
+
"Sri Lankan",
|
|
1466
|
+
"Sudanese",
|
|
1467
|
+
"Surinamese",
|
|
1468
|
+
"Swedish",
|
|
1469
|
+
"Swiss",
|
|
1470
|
+
"Syrian",
|
|
1471
|
+
"Taiwanese",
|
|
1472
|
+
"Tajikistani",
|
|
1473
|
+
"Tanzanian",
|
|
1474
|
+
"Thai",
|
|
1475
|
+
"Togolese",
|
|
1476
|
+
"Tongan",
|
|
1477
|
+
"Trinidadian",
|
|
1478
|
+
"Tunisian",
|
|
1479
|
+
"Turkish",
|
|
1480
|
+
"Turkmen",
|
|
1481
|
+
"Tuvaluan",
|
|
1482
|
+
"Ugandan",
|
|
1483
|
+
"Ukrainian",
|
|
1484
|
+
"Emirati",
|
|
1485
|
+
"United Kingdom citizen",
|
|
1486
|
+
"United States citizen",
|
|
1487
|
+
"Uruguayan",
|
|
1488
|
+
"Uzbekistani",
|
|
1489
|
+
"Venezuelan",
|
|
1490
|
+
"Vietnamese",
|
|
1491
|
+
"Welsh",
|
|
1492
|
+
"Yemeni",
|
|
1493
|
+
"Zambian",
|
|
1494
|
+
"Zimbabwean",
|
|
1495
|
+
"Stateless"
|
|
1496
|
+
];
|
|
1497
|
+
|
|
1498
|
+
// src/static/gender.ts
|
|
1499
|
+
var genders = [
|
|
1500
|
+
"Male",
|
|
1501
|
+
"Female",
|
|
1502
|
+
"Non-binary",
|
|
1503
|
+
"Other",
|
|
1504
|
+
"Prefer not to say"
|
|
1505
|
+
];
|
|
1506
|
+
|
|
1507
|
+
// src/static/background.ts
|
|
1508
|
+
var backgrounds = [
|
|
1509
|
+
"Aboriginal",
|
|
1510
|
+
"Torres Strait Islander",
|
|
1511
|
+
"Aboriginal and Torres Strait Islander",
|
|
1512
|
+
"Non-Indigenous Australian",
|
|
1513
|
+
"European",
|
|
1514
|
+
"Asian",
|
|
1515
|
+
"African",
|
|
1516
|
+
"Middle Eastern",
|
|
1517
|
+
"Pacific Islander",
|
|
1518
|
+
"Latin American",
|
|
1519
|
+
"North American",
|
|
1520
|
+
"Mixed Heritage",
|
|
1521
|
+
"Prefer not to say",
|
|
1522
|
+
"Other"
|
|
1523
|
+
];
|
|
1524
|
+
|
|
1525
|
+
// src/static/workEligibility.ts
|
|
1526
|
+
var workEligibility = [
|
|
1527
|
+
"Australian Citizen",
|
|
1528
|
+
"Permanent Resident",
|
|
1529
|
+
"Temporary Visa",
|
|
1530
|
+
"Student Visa",
|
|
1531
|
+
"Working Holiday Visa",
|
|
1532
|
+
"Other"
|
|
1533
|
+
];
|
|
1534
|
+
|
|
1305
1535
|
// src/static/clientStatus.ts
|
|
1306
1536
|
var ClientStatusEnum = {
|
|
1307
1537
|
"new": "new",
|
|
@@ -1492,6 +1722,10 @@ var firestorePaths = {
|
|
|
1492
1722
|
vacancySearchRuns: {
|
|
1493
1723
|
collection: () => "vacancySearchRuns",
|
|
1494
1724
|
doc: (id) => `vacancySearchRuns/${id}`
|
|
1725
|
+
},
|
|
1726
|
+
scraperRuns: {
|
|
1727
|
+
collection: () => "scraperRuns",
|
|
1728
|
+
doc: (runId) => `scraperRuns/${runId}`
|
|
1495
1729
|
}
|
|
1496
1730
|
};
|
|
1497
1731
|
export {
|
|
@@ -1503,9 +1737,13 @@ export {
|
|
|
1503
1737
|
ClientStatusEnum,
|
|
1504
1738
|
EMAIL_CATEGORIES,
|
|
1505
1739
|
VacancyCategory,
|
|
1740
|
+
backgrounds,
|
|
1506
1741
|
countries,
|
|
1507
1742
|
firestorePaths,
|
|
1743
|
+
genders,
|
|
1508
1744
|
initialQuestions,
|
|
1509
1745
|
jobClassification_default as jobClassifications,
|
|
1510
|
-
locations
|
|
1746
|
+
locations,
|
|
1747
|
+
nationalities,
|
|
1748
|
+
workEligibility
|
|
1511
1749
|
};
|
package/package.json
CHANGED