@jobsearch-works/firestore-models 2.2.3 → 2.2.5

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
@@ -1,10 +1,35 @@
1
- interface Location {
2
- id: string;
3
- name: string;
4
- country: string;
5
- region: string;
6
- tags: string[];
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;
@@ -584,6 +556,24 @@ interface UserPublic {
584
556
  updatedAt?: Date | string;
585
557
  }
586
558
 
559
+ interface VacancyExtractedForm {
560
+ fields: VacancyExtractedField[];
561
+ formSelector: string;
562
+ submitButtonSelector: string;
563
+ url: string;
564
+ extractedAt: Date | string;
565
+ }
566
+ interface VacancyExtractedField {
567
+ id?: string;
568
+ type: string;
569
+ name: string;
570
+ label: string;
571
+ selector: string;
572
+ options: string[] | null;
573
+ required: boolean;
574
+ value?: string;
575
+ }
576
+
587
577
  declare const VacancyCategory: {
588
578
  readonly Accounting: "Accounting";
589
579
  readonly AdministrationAndOfficeSupport: "Administration & Office Support";
@@ -631,6 +621,7 @@ interface Vacancy {
631
621
  jobId: string;
632
622
  category: VacancyCategory;
633
623
  suggestedTo?: string[];
624
+ extractedForm?: VacancyExtractedForm;
634
625
  createdAt?: Date | string;
635
626
  updatedAt?: Date | string;
636
627
  }
@@ -643,6 +634,81 @@ interface VacancySuggestion {
643
634
  createdAt?: Date | string;
644
635
  }
645
636
 
637
+ interface ApplicationEnrichedForm {
638
+ fields: ApplicationEnrichedField[];
639
+ formSelector: string;
640
+ submitButtonSelector: string;
641
+ url: string;
642
+ enrichedAt: Date | string;
643
+ }
644
+ interface ApplicationEnrichedField {
645
+ id: string;
646
+ name: string;
647
+ label: string;
648
+ type: string;
649
+ value: string;
650
+ confidence: number;
651
+ response?: string;
652
+ selector?: string;
653
+ required?: boolean;
654
+ options?: string[] | null;
655
+ needsClientReview?: boolean;
656
+ }
657
+
658
+ declare const ApplicationStatus: {
659
+ readonly New: "new";
660
+ readonly Submitted: "submitted";
661
+ readonly Interviewing: "interviewing";
662
+ readonly Accepted: "accepted";
663
+ readonly Rejected: "rejected";
664
+ readonly Withdrawn: "withdrawn";
665
+ readonly Applying: "applying";
666
+ readonly Suggested: "suggested";
667
+ readonly Approved: "approved";
668
+ };
669
+ type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
670
+ interface Application {
671
+ id?: string;
672
+ vacancyId: string;
673
+ clientId: string;
674
+ status: ApplicationStatus;
675
+ assignedTo?: string;
676
+ coverLetter?: string;
677
+ resume?: string;
678
+ submittedAt?: Date | string;
679
+ interviewingAt?: Date | string;
680
+ acceptedAt?: Date | string;
681
+ rejectedAt?: Date | string;
682
+ withdrawnAt?: Date | string;
683
+ applyingAt?: Date | string;
684
+ suggestedAt?: Date | string;
685
+ approvedAt?: Date | string;
686
+ enrichedForm?: ApplicationEnrichedForm;
687
+ company?: string;
688
+ position?: string;
689
+ location?: string;
690
+ jobId?: string;
691
+ advertisingUrl?: string;
692
+ applicationUrl?: string;
693
+ applicationDomain?: string;
694
+ advertisingDomain?: string;
695
+ description?: string;
696
+ fullPageText?: string;
697
+ createdAt?: Date | string;
698
+ updatedAt?: Date | string;
699
+ }
700
+
701
+ type ApplicationQuestionType = "text" | "select";
702
+ declare const ApplicationQuestionTypeOptions: readonly ApplicationQuestionType[];
703
+ interface ApplicationQuestion {
704
+ id?: string;
705
+ questionText: string;
706
+ answerText?: string;
707
+ type: ApplicationQuestionType;
708
+ createdAt?: Date | string;
709
+ updatedAt?: Date | string;
710
+ }
711
+
646
712
  interface ClientLanguage {
647
713
  readonly language: string;
648
714
  readonly level: string;
@@ -684,38 +750,6 @@ interface ClientWebsitePreferences {
684
750
  notifications: string;
685
751
  }
686
752
 
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
753
  /**
720
754
  * Embedded sub-object within Client document
721
755
  * @see Client - Parent document interface
@@ -754,7 +788,7 @@ interface ClientPersonalData {
754
788
  city: string;
755
789
  suburb: string;
756
790
  state: string;
757
- zip: string;
791
+ postcode: string;
758
792
  country: string;
759
793
  linkedIn?: string;
760
794
  countryPhoneCode: string;
@@ -843,19 +877,24 @@ interface ClientInitialQuestion {
843
877
 
844
878
  /**
845
879
  * Subcollection document under Client
846
- * Path: clients/{clientId}/interviews/{docId}
880
+ * Path: clients/{clientId}/applications/{applicationId}/virtualinterview/{interviewId}
847
881
  * @see Client - Parent document
848
882
  * @see Application - Related application
849
883
  */
850
- interface ClientInterview {
884
+ interface ClientVirtualInterview {
851
885
  readonly id?: string;
886
+ jobTitle: string;
852
887
  company: string;
853
- position: string;
854
- type: string;
855
- status: string;
856
- transcript: string;
857
- notes: string;
858
- summary: string;
888
+ role: string;
889
+ date: string;
890
+ clientId: string;
891
+ messages: Array<{
892
+ sender: 'user' | 'interviewer' | 'feedback';
893
+ text: string;
894
+ timestamp: string;
895
+ duration?: number;
896
+ audioUrl?: string;
897
+ }>;
859
898
  }
860
899
 
861
900
  /**
@@ -875,11 +914,6 @@ interface ClientLogin {
875
914
  updatedAt?: Date | string;
876
915
  }
877
916
 
878
- type FirestoreTimestamp = {
879
- seconds: number;
880
- nanoseconds: number;
881
- };
882
-
883
917
  /**
884
918
  * Subcollection document under Client
885
919
  * Path: clients/{clientId}/questions/{docId}
@@ -919,6 +953,7 @@ interface ClientResume {
919
953
  storagePath: string;
920
954
  notes: string;
921
955
  isActive: boolean;
956
+ clientId: string;
922
957
  about: {
923
958
  summary: string;
924
959
  };
@@ -938,6 +973,11 @@ interface ClientResume {
938
973
  }>;
939
974
  }
940
975
 
976
+ type FirestoreTimestamp = {
977
+ seconds: number;
978
+ nanoseconds: number;
979
+ };
980
+
941
981
  declare const firestorePaths: {
942
982
  readonly clients: {
943
983
  readonly collection: () => string;
@@ -966,14 +1006,18 @@ declare const firestorePaths: {
966
1006
  readonly applications: {
967
1007
  readonly collection: (clientId: string) => string;
968
1008
  readonly doc: (clientId: string, applicationId: string) => string;
1009
+ readonly virtualinterview: {
1010
+ readonly collection: (clientId: string, applicationId: string) => string;
1011
+ readonly doc: (clientId: string, applicationId: string, interviewId: string) => string;
1012
+ };
969
1013
  readonly questions: {
970
1014
  readonly collection: (clientId: string, applicationId: string) => string;
971
1015
  readonly doc: (clientId: string, applicationId: string, questionId: string) => string;
972
1016
  };
973
- };
974
- readonly interviews: {
975
- readonly collection: (clientId: string) => string;
976
- readonly doc: (clientId: string, interviewId: string) => string;
1017
+ readonly enrichedForms: {
1018
+ readonly collection: (clientId: string, applicationId: string) => string;
1019
+ readonly doc: (clientId: string, applicationId: string, formId: string) => string;
1020
+ };
977
1021
  };
978
1022
  readonly vacancySuggestions: {
979
1023
  readonly collection: (clientId: string) => string;
@@ -991,6 +1035,10 @@ declare const firestorePaths: {
991
1035
  readonly vacancies: {
992
1036
  readonly collection: () => string;
993
1037
  readonly doc: (id: string) => string;
1038
+ readonly extractedForms: {
1039
+ readonly collection: (vacancyId: string) => string;
1040
+ readonly doc: (vacancyId: string, formId: string) => string;
1041
+ };
994
1042
  };
995
1043
  readonly agents: {
996
1044
  readonly collection: () => string;
@@ -998,4 +1046,4 @@ declare const firestorePaths: {
998
1046
  };
999
1047
  };
1000
1048
 
1001
- export { Agent, AgentStatus, Application, ApplicationQuestion, ApplicationQuestionType, ApplicationQuestionTypeOptions, ApplicationStatus, AuthUser, Client, ClientEducation, ClientEmail, ClientGmailToken, ClientInitialQuestion, ClientInterview, ClientJobPreferences, ClientLogin, ClientPersonalData, ClientQuestion, ClientResume, ClientSkill, ClientStatus, ClientWebsitePreferences, ClientWorkExperience, JobCategory, JobTitle, Location, LocationId, UserPublic, Vacancy, VacancyCategory, VacancySuggestion, firestorePaths, jobClassifications, locations };
1049
+ 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 };