@jobsearch-works/firestore-models 2.2.4 → 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 +41 -40
- package/dist/index.d.ts +41 -40
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -556,6 +556,24 @@ interface UserPublic {
|
|
556
556
|
updatedAt?: Date | string;
|
557
557
|
}
|
558
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
|
+
|
559
577
|
declare const VacancyCategory: {
|
560
578
|
readonly Accounting: "Accounting";
|
561
579
|
readonly AdministrationAndOfficeSupport: "Administration & Office Support";
|
@@ -603,29 +621,11 @@ interface Vacancy {
|
|
603
621
|
jobId: string;
|
604
622
|
category: VacancyCategory;
|
605
623
|
suggestedTo?: string[];
|
606
|
-
|
624
|
+
extractedForm?: VacancyExtractedForm;
|
607
625
|
createdAt?: Date | string;
|
608
626
|
updatedAt?: Date | string;
|
609
627
|
}
|
610
628
|
|
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
|
-
|
629
629
|
interface VacancySuggestion {
|
630
630
|
readonly id?: string;
|
631
631
|
clientId: string;
|
@@ -634,6 +634,27 @@ interface VacancySuggestion {
|
|
634
634
|
createdAt?: Date | string;
|
635
635
|
}
|
636
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
|
+
|
637
658
|
declare const ApplicationStatus: {
|
638
659
|
readonly New: "new";
|
639
660
|
readonly Submitted: "submitted";
|
@@ -662,6 +683,7 @@ interface Application {
|
|
662
683
|
applyingAt?: Date | string;
|
663
684
|
suggestedAt?: Date | string;
|
664
685
|
approvedAt?: Date | string;
|
686
|
+
enrichedForm?: ApplicationEnrichedForm;
|
665
687
|
company?: string;
|
666
688
|
position?: string;
|
667
689
|
location?: string;
|
@@ -676,27 +698,6 @@ interface Application {
|
|
676
698
|
updatedAt?: Date | string;
|
677
699
|
}
|
678
700
|
|
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
701
|
type ApplicationQuestionType = "text" | "select";
|
701
702
|
declare const ApplicationQuestionTypeOptions: readonly ApplicationQuestionType[];
|
702
703
|
interface ApplicationQuestion {
|
package/dist/index.d.ts
CHANGED
@@ -556,6 +556,24 @@ interface UserPublic {
|
|
556
556
|
updatedAt?: Date | string;
|
557
557
|
}
|
558
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
|
+
|
559
577
|
declare const VacancyCategory: {
|
560
578
|
readonly Accounting: "Accounting";
|
561
579
|
readonly AdministrationAndOfficeSupport: "Administration & Office Support";
|
@@ -603,29 +621,11 @@ interface Vacancy {
|
|
603
621
|
jobId: string;
|
604
622
|
category: VacancyCategory;
|
605
623
|
suggestedTo?: string[];
|
606
|
-
|
624
|
+
extractedForm?: VacancyExtractedForm;
|
607
625
|
createdAt?: Date | string;
|
608
626
|
updatedAt?: Date | string;
|
609
627
|
}
|
610
628
|
|
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
|
-
|
629
629
|
interface VacancySuggestion {
|
630
630
|
readonly id?: string;
|
631
631
|
clientId: string;
|
@@ -634,6 +634,27 @@ interface VacancySuggestion {
|
|
634
634
|
createdAt?: Date | string;
|
635
635
|
}
|
636
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
|
+
|
637
658
|
declare const ApplicationStatus: {
|
638
659
|
readonly New: "new";
|
639
660
|
readonly Submitted: "submitted";
|
@@ -662,6 +683,7 @@ interface Application {
|
|
662
683
|
applyingAt?: Date | string;
|
663
684
|
suggestedAt?: Date | string;
|
664
685
|
approvedAt?: Date | string;
|
686
|
+
enrichedForm?: ApplicationEnrichedForm;
|
665
687
|
company?: string;
|
666
688
|
position?: string;
|
667
689
|
location?: string;
|
@@ -676,27 +698,6 @@ interface Application {
|
|
676
698
|
updatedAt?: Date | string;
|
677
699
|
}
|
678
700
|
|
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
701
|
type ApplicationQuestionType = "text" | "select";
|
701
702
|
declare const ApplicationQuestionTypeOptions: readonly ApplicationQuestionType[];
|
702
703
|
interface ApplicationQuestion {
|
package/package.json
CHANGED