@jobsearch-works/firestore-models 2.2.3 → 2.2.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 +158 -111
- package/dist/index.d.ts +158 -111
- package/dist/index.js +723 -715
- package/dist/index.mjs +723 -715
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -1,10 +1,35 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
declare const jobClassifications: {
|
2
|
+
readonly Accounting: readonly ["Accounts Officers/Clerks", "Analysis & Reporting", "Assistant Accountants", "Audit - External", "Audit - Internal", "Bookkeeping & Small Practice Accounting", "Business Services & Corporate Advisory", "Company Secretaries", "Cost Accounting", "Financial Accounting & Reporting", "Financial Managers & Controllers", "Forensic Accounting & Investigation", "Insolvency & Corporate Recovery", "Management Accounting & Budgeting", "Payroll", "Strategy & Planning", "Systems Accounting", "Taxation", "Other"];
|
3
|
+
readonly "Administration & Office Support": readonly ["Administrative Assistants", "Client & Sales Administration", "Contracts Administration", "Data Entry & Word Processing", "Office Management", "PA, EA & Secretarial", "Receptionists", "Records Management & Document Control", "Other"];
|
4
|
+
readonly "Advertising, Arts & Media": readonly ["Agency Account Management", "Art Direction", "Copywriting", "Editing & Publishing", "Event Management", "Journalism & Writing", "Media Buying, Planning & Strategy", "Photography", "Programming & Production", "Promotions", "Sales & Account Management", "Other"];
|
5
|
+
readonly "Banking & Financial Services": readonly ["Analysis & Reporting", "Banking - Business", "Banking - Corporate & Institutional", "Banking - Retail/Branch", "Client Services", "Compliance & Risk", "Corporate Finance & Investment Banking", "Financial Planning", "Funds Management", "Investments", "Mortgages", "Settlements", "Stockbroking & Trading", "Treasury", "Other"];
|
6
|
+
readonly "Call Centre & Customer Service": readonly ["Customer Service - Call Centre", "Customer Service - Customer Facing", "Customer Service - Manager", "Customer Service - Supervisor", "Customer Service - Team Leader", "Other"];
|
7
|
+
readonly "Community Services & Development": readonly ["Aged & Disability Support", "Child Welfare, Youth & Family Services", "Community Development", "Employment Services", "Housing & Homelessness Services", "Indigenous & Multicultural Services", "Management", "Volunteer Coordination & Support", "Other"];
|
8
|
+
readonly Construction: readonly ["Contracts Management", "Estimating", "Foreperson/Supervisors", "Health & Safety", "Project Management", "Site Management", "Surveying", "Other"];
|
9
|
+
readonly "Consulting & Strategy": readonly ["Corporate Development", "Management & Change Consulting", "Policy & Planning", "Strategy & Planning", "Other"];
|
10
|
+
readonly "Design & Architecture": readonly ["Architecture", "Fashion & Textile Design", "Graphic Design", "Illustration & Animation", "Industrial Design", "Interior Design", "Landscape Architecture", "Urban Design & Planning", "Other"];
|
11
|
+
readonly "Education & Training": readonly ["Childcare & Outside School Hours Care", "Library Services & Information Management", "Management - Schools", "Management - Universities", "Management - Vocational", "Research & Fellowships", "Student Services", "Teaching - Early Childhood", "Teaching - Primary", "Teaching - Secondary", "Teaching - Tertiary", "Teaching - Vocational", "Teaching Aides & Special Needs", "Tutoring", "Workplace Training & Assessment", "Other"];
|
12
|
+
readonly Engineering: readonly ["Aerospace Engineering", "Automotive Engineering", "Chemical Engineering", "Civil/Structural Engineering", "Electrical/Electronic Engineering", "Engineering Drafting", "Environmental Engineering", "Field Engineering", "Industrial Engineering", "Maintenance", "Mechanical Engineering", "Mining - Engineering & Maintenance", "Project Engineering", "Systems Engineering", "Other"];
|
13
|
+
readonly "Farming, Animals & Conservation": readonly ["Agronomy & Farm Services", "Animal Welfare", "Conservation, Parks & Wildlife", "Farm Labour", "Fishing & Aquaculture", "Forestry & Logging", "Horticulture", "Veterinary Services & Animal Welfare", "Other"];
|
14
|
+
readonly "Government & Defence": readonly ["Air Force", "Army", "Emergency Services", "Federal Government", "Government - Local", "Government - State", "Navy", "Police & Corrections", "Policy, Planning & Regulation", "Security & Intelligence", "Other"];
|
15
|
+
readonly "Healthcare & Medical": readonly ["Aged Care Nursing", "Ambulance/Paramedics", "Chiropractic & Osteopathic", "Dental", "General Practitioners", "Medical Imaging", "Nursing - Aged Care", "Nursing - General Medical & Surgical", "Nursing - High Acuity", "Nursing - Management", "Nursing - Midwifery, Neo-Natal, SCN & NICU", "Nursing - Paediatric", "Nursing - Psych, Forensic & Correctional Health", "Nursing - Theatre & Recovery", "Nursing - Other", "Pharmacy", "Physiotherapy, OT & Rehabilitation", "Psychology, Counselling & Social Work", "Speech Therapy", "Other"];
|
16
|
+
readonly "Hospitality & Tourism": readonly ["Bar & Beverage Staff", "Chefs/Cooks", "Front Office & Guest Services", "Gaming", "Housekeeping", "Kitchen & Sandwich Hands", "Management", "Reservations", "Tour Guides", "Travel Agents/Consultants", "Waiting Staff", "Other"];
|
17
|
+
readonly "Human Resources & Recruitment": readonly ["Consulting & Generalist HR", "Industrial & Employee Relations", "Management - Agency", "Management - Internal", "Occupational Health & Safety", "Organisational Development", "Recruitment - Agency", "Recruitment - Internal", "Remuneration & Benefits", "Training & Development", "Other"];
|
18
|
+
readonly "Information & Communication Technology": readonly ["Architects", "Business/Systems Analysts", "Consultants", "Database Development & Administration", "Developers/Programmers", "Engineering - Hardware", "Engineering - Network", "Help Desk & IT Support", "Management", "Networks & Systems Administration", "Product Management & Development", "Project Management", "Security", "Software Engineering", "Team Leaders", "Technical Writers", "Testing & Quality Assurance", "Web Development & Production", "Other"];
|
19
|
+
readonly "Insurance & Superannuation": readonly ["Actuarial", "Brokerage", "Claims", "Fund Administration", "Investments", "Risk Consulting", "Superannuation", "Underwriting", "Other"];
|
20
|
+
readonly Legal: readonly ["Generalists - In-house", "Generalists - Private Practice", "Law Clerks & Paralegals", "Legal Secretaries", "Litigation & Dispute Resolution", "Other"];
|
21
|
+
readonly "Manufacturing, Transport & Logistics": readonly ["Assembly & Process Work", "Couriers, Drivers & Postal Services", "Fleet Management", "Import/Export & Customs", "Machine Operators", "Maintenance", "Pickers & Packers", "Plant & Machinery Operators", "Production, Planning & Scheduling", "Purchasing, Procurement & Inventory", "Rail & Maritime Transport", "Road Transport", "Warehousing, Storage & Distribution", "Other"];
|
22
|
+
readonly "Marketing & Communications": readonly ["Brand Management", "Digital & Search Marketing", "Event Management", "Internal Communications", "Market Research & Analysis", "Marketing Assistants/Coordinators", "Marketing Communications", "Marketing Management", "Product Management & Development", "Public Relations & Corporate Affairs", "Other"];
|
23
|
+
readonly "Mining, Resources & Energy": readonly ["Analysis & Reporting", "Engineering", "Health, Safety & Environment", "Maintenance", "Management", "Mining - Operations", "Oil & Gas - Engineering & Maintenance", "Oil & Gas - Operations", "Power Generation & Distribution", "Surveying", "Other"];
|
24
|
+
readonly "Real Estate & Property": readonly ["Analysts", "Body Corporate & Facilities Management", "Commercial Sales, Leasing & Property Mgmt", "Residential Leasing & Property Management", "Residential Sales", "Retail & Property Development", "Valuation", "Other"];
|
25
|
+
readonly "Retail & Consumer Products": readonly ["Buying", "Management - Department/Assistant", "Management - Store", "Merchandisers", "Retail Assistants", "Sales Representatives/Consultants", "Supervisors/Team Leaders", "Other"];
|
26
|
+
readonly Sales: readonly ["Account & Relationship Management", "Business Development", "Direct Sales", "Sales Coordinators", "Sales Management", "Sales Representatives/Consultants", "Telesales & Internal Sales", "Other"];
|
27
|
+
readonly "Science & Technology": readonly ["Biological & Biomedical Sciences", "Chemistry & Physics", "Environmental, Earth & Geosciences", "Food Technology & Safety", "Laboratory & Technical Services", "Mathematics, Statistics & Information Sciences", "Quality Assurance & Control", "Other"];
|
28
|
+
readonly "Self Employment": readonly ["Contract/Temp", "Franchise", "Home Business", "Other"];
|
29
|
+
readonly "Sport & Recreation": readonly ["Coaching & Instruction", "Fitness & Personal Training", "Management", "Other"];
|
30
|
+
readonly "Trades & Services": readonly ["Air Conditioning & Refrigeration", "Automotive Trades", "Bakers & Pastry Chefs", "Building Trades", "Butchers", "Carpentry & Cabinet Making", "Cleaning Services", "Electricians", "Fitters, Turners & Machinists", "Floristry", "Gardening & Landscaping", "Hair & Beauty Services", "Labourers", "Locksmiths", "Maintenance & Handyperson Services", "Nannies & Babysitters", "Painters & Sign Writers", "Plumbers", "Printing & Publishing Services", "Security Services", "Tailors & Dressmakers", "Technicians", "Welders & Boilermakers", "Other"];
|
31
|
+
};
|
32
|
+
|
8
33
|
declare const locations: readonly [{
|
9
34
|
readonly id: "remote-anywhere";
|
10
35
|
readonly name: "Remote (Anywhere)";
|
@@ -504,59 +529,6 @@ interface Agent {
|
|
504
529
|
readonly updatedAt?: Date | string;
|
505
530
|
}
|
506
531
|
|
507
|
-
declare const ApplicationStatus: {
|
508
|
-
readonly New: "new";
|
509
|
-
readonly Submitted: "submitted";
|
510
|
-
readonly Interviewing: "interviewing";
|
511
|
-
readonly Accepted: "accepted";
|
512
|
-
readonly Rejected: "rejected";
|
513
|
-
readonly Withdrawn: "withdrawn";
|
514
|
-
readonly Applying: "applying";
|
515
|
-
readonly Suggested: "suggested";
|
516
|
-
readonly Approved: "approved";
|
517
|
-
};
|
518
|
-
type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
519
|
-
interface Application {
|
520
|
-
id?: string;
|
521
|
-
vacancyId: string;
|
522
|
-
clientId: string;
|
523
|
-
status: ApplicationStatus;
|
524
|
-
assignedTo?: string;
|
525
|
-
coverLetter?: string;
|
526
|
-
resume?: string;
|
527
|
-
submittedAt?: Date | string;
|
528
|
-
interviewingAt?: Date | string;
|
529
|
-
acceptedAt?: Date | string;
|
530
|
-
rejectedAt?: Date | string;
|
531
|
-
withdrawnAt?: Date | string;
|
532
|
-
applyingAt?: Date | string;
|
533
|
-
suggestedAt?: Date | string;
|
534
|
-
approvedAt?: Date | string;
|
535
|
-
company?: string;
|
536
|
-
position?: string;
|
537
|
-
location?: string;
|
538
|
-
jobId?: string;
|
539
|
-
advertisingUrl?: string;
|
540
|
-
applicationUrl?: string;
|
541
|
-
applicationDomain?: string;
|
542
|
-
advertisingDomain?: string;
|
543
|
-
description?: string;
|
544
|
-
fullPageText?: string;
|
545
|
-
createdAt?: Date | string;
|
546
|
-
updatedAt?: Date | string;
|
547
|
-
}
|
548
|
-
|
549
|
-
type ApplicationQuestionType = "text" | "select";
|
550
|
-
declare const ApplicationQuestionTypeOptions: readonly ApplicationQuestionType[];
|
551
|
-
interface ApplicationQuestion {
|
552
|
-
id?: string;
|
553
|
-
questionText: string;
|
554
|
-
answerText?: string;
|
555
|
-
type: ApplicationQuestionType;
|
556
|
-
createdAt?: Date | string;
|
557
|
-
updatedAt?: Date | string;
|
558
|
-
}
|
559
|
-
|
560
532
|
interface AuthUser {
|
561
533
|
id?: string;
|
562
534
|
email: string;
|
@@ -631,10 +603,29 @@ interface Vacancy {
|
|
631
603
|
jobId: string;
|
632
604
|
category: VacancyCategory;
|
633
605
|
suggestedTo?: string[];
|
606
|
+
extractedAt: number;
|
634
607
|
createdAt?: Date | string;
|
635
608
|
updatedAt?: Date | string;
|
636
609
|
}
|
637
610
|
|
611
|
+
interface VacancyExtractedForm {
|
612
|
+
fields: VacancyExtractedField[];
|
613
|
+
formSelector: string;
|
614
|
+
submitButtonSelector: string;
|
615
|
+
url: string;
|
616
|
+
extractedAt: Date | string;
|
617
|
+
}
|
618
|
+
interface VacancyExtractedField {
|
619
|
+
id?: string;
|
620
|
+
type: string;
|
621
|
+
name: string;
|
622
|
+
label: string;
|
623
|
+
selector: string;
|
624
|
+
options: string[] | null;
|
625
|
+
required: boolean;
|
626
|
+
value?: string;
|
627
|
+
}
|
628
|
+
|
638
629
|
interface VacancySuggestion {
|
639
630
|
readonly id?: string;
|
640
631
|
clientId: string;
|
@@ -643,6 +634,80 @@ interface VacancySuggestion {
|
|
643
634
|
createdAt?: Date | string;
|
644
635
|
}
|
645
636
|
|
637
|
+
declare const ApplicationStatus: {
|
638
|
+
readonly New: "new";
|
639
|
+
readonly Submitted: "submitted";
|
640
|
+
readonly Interviewing: "interviewing";
|
641
|
+
readonly Accepted: "accepted";
|
642
|
+
readonly Rejected: "rejected";
|
643
|
+
readonly Withdrawn: "withdrawn";
|
644
|
+
readonly Applying: "applying";
|
645
|
+
readonly Suggested: "suggested";
|
646
|
+
readonly Approved: "approved";
|
647
|
+
};
|
648
|
+
type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
649
|
+
interface Application {
|
650
|
+
id?: string;
|
651
|
+
vacancyId: string;
|
652
|
+
clientId: string;
|
653
|
+
status: ApplicationStatus;
|
654
|
+
assignedTo?: string;
|
655
|
+
coverLetter?: string;
|
656
|
+
resume?: string;
|
657
|
+
submittedAt?: Date | string;
|
658
|
+
interviewingAt?: Date | string;
|
659
|
+
acceptedAt?: Date | string;
|
660
|
+
rejectedAt?: Date | string;
|
661
|
+
withdrawnAt?: Date | string;
|
662
|
+
applyingAt?: Date | string;
|
663
|
+
suggestedAt?: Date | string;
|
664
|
+
approvedAt?: Date | string;
|
665
|
+
company?: string;
|
666
|
+
position?: string;
|
667
|
+
location?: string;
|
668
|
+
jobId?: string;
|
669
|
+
advertisingUrl?: string;
|
670
|
+
applicationUrl?: string;
|
671
|
+
applicationDomain?: string;
|
672
|
+
advertisingDomain?: string;
|
673
|
+
description?: string;
|
674
|
+
fullPageText?: string;
|
675
|
+
createdAt?: Date | string;
|
676
|
+
updatedAt?: Date | string;
|
677
|
+
}
|
678
|
+
|
679
|
+
interface ApplicationEnrichedForm {
|
680
|
+
fields: ApplicationEnrichedField[];
|
681
|
+
formSelector: string;
|
682
|
+
submitButtonSelector: string;
|
683
|
+
url: string;
|
684
|
+
enrichedAt: Date | string;
|
685
|
+
}
|
686
|
+
interface ApplicationEnrichedField {
|
687
|
+
id: string;
|
688
|
+
name: string;
|
689
|
+
label: string;
|
690
|
+
type: string;
|
691
|
+
value: string;
|
692
|
+
confidence: number;
|
693
|
+
response?: string;
|
694
|
+
selector?: string;
|
695
|
+
required?: boolean;
|
696
|
+
options?: string[] | null;
|
697
|
+
needsClientReview?: boolean;
|
698
|
+
}
|
699
|
+
|
700
|
+
type ApplicationQuestionType = "text" | "select";
|
701
|
+
declare const ApplicationQuestionTypeOptions: readonly ApplicationQuestionType[];
|
702
|
+
interface ApplicationQuestion {
|
703
|
+
id?: string;
|
704
|
+
questionText: string;
|
705
|
+
answerText?: string;
|
706
|
+
type: ApplicationQuestionType;
|
707
|
+
createdAt?: Date | string;
|
708
|
+
updatedAt?: Date | string;
|
709
|
+
}
|
710
|
+
|
646
711
|
interface ClientLanguage {
|
647
712
|
readonly language: string;
|
648
713
|
readonly level: string;
|
@@ -684,38 +749,6 @@ interface ClientWebsitePreferences {
|
|
684
749
|
notifications: string;
|
685
750
|
}
|
686
751
|
|
687
|
-
declare const jobClassifications: {
|
688
|
-
readonly Accounting: readonly ["Accounts Officers/Clerks", "Analysis & Reporting", "Assistant Accountants", "Audit - External", "Audit - Internal", "Bookkeeping & Small Practice Accounting", "Business Services & Corporate Advisory", "Company Secretaries", "Cost Accounting", "Financial Accounting & Reporting", "Financial Managers & Controllers", "Forensic Accounting & Investigation", "Insolvency & Corporate Recovery", "Management Accounting & Budgeting", "Payroll", "Strategy & Planning", "Systems Accounting", "Taxation", "Other"];
|
689
|
-
readonly "Administration & Office Support": readonly ["Administrative Assistants", "Client & Sales Administration", "Contracts Administration", "Data Entry & Word Processing", "Office Management", "PA, EA & Secretarial", "Receptionists", "Records Management & Document Control", "Other"];
|
690
|
-
readonly "Advertising, Arts & Media": readonly ["Agency Account Management", "Art Direction", "Copywriting", "Editing & Publishing", "Event Management", "Journalism & Writing", "Media Buying, Planning & Strategy", "Photography", "Programming & Production", "Promotions", "Sales & Account Management", "Other"];
|
691
|
-
readonly "Banking & Financial Services": readonly ["Analysis & Reporting", "Banking - Business", "Banking - Corporate & Institutional", "Banking - Retail/Branch", "Client Services", "Compliance & Risk", "Corporate Finance & Investment Banking", "Financial Planning", "Funds Management", "Investments", "Mortgages", "Settlements", "Stockbroking & Trading", "Treasury", "Other"];
|
692
|
-
readonly "Call Centre & Customer Service": readonly ["Customer Service - Call Centre", "Customer Service - Customer Facing", "Customer Service - Manager", "Customer Service - Supervisor", "Customer Service - Team Leader", "Other"];
|
693
|
-
readonly "Community Services & Development": readonly ["Aged & Disability Support", "Child Welfare, Youth & Family Services", "Community Development", "Employment Services", "Housing & Homelessness Services", "Indigenous & Multicultural Services", "Management", "Volunteer Coordination & Support", "Other"];
|
694
|
-
readonly Construction: readonly ["Contracts Management", "Estimating", "Foreperson/Supervisors", "Health & Safety", "Project Management", "Site Management", "Surveying", "Other"];
|
695
|
-
readonly "Consulting & Strategy": readonly ["Corporate Development", "Management & Change Consulting", "Policy & Planning", "Strategy & Planning", "Other"];
|
696
|
-
readonly "Design & Architecture": readonly ["Architecture", "Fashion & Textile Design", "Graphic Design", "Illustration & Animation", "Industrial Design", "Interior Design", "Landscape Architecture", "Urban Design & Planning", "Other"];
|
697
|
-
readonly "Education & Training": readonly ["Childcare & Outside School Hours Care", "Library Services & Information Management", "Management - Schools", "Management - Universities", "Management - Vocational", "Research & Fellowships", "Student Services", "Teaching - Early Childhood", "Teaching - Primary", "Teaching - Secondary", "Teaching - Tertiary", "Teaching - Vocational", "Teaching Aides & Special Needs", "Tutoring", "Workplace Training & Assessment", "Other"];
|
698
|
-
readonly Engineering: readonly ["Aerospace Engineering", "Automotive Engineering", "Chemical Engineering", "Civil/Structural Engineering", "Electrical/Electronic Engineering", "Engineering Drafting", "Environmental Engineering", "Field Engineering", "Industrial Engineering", "Maintenance", "Mechanical Engineering", "Mining - Engineering & Maintenance", "Project Engineering", "Systems Engineering", "Other"];
|
699
|
-
readonly "Farming, Animals & Conservation": readonly ["Agronomy & Farm Services", "Animal Welfare", "Conservation, Parks & Wildlife", "Farm Labour", "Fishing & Aquaculture", "Forestry & Logging", "Horticulture", "Veterinary Services & Animal Welfare", "Other"];
|
700
|
-
readonly "Government & Defence": readonly ["Air Force", "Army", "Emergency Services", "Federal Government", "Government - Local", "Government - State", "Navy", "Police & Corrections", "Policy, Planning & Regulation", "Security & Intelligence", "Other"];
|
701
|
-
readonly "Healthcare & Medical": readonly ["Aged Care Nursing", "Ambulance/Paramedics", "Chiropractic & Osteopathic", "Dental", "General Practitioners", "Medical Imaging", "Nursing - Aged Care", "Nursing - General Medical & Surgical", "Nursing - High Acuity", "Nursing - Management", "Nursing - Midwifery, Neo-Natal, SCN & NICU", "Nursing - Paediatric", "Nursing - Psych, Forensic & Correctional Health", "Nursing - Theatre & Recovery", "Nursing - Other", "Pharmacy", "Physiotherapy, OT & Rehabilitation", "Psychology, Counselling & Social Work", "Speech Therapy", "Other"];
|
702
|
-
readonly "Hospitality & Tourism": readonly ["Bar & Beverage Staff", "Chefs/Cooks", "Front Office & Guest Services", "Gaming", "Housekeeping", "Kitchen & Sandwich Hands", "Management", "Reservations", "Tour Guides", "Travel Agents/Consultants", "Waiting Staff", "Other"];
|
703
|
-
readonly "Human Resources & Recruitment": readonly ["Consulting & Generalist HR", "Industrial & Employee Relations", "Management - Agency", "Management - Internal", "Occupational Health & Safety", "Organisational Development", "Recruitment - Agency", "Recruitment - Internal", "Remuneration & Benefits", "Training & Development", "Other"];
|
704
|
-
readonly "Information & Communication Technology": readonly ["Architects", "Business/Systems Analysts", "Consultants", "Database Development & Administration", "Developers/Programmers", "Engineering - Hardware", "Engineering - Network", "Help Desk & IT Support", "Management", "Networks & Systems Administration", "Product Management & Development", "Project Management", "Security", "Software Engineering", "Team Leaders", "Technical Writers", "Testing & Quality Assurance", "Web Development & Production", "Other"];
|
705
|
-
readonly "Insurance & Superannuation": readonly ["Actuarial", "Brokerage", "Claims", "Fund Administration", "Investments", "Risk Consulting", "Superannuation", "Underwriting", "Other"];
|
706
|
-
readonly Legal: readonly ["Generalists - In-house", "Generalists - Private Practice", "Law Clerks & Paralegals", "Legal Secretaries", "Litigation & Dispute Resolution", "Other"];
|
707
|
-
readonly "Manufacturing, Transport & Logistics": readonly ["Assembly & Process Work", "Couriers, Drivers & Postal Services", "Fleet Management", "Import/Export & Customs", "Machine Operators", "Maintenance", "Pickers & Packers", "Plant & Machinery Operators", "Production, Planning & Scheduling", "Purchasing, Procurement & Inventory", "Rail & Maritime Transport", "Road Transport", "Warehousing, Storage & Distribution", "Other"];
|
708
|
-
readonly "Marketing & Communications": readonly ["Brand Management", "Digital & Search Marketing", "Event Management", "Internal Communications", "Market Research & Analysis", "Marketing Assistants/Coordinators", "Marketing Communications", "Marketing Management", "Product Management & Development", "Public Relations & Corporate Affairs", "Other"];
|
709
|
-
readonly "Mining, Resources & Energy": readonly ["Analysis & Reporting", "Engineering", "Health, Safety & Environment", "Maintenance", "Management", "Mining - Operations", "Oil & Gas - Engineering & Maintenance", "Oil & Gas - Operations", "Power Generation & Distribution", "Surveying", "Other"];
|
710
|
-
readonly "Real Estate & Property": readonly ["Analysts", "Body Corporate & Facilities Management", "Commercial Sales, Leasing & Property Mgmt", "Residential Leasing & Property Management", "Residential Sales", "Retail & Property Development", "Valuation", "Other"];
|
711
|
-
readonly "Retail & Consumer Products": readonly ["Buying", "Management - Department/Assistant", "Management - Store", "Merchandisers", "Retail Assistants", "Sales Representatives/Consultants", "Supervisors/Team Leaders", "Other"];
|
712
|
-
readonly Sales: readonly ["Account & Relationship Management", "Business Development", "Direct Sales", "Sales Coordinators", "Sales Management", "Sales Representatives/Consultants", "Telesales & Internal Sales", "Other"];
|
713
|
-
readonly "Science & Technology": readonly ["Biological & Biomedical Sciences", "Chemistry & Physics", "Environmental, Earth & Geosciences", "Food Technology & Safety", "Laboratory & Technical Services", "Mathematics, Statistics & Information Sciences", "Quality Assurance & Control", "Other"];
|
714
|
-
readonly "Self Employment": readonly ["Contract/Temp", "Franchise", "Home Business", "Other"];
|
715
|
-
readonly "Sport & Recreation": readonly ["Coaching & Instruction", "Fitness & Personal Training", "Management", "Other"];
|
716
|
-
readonly "Trades & Services": readonly ["Air Conditioning & Refrigeration", "Automotive Trades", "Bakers & Pastry Chefs", "Building Trades", "Butchers", "Carpentry & Cabinet Making", "Cleaning Services", "Electricians", "Fitters, Turners & Machinists", "Floristry", "Gardening & Landscaping", "Hair & Beauty Services", "Labourers", "Locksmiths", "Maintenance & Handyperson Services", "Nannies & Babysitters", "Painters & Sign Writers", "Plumbers", "Printing & Publishing Services", "Security Services", "Tailors & Dressmakers", "Technicians", "Welders & Boilermakers", "Other"];
|
717
|
-
};
|
718
|
-
|
719
752
|
/**
|
720
753
|
* Embedded sub-object within Client document
|
721
754
|
* @see Client - Parent document interface
|
@@ -754,7 +787,7 @@ interface ClientPersonalData {
|
|
754
787
|
city: string;
|
755
788
|
suburb: string;
|
756
789
|
state: string;
|
757
|
-
|
790
|
+
postcode: string;
|
758
791
|
country: string;
|
759
792
|
linkedIn?: string;
|
760
793
|
countryPhoneCode: string;
|
@@ -843,19 +876,24 @@ interface ClientInitialQuestion {
|
|
843
876
|
|
844
877
|
/**
|
845
878
|
* Subcollection document under Client
|
846
|
-
* Path: clients/{clientId}/
|
879
|
+
* Path: clients/{clientId}/applications/{applicationId}/virtualinterview/{interviewId}
|
847
880
|
* @see Client - Parent document
|
848
881
|
* @see Application - Related application
|
849
882
|
*/
|
850
|
-
interface
|
883
|
+
interface ClientVirtualInterview {
|
851
884
|
readonly id?: string;
|
885
|
+
jobTitle: string;
|
852
886
|
company: string;
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
887
|
+
role: string;
|
888
|
+
date: string;
|
889
|
+
clientId: string;
|
890
|
+
messages: Array<{
|
891
|
+
sender: 'user' | 'interviewer' | 'feedback';
|
892
|
+
text: string;
|
893
|
+
timestamp: string;
|
894
|
+
duration?: number;
|
895
|
+
audioUrl?: string;
|
896
|
+
}>;
|
859
897
|
}
|
860
898
|
|
861
899
|
/**
|
@@ -875,11 +913,6 @@ interface ClientLogin {
|
|
875
913
|
updatedAt?: Date | string;
|
876
914
|
}
|
877
915
|
|
878
|
-
type FirestoreTimestamp = {
|
879
|
-
seconds: number;
|
880
|
-
nanoseconds: number;
|
881
|
-
};
|
882
|
-
|
883
916
|
/**
|
884
917
|
* Subcollection document under Client
|
885
918
|
* Path: clients/{clientId}/questions/{docId}
|
@@ -919,6 +952,7 @@ interface ClientResume {
|
|
919
952
|
storagePath: string;
|
920
953
|
notes: string;
|
921
954
|
isActive: boolean;
|
955
|
+
clientId: string;
|
922
956
|
about: {
|
923
957
|
summary: string;
|
924
958
|
};
|
@@ -938,6 +972,11 @@ interface ClientResume {
|
|
938
972
|
}>;
|
939
973
|
}
|
940
974
|
|
975
|
+
type FirestoreTimestamp = {
|
976
|
+
seconds: number;
|
977
|
+
nanoseconds: number;
|
978
|
+
};
|
979
|
+
|
941
980
|
declare const firestorePaths: {
|
942
981
|
readonly clients: {
|
943
982
|
readonly collection: () => string;
|
@@ -966,14 +1005,18 @@ declare const firestorePaths: {
|
|
966
1005
|
readonly applications: {
|
967
1006
|
readonly collection: (clientId: string) => string;
|
968
1007
|
readonly doc: (clientId: string, applicationId: string) => string;
|
1008
|
+
readonly virtualinterview: {
|
1009
|
+
readonly collection: (clientId: string, applicationId: string) => string;
|
1010
|
+
readonly doc: (clientId: string, applicationId: string, interviewId: string) => string;
|
1011
|
+
};
|
969
1012
|
readonly questions: {
|
970
1013
|
readonly collection: (clientId: string, applicationId: string) => string;
|
971
1014
|
readonly doc: (clientId: string, applicationId: string, questionId: string) => string;
|
972
1015
|
};
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
1016
|
+
readonly enrichedForms: {
|
1017
|
+
readonly collection: (clientId: string, applicationId: string) => string;
|
1018
|
+
readonly doc: (clientId: string, applicationId: string, formId: string) => string;
|
1019
|
+
};
|
977
1020
|
};
|
978
1021
|
readonly vacancySuggestions: {
|
979
1022
|
readonly collection: (clientId: string) => string;
|
@@ -991,6 +1034,10 @@ declare const firestorePaths: {
|
|
991
1034
|
readonly vacancies: {
|
992
1035
|
readonly collection: () => string;
|
993
1036
|
readonly doc: (id: string) => string;
|
1037
|
+
readonly extractedForms: {
|
1038
|
+
readonly collection: (vacancyId: string) => string;
|
1039
|
+
readonly doc: (vacancyId: string, formId: string) => string;
|
1040
|
+
};
|
994
1041
|
};
|
995
1042
|
readonly agents: {
|
996
1043
|
readonly collection: () => string;
|
@@ -998,4 +1045,4 @@ declare const firestorePaths: {
|
|
998
1045
|
};
|
999
1046
|
};
|
1000
1047
|
|
1001
|
-
export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEducation, ClientEmail, ClientGmailToken, ClientInitialQuestion,
|
1048
|
+
export { Agent, AgentStatus, Application, ApplicationEnrichedField, ApplicationEnrichedForm, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientCertifications, ClientEducation, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientJobPreferences, ClientLanguage, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientSkill, ClientStatus, ClientVirtualInterview, ClientWebsitePreferences, ClientWorkExperience, FirestoreTimestamp, JobCategory, JobTitle, LocationId, UserPublic, Vacancy, VacancyCategory, VacancyExtractedField, VacancyExtractedForm, VacancySuggestion, firestorePaths, jobClassifications, locations };
|