@claritylabs/cl-sdk 4.3.0 → 4.4.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/README.md +1 -1
- package/dist/application.d.mts +1 -1
- package/dist/application.d.ts +1 -1
- package/dist/application.js +39 -0
- package/dist/application.js.map +1 -1
- package/dist/application.mjs +39 -0
- package/dist/application.mjs.map +1 -1
- package/dist/{index-DhA-5jZy.d.mts → index-CReSzyKJ.d.mts} +1497 -586
- package/dist/{index-DhA-5jZy.d.ts → index-CReSzyKJ.d.ts} +1497 -586
- package/dist/index.d.mts +332 -277
- package/dist/index.d.ts +332 -277
- package/dist/index.js +2105 -1222
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2098 -1222
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +462 -214
- package/dist/storage-sqlite.d.ts +462 -214
- package/dist/storage-sqlite.js +39 -0
- package/dist/storage-sqlite.js.map +1 -1
- package/dist/storage-sqlite.mjs +39 -0
- package/dist/storage-sqlite.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ZodSchema, z } from 'zod';
|
|
2
2
|
|
|
3
|
-
type ModelTaskKind = "extraction_classify" | "extraction_source_tree" | "extraction_operational_profile" | "extraction_page_map" | "extraction_focused" | "extraction_long_list" | "extraction_referential_lookup" | "extraction_coverage_cleanup" | "extraction_review" | "extraction_summary" | "extraction_format" | "query_attachment" | "query_classify" | "query_reason" | "query_verify" | "query_respond" | "application_classify" | "application_extract_fields" | "application_auto_fill" | "application_lookup" | "application_parse_answers" | "application_batch" | "application_email" | "application_pdf_mapping" | "pce_impact_analysis" | "pce_reply_parse" | "pce_packet_generation";
|
|
3
|
+
type ModelTaskKind = "extraction_classify" | "extraction_source_tree" | "extraction_operational_profile" | "extraction_coverage_recovery" | "extraction_page_map" | "extraction_focused" | "extraction_long_list" | "extraction_referential_lookup" | "extraction_coverage_cleanup" | "extraction_review" | "extraction_summary" | "extraction_format" | "query_attachment" | "query_classify" | "query_reason" | "query_verify" | "query_respond" | "application_classify" | "application_extract_fields" | "application_auto_fill" | "application_lookup" | "application_parse_answers" | "application_batch" | "application_email" | "application_pdf_mapping" | "pce_impact_analysis" | "pce_reply_parse" | "pce_packet_generation";
|
|
4
4
|
interface ModelCapabilities {
|
|
5
5
|
/** Human-readable model identifier for diagnostics. */
|
|
6
6
|
model?: string;
|
|
@@ -464,16 +464,16 @@ declare const DocumentPageMapEntrySchema: z.ZodObject<{
|
|
|
464
464
|
page: number;
|
|
465
465
|
sourceSpanIds?: string[] | undefined;
|
|
466
466
|
formNumber?: string | undefined;
|
|
467
|
-
formTitle?: string | undefined;
|
|
468
467
|
label?: string | undefined;
|
|
468
|
+
formTitle?: string | undefined;
|
|
469
469
|
sectionTitle?: string | undefined;
|
|
470
470
|
extractorNames?: string[] | undefined;
|
|
471
471
|
}, {
|
|
472
472
|
page: number;
|
|
473
473
|
sourceSpanIds?: string[] | undefined;
|
|
474
474
|
formNumber?: string | undefined;
|
|
475
|
-
formTitle?: string | undefined;
|
|
476
475
|
label?: string | undefined;
|
|
476
|
+
formTitle?: string | undefined;
|
|
477
477
|
sectionTitle?: string | undefined;
|
|
478
478
|
extractorNames?: string[] | undefined;
|
|
479
479
|
}>;
|
|
@@ -563,16 +563,16 @@ declare const DocumentMetadataSchema: z.ZodObject<{
|
|
|
563
563
|
page: number;
|
|
564
564
|
sourceSpanIds?: string[] | undefined;
|
|
565
565
|
formNumber?: string | undefined;
|
|
566
|
-
formTitle?: string | undefined;
|
|
567
566
|
label?: string | undefined;
|
|
567
|
+
formTitle?: string | undefined;
|
|
568
568
|
sectionTitle?: string | undefined;
|
|
569
569
|
extractorNames?: string[] | undefined;
|
|
570
570
|
}, {
|
|
571
571
|
page: number;
|
|
572
572
|
sourceSpanIds?: string[] | undefined;
|
|
573
573
|
formNumber?: string | undefined;
|
|
574
|
-
formTitle?: string | undefined;
|
|
575
574
|
label?: string | undefined;
|
|
575
|
+
formTitle?: string | undefined;
|
|
576
576
|
sectionTitle?: string | undefined;
|
|
577
577
|
extractorNames?: string[] | undefined;
|
|
578
578
|
}>, "many">>;
|
|
@@ -618,8 +618,8 @@ declare const DocumentMetadataSchema: z.ZodObject<{
|
|
|
618
618
|
page: number;
|
|
619
619
|
sourceSpanIds?: string[] | undefined;
|
|
620
620
|
formNumber?: string | undefined;
|
|
621
|
-
formTitle?: string | undefined;
|
|
622
621
|
label?: string | undefined;
|
|
622
|
+
formTitle?: string | undefined;
|
|
623
623
|
sectionTitle?: string | undefined;
|
|
624
624
|
extractorNames?: string[] | undefined;
|
|
625
625
|
}[] | undefined;
|
|
@@ -655,8 +655,8 @@ declare const DocumentMetadataSchema: z.ZodObject<{
|
|
|
655
655
|
page: number;
|
|
656
656
|
sourceSpanIds?: string[] | undefined;
|
|
657
657
|
formNumber?: string | undefined;
|
|
658
|
-
formTitle?: string | undefined;
|
|
659
658
|
label?: string | undefined;
|
|
659
|
+
formTitle?: string | undefined;
|
|
660
660
|
sectionTitle?: string | undefined;
|
|
661
661
|
extractorNames?: string[] | undefined;
|
|
662
662
|
}[] | undefined;
|
|
@@ -702,6 +702,28 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
702
702
|
insuredName: z.ZodString;
|
|
703
703
|
premium: z.ZodOptional<z.ZodString>;
|
|
704
704
|
premiumAmount: z.ZodOptional<z.ZodNumber>;
|
|
705
|
+
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
706
|
+
line: z.ZodString;
|
|
707
|
+
amount: z.ZodString;
|
|
708
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
709
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
710
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
711
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
712
|
+
}, "strip", z.ZodTypeAny, {
|
|
713
|
+
amount: string;
|
|
714
|
+
line: string;
|
|
715
|
+
sourceSpanIds?: string[] | undefined;
|
|
716
|
+
documentNodeId?: string | undefined;
|
|
717
|
+
sourceTextHash?: string | undefined;
|
|
718
|
+
amountValue?: number | undefined;
|
|
719
|
+
}, {
|
|
720
|
+
amount: string;
|
|
721
|
+
line: string;
|
|
722
|
+
sourceSpanIds?: string[] | undefined;
|
|
723
|
+
documentNodeId?: string | undefined;
|
|
724
|
+
sourceTextHash?: string | undefined;
|
|
725
|
+
amountValue?: number | undefined;
|
|
726
|
+
}>, "many">>;
|
|
705
727
|
summary: z.ZodOptional<z.ZodString>;
|
|
706
728
|
linesOfBusiness: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
707
729
|
coverages: z.ZodArray<z.ZodObject<{
|
|
@@ -830,16 +852,16 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
830
852
|
page: number;
|
|
831
853
|
sourceSpanIds?: string[] | undefined;
|
|
832
854
|
formNumber?: string | undefined;
|
|
833
|
-
formTitle?: string | undefined;
|
|
834
855
|
label?: string | undefined;
|
|
856
|
+
formTitle?: string | undefined;
|
|
835
857
|
sectionTitle?: string | undefined;
|
|
836
858
|
extractorNames?: string[] | undefined;
|
|
837
859
|
}, {
|
|
838
860
|
page: number;
|
|
839
861
|
sourceSpanIds?: string[] | undefined;
|
|
840
862
|
formNumber?: string | undefined;
|
|
841
|
-
formTitle?: string | undefined;
|
|
842
863
|
label?: string | undefined;
|
|
864
|
+
formTitle?: string | undefined;
|
|
843
865
|
sectionTitle?: string | undefined;
|
|
844
866
|
extractorNames?: string[] | undefined;
|
|
845
867
|
}>, "many">>;
|
|
@@ -885,8 +907,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
885
907
|
page: number;
|
|
886
908
|
sourceSpanIds?: string[] | undefined;
|
|
887
909
|
formNumber?: string | undefined;
|
|
888
|
-
formTitle?: string | undefined;
|
|
889
910
|
label?: string | undefined;
|
|
911
|
+
formTitle?: string | undefined;
|
|
890
912
|
sectionTitle?: string | undefined;
|
|
891
913
|
extractorNames?: string[] | undefined;
|
|
892
914
|
}[] | undefined;
|
|
@@ -922,8 +944,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
922
944
|
page: number;
|
|
923
945
|
sourceSpanIds?: string[] | undefined;
|
|
924
946
|
formNumber?: string | undefined;
|
|
925
|
-
formTitle?: string | undefined;
|
|
926
947
|
label?: string | undefined;
|
|
948
|
+
formTitle?: string | undefined;
|
|
927
949
|
sectionTitle?: string | undefined;
|
|
928
950
|
extractorNames?: string[] | undefined;
|
|
929
951
|
}[] | undefined;
|
|
@@ -1888,6 +1910,77 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
1888
1910
|
basisAmount?: string | undefined;
|
|
1889
1911
|
rate?: string | undefined;
|
|
1890
1912
|
}>, "many">>;
|
|
1913
|
+
coverageSchedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1914
|
+
name: z.ZodString;
|
|
1915
|
+
kind: z.ZodEnum<["vehicle", "property", "location", "other"]>;
|
|
1916
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1917
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1918
|
+
label: z.ZodString;
|
|
1919
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1920
|
+
values: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1921
|
+
label: z.ZodString;
|
|
1922
|
+
value: z.ZodString;
|
|
1923
|
+
}, "strip", z.ZodTypeAny, {
|
|
1924
|
+
value: string;
|
|
1925
|
+
label: string;
|
|
1926
|
+
}, {
|
|
1927
|
+
value: string;
|
|
1928
|
+
label: string;
|
|
1929
|
+
}>, "many">>;
|
|
1930
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1931
|
+
}, "strip", z.ZodTypeAny, {
|
|
1932
|
+
values: {
|
|
1933
|
+
value: string;
|
|
1934
|
+
label: string;
|
|
1935
|
+
}[];
|
|
1936
|
+
sourceSpanIds: string[];
|
|
1937
|
+
label: string;
|
|
1938
|
+
description?: string | undefined;
|
|
1939
|
+
}, {
|
|
1940
|
+
label: string;
|
|
1941
|
+
description?: string | undefined;
|
|
1942
|
+
values?: {
|
|
1943
|
+
value: string;
|
|
1944
|
+
label: string;
|
|
1945
|
+
}[] | undefined;
|
|
1946
|
+
sourceSpanIds?: string[] | undefined;
|
|
1947
|
+
}>, "many">>;
|
|
1948
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1949
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
1950
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
1951
|
+
}, "strip", z.ZodTypeAny, {
|
|
1952
|
+
sourceSpanIds: string[];
|
|
1953
|
+
name: string;
|
|
1954
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
1955
|
+
items: {
|
|
1956
|
+
values: {
|
|
1957
|
+
value: string;
|
|
1958
|
+
label: string;
|
|
1959
|
+
}[];
|
|
1960
|
+
sourceSpanIds: string[];
|
|
1961
|
+
label: string;
|
|
1962
|
+
description?: string | undefined;
|
|
1963
|
+
}[];
|
|
1964
|
+
description?: string | undefined;
|
|
1965
|
+
pageStart?: number | undefined;
|
|
1966
|
+
pageEnd?: number | undefined;
|
|
1967
|
+
}, {
|
|
1968
|
+
name: string;
|
|
1969
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
1970
|
+
description?: string | undefined;
|
|
1971
|
+
sourceSpanIds?: string[] | undefined;
|
|
1972
|
+
pageStart?: number | undefined;
|
|
1973
|
+
pageEnd?: number | undefined;
|
|
1974
|
+
items?: {
|
|
1975
|
+
label: string;
|
|
1976
|
+
description?: string | undefined;
|
|
1977
|
+
values?: {
|
|
1978
|
+
value: string;
|
|
1979
|
+
label: string;
|
|
1980
|
+
}[] | undefined;
|
|
1981
|
+
sourceSpanIds?: string[] | undefined;
|
|
1982
|
+
}[] | undefined;
|
|
1983
|
+
}>, "many">>;
|
|
1891
1984
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1892
1985
|
formNumber: z.ZodString;
|
|
1893
1986
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -5002,8 +5095,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
5002
5095
|
page: number;
|
|
5003
5096
|
sourceSpanIds?: string[] | undefined;
|
|
5004
5097
|
formNumber?: string | undefined;
|
|
5005
|
-
formTitle?: string | undefined;
|
|
5006
5098
|
label?: string | undefined;
|
|
5099
|
+
formTitle?: string | undefined;
|
|
5007
5100
|
sectionTitle?: string | undefined;
|
|
5008
5101
|
extractorNames?: string[] | undefined;
|
|
5009
5102
|
}[] | undefined;
|
|
@@ -5636,6 +5729,66 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
5636
5729
|
supplementalYears?: number | undefined;
|
|
5637
5730
|
supplementalPremium?: string | undefined;
|
|
5638
5731
|
} | undefined;
|
|
5732
|
+
insurer?: {
|
|
5733
|
+
sourceSpanIds: string[];
|
|
5734
|
+
legalName: string;
|
|
5735
|
+
documentNodeId?: string | undefined;
|
|
5736
|
+
sourceTextHash?: string | undefined;
|
|
5737
|
+
pageStart?: number | undefined;
|
|
5738
|
+
pageEnd?: number | undefined;
|
|
5739
|
+
address?: {
|
|
5740
|
+
street1: string;
|
|
5741
|
+
city: string;
|
|
5742
|
+
state: string;
|
|
5743
|
+
zip: string;
|
|
5744
|
+
street2?: string | undefined;
|
|
5745
|
+
country?: string | undefined;
|
|
5746
|
+
} | undefined;
|
|
5747
|
+
naicNumber?: string | undefined;
|
|
5748
|
+
amBestRating?: string | undefined;
|
|
5749
|
+
amBestNumber?: string | undefined;
|
|
5750
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
5751
|
+
stateOfDomicile?: string | undefined;
|
|
5752
|
+
} | undefined;
|
|
5753
|
+
expirationDate?: string | undefined;
|
|
5754
|
+
summary?: string | undefined;
|
|
5755
|
+
linesOfBusiness?: string[] | undefined;
|
|
5756
|
+
coverageSchedules?: {
|
|
5757
|
+
sourceSpanIds: string[];
|
|
5758
|
+
name: string;
|
|
5759
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
5760
|
+
items: {
|
|
5761
|
+
values: {
|
|
5762
|
+
value: string;
|
|
5763
|
+
label: string;
|
|
5764
|
+
}[];
|
|
5765
|
+
sourceSpanIds: string[];
|
|
5766
|
+
label: string;
|
|
5767
|
+
description?: string | undefined;
|
|
5768
|
+
}[];
|
|
5769
|
+
description?: string | undefined;
|
|
5770
|
+
pageStart?: number | undefined;
|
|
5771
|
+
pageEnd?: number | undefined;
|
|
5772
|
+
}[] | undefined;
|
|
5773
|
+
premiumBreakdown?: {
|
|
5774
|
+
amount: string;
|
|
5775
|
+
line: string;
|
|
5776
|
+
sourceSpanIds?: string[] | undefined;
|
|
5777
|
+
documentNodeId?: string | undefined;
|
|
5778
|
+
sourceTextHash?: string | undefined;
|
|
5779
|
+
amountValue?: number | undefined;
|
|
5780
|
+
}[] | undefined;
|
|
5781
|
+
taxesAndFees?: {
|
|
5782
|
+
name: string;
|
|
5783
|
+
amount: string;
|
|
5784
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
5785
|
+
description?: string | undefined;
|
|
5786
|
+
sourceSpanIds?: string[] | undefined;
|
|
5787
|
+
documentNodeId?: string | undefined;
|
|
5788
|
+
sourceTextHash?: string | undefined;
|
|
5789
|
+
amountValue?: number | undefined;
|
|
5790
|
+
}[] | undefined;
|
|
5791
|
+
totalCost?: string | undefined;
|
|
5639
5792
|
formInventory?: {
|
|
5640
5793
|
formNumber: string;
|
|
5641
5794
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -5647,14 +5800,11 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
5647
5800
|
pageEnd?: number | undefined;
|
|
5648
5801
|
editionDate?: string | undefined;
|
|
5649
5802
|
}[] | undefined;
|
|
5650
|
-
expirationDate?: string | undefined;
|
|
5651
5803
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
5652
5804
|
nextReviewDate?: string | undefined;
|
|
5653
5805
|
effectiveTime?: string | undefined;
|
|
5654
5806
|
security?: string | undefined;
|
|
5655
5807
|
premiumAmount?: number | undefined;
|
|
5656
|
-
summary?: string | undefined;
|
|
5657
|
-
linesOfBusiness?: string[] | undefined;
|
|
5658
5808
|
sections?: {
|
|
5659
5809
|
type: string;
|
|
5660
5810
|
title: string;
|
|
@@ -5849,27 +5999,6 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
5849
5999
|
corridorDeductible?: string | undefined;
|
|
5850
6000
|
waitingPeriod?: string | undefined;
|
|
5851
6001
|
} | undefined;
|
|
5852
|
-
insurer?: {
|
|
5853
|
-
sourceSpanIds: string[];
|
|
5854
|
-
legalName: string;
|
|
5855
|
-
documentNodeId?: string | undefined;
|
|
5856
|
-
sourceTextHash?: string | undefined;
|
|
5857
|
-
pageStart?: number | undefined;
|
|
5858
|
-
pageEnd?: number | undefined;
|
|
5859
|
-
address?: {
|
|
5860
|
-
street1: string;
|
|
5861
|
-
city: string;
|
|
5862
|
-
state: string;
|
|
5863
|
-
zip: string;
|
|
5864
|
-
street2?: string | undefined;
|
|
5865
|
-
country?: string | undefined;
|
|
5866
|
-
} | undefined;
|
|
5867
|
-
naicNumber?: string | undefined;
|
|
5868
|
-
amBestRating?: string | undefined;
|
|
5869
|
-
amBestNumber?: string | undefined;
|
|
5870
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
5871
|
-
stateOfDomicile?: string | undefined;
|
|
5872
|
-
} | undefined;
|
|
5873
6002
|
producer?: {
|
|
5874
6003
|
sourceSpanIds: string[];
|
|
5875
6004
|
agencyName: string;
|
|
@@ -6013,17 +6142,6 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6013
6142
|
relationship?: string | undefined;
|
|
6014
6143
|
scope?: string | undefined;
|
|
6015
6144
|
}[] | undefined;
|
|
6016
|
-
taxesAndFees?: {
|
|
6017
|
-
name: string;
|
|
6018
|
-
amount: string;
|
|
6019
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
6020
|
-
description?: string | undefined;
|
|
6021
|
-
sourceSpanIds?: string[] | undefined;
|
|
6022
|
-
documentNodeId?: string | undefined;
|
|
6023
|
-
sourceTextHash?: string | undefined;
|
|
6024
|
-
amountValue?: number | undefined;
|
|
6025
|
-
}[] | undefined;
|
|
6026
|
-
totalCost?: string | undefined;
|
|
6027
6145
|
totalCostAmount?: number | undefined;
|
|
6028
6146
|
minimumPremium?: string | undefined;
|
|
6029
6147
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -6131,8 +6249,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6131
6249
|
page: number;
|
|
6132
6250
|
sourceSpanIds?: string[] | undefined;
|
|
6133
6251
|
formNumber?: string | undefined;
|
|
6134
|
-
formTitle?: string | undefined;
|
|
6135
6252
|
label?: string | undefined;
|
|
6253
|
+
formTitle?: string | undefined;
|
|
6136
6254
|
sectionTitle?: string | undefined;
|
|
6137
6255
|
extractorNames?: string[] | undefined;
|
|
6138
6256
|
}[] | undefined;
|
|
@@ -6765,6 +6883,66 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6765
6883
|
supplementalYears?: number | undefined;
|
|
6766
6884
|
supplementalPremium?: string | undefined;
|
|
6767
6885
|
} | undefined;
|
|
6886
|
+
insurer?: {
|
|
6887
|
+
sourceSpanIds: string[];
|
|
6888
|
+
legalName: string;
|
|
6889
|
+
documentNodeId?: string | undefined;
|
|
6890
|
+
sourceTextHash?: string | undefined;
|
|
6891
|
+
pageStart?: number | undefined;
|
|
6892
|
+
pageEnd?: number | undefined;
|
|
6893
|
+
address?: {
|
|
6894
|
+
street1: string;
|
|
6895
|
+
city: string;
|
|
6896
|
+
state: string;
|
|
6897
|
+
zip: string;
|
|
6898
|
+
street2?: string | undefined;
|
|
6899
|
+
country?: string | undefined;
|
|
6900
|
+
} | undefined;
|
|
6901
|
+
naicNumber?: string | undefined;
|
|
6902
|
+
amBestRating?: string | undefined;
|
|
6903
|
+
amBestNumber?: string | undefined;
|
|
6904
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
6905
|
+
stateOfDomicile?: string | undefined;
|
|
6906
|
+
} | undefined;
|
|
6907
|
+
expirationDate?: string | undefined;
|
|
6908
|
+
summary?: string | undefined;
|
|
6909
|
+
linesOfBusiness?: string[] | undefined;
|
|
6910
|
+
coverageSchedules?: {
|
|
6911
|
+
name: string;
|
|
6912
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
6913
|
+
description?: string | undefined;
|
|
6914
|
+
sourceSpanIds?: string[] | undefined;
|
|
6915
|
+
pageStart?: number | undefined;
|
|
6916
|
+
pageEnd?: number | undefined;
|
|
6917
|
+
items?: {
|
|
6918
|
+
label: string;
|
|
6919
|
+
description?: string | undefined;
|
|
6920
|
+
values?: {
|
|
6921
|
+
value: string;
|
|
6922
|
+
label: string;
|
|
6923
|
+
}[] | undefined;
|
|
6924
|
+
sourceSpanIds?: string[] | undefined;
|
|
6925
|
+
}[] | undefined;
|
|
6926
|
+
}[] | undefined;
|
|
6927
|
+
premiumBreakdown?: {
|
|
6928
|
+
amount: string;
|
|
6929
|
+
line: string;
|
|
6930
|
+
sourceSpanIds?: string[] | undefined;
|
|
6931
|
+
documentNodeId?: string | undefined;
|
|
6932
|
+
sourceTextHash?: string | undefined;
|
|
6933
|
+
amountValue?: number | undefined;
|
|
6934
|
+
}[] | undefined;
|
|
6935
|
+
taxesAndFees?: {
|
|
6936
|
+
name: string;
|
|
6937
|
+
amount: string;
|
|
6938
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
6939
|
+
description?: string | undefined;
|
|
6940
|
+
sourceSpanIds?: string[] | undefined;
|
|
6941
|
+
documentNodeId?: string | undefined;
|
|
6942
|
+
sourceTextHash?: string | undefined;
|
|
6943
|
+
amountValue?: number | undefined;
|
|
6944
|
+
}[] | undefined;
|
|
6945
|
+
totalCost?: string | undefined;
|
|
6768
6946
|
formInventory?: {
|
|
6769
6947
|
formNumber: string;
|
|
6770
6948
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -6776,14 +6954,11 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6776
6954
|
pageEnd?: number | undefined;
|
|
6777
6955
|
editionDate?: string | undefined;
|
|
6778
6956
|
}[] | undefined;
|
|
6779
|
-
expirationDate?: string | undefined;
|
|
6780
6957
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
6781
6958
|
nextReviewDate?: string | undefined;
|
|
6782
6959
|
effectiveTime?: string | undefined;
|
|
6783
6960
|
security?: string | undefined;
|
|
6784
6961
|
premiumAmount?: number | undefined;
|
|
6785
|
-
summary?: string | undefined;
|
|
6786
|
-
linesOfBusiness?: string[] | undefined;
|
|
6787
6962
|
sections?: {
|
|
6788
6963
|
type: string;
|
|
6789
6964
|
title: string;
|
|
@@ -6978,13 +7153,15 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6978
7153
|
corridorDeductible?: string | undefined;
|
|
6979
7154
|
waitingPeriod?: string | undefined;
|
|
6980
7155
|
} | undefined;
|
|
6981
|
-
|
|
7156
|
+
producer?: {
|
|
6982
7157
|
sourceSpanIds: string[];
|
|
6983
|
-
|
|
7158
|
+
agencyName: string;
|
|
6984
7159
|
documentNodeId?: string | undefined;
|
|
6985
7160
|
sourceTextHash?: string | undefined;
|
|
6986
7161
|
pageStart?: number | undefined;
|
|
6987
7162
|
pageEnd?: number | undefined;
|
|
7163
|
+
phone?: string | undefined;
|
|
7164
|
+
email?: string | undefined;
|
|
6988
7165
|
address?: {
|
|
6989
7166
|
street1: string;
|
|
6990
7167
|
city: string;
|
|
@@ -6993,41 +7170,18 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6993
7170
|
street2?: string | undefined;
|
|
6994
7171
|
country?: string | undefined;
|
|
6995
7172
|
} | undefined;
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
amBestNumber?: string | undefined;
|
|
6999
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
7000
|
-
stateOfDomicile?: string | undefined;
|
|
7173
|
+
contactName?: string | undefined;
|
|
7174
|
+
licenseNumber?: string | undefined;
|
|
7001
7175
|
} | undefined;
|
|
7002
|
-
|
|
7176
|
+
claimsContacts?: {
|
|
7003
7177
|
sourceSpanIds: string[];
|
|
7004
|
-
|
|
7178
|
+
type?: string | undefined;
|
|
7179
|
+
title?: string | undefined;
|
|
7005
7180
|
documentNodeId?: string | undefined;
|
|
7006
7181
|
sourceTextHash?: string | undefined;
|
|
7007
7182
|
pageStart?: number | undefined;
|
|
7008
7183
|
pageEnd?: number | undefined;
|
|
7009
|
-
|
|
7010
|
-
email?: string | undefined;
|
|
7011
|
-
address?: {
|
|
7012
|
-
street1: string;
|
|
7013
|
-
city: string;
|
|
7014
|
-
state: string;
|
|
7015
|
-
zip: string;
|
|
7016
|
-
street2?: string | undefined;
|
|
7017
|
-
country?: string | undefined;
|
|
7018
|
-
} | undefined;
|
|
7019
|
-
contactName?: string | undefined;
|
|
7020
|
-
licenseNumber?: string | undefined;
|
|
7021
|
-
} | undefined;
|
|
7022
|
-
claimsContacts?: {
|
|
7023
|
-
sourceSpanIds: string[];
|
|
7024
|
-
type?: string | undefined;
|
|
7025
|
-
title?: string | undefined;
|
|
7026
|
-
documentNodeId?: string | undefined;
|
|
7027
|
-
sourceTextHash?: string | undefined;
|
|
7028
|
-
pageStart?: number | undefined;
|
|
7029
|
-
pageEnd?: number | undefined;
|
|
7030
|
-
name?: string | undefined;
|
|
7184
|
+
name?: string | undefined;
|
|
7031
7185
|
phone?: string | undefined;
|
|
7032
7186
|
fax?: string | undefined;
|
|
7033
7187
|
email?: string | undefined;
|
|
@@ -7142,17 +7296,6 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
7142
7296
|
relationship?: string | undefined;
|
|
7143
7297
|
scope?: string | undefined;
|
|
7144
7298
|
}[] | undefined;
|
|
7145
|
-
taxesAndFees?: {
|
|
7146
|
-
name: string;
|
|
7147
|
-
amount: string;
|
|
7148
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
7149
|
-
description?: string | undefined;
|
|
7150
|
-
sourceSpanIds?: string[] | undefined;
|
|
7151
|
-
documentNodeId?: string | undefined;
|
|
7152
|
-
sourceTextHash?: string | undefined;
|
|
7153
|
-
amountValue?: number | undefined;
|
|
7154
|
-
}[] | undefined;
|
|
7155
|
-
totalCost?: string | undefined;
|
|
7156
7299
|
totalCostAmount?: number | undefined;
|
|
7157
7300
|
minimumPremium?: string | undefined;
|
|
7158
7301
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -7232,28 +7375,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
7232
7375
|
}, {
|
|
7233
7376
|
description: string;
|
|
7234
7377
|
}>, "many">>;
|
|
7235
|
-
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7236
|
-
line: z.ZodString;
|
|
7237
|
-
amount: z.ZodString;
|
|
7238
|
-
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
7239
|
-
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
7240
|
-
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7241
|
-
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
7242
|
-
}, "strip", z.ZodTypeAny, {
|
|
7243
|
-
amount: string;
|
|
7244
|
-
line: string;
|
|
7245
|
-
sourceSpanIds?: string[] | undefined;
|
|
7246
|
-
documentNodeId?: string | undefined;
|
|
7247
|
-
sourceTextHash?: string | undefined;
|
|
7248
|
-
amountValue?: number | undefined;
|
|
7249
|
-
}, {
|
|
7250
|
-
amount: string;
|
|
7251
|
-
line: string;
|
|
7252
|
-
sourceSpanIds?: string[] | undefined;
|
|
7253
|
-
documentNodeId?: string | undefined;
|
|
7254
|
-
sourceTextHash?: string | undefined;
|
|
7255
|
-
amountValue?: number | undefined;
|
|
7256
|
-
}>, "many">>;
|
|
7257
7378
|
enrichedSubjectivities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7258
7379
|
description: z.ZodString;
|
|
7259
7380
|
category: z.ZodOptional<z.ZodEnum<["pre_binding", "post_binding", "information"]>>;
|
|
@@ -7310,6 +7431,28 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
7310
7431
|
insuredName: z.ZodString;
|
|
7311
7432
|
premium: z.ZodOptional<z.ZodString>;
|
|
7312
7433
|
premiumAmount: z.ZodOptional<z.ZodNumber>;
|
|
7434
|
+
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7435
|
+
line: z.ZodString;
|
|
7436
|
+
amount: z.ZodString;
|
|
7437
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
7438
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
7439
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7440
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
7441
|
+
}, "strip", z.ZodTypeAny, {
|
|
7442
|
+
amount: string;
|
|
7443
|
+
line: string;
|
|
7444
|
+
sourceSpanIds?: string[] | undefined;
|
|
7445
|
+
documentNodeId?: string | undefined;
|
|
7446
|
+
sourceTextHash?: string | undefined;
|
|
7447
|
+
amountValue?: number | undefined;
|
|
7448
|
+
}, {
|
|
7449
|
+
amount: string;
|
|
7450
|
+
line: string;
|
|
7451
|
+
sourceSpanIds?: string[] | undefined;
|
|
7452
|
+
documentNodeId?: string | undefined;
|
|
7453
|
+
sourceTextHash?: string | undefined;
|
|
7454
|
+
amountValue?: number | undefined;
|
|
7455
|
+
}>, "many">>;
|
|
7313
7456
|
summary: z.ZodOptional<z.ZodString>;
|
|
7314
7457
|
linesOfBusiness: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7315
7458
|
coverages: z.ZodArray<z.ZodObject<{
|
|
@@ -7438,16 +7581,16 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
7438
7581
|
page: number;
|
|
7439
7582
|
sourceSpanIds?: string[] | undefined;
|
|
7440
7583
|
formNumber?: string | undefined;
|
|
7441
|
-
formTitle?: string | undefined;
|
|
7442
7584
|
label?: string | undefined;
|
|
7585
|
+
formTitle?: string | undefined;
|
|
7443
7586
|
sectionTitle?: string | undefined;
|
|
7444
7587
|
extractorNames?: string[] | undefined;
|
|
7445
7588
|
}, {
|
|
7446
7589
|
page: number;
|
|
7447
7590
|
sourceSpanIds?: string[] | undefined;
|
|
7448
7591
|
formNumber?: string | undefined;
|
|
7449
|
-
formTitle?: string | undefined;
|
|
7450
7592
|
label?: string | undefined;
|
|
7593
|
+
formTitle?: string | undefined;
|
|
7451
7594
|
sectionTitle?: string | undefined;
|
|
7452
7595
|
extractorNames?: string[] | undefined;
|
|
7453
7596
|
}>, "many">>;
|
|
@@ -7493,8 +7636,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
7493
7636
|
page: number;
|
|
7494
7637
|
sourceSpanIds?: string[] | undefined;
|
|
7495
7638
|
formNumber?: string | undefined;
|
|
7496
|
-
formTitle?: string | undefined;
|
|
7497
7639
|
label?: string | undefined;
|
|
7640
|
+
formTitle?: string | undefined;
|
|
7498
7641
|
sectionTitle?: string | undefined;
|
|
7499
7642
|
extractorNames?: string[] | undefined;
|
|
7500
7643
|
}[] | undefined;
|
|
@@ -7530,8 +7673,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
7530
7673
|
page: number;
|
|
7531
7674
|
sourceSpanIds?: string[] | undefined;
|
|
7532
7675
|
formNumber?: string | undefined;
|
|
7533
|
-
formTitle?: string | undefined;
|
|
7534
7676
|
label?: string | undefined;
|
|
7677
|
+
formTitle?: string | undefined;
|
|
7535
7678
|
sectionTitle?: string | undefined;
|
|
7536
7679
|
extractorNames?: string[] | undefined;
|
|
7537
7680
|
}[] | undefined;
|
|
@@ -8496,6 +8639,77 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
8496
8639
|
basisAmount?: string | undefined;
|
|
8497
8640
|
rate?: string | undefined;
|
|
8498
8641
|
}>, "many">>;
|
|
8642
|
+
coverageSchedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8643
|
+
name: z.ZodString;
|
|
8644
|
+
kind: z.ZodEnum<["vehicle", "property", "location", "other"]>;
|
|
8645
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8646
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8647
|
+
label: z.ZodString;
|
|
8648
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8649
|
+
values: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8650
|
+
label: z.ZodString;
|
|
8651
|
+
value: z.ZodString;
|
|
8652
|
+
}, "strip", z.ZodTypeAny, {
|
|
8653
|
+
value: string;
|
|
8654
|
+
label: string;
|
|
8655
|
+
}, {
|
|
8656
|
+
value: string;
|
|
8657
|
+
label: string;
|
|
8658
|
+
}>, "many">>;
|
|
8659
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
8660
|
+
}, "strip", z.ZodTypeAny, {
|
|
8661
|
+
values: {
|
|
8662
|
+
value: string;
|
|
8663
|
+
label: string;
|
|
8664
|
+
}[];
|
|
8665
|
+
sourceSpanIds: string[];
|
|
8666
|
+
label: string;
|
|
8667
|
+
description?: string | undefined;
|
|
8668
|
+
}, {
|
|
8669
|
+
label: string;
|
|
8670
|
+
description?: string | undefined;
|
|
8671
|
+
values?: {
|
|
8672
|
+
value: string;
|
|
8673
|
+
label: string;
|
|
8674
|
+
}[] | undefined;
|
|
8675
|
+
sourceSpanIds?: string[] | undefined;
|
|
8676
|
+
}>, "many">>;
|
|
8677
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
8678
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
8679
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
8680
|
+
}, "strip", z.ZodTypeAny, {
|
|
8681
|
+
sourceSpanIds: string[];
|
|
8682
|
+
name: string;
|
|
8683
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
8684
|
+
items: {
|
|
8685
|
+
values: {
|
|
8686
|
+
value: string;
|
|
8687
|
+
label: string;
|
|
8688
|
+
}[];
|
|
8689
|
+
sourceSpanIds: string[];
|
|
8690
|
+
label: string;
|
|
8691
|
+
description?: string | undefined;
|
|
8692
|
+
}[];
|
|
8693
|
+
description?: string | undefined;
|
|
8694
|
+
pageStart?: number | undefined;
|
|
8695
|
+
pageEnd?: number | undefined;
|
|
8696
|
+
}, {
|
|
8697
|
+
name: string;
|
|
8698
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
8699
|
+
description?: string | undefined;
|
|
8700
|
+
sourceSpanIds?: string[] | undefined;
|
|
8701
|
+
pageStart?: number | undefined;
|
|
8702
|
+
pageEnd?: number | undefined;
|
|
8703
|
+
items?: {
|
|
8704
|
+
label: string;
|
|
8705
|
+
description?: string | undefined;
|
|
8706
|
+
values?: {
|
|
8707
|
+
value: string;
|
|
8708
|
+
label: string;
|
|
8709
|
+
}[] | undefined;
|
|
8710
|
+
sourceSpanIds?: string[] | undefined;
|
|
8711
|
+
}[] | undefined;
|
|
8712
|
+
}>, "many">>;
|
|
8499
8713
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8500
8714
|
formNumber: z.ZodString;
|
|
8501
8715
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -11608,8 +11822,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
11608
11822
|
page: number;
|
|
11609
11823
|
sourceSpanIds?: string[] | undefined;
|
|
11610
11824
|
formNumber?: string | undefined;
|
|
11611
|
-
formTitle?: string | undefined;
|
|
11612
11825
|
label?: string | undefined;
|
|
11826
|
+
formTitle?: string | undefined;
|
|
11613
11827
|
sectionTitle?: string | undefined;
|
|
11614
11828
|
extractorNames?: string[] | undefined;
|
|
11615
11829
|
}[] | undefined;
|
|
@@ -12243,6 +12457,65 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12243
12457
|
supplementalYears?: number | undefined;
|
|
12244
12458
|
supplementalPremium?: string | undefined;
|
|
12245
12459
|
} | undefined;
|
|
12460
|
+
insurer?: {
|
|
12461
|
+
sourceSpanIds: string[];
|
|
12462
|
+
legalName: string;
|
|
12463
|
+
documentNodeId?: string | undefined;
|
|
12464
|
+
sourceTextHash?: string | undefined;
|
|
12465
|
+
pageStart?: number | undefined;
|
|
12466
|
+
pageEnd?: number | undefined;
|
|
12467
|
+
address?: {
|
|
12468
|
+
street1: string;
|
|
12469
|
+
city: string;
|
|
12470
|
+
state: string;
|
|
12471
|
+
zip: string;
|
|
12472
|
+
street2?: string | undefined;
|
|
12473
|
+
country?: string | undefined;
|
|
12474
|
+
} | undefined;
|
|
12475
|
+
naicNumber?: string | undefined;
|
|
12476
|
+
amBestRating?: string | undefined;
|
|
12477
|
+
amBestNumber?: string | undefined;
|
|
12478
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
12479
|
+
stateOfDomicile?: string | undefined;
|
|
12480
|
+
} | undefined;
|
|
12481
|
+
summary?: string | undefined;
|
|
12482
|
+
linesOfBusiness?: string[] | undefined;
|
|
12483
|
+
coverageSchedules?: {
|
|
12484
|
+
sourceSpanIds: string[];
|
|
12485
|
+
name: string;
|
|
12486
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
12487
|
+
items: {
|
|
12488
|
+
values: {
|
|
12489
|
+
value: string;
|
|
12490
|
+
label: string;
|
|
12491
|
+
}[];
|
|
12492
|
+
sourceSpanIds: string[];
|
|
12493
|
+
label: string;
|
|
12494
|
+
description?: string | undefined;
|
|
12495
|
+
}[];
|
|
12496
|
+
description?: string | undefined;
|
|
12497
|
+
pageStart?: number | undefined;
|
|
12498
|
+
pageEnd?: number | undefined;
|
|
12499
|
+
}[] | undefined;
|
|
12500
|
+
premiumBreakdown?: {
|
|
12501
|
+
amount: string;
|
|
12502
|
+
line: string;
|
|
12503
|
+
sourceSpanIds?: string[] | undefined;
|
|
12504
|
+
documentNodeId?: string | undefined;
|
|
12505
|
+
sourceTextHash?: string | undefined;
|
|
12506
|
+
amountValue?: number | undefined;
|
|
12507
|
+
}[] | undefined;
|
|
12508
|
+
taxesAndFees?: {
|
|
12509
|
+
name: string;
|
|
12510
|
+
amount: string;
|
|
12511
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
12512
|
+
description?: string | undefined;
|
|
12513
|
+
sourceSpanIds?: string[] | undefined;
|
|
12514
|
+
documentNodeId?: string | undefined;
|
|
12515
|
+
sourceTextHash?: string | undefined;
|
|
12516
|
+
amountValue?: number | undefined;
|
|
12517
|
+
}[] | undefined;
|
|
12518
|
+
totalCost?: string | undefined;
|
|
12246
12519
|
formInventory?: {
|
|
12247
12520
|
formNumber: string;
|
|
12248
12521
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -12256,8 +12529,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12256
12529
|
}[] | undefined;
|
|
12257
12530
|
security?: string | undefined;
|
|
12258
12531
|
premiumAmount?: number | undefined;
|
|
12259
|
-
summary?: string | undefined;
|
|
12260
|
-
linesOfBusiness?: string[] | undefined;
|
|
12261
12532
|
sections?: {
|
|
12262
12533
|
type: string;
|
|
12263
12534
|
title: string;
|
|
@@ -12452,27 +12723,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12452
12723
|
corridorDeductible?: string | undefined;
|
|
12453
12724
|
waitingPeriod?: string | undefined;
|
|
12454
12725
|
} | undefined;
|
|
12455
|
-
insurer?: {
|
|
12456
|
-
sourceSpanIds: string[];
|
|
12457
|
-
legalName: string;
|
|
12458
|
-
documentNodeId?: string | undefined;
|
|
12459
|
-
sourceTextHash?: string | undefined;
|
|
12460
|
-
pageStart?: number | undefined;
|
|
12461
|
-
pageEnd?: number | undefined;
|
|
12462
|
-
address?: {
|
|
12463
|
-
street1: string;
|
|
12464
|
-
city: string;
|
|
12465
|
-
state: string;
|
|
12466
|
-
zip: string;
|
|
12467
|
-
street2?: string | undefined;
|
|
12468
|
-
country?: string | undefined;
|
|
12469
|
-
} | undefined;
|
|
12470
|
-
naicNumber?: string | undefined;
|
|
12471
|
-
amBestRating?: string | undefined;
|
|
12472
|
-
amBestNumber?: string | undefined;
|
|
12473
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
12474
|
-
stateOfDomicile?: string | undefined;
|
|
12475
|
-
} | undefined;
|
|
12476
12726
|
producer?: {
|
|
12477
12727
|
sourceSpanIds: string[];
|
|
12478
12728
|
agencyName: string;
|
|
@@ -12616,17 +12866,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12616
12866
|
relationship?: string | undefined;
|
|
12617
12867
|
scope?: string | undefined;
|
|
12618
12868
|
}[] | undefined;
|
|
12619
|
-
taxesAndFees?: {
|
|
12620
|
-
name: string;
|
|
12621
|
-
amount: string;
|
|
12622
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
12623
|
-
description?: string | undefined;
|
|
12624
|
-
sourceSpanIds?: string[] | undefined;
|
|
12625
|
-
documentNodeId?: string | undefined;
|
|
12626
|
-
sourceTextHash?: string | undefined;
|
|
12627
|
-
amountValue?: number | undefined;
|
|
12628
|
-
}[] | undefined;
|
|
12629
|
-
totalCost?: string | undefined;
|
|
12630
12869
|
totalCostAmount?: number | undefined;
|
|
12631
12870
|
minimumPremium?: string | undefined;
|
|
12632
12871
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -12691,14 +12930,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12691
12930
|
underwritingConditions?: {
|
|
12692
12931
|
description: string;
|
|
12693
12932
|
}[] | undefined;
|
|
12694
|
-
premiumBreakdown?: {
|
|
12695
|
-
amount: string;
|
|
12696
|
-
line: string;
|
|
12697
|
-
sourceSpanIds?: string[] | undefined;
|
|
12698
|
-
documentNodeId?: string | undefined;
|
|
12699
|
-
sourceTextHash?: string | undefined;
|
|
12700
|
-
amountValue?: number | undefined;
|
|
12701
|
-
}[] | undefined;
|
|
12702
12933
|
enrichedSubjectivities?: {
|
|
12703
12934
|
description: string;
|
|
12704
12935
|
status?: "open" | "satisfied" | "waived" | undefined;
|
|
@@ -12770,8 +13001,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12770
13001
|
page: number;
|
|
12771
13002
|
sourceSpanIds?: string[] | undefined;
|
|
12772
13003
|
formNumber?: string | undefined;
|
|
12773
|
-
formTitle?: string | undefined;
|
|
12774
13004
|
label?: string | undefined;
|
|
13005
|
+
formTitle?: string | undefined;
|
|
12775
13006
|
sectionTitle?: string | undefined;
|
|
12776
13007
|
extractorNames?: string[] | undefined;
|
|
12777
13008
|
}[] | undefined;
|
|
@@ -13405,22 +13636,79 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
13405
13636
|
supplementalYears?: number | undefined;
|
|
13406
13637
|
supplementalPremium?: string | undefined;
|
|
13407
13638
|
} | undefined;
|
|
13408
|
-
|
|
13409
|
-
|
|
13410
|
-
|
|
13411
|
-
title?: string | undefined;
|
|
13412
|
-
sourceSpanIds?: string[] | undefined;
|
|
13639
|
+
insurer?: {
|
|
13640
|
+
sourceSpanIds: string[];
|
|
13641
|
+
legalName: string;
|
|
13413
13642
|
documentNodeId?: string | undefined;
|
|
13414
13643
|
sourceTextHash?: string | undefined;
|
|
13415
13644
|
pageStart?: number | undefined;
|
|
13416
13645
|
pageEnd?: number | undefined;
|
|
13417
|
-
|
|
13418
|
-
|
|
13419
|
-
|
|
13420
|
-
|
|
13646
|
+
address?: {
|
|
13647
|
+
street1: string;
|
|
13648
|
+
city: string;
|
|
13649
|
+
state: string;
|
|
13650
|
+
zip: string;
|
|
13651
|
+
street2?: string | undefined;
|
|
13652
|
+
country?: string | undefined;
|
|
13653
|
+
} | undefined;
|
|
13654
|
+
naicNumber?: string | undefined;
|
|
13655
|
+
amBestRating?: string | undefined;
|
|
13656
|
+
amBestNumber?: string | undefined;
|
|
13657
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
13658
|
+
stateOfDomicile?: string | undefined;
|
|
13659
|
+
} | undefined;
|
|
13421
13660
|
summary?: string | undefined;
|
|
13422
13661
|
linesOfBusiness?: string[] | undefined;
|
|
13423
|
-
|
|
13662
|
+
coverageSchedules?: {
|
|
13663
|
+
name: string;
|
|
13664
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
13665
|
+
description?: string | undefined;
|
|
13666
|
+
sourceSpanIds?: string[] | undefined;
|
|
13667
|
+
pageStart?: number | undefined;
|
|
13668
|
+
pageEnd?: number | undefined;
|
|
13669
|
+
items?: {
|
|
13670
|
+
label: string;
|
|
13671
|
+
description?: string | undefined;
|
|
13672
|
+
values?: {
|
|
13673
|
+
value: string;
|
|
13674
|
+
label: string;
|
|
13675
|
+
}[] | undefined;
|
|
13676
|
+
sourceSpanIds?: string[] | undefined;
|
|
13677
|
+
}[] | undefined;
|
|
13678
|
+
}[] | undefined;
|
|
13679
|
+
premiumBreakdown?: {
|
|
13680
|
+
amount: string;
|
|
13681
|
+
line: string;
|
|
13682
|
+
sourceSpanIds?: string[] | undefined;
|
|
13683
|
+
documentNodeId?: string | undefined;
|
|
13684
|
+
sourceTextHash?: string | undefined;
|
|
13685
|
+
amountValue?: number | undefined;
|
|
13686
|
+
}[] | undefined;
|
|
13687
|
+
taxesAndFees?: {
|
|
13688
|
+
name: string;
|
|
13689
|
+
amount: string;
|
|
13690
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
13691
|
+
description?: string | undefined;
|
|
13692
|
+
sourceSpanIds?: string[] | undefined;
|
|
13693
|
+
documentNodeId?: string | undefined;
|
|
13694
|
+
sourceTextHash?: string | undefined;
|
|
13695
|
+
amountValue?: number | undefined;
|
|
13696
|
+
}[] | undefined;
|
|
13697
|
+
totalCost?: string | undefined;
|
|
13698
|
+
formInventory?: {
|
|
13699
|
+
formNumber: string;
|
|
13700
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
13701
|
+
title?: string | undefined;
|
|
13702
|
+
sourceSpanIds?: string[] | undefined;
|
|
13703
|
+
documentNodeId?: string | undefined;
|
|
13704
|
+
sourceTextHash?: string | undefined;
|
|
13705
|
+
pageStart?: number | undefined;
|
|
13706
|
+
pageEnd?: number | undefined;
|
|
13707
|
+
editionDate?: string | undefined;
|
|
13708
|
+
}[] | undefined;
|
|
13709
|
+
security?: string | undefined;
|
|
13710
|
+
premiumAmount?: number | undefined;
|
|
13711
|
+
sections?: {
|
|
13424
13712
|
type: string;
|
|
13425
13713
|
title: string;
|
|
13426
13714
|
pageStart: number;
|
|
@@ -13614,27 +13902,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
13614
13902
|
corridorDeductible?: string | undefined;
|
|
13615
13903
|
waitingPeriod?: string | undefined;
|
|
13616
13904
|
} | undefined;
|
|
13617
|
-
insurer?: {
|
|
13618
|
-
sourceSpanIds: string[];
|
|
13619
|
-
legalName: string;
|
|
13620
|
-
documentNodeId?: string | undefined;
|
|
13621
|
-
sourceTextHash?: string | undefined;
|
|
13622
|
-
pageStart?: number | undefined;
|
|
13623
|
-
pageEnd?: number | undefined;
|
|
13624
|
-
address?: {
|
|
13625
|
-
street1: string;
|
|
13626
|
-
city: string;
|
|
13627
|
-
state: string;
|
|
13628
|
-
zip: string;
|
|
13629
|
-
street2?: string | undefined;
|
|
13630
|
-
country?: string | undefined;
|
|
13631
|
-
} | undefined;
|
|
13632
|
-
naicNumber?: string | undefined;
|
|
13633
|
-
amBestRating?: string | undefined;
|
|
13634
|
-
amBestNumber?: string | undefined;
|
|
13635
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
13636
|
-
stateOfDomicile?: string | undefined;
|
|
13637
|
-
} | undefined;
|
|
13638
13905
|
producer?: {
|
|
13639
13906
|
sourceSpanIds: string[];
|
|
13640
13907
|
agencyName: string;
|
|
@@ -13778,17 +14045,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
13778
14045
|
relationship?: string | undefined;
|
|
13779
14046
|
scope?: string | undefined;
|
|
13780
14047
|
}[] | undefined;
|
|
13781
|
-
taxesAndFees?: {
|
|
13782
|
-
name: string;
|
|
13783
|
-
amount: string;
|
|
13784
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
13785
|
-
description?: string | undefined;
|
|
13786
|
-
sourceSpanIds?: string[] | undefined;
|
|
13787
|
-
documentNodeId?: string | undefined;
|
|
13788
|
-
sourceTextHash?: string | undefined;
|
|
13789
|
-
amountValue?: number | undefined;
|
|
13790
|
-
}[] | undefined;
|
|
13791
|
-
totalCost?: string | undefined;
|
|
13792
14048
|
totalCostAmount?: number | undefined;
|
|
13793
14049
|
minimumPremium?: string | undefined;
|
|
13794
14050
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -13853,14 +14109,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
13853
14109
|
underwritingConditions?: {
|
|
13854
14110
|
description: string;
|
|
13855
14111
|
}[] | undefined;
|
|
13856
|
-
premiumBreakdown?: {
|
|
13857
|
-
amount: string;
|
|
13858
|
-
line: string;
|
|
13859
|
-
sourceSpanIds?: string[] | undefined;
|
|
13860
|
-
documentNodeId?: string | undefined;
|
|
13861
|
-
sourceTextHash?: string | undefined;
|
|
13862
|
-
amountValue?: number | undefined;
|
|
13863
|
-
}[] | undefined;
|
|
13864
14112
|
enrichedSubjectivities?: {
|
|
13865
14113
|
description: string;
|
|
13866
14114
|
status?: "open" | "satisfied" | "waived" | undefined;
|
|
@@ -13897,6 +14145,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
13897
14145
|
insuredName: z.ZodString;
|
|
13898
14146
|
premium: z.ZodOptional<z.ZodString>;
|
|
13899
14147
|
premiumAmount: z.ZodOptional<z.ZodNumber>;
|
|
14148
|
+
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14149
|
+
line: z.ZodString;
|
|
14150
|
+
amount: z.ZodString;
|
|
14151
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
14152
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
14153
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14154
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
14155
|
+
}, "strip", z.ZodTypeAny, {
|
|
14156
|
+
amount: string;
|
|
14157
|
+
line: string;
|
|
14158
|
+
sourceSpanIds?: string[] | undefined;
|
|
14159
|
+
documentNodeId?: string | undefined;
|
|
14160
|
+
sourceTextHash?: string | undefined;
|
|
14161
|
+
amountValue?: number | undefined;
|
|
14162
|
+
}, {
|
|
14163
|
+
amount: string;
|
|
14164
|
+
line: string;
|
|
14165
|
+
sourceSpanIds?: string[] | undefined;
|
|
14166
|
+
documentNodeId?: string | undefined;
|
|
14167
|
+
sourceTextHash?: string | undefined;
|
|
14168
|
+
amountValue?: number | undefined;
|
|
14169
|
+
}>, "many">>;
|
|
13900
14170
|
summary: z.ZodOptional<z.ZodString>;
|
|
13901
14171
|
linesOfBusiness: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13902
14172
|
coverages: z.ZodArray<z.ZodObject<{
|
|
@@ -14025,16 +14295,16 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
14025
14295
|
page: number;
|
|
14026
14296
|
sourceSpanIds?: string[] | undefined;
|
|
14027
14297
|
formNumber?: string | undefined;
|
|
14028
|
-
formTitle?: string | undefined;
|
|
14029
14298
|
label?: string | undefined;
|
|
14299
|
+
formTitle?: string | undefined;
|
|
14030
14300
|
sectionTitle?: string | undefined;
|
|
14031
14301
|
extractorNames?: string[] | undefined;
|
|
14032
14302
|
}, {
|
|
14033
14303
|
page: number;
|
|
14034
14304
|
sourceSpanIds?: string[] | undefined;
|
|
14035
14305
|
formNumber?: string | undefined;
|
|
14036
|
-
formTitle?: string | undefined;
|
|
14037
14306
|
label?: string | undefined;
|
|
14307
|
+
formTitle?: string | undefined;
|
|
14038
14308
|
sectionTitle?: string | undefined;
|
|
14039
14309
|
extractorNames?: string[] | undefined;
|
|
14040
14310
|
}>, "many">>;
|
|
@@ -14080,8 +14350,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
14080
14350
|
page: number;
|
|
14081
14351
|
sourceSpanIds?: string[] | undefined;
|
|
14082
14352
|
formNumber?: string | undefined;
|
|
14083
|
-
formTitle?: string | undefined;
|
|
14084
14353
|
label?: string | undefined;
|
|
14354
|
+
formTitle?: string | undefined;
|
|
14085
14355
|
sectionTitle?: string | undefined;
|
|
14086
14356
|
extractorNames?: string[] | undefined;
|
|
14087
14357
|
}[] | undefined;
|
|
@@ -14117,8 +14387,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
14117
14387
|
page: number;
|
|
14118
14388
|
sourceSpanIds?: string[] | undefined;
|
|
14119
14389
|
formNumber?: string | undefined;
|
|
14120
|
-
formTitle?: string | undefined;
|
|
14121
14390
|
label?: string | undefined;
|
|
14391
|
+
formTitle?: string | undefined;
|
|
14122
14392
|
sectionTitle?: string | undefined;
|
|
14123
14393
|
extractorNames?: string[] | undefined;
|
|
14124
14394
|
}[] | undefined;
|
|
@@ -15083,6 +15353,77 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
15083
15353
|
basisAmount?: string | undefined;
|
|
15084
15354
|
rate?: string | undefined;
|
|
15085
15355
|
}>, "many">>;
|
|
15356
|
+
coverageSchedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15357
|
+
name: z.ZodString;
|
|
15358
|
+
kind: z.ZodEnum<["vehicle", "property", "location", "other"]>;
|
|
15359
|
+
description: z.ZodOptional<z.ZodString>;
|
|
15360
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
15361
|
+
label: z.ZodString;
|
|
15362
|
+
description: z.ZodOptional<z.ZodString>;
|
|
15363
|
+
values: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
15364
|
+
label: z.ZodString;
|
|
15365
|
+
value: z.ZodString;
|
|
15366
|
+
}, "strip", z.ZodTypeAny, {
|
|
15367
|
+
value: string;
|
|
15368
|
+
label: string;
|
|
15369
|
+
}, {
|
|
15370
|
+
value: string;
|
|
15371
|
+
label: string;
|
|
15372
|
+
}>, "many">>;
|
|
15373
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
15374
|
+
}, "strip", z.ZodTypeAny, {
|
|
15375
|
+
values: {
|
|
15376
|
+
value: string;
|
|
15377
|
+
label: string;
|
|
15378
|
+
}[];
|
|
15379
|
+
sourceSpanIds: string[];
|
|
15380
|
+
label: string;
|
|
15381
|
+
description?: string | undefined;
|
|
15382
|
+
}, {
|
|
15383
|
+
label: string;
|
|
15384
|
+
description?: string | undefined;
|
|
15385
|
+
values?: {
|
|
15386
|
+
value: string;
|
|
15387
|
+
label: string;
|
|
15388
|
+
}[] | undefined;
|
|
15389
|
+
sourceSpanIds?: string[] | undefined;
|
|
15390
|
+
}>, "many">>;
|
|
15391
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
15392
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
15393
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
15394
|
+
}, "strip", z.ZodTypeAny, {
|
|
15395
|
+
sourceSpanIds: string[];
|
|
15396
|
+
name: string;
|
|
15397
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
15398
|
+
items: {
|
|
15399
|
+
values: {
|
|
15400
|
+
value: string;
|
|
15401
|
+
label: string;
|
|
15402
|
+
}[];
|
|
15403
|
+
sourceSpanIds: string[];
|
|
15404
|
+
label: string;
|
|
15405
|
+
description?: string | undefined;
|
|
15406
|
+
}[];
|
|
15407
|
+
description?: string | undefined;
|
|
15408
|
+
pageStart?: number | undefined;
|
|
15409
|
+
pageEnd?: number | undefined;
|
|
15410
|
+
}, {
|
|
15411
|
+
name: string;
|
|
15412
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
15413
|
+
description?: string | undefined;
|
|
15414
|
+
sourceSpanIds?: string[] | undefined;
|
|
15415
|
+
pageStart?: number | undefined;
|
|
15416
|
+
pageEnd?: number | undefined;
|
|
15417
|
+
items?: {
|
|
15418
|
+
label: string;
|
|
15419
|
+
description?: string | undefined;
|
|
15420
|
+
values?: {
|
|
15421
|
+
value: string;
|
|
15422
|
+
label: string;
|
|
15423
|
+
}[] | undefined;
|
|
15424
|
+
sourceSpanIds?: string[] | undefined;
|
|
15425
|
+
}[] | undefined;
|
|
15426
|
+
}>, "many">>;
|
|
15086
15427
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15087
15428
|
formNumber: z.ZodString;
|
|
15088
15429
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -18197,8 +18538,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18197
18538
|
page: number;
|
|
18198
18539
|
sourceSpanIds?: string[] | undefined;
|
|
18199
18540
|
formNumber?: string | undefined;
|
|
18200
|
-
formTitle?: string | undefined;
|
|
18201
18541
|
label?: string | undefined;
|
|
18542
|
+
formTitle?: string | undefined;
|
|
18202
18543
|
sectionTitle?: string | undefined;
|
|
18203
18544
|
extractorNames?: string[] | undefined;
|
|
18204
18545
|
}[] | undefined;
|
|
@@ -18831,6 +19172,66 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18831
19172
|
supplementalYears?: number | undefined;
|
|
18832
19173
|
supplementalPremium?: string | undefined;
|
|
18833
19174
|
} | undefined;
|
|
19175
|
+
insurer?: {
|
|
19176
|
+
sourceSpanIds: string[];
|
|
19177
|
+
legalName: string;
|
|
19178
|
+
documentNodeId?: string | undefined;
|
|
19179
|
+
sourceTextHash?: string | undefined;
|
|
19180
|
+
pageStart?: number | undefined;
|
|
19181
|
+
pageEnd?: number | undefined;
|
|
19182
|
+
address?: {
|
|
19183
|
+
street1: string;
|
|
19184
|
+
city: string;
|
|
19185
|
+
state: string;
|
|
19186
|
+
zip: string;
|
|
19187
|
+
street2?: string | undefined;
|
|
19188
|
+
country?: string | undefined;
|
|
19189
|
+
} | undefined;
|
|
19190
|
+
naicNumber?: string | undefined;
|
|
19191
|
+
amBestRating?: string | undefined;
|
|
19192
|
+
amBestNumber?: string | undefined;
|
|
19193
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
19194
|
+
stateOfDomicile?: string | undefined;
|
|
19195
|
+
} | undefined;
|
|
19196
|
+
expirationDate?: string | undefined;
|
|
19197
|
+
summary?: string | undefined;
|
|
19198
|
+
linesOfBusiness?: string[] | undefined;
|
|
19199
|
+
coverageSchedules?: {
|
|
19200
|
+
sourceSpanIds: string[];
|
|
19201
|
+
name: string;
|
|
19202
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
19203
|
+
items: {
|
|
19204
|
+
values: {
|
|
19205
|
+
value: string;
|
|
19206
|
+
label: string;
|
|
19207
|
+
}[];
|
|
19208
|
+
sourceSpanIds: string[];
|
|
19209
|
+
label: string;
|
|
19210
|
+
description?: string | undefined;
|
|
19211
|
+
}[];
|
|
19212
|
+
description?: string | undefined;
|
|
19213
|
+
pageStart?: number | undefined;
|
|
19214
|
+
pageEnd?: number | undefined;
|
|
19215
|
+
}[] | undefined;
|
|
19216
|
+
premiumBreakdown?: {
|
|
19217
|
+
amount: string;
|
|
19218
|
+
line: string;
|
|
19219
|
+
sourceSpanIds?: string[] | undefined;
|
|
19220
|
+
documentNodeId?: string | undefined;
|
|
19221
|
+
sourceTextHash?: string | undefined;
|
|
19222
|
+
amountValue?: number | undefined;
|
|
19223
|
+
}[] | undefined;
|
|
19224
|
+
taxesAndFees?: {
|
|
19225
|
+
name: string;
|
|
19226
|
+
amount: string;
|
|
19227
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
19228
|
+
description?: string | undefined;
|
|
19229
|
+
sourceSpanIds?: string[] | undefined;
|
|
19230
|
+
documentNodeId?: string | undefined;
|
|
19231
|
+
sourceTextHash?: string | undefined;
|
|
19232
|
+
amountValue?: number | undefined;
|
|
19233
|
+
}[] | undefined;
|
|
19234
|
+
totalCost?: string | undefined;
|
|
18834
19235
|
formInventory?: {
|
|
18835
19236
|
formNumber: string;
|
|
18836
19237
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -18842,14 +19243,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18842
19243
|
pageEnd?: number | undefined;
|
|
18843
19244
|
editionDate?: string | undefined;
|
|
18844
19245
|
}[] | undefined;
|
|
18845
|
-
expirationDate?: string | undefined;
|
|
18846
19246
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
18847
19247
|
nextReviewDate?: string | undefined;
|
|
18848
19248
|
effectiveTime?: string | undefined;
|
|
18849
19249
|
security?: string | undefined;
|
|
18850
19250
|
premiumAmount?: number | undefined;
|
|
18851
|
-
summary?: string | undefined;
|
|
18852
|
-
linesOfBusiness?: string[] | undefined;
|
|
18853
19251
|
sections?: {
|
|
18854
19252
|
type: string;
|
|
18855
19253
|
title: string;
|
|
@@ -19044,27 +19442,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
19044
19442
|
corridorDeductible?: string | undefined;
|
|
19045
19443
|
waitingPeriod?: string | undefined;
|
|
19046
19444
|
} | undefined;
|
|
19047
|
-
insurer?: {
|
|
19048
|
-
sourceSpanIds: string[];
|
|
19049
|
-
legalName: string;
|
|
19050
|
-
documentNodeId?: string | undefined;
|
|
19051
|
-
sourceTextHash?: string | undefined;
|
|
19052
|
-
pageStart?: number | undefined;
|
|
19053
|
-
pageEnd?: number | undefined;
|
|
19054
|
-
address?: {
|
|
19055
|
-
street1: string;
|
|
19056
|
-
city: string;
|
|
19057
|
-
state: string;
|
|
19058
|
-
zip: string;
|
|
19059
|
-
street2?: string | undefined;
|
|
19060
|
-
country?: string | undefined;
|
|
19061
|
-
} | undefined;
|
|
19062
|
-
naicNumber?: string | undefined;
|
|
19063
|
-
amBestRating?: string | undefined;
|
|
19064
|
-
amBestNumber?: string | undefined;
|
|
19065
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
19066
|
-
stateOfDomicile?: string | undefined;
|
|
19067
|
-
} | undefined;
|
|
19068
19445
|
producer?: {
|
|
19069
19446
|
sourceSpanIds: string[];
|
|
19070
19447
|
agencyName: string;
|
|
@@ -19208,17 +19585,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
19208
19585
|
relationship?: string | undefined;
|
|
19209
19586
|
scope?: string | undefined;
|
|
19210
19587
|
}[] | undefined;
|
|
19211
|
-
taxesAndFees?: {
|
|
19212
|
-
name: string;
|
|
19213
|
-
amount: string;
|
|
19214
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
19215
|
-
description?: string | undefined;
|
|
19216
|
-
sourceSpanIds?: string[] | undefined;
|
|
19217
|
-
documentNodeId?: string | undefined;
|
|
19218
|
-
sourceTextHash?: string | undefined;
|
|
19219
|
-
amountValue?: number | undefined;
|
|
19220
|
-
}[] | undefined;
|
|
19221
|
-
totalCost?: string | undefined;
|
|
19222
19588
|
totalCostAmount?: number | undefined;
|
|
19223
19589
|
minimumPremium?: string | undefined;
|
|
19224
19590
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -19326,8 +19692,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
19326
19692
|
page: number;
|
|
19327
19693
|
sourceSpanIds?: string[] | undefined;
|
|
19328
19694
|
formNumber?: string | undefined;
|
|
19329
|
-
formTitle?: string | undefined;
|
|
19330
19695
|
label?: string | undefined;
|
|
19696
|
+
formTitle?: string | undefined;
|
|
19331
19697
|
sectionTitle?: string | undefined;
|
|
19332
19698
|
extractorNames?: string[] | undefined;
|
|
19333
19699
|
}[] | undefined;
|
|
@@ -19960,10 +20326,70 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
19960
20326
|
supplementalYears?: number | undefined;
|
|
19961
20327
|
supplementalPremium?: string | undefined;
|
|
19962
20328
|
} | undefined;
|
|
19963
|
-
|
|
19964
|
-
|
|
19965
|
-
|
|
19966
|
-
|
|
20329
|
+
insurer?: {
|
|
20330
|
+
sourceSpanIds: string[];
|
|
20331
|
+
legalName: string;
|
|
20332
|
+
documentNodeId?: string | undefined;
|
|
20333
|
+
sourceTextHash?: string | undefined;
|
|
20334
|
+
pageStart?: number | undefined;
|
|
20335
|
+
pageEnd?: number | undefined;
|
|
20336
|
+
address?: {
|
|
20337
|
+
street1: string;
|
|
20338
|
+
city: string;
|
|
20339
|
+
state: string;
|
|
20340
|
+
zip: string;
|
|
20341
|
+
street2?: string | undefined;
|
|
20342
|
+
country?: string | undefined;
|
|
20343
|
+
} | undefined;
|
|
20344
|
+
naicNumber?: string | undefined;
|
|
20345
|
+
amBestRating?: string | undefined;
|
|
20346
|
+
amBestNumber?: string | undefined;
|
|
20347
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
20348
|
+
stateOfDomicile?: string | undefined;
|
|
20349
|
+
} | undefined;
|
|
20350
|
+
expirationDate?: string | undefined;
|
|
20351
|
+
summary?: string | undefined;
|
|
20352
|
+
linesOfBusiness?: string[] | undefined;
|
|
20353
|
+
coverageSchedules?: {
|
|
20354
|
+
name: string;
|
|
20355
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
20356
|
+
description?: string | undefined;
|
|
20357
|
+
sourceSpanIds?: string[] | undefined;
|
|
20358
|
+
pageStart?: number | undefined;
|
|
20359
|
+
pageEnd?: number | undefined;
|
|
20360
|
+
items?: {
|
|
20361
|
+
label: string;
|
|
20362
|
+
description?: string | undefined;
|
|
20363
|
+
values?: {
|
|
20364
|
+
value: string;
|
|
20365
|
+
label: string;
|
|
20366
|
+
}[] | undefined;
|
|
20367
|
+
sourceSpanIds?: string[] | undefined;
|
|
20368
|
+
}[] | undefined;
|
|
20369
|
+
}[] | undefined;
|
|
20370
|
+
premiumBreakdown?: {
|
|
20371
|
+
amount: string;
|
|
20372
|
+
line: string;
|
|
20373
|
+
sourceSpanIds?: string[] | undefined;
|
|
20374
|
+
documentNodeId?: string | undefined;
|
|
20375
|
+
sourceTextHash?: string | undefined;
|
|
20376
|
+
amountValue?: number | undefined;
|
|
20377
|
+
}[] | undefined;
|
|
20378
|
+
taxesAndFees?: {
|
|
20379
|
+
name: string;
|
|
20380
|
+
amount: string;
|
|
20381
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
20382
|
+
description?: string | undefined;
|
|
20383
|
+
sourceSpanIds?: string[] | undefined;
|
|
20384
|
+
documentNodeId?: string | undefined;
|
|
20385
|
+
sourceTextHash?: string | undefined;
|
|
20386
|
+
amountValue?: number | undefined;
|
|
20387
|
+
}[] | undefined;
|
|
20388
|
+
totalCost?: string | undefined;
|
|
20389
|
+
formInventory?: {
|
|
20390
|
+
formNumber: string;
|
|
20391
|
+
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
20392
|
+
title?: string | undefined;
|
|
19967
20393
|
sourceSpanIds?: string[] | undefined;
|
|
19968
20394
|
documentNodeId?: string | undefined;
|
|
19969
20395
|
sourceTextHash?: string | undefined;
|
|
@@ -19971,14 +20397,11 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
19971
20397
|
pageEnd?: number | undefined;
|
|
19972
20398
|
editionDate?: string | undefined;
|
|
19973
20399
|
}[] | undefined;
|
|
19974
|
-
expirationDate?: string | undefined;
|
|
19975
20400
|
policyTermType?: "fixed" | "continuous" | undefined;
|
|
19976
20401
|
nextReviewDate?: string | undefined;
|
|
19977
20402
|
effectiveTime?: string | undefined;
|
|
19978
20403
|
security?: string | undefined;
|
|
19979
20404
|
premiumAmount?: number | undefined;
|
|
19980
|
-
summary?: string | undefined;
|
|
19981
|
-
linesOfBusiness?: string[] | undefined;
|
|
19982
20405
|
sections?: {
|
|
19983
20406
|
type: string;
|
|
19984
20407
|
title: string;
|
|
@@ -20173,27 +20596,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
20173
20596
|
corridorDeductible?: string | undefined;
|
|
20174
20597
|
waitingPeriod?: string | undefined;
|
|
20175
20598
|
} | undefined;
|
|
20176
|
-
insurer?: {
|
|
20177
|
-
sourceSpanIds: string[];
|
|
20178
|
-
legalName: string;
|
|
20179
|
-
documentNodeId?: string | undefined;
|
|
20180
|
-
sourceTextHash?: string | undefined;
|
|
20181
|
-
pageStart?: number | undefined;
|
|
20182
|
-
pageEnd?: number | undefined;
|
|
20183
|
-
address?: {
|
|
20184
|
-
street1: string;
|
|
20185
|
-
city: string;
|
|
20186
|
-
state: string;
|
|
20187
|
-
zip: string;
|
|
20188
|
-
street2?: string | undefined;
|
|
20189
|
-
country?: string | undefined;
|
|
20190
|
-
} | undefined;
|
|
20191
|
-
naicNumber?: string | undefined;
|
|
20192
|
-
amBestRating?: string | undefined;
|
|
20193
|
-
amBestNumber?: string | undefined;
|
|
20194
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
20195
|
-
stateOfDomicile?: string | undefined;
|
|
20196
|
-
} | undefined;
|
|
20197
20599
|
producer?: {
|
|
20198
20600
|
sourceSpanIds: string[];
|
|
20199
20601
|
agencyName: string;
|
|
@@ -20337,17 +20739,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
20337
20739
|
relationship?: string | undefined;
|
|
20338
20740
|
scope?: string | undefined;
|
|
20339
20741
|
}[] | undefined;
|
|
20340
|
-
taxesAndFees?: {
|
|
20341
|
-
name: string;
|
|
20342
|
-
amount: string;
|
|
20343
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
20344
|
-
description?: string | undefined;
|
|
20345
|
-
sourceSpanIds?: string[] | undefined;
|
|
20346
|
-
documentNodeId?: string | undefined;
|
|
20347
|
-
sourceTextHash?: string | undefined;
|
|
20348
|
-
amountValue?: number | undefined;
|
|
20349
|
-
}[] | undefined;
|
|
20350
|
-
totalCost?: string | undefined;
|
|
20351
20742
|
totalCostAmount?: number | undefined;
|
|
20352
20743
|
minimumPremium?: string | undefined;
|
|
20353
20744
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -20425,28 +20816,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
20425
20816
|
}, {
|
|
20426
20817
|
description: string;
|
|
20427
20818
|
}>, "many">>;
|
|
20428
|
-
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20429
|
-
line: z.ZodString;
|
|
20430
|
-
amount: z.ZodString;
|
|
20431
|
-
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
20432
|
-
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
20433
|
-
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20434
|
-
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
20435
|
-
}, "strip", z.ZodTypeAny, {
|
|
20436
|
-
amount: string;
|
|
20437
|
-
line: string;
|
|
20438
|
-
sourceSpanIds?: string[] | undefined;
|
|
20439
|
-
documentNodeId?: string | undefined;
|
|
20440
|
-
sourceTextHash?: string | undefined;
|
|
20441
|
-
amountValue?: number | undefined;
|
|
20442
|
-
}, {
|
|
20443
|
-
amount: string;
|
|
20444
|
-
line: string;
|
|
20445
|
-
sourceSpanIds?: string[] | undefined;
|
|
20446
|
-
documentNodeId?: string | undefined;
|
|
20447
|
-
sourceTextHash?: string | undefined;
|
|
20448
|
-
amountValue?: number | undefined;
|
|
20449
|
-
}>, "many">>;
|
|
20450
20819
|
enrichedSubjectivities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20451
20820
|
description: z.ZodString;
|
|
20452
20821
|
category: z.ZodOptional<z.ZodEnum<["pre_binding", "post_binding", "information"]>>;
|
|
@@ -20503,6 +20872,28 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
20503
20872
|
insuredName: z.ZodString;
|
|
20504
20873
|
premium: z.ZodOptional<z.ZodString>;
|
|
20505
20874
|
premiumAmount: z.ZodOptional<z.ZodNumber>;
|
|
20875
|
+
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20876
|
+
line: z.ZodString;
|
|
20877
|
+
amount: z.ZodString;
|
|
20878
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
20879
|
+
documentNodeId: z.ZodOptional<z.ZodString>;
|
|
20880
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20881
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
20882
|
+
}, "strip", z.ZodTypeAny, {
|
|
20883
|
+
amount: string;
|
|
20884
|
+
line: string;
|
|
20885
|
+
sourceSpanIds?: string[] | undefined;
|
|
20886
|
+
documentNodeId?: string | undefined;
|
|
20887
|
+
sourceTextHash?: string | undefined;
|
|
20888
|
+
amountValue?: number | undefined;
|
|
20889
|
+
}, {
|
|
20890
|
+
amount: string;
|
|
20891
|
+
line: string;
|
|
20892
|
+
sourceSpanIds?: string[] | undefined;
|
|
20893
|
+
documentNodeId?: string | undefined;
|
|
20894
|
+
sourceTextHash?: string | undefined;
|
|
20895
|
+
amountValue?: number | undefined;
|
|
20896
|
+
}>, "many">>;
|
|
20506
20897
|
summary: z.ZodOptional<z.ZodString>;
|
|
20507
20898
|
linesOfBusiness: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20508
20899
|
coverages: z.ZodArray<z.ZodObject<{
|
|
@@ -20631,16 +21022,16 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
20631
21022
|
page: number;
|
|
20632
21023
|
sourceSpanIds?: string[] | undefined;
|
|
20633
21024
|
formNumber?: string | undefined;
|
|
20634
|
-
formTitle?: string | undefined;
|
|
20635
21025
|
label?: string | undefined;
|
|
21026
|
+
formTitle?: string | undefined;
|
|
20636
21027
|
sectionTitle?: string | undefined;
|
|
20637
21028
|
extractorNames?: string[] | undefined;
|
|
20638
21029
|
}, {
|
|
20639
21030
|
page: number;
|
|
20640
21031
|
sourceSpanIds?: string[] | undefined;
|
|
20641
21032
|
formNumber?: string | undefined;
|
|
20642
|
-
formTitle?: string | undefined;
|
|
20643
21033
|
label?: string | undefined;
|
|
21034
|
+
formTitle?: string | undefined;
|
|
20644
21035
|
sectionTitle?: string | undefined;
|
|
20645
21036
|
extractorNames?: string[] | undefined;
|
|
20646
21037
|
}>, "many">>;
|
|
@@ -20686,8 +21077,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
20686
21077
|
page: number;
|
|
20687
21078
|
sourceSpanIds?: string[] | undefined;
|
|
20688
21079
|
formNumber?: string | undefined;
|
|
20689
|
-
formTitle?: string | undefined;
|
|
20690
21080
|
label?: string | undefined;
|
|
21081
|
+
formTitle?: string | undefined;
|
|
20691
21082
|
sectionTitle?: string | undefined;
|
|
20692
21083
|
extractorNames?: string[] | undefined;
|
|
20693
21084
|
}[] | undefined;
|
|
@@ -20723,8 +21114,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
20723
21114
|
page: number;
|
|
20724
21115
|
sourceSpanIds?: string[] | undefined;
|
|
20725
21116
|
formNumber?: string | undefined;
|
|
20726
|
-
formTitle?: string | undefined;
|
|
20727
21117
|
label?: string | undefined;
|
|
21118
|
+
formTitle?: string | undefined;
|
|
20728
21119
|
sectionTitle?: string | undefined;
|
|
20729
21120
|
extractorNames?: string[] | undefined;
|
|
20730
21121
|
}[] | undefined;
|
|
@@ -21689,6 +22080,77 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
21689
22080
|
basisAmount?: string | undefined;
|
|
21690
22081
|
rate?: string | undefined;
|
|
21691
22082
|
}>, "many">>;
|
|
22083
|
+
coverageSchedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22084
|
+
name: z.ZodString;
|
|
22085
|
+
kind: z.ZodEnum<["vehicle", "property", "location", "other"]>;
|
|
22086
|
+
description: z.ZodOptional<z.ZodString>;
|
|
22087
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
22088
|
+
label: z.ZodString;
|
|
22089
|
+
description: z.ZodOptional<z.ZodString>;
|
|
22090
|
+
values: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
22091
|
+
label: z.ZodString;
|
|
22092
|
+
value: z.ZodString;
|
|
22093
|
+
}, "strip", z.ZodTypeAny, {
|
|
22094
|
+
value: string;
|
|
22095
|
+
label: string;
|
|
22096
|
+
}, {
|
|
22097
|
+
value: string;
|
|
22098
|
+
label: string;
|
|
22099
|
+
}>, "many">>;
|
|
22100
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
22101
|
+
}, "strip", z.ZodTypeAny, {
|
|
22102
|
+
values: {
|
|
22103
|
+
value: string;
|
|
22104
|
+
label: string;
|
|
22105
|
+
}[];
|
|
22106
|
+
sourceSpanIds: string[];
|
|
22107
|
+
label: string;
|
|
22108
|
+
description?: string | undefined;
|
|
22109
|
+
}, {
|
|
22110
|
+
label: string;
|
|
22111
|
+
description?: string | undefined;
|
|
22112
|
+
values?: {
|
|
22113
|
+
value: string;
|
|
22114
|
+
label: string;
|
|
22115
|
+
}[] | undefined;
|
|
22116
|
+
sourceSpanIds?: string[] | undefined;
|
|
22117
|
+
}>, "many">>;
|
|
22118
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
22119
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
22120
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
22121
|
+
}, "strip", z.ZodTypeAny, {
|
|
22122
|
+
sourceSpanIds: string[];
|
|
22123
|
+
name: string;
|
|
22124
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
22125
|
+
items: {
|
|
22126
|
+
values: {
|
|
22127
|
+
value: string;
|
|
22128
|
+
label: string;
|
|
22129
|
+
}[];
|
|
22130
|
+
sourceSpanIds: string[];
|
|
22131
|
+
label: string;
|
|
22132
|
+
description?: string | undefined;
|
|
22133
|
+
}[];
|
|
22134
|
+
description?: string | undefined;
|
|
22135
|
+
pageStart?: number | undefined;
|
|
22136
|
+
pageEnd?: number | undefined;
|
|
22137
|
+
}, {
|
|
22138
|
+
name: string;
|
|
22139
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
22140
|
+
description?: string | undefined;
|
|
22141
|
+
sourceSpanIds?: string[] | undefined;
|
|
22142
|
+
pageStart?: number | undefined;
|
|
22143
|
+
pageEnd?: number | undefined;
|
|
22144
|
+
items?: {
|
|
22145
|
+
label: string;
|
|
22146
|
+
description?: string | undefined;
|
|
22147
|
+
values?: {
|
|
22148
|
+
value: string;
|
|
22149
|
+
label: string;
|
|
22150
|
+
}[] | undefined;
|
|
22151
|
+
sourceSpanIds?: string[] | undefined;
|
|
22152
|
+
}[] | undefined;
|
|
22153
|
+
}>, "many">>;
|
|
21692
22154
|
formInventory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21693
22155
|
formNumber: z.ZodString;
|
|
21694
22156
|
editionDate: z.ZodOptional<z.ZodString>;
|
|
@@ -24801,8 +25263,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24801
25263
|
page: number;
|
|
24802
25264
|
sourceSpanIds?: string[] | undefined;
|
|
24803
25265
|
formNumber?: string | undefined;
|
|
24804
|
-
formTitle?: string | undefined;
|
|
24805
25266
|
label?: string | undefined;
|
|
25267
|
+
formTitle?: string | undefined;
|
|
24806
25268
|
sectionTitle?: string | undefined;
|
|
24807
25269
|
extractorNames?: string[] | undefined;
|
|
24808
25270
|
}[] | undefined;
|
|
@@ -25436,6 +25898,65 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
25436
25898
|
supplementalYears?: number | undefined;
|
|
25437
25899
|
supplementalPremium?: string | undefined;
|
|
25438
25900
|
} | undefined;
|
|
25901
|
+
insurer?: {
|
|
25902
|
+
sourceSpanIds: string[];
|
|
25903
|
+
legalName: string;
|
|
25904
|
+
documentNodeId?: string | undefined;
|
|
25905
|
+
sourceTextHash?: string | undefined;
|
|
25906
|
+
pageStart?: number | undefined;
|
|
25907
|
+
pageEnd?: number | undefined;
|
|
25908
|
+
address?: {
|
|
25909
|
+
street1: string;
|
|
25910
|
+
city: string;
|
|
25911
|
+
state: string;
|
|
25912
|
+
zip: string;
|
|
25913
|
+
street2?: string | undefined;
|
|
25914
|
+
country?: string | undefined;
|
|
25915
|
+
} | undefined;
|
|
25916
|
+
naicNumber?: string | undefined;
|
|
25917
|
+
amBestRating?: string | undefined;
|
|
25918
|
+
amBestNumber?: string | undefined;
|
|
25919
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
25920
|
+
stateOfDomicile?: string | undefined;
|
|
25921
|
+
} | undefined;
|
|
25922
|
+
summary?: string | undefined;
|
|
25923
|
+
linesOfBusiness?: string[] | undefined;
|
|
25924
|
+
coverageSchedules?: {
|
|
25925
|
+
sourceSpanIds: string[];
|
|
25926
|
+
name: string;
|
|
25927
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
25928
|
+
items: {
|
|
25929
|
+
values: {
|
|
25930
|
+
value: string;
|
|
25931
|
+
label: string;
|
|
25932
|
+
}[];
|
|
25933
|
+
sourceSpanIds: string[];
|
|
25934
|
+
label: string;
|
|
25935
|
+
description?: string | undefined;
|
|
25936
|
+
}[];
|
|
25937
|
+
description?: string | undefined;
|
|
25938
|
+
pageStart?: number | undefined;
|
|
25939
|
+
pageEnd?: number | undefined;
|
|
25940
|
+
}[] | undefined;
|
|
25941
|
+
premiumBreakdown?: {
|
|
25942
|
+
amount: string;
|
|
25943
|
+
line: string;
|
|
25944
|
+
sourceSpanIds?: string[] | undefined;
|
|
25945
|
+
documentNodeId?: string | undefined;
|
|
25946
|
+
sourceTextHash?: string | undefined;
|
|
25947
|
+
amountValue?: number | undefined;
|
|
25948
|
+
}[] | undefined;
|
|
25949
|
+
taxesAndFees?: {
|
|
25950
|
+
name: string;
|
|
25951
|
+
amount: string;
|
|
25952
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
25953
|
+
description?: string | undefined;
|
|
25954
|
+
sourceSpanIds?: string[] | undefined;
|
|
25955
|
+
documentNodeId?: string | undefined;
|
|
25956
|
+
sourceTextHash?: string | undefined;
|
|
25957
|
+
amountValue?: number | undefined;
|
|
25958
|
+
}[] | undefined;
|
|
25959
|
+
totalCost?: string | undefined;
|
|
25439
25960
|
formInventory?: {
|
|
25440
25961
|
formNumber: string;
|
|
25441
25962
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -25449,8 +25970,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
25449
25970
|
}[] | undefined;
|
|
25450
25971
|
security?: string | undefined;
|
|
25451
25972
|
premiumAmount?: number | undefined;
|
|
25452
|
-
summary?: string | undefined;
|
|
25453
|
-
linesOfBusiness?: string[] | undefined;
|
|
25454
25973
|
sections?: {
|
|
25455
25974
|
type: string;
|
|
25456
25975
|
title: string;
|
|
@@ -25645,36 +26164,15 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
25645
26164
|
corridorDeductible?: string | undefined;
|
|
25646
26165
|
waitingPeriod?: string | undefined;
|
|
25647
26166
|
} | undefined;
|
|
25648
|
-
|
|
26167
|
+
producer?: {
|
|
25649
26168
|
sourceSpanIds: string[];
|
|
25650
|
-
|
|
26169
|
+
agencyName: string;
|
|
25651
26170
|
documentNodeId?: string | undefined;
|
|
25652
26171
|
sourceTextHash?: string | undefined;
|
|
25653
26172
|
pageStart?: number | undefined;
|
|
25654
26173
|
pageEnd?: number | undefined;
|
|
25655
|
-
|
|
25656
|
-
|
|
25657
|
-
city: string;
|
|
25658
|
-
state: string;
|
|
25659
|
-
zip: string;
|
|
25660
|
-
street2?: string | undefined;
|
|
25661
|
-
country?: string | undefined;
|
|
25662
|
-
} | undefined;
|
|
25663
|
-
naicNumber?: string | undefined;
|
|
25664
|
-
amBestRating?: string | undefined;
|
|
25665
|
-
amBestNumber?: string | undefined;
|
|
25666
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
25667
|
-
stateOfDomicile?: string | undefined;
|
|
25668
|
-
} | undefined;
|
|
25669
|
-
producer?: {
|
|
25670
|
-
sourceSpanIds: string[];
|
|
25671
|
-
agencyName: string;
|
|
25672
|
-
documentNodeId?: string | undefined;
|
|
25673
|
-
sourceTextHash?: string | undefined;
|
|
25674
|
-
pageStart?: number | undefined;
|
|
25675
|
-
pageEnd?: number | undefined;
|
|
25676
|
-
phone?: string | undefined;
|
|
25677
|
-
email?: string | undefined;
|
|
26174
|
+
phone?: string | undefined;
|
|
26175
|
+
email?: string | undefined;
|
|
25678
26176
|
address?: {
|
|
25679
26177
|
street1: string;
|
|
25680
26178
|
city: string;
|
|
@@ -25809,17 +26307,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
25809
26307
|
relationship?: string | undefined;
|
|
25810
26308
|
scope?: string | undefined;
|
|
25811
26309
|
}[] | undefined;
|
|
25812
|
-
taxesAndFees?: {
|
|
25813
|
-
name: string;
|
|
25814
|
-
amount: string;
|
|
25815
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
25816
|
-
description?: string | undefined;
|
|
25817
|
-
sourceSpanIds?: string[] | undefined;
|
|
25818
|
-
documentNodeId?: string | undefined;
|
|
25819
|
-
sourceTextHash?: string | undefined;
|
|
25820
|
-
amountValue?: number | undefined;
|
|
25821
|
-
}[] | undefined;
|
|
25822
|
-
totalCost?: string | undefined;
|
|
25823
26310
|
totalCostAmount?: number | undefined;
|
|
25824
26311
|
minimumPremium?: string | undefined;
|
|
25825
26312
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -25884,14 +26371,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
25884
26371
|
underwritingConditions?: {
|
|
25885
26372
|
description: string;
|
|
25886
26373
|
}[] | undefined;
|
|
25887
|
-
premiumBreakdown?: {
|
|
25888
|
-
amount: string;
|
|
25889
|
-
line: string;
|
|
25890
|
-
sourceSpanIds?: string[] | undefined;
|
|
25891
|
-
documentNodeId?: string | undefined;
|
|
25892
|
-
sourceTextHash?: string | undefined;
|
|
25893
|
-
amountValue?: number | undefined;
|
|
25894
|
-
}[] | undefined;
|
|
25895
26374
|
enrichedSubjectivities?: {
|
|
25896
26375
|
description: string;
|
|
25897
26376
|
status?: "open" | "satisfied" | "waived" | undefined;
|
|
@@ -25963,8 +26442,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
25963
26442
|
page: number;
|
|
25964
26443
|
sourceSpanIds?: string[] | undefined;
|
|
25965
26444
|
formNumber?: string | undefined;
|
|
25966
|
-
formTitle?: string | undefined;
|
|
25967
26445
|
label?: string | undefined;
|
|
26446
|
+
formTitle?: string | undefined;
|
|
25968
26447
|
sectionTitle?: string | undefined;
|
|
25969
26448
|
extractorNames?: string[] | undefined;
|
|
25970
26449
|
}[] | undefined;
|
|
@@ -26598,6 +27077,65 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
26598
27077
|
supplementalYears?: number | undefined;
|
|
26599
27078
|
supplementalPremium?: string | undefined;
|
|
26600
27079
|
} | undefined;
|
|
27080
|
+
insurer?: {
|
|
27081
|
+
sourceSpanIds: string[];
|
|
27082
|
+
legalName: string;
|
|
27083
|
+
documentNodeId?: string | undefined;
|
|
27084
|
+
sourceTextHash?: string | undefined;
|
|
27085
|
+
pageStart?: number | undefined;
|
|
27086
|
+
pageEnd?: number | undefined;
|
|
27087
|
+
address?: {
|
|
27088
|
+
street1: string;
|
|
27089
|
+
city: string;
|
|
27090
|
+
state: string;
|
|
27091
|
+
zip: string;
|
|
27092
|
+
street2?: string | undefined;
|
|
27093
|
+
country?: string | undefined;
|
|
27094
|
+
} | undefined;
|
|
27095
|
+
naicNumber?: string | undefined;
|
|
27096
|
+
amBestRating?: string | undefined;
|
|
27097
|
+
amBestNumber?: string | undefined;
|
|
27098
|
+
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
27099
|
+
stateOfDomicile?: string | undefined;
|
|
27100
|
+
} | undefined;
|
|
27101
|
+
summary?: string | undefined;
|
|
27102
|
+
linesOfBusiness?: string[] | undefined;
|
|
27103
|
+
coverageSchedules?: {
|
|
27104
|
+
name: string;
|
|
27105
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
27106
|
+
description?: string | undefined;
|
|
27107
|
+
sourceSpanIds?: string[] | undefined;
|
|
27108
|
+
pageStart?: number | undefined;
|
|
27109
|
+
pageEnd?: number | undefined;
|
|
27110
|
+
items?: {
|
|
27111
|
+
label: string;
|
|
27112
|
+
description?: string | undefined;
|
|
27113
|
+
values?: {
|
|
27114
|
+
value: string;
|
|
27115
|
+
label: string;
|
|
27116
|
+
}[] | undefined;
|
|
27117
|
+
sourceSpanIds?: string[] | undefined;
|
|
27118
|
+
}[] | undefined;
|
|
27119
|
+
}[] | undefined;
|
|
27120
|
+
premiumBreakdown?: {
|
|
27121
|
+
amount: string;
|
|
27122
|
+
line: string;
|
|
27123
|
+
sourceSpanIds?: string[] | undefined;
|
|
27124
|
+
documentNodeId?: string | undefined;
|
|
27125
|
+
sourceTextHash?: string | undefined;
|
|
27126
|
+
amountValue?: number | undefined;
|
|
27127
|
+
}[] | undefined;
|
|
27128
|
+
taxesAndFees?: {
|
|
27129
|
+
name: string;
|
|
27130
|
+
amount: string;
|
|
27131
|
+
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
27132
|
+
description?: string | undefined;
|
|
27133
|
+
sourceSpanIds?: string[] | undefined;
|
|
27134
|
+
documentNodeId?: string | undefined;
|
|
27135
|
+
sourceTextHash?: string | undefined;
|
|
27136
|
+
amountValue?: number | undefined;
|
|
27137
|
+
}[] | undefined;
|
|
27138
|
+
totalCost?: string | undefined;
|
|
26601
27139
|
formInventory?: {
|
|
26602
27140
|
formNumber: string;
|
|
26603
27141
|
formType: "other" | "declarations" | "endorsement" | "application" | "notice" | "coverage";
|
|
@@ -26611,8 +27149,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
26611
27149
|
}[] | undefined;
|
|
26612
27150
|
security?: string | undefined;
|
|
26613
27151
|
premiumAmount?: number | undefined;
|
|
26614
|
-
summary?: string | undefined;
|
|
26615
|
-
linesOfBusiness?: string[] | undefined;
|
|
26616
27152
|
sections?: {
|
|
26617
27153
|
type: string;
|
|
26618
27154
|
title: string;
|
|
@@ -26807,27 +27343,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
26807
27343
|
corridorDeductible?: string | undefined;
|
|
26808
27344
|
waitingPeriod?: string | undefined;
|
|
26809
27345
|
} | undefined;
|
|
26810
|
-
insurer?: {
|
|
26811
|
-
sourceSpanIds: string[];
|
|
26812
|
-
legalName: string;
|
|
26813
|
-
documentNodeId?: string | undefined;
|
|
26814
|
-
sourceTextHash?: string | undefined;
|
|
26815
|
-
pageStart?: number | undefined;
|
|
26816
|
-
pageEnd?: number | undefined;
|
|
26817
|
-
address?: {
|
|
26818
|
-
street1: string;
|
|
26819
|
-
city: string;
|
|
26820
|
-
state: string;
|
|
26821
|
-
zip: string;
|
|
26822
|
-
street2?: string | undefined;
|
|
26823
|
-
country?: string | undefined;
|
|
26824
|
-
} | undefined;
|
|
26825
|
-
naicNumber?: string | undefined;
|
|
26826
|
-
amBestRating?: string | undefined;
|
|
26827
|
-
amBestNumber?: string | undefined;
|
|
26828
|
-
admittedStatus?: "admitted" | "non_admitted" | "surplus_lines" | undefined;
|
|
26829
|
-
stateOfDomicile?: string | undefined;
|
|
26830
|
-
} | undefined;
|
|
26831
27346
|
producer?: {
|
|
26832
27347
|
sourceSpanIds: string[];
|
|
26833
27348
|
agencyName: string;
|
|
@@ -26971,17 +27486,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
26971
27486
|
relationship?: string | undefined;
|
|
26972
27487
|
scope?: string | undefined;
|
|
26973
27488
|
}[] | undefined;
|
|
26974
|
-
taxesAndFees?: {
|
|
26975
|
-
name: string;
|
|
26976
|
-
amount: string;
|
|
26977
|
-
type?: "tax" | "fee" | "surcharge" | "assessment" | undefined;
|
|
26978
|
-
description?: string | undefined;
|
|
26979
|
-
sourceSpanIds?: string[] | undefined;
|
|
26980
|
-
documentNodeId?: string | undefined;
|
|
26981
|
-
sourceTextHash?: string | undefined;
|
|
26982
|
-
amountValue?: number | undefined;
|
|
26983
|
-
}[] | undefined;
|
|
26984
|
-
totalCost?: string | undefined;
|
|
26985
27489
|
totalCostAmount?: number | undefined;
|
|
26986
27490
|
minimumPremium?: string | undefined;
|
|
26987
27491
|
minimumPremiumAmount?: number | undefined;
|
|
@@ -27046,14 +27550,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
27046
27550
|
underwritingConditions?: {
|
|
27047
27551
|
description: string;
|
|
27048
27552
|
}[] | undefined;
|
|
27049
|
-
premiumBreakdown?: {
|
|
27050
|
-
amount: string;
|
|
27051
|
-
line: string;
|
|
27052
|
-
sourceSpanIds?: string[] | undefined;
|
|
27053
|
-
documentNodeId?: string | undefined;
|
|
27054
|
-
sourceTextHash?: string | undefined;
|
|
27055
|
-
amountValue?: number | undefined;
|
|
27056
|
-
}[] | undefined;
|
|
27057
27553
|
enrichedSubjectivities?: {
|
|
27058
27554
|
description: string;
|
|
27059
27555
|
status?: "open" | "satisfied" | "waived" | undefined;
|
|
@@ -27206,22 +27702,22 @@ declare const SourceSpanLocationSchema: z.ZodObject<{
|
|
|
27206
27702
|
fieldPath: z.ZodOptional<z.ZodString>;
|
|
27207
27703
|
}, "strip", z.ZodTypeAny, {
|
|
27208
27704
|
page?: number | undefined;
|
|
27209
|
-
fieldPath?: string | undefined;
|
|
27210
27705
|
startPage?: number | undefined;
|
|
27211
27706
|
endPage?: number | undefined;
|
|
27212
27707
|
charStart?: number | undefined;
|
|
27213
27708
|
charEnd?: number | undefined;
|
|
27214
27709
|
lineStart?: number | undefined;
|
|
27215
27710
|
lineEnd?: number | undefined;
|
|
27711
|
+
fieldPath?: string | undefined;
|
|
27216
27712
|
}, {
|
|
27217
27713
|
page?: number | undefined;
|
|
27218
|
-
fieldPath?: string | undefined;
|
|
27219
27714
|
startPage?: number | undefined;
|
|
27220
27715
|
endPage?: number | undefined;
|
|
27221
27716
|
charStart?: number | undefined;
|
|
27222
27717
|
charEnd?: number | undefined;
|
|
27223
27718
|
lineStart?: number | undefined;
|
|
27224
27719
|
lineEnd?: number | undefined;
|
|
27720
|
+
fieldPath?: string | undefined;
|
|
27225
27721
|
}>;
|
|
27226
27722
|
type SourceSpanLocation = z.infer<typeof SourceSpanLocationSchema>;
|
|
27227
27723
|
declare const SourceSpanTableLocationSchema: z.ZodObject<{
|
|
@@ -27320,44 +27816,33 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
27320
27816
|
fieldPath: z.ZodOptional<z.ZodString>;
|
|
27321
27817
|
}, "strip", z.ZodTypeAny, {
|
|
27322
27818
|
page?: number | undefined;
|
|
27323
|
-
fieldPath?: string | undefined;
|
|
27324
27819
|
startPage?: number | undefined;
|
|
27325
27820
|
endPage?: number | undefined;
|
|
27326
27821
|
charStart?: number | undefined;
|
|
27327
27822
|
charEnd?: number | undefined;
|
|
27328
27823
|
lineStart?: number | undefined;
|
|
27329
27824
|
lineEnd?: number | undefined;
|
|
27825
|
+
fieldPath?: string | undefined;
|
|
27330
27826
|
}, {
|
|
27331
27827
|
page?: number | undefined;
|
|
27332
|
-
fieldPath?: string | undefined;
|
|
27333
27828
|
startPage?: number | undefined;
|
|
27334
27829
|
endPage?: number | undefined;
|
|
27335
27830
|
charStart?: number | undefined;
|
|
27336
27831
|
charEnd?: number | undefined;
|
|
27337
27832
|
lineStart?: number | undefined;
|
|
27338
27833
|
lineEnd?: number | undefined;
|
|
27834
|
+
fieldPath?: string | undefined;
|
|
27339
27835
|
}>>;
|
|
27340
27836
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
27341
27837
|
}, "strip", z.ZodTypeAny, {
|
|
27342
|
-
|
|
27838
|
+
text: string;
|
|
27343
27839
|
id: string;
|
|
27344
27840
|
documentId: string;
|
|
27345
|
-
|
|
27841
|
+
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
27346
27842
|
hash: string;
|
|
27347
27843
|
pageStart?: number | undefined;
|
|
27348
27844
|
pageEnd?: number | undefined;
|
|
27349
27845
|
formNumber?: string | undefined;
|
|
27350
|
-
metadata?: Record<string, string> | undefined;
|
|
27351
|
-
location?: {
|
|
27352
|
-
page?: number | undefined;
|
|
27353
|
-
fieldPath?: string | undefined;
|
|
27354
|
-
startPage?: number | undefined;
|
|
27355
|
-
endPage?: number | undefined;
|
|
27356
|
-
charStart?: number | undefined;
|
|
27357
|
-
charEnd?: number | undefined;
|
|
27358
|
-
lineStart?: number | undefined;
|
|
27359
|
-
lineEnd?: number | undefined;
|
|
27360
|
-
} | undefined;
|
|
27361
27846
|
table?: {
|
|
27362
27847
|
tableId?: string | undefined;
|
|
27363
27848
|
rowIndex?: number | undefined;
|
|
@@ -27371,7 +27856,7 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
27371
27856
|
chunkId?: string | undefined;
|
|
27372
27857
|
textHash?: string | undefined;
|
|
27373
27858
|
sectionId?: string | undefined;
|
|
27374
|
-
sourceUnit?: "page" | "
|
|
27859
|
+
sourceUnit?: "page" | "section" | "table" | "table_row" | "table_cell" | "key_value" | "text" | undefined;
|
|
27375
27860
|
parentSpanId?: string | undefined;
|
|
27376
27861
|
bbox?: {
|
|
27377
27862
|
page: number;
|
|
@@ -27380,26 +27865,26 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
27380
27865
|
width: number;
|
|
27381
27866
|
height: number;
|
|
27382
27867
|
}[] | undefined;
|
|
27383
|
-
}, {
|
|
27384
|
-
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
27385
|
-
id: string;
|
|
27386
|
-
documentId: string;
|
|
27387
|
-
text: string;
|
|
27388
|
-
hash: string;
|
|
27389
|
-
pageStart?: number | undefined;
|
|
27390
|
-
pageEnd?: number | undefined;
|
|
27391
|
-
formNumber?: string | undefined;
|
|
27392
|
-
metadata?: Record<string, string> | undefined;
|
|
27393
27868
|
location?: {
|
|
27394
27869
|
page?: number | undefined;
|
|
27395
|
-
fieldPath?: string | undefined;
|
|
27396
27870
|
startPage?: number | undefined;
|
|
27397
27871
|
endPage?: number | undefined;
|
|
27398
27872
|
charStart?: number | undefined;
|
|
27399
27873
|
charEnd?: number | undefined;
|
|
27400
27874
|
lineStart?: number | undefined;
|
|
27401
27875
|
lineEnd?: number | undefined;
|
|
27876
|
+
fieldPath?: string | undefined;
|
|
27402
27877
|
} | undefined;
|
|
27878
|
+
metadata?: Record<string, string> | undefined;
|
|
27879
|
+
}, {
|
|
27880
|
+
text: string;
|
|
27881
|
+
id: string;
|
|
27882
|
+
documentId: string;
|
|
27883
|
+
kind: "pdf_text" | "pdf_image" | "html" | "markdown" | "plain_text" | "structured_field";
|
|
27884
|
+
hash: string;
|
|
27885
|
+
pageStart?: number | undefined;
|
|
27886
|
+
pageEnd?: number | undefined;
|
|
27887
|
+
formNumber?: string | undefined;
|
|
27403
27888
|
table?: {
|
|
27404
27889
|
tableId?: string | undefined;
|
|
27405
27890
|
rowIndex?: number | undefined;
|
|
@@ -27413,7 +27898,7 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
27413
27898
|
chunkId?: string | undefined;
|
|
27414
27899
|
textHash?: string | undefined;
|
|
27415
27900
|
sectionId?: string | undefined;
|
|
27416
|
-
sourceUnit?: "page" | "
|
|
27901
|
+
sourceUnit?: "page" | "section" | "table" | "table_row" | "table_cell" | "key_value" | "text" | undefined;
|
|
27417
27902
|
parentSpanId?: string | undefined;
|
|
27418
27903
|
bbox?: {
|
|
27419
27904
|
page: number;
|
|
@@ -27422,6 +27907,17 @@ declare const SourceSpanSchema: z.ZodObject<{
|
|
|
27422
27907
|
width: number;
|
|
27423
27908
|
height: number;
|
|
27424
27909
|
}[] | undefined;
|
|
27910
|
+
location?: {
|
|
27911
|
+
page?: number | undefined;
|
|
27912
|
+
startPage?: number | undefined;
|
|
27913
|
+
endPage?: number | undefined;
|
|
27914
|
+
charStart?: number | undefined;
|
|
27915
|
+
charEnd?: number | undefined;
|
|
27916
|
+
lineStart?: number | undefined;
|
|
27917
|
+
lineEnd?: number | undefined;
|
|
27918
|
+
fieldPath?: string | undefined;
|
|
27919
|
+
} | undefined;
|
|
27920
|
+
metadata?: Record<string, string> | undefined;
|
|
27425
27921
|
}>;
|
|
27426
27922
|
type SourceSpan = z.infer<typeof SourceSpanSchema>;
|
|
27427
27923
|
declare const SourceSpanRefSchema: z.ZodObject<{
|
|
@@ -27441,55 +27937,55 @@ declare const SourceSpanRefSchema: z.ZodObject<{
|
|
|
27441
27937
|
fieldPath: z.ZodOptional<z.ZodString>;
|
|
27442
27938
|
}, "strip", z.ZodTypeAny, {
|
|
27443
27939
|
page?: number | undefined;
|
|
27444
|
-
fieldPath?: string | undefined;
|
|
27445
27940
|
startPage?: number | undefined;
|
|
27446
27941
|
endPage?: number | undefined;
|
|
27447
27942
|
charStart?: number | undefined;
|
|
27448
27943
|
charEnd?: number | undefined;
|
|
27449
27944
|
lineStart?: number | undefined;
|
|
27450
27945
|
lineEnd?: number | undefined;
|
|
27946
|
+
fieldPath?: string | undefined;
|
|
27451
27947
|
}, {
|
|
27452
27948
|
page?: number | undefined;
|
|
27453
|
-
fieldPath?: string | undefined;
|
|
27454
27949
|
startPage?: number | undefined;
|
|
27455
27950
|
endPage?: number | undefined;
|
|
27456
27951
|
charStart?: number | undefined;
|
|
27457
27952
|
charEnd?: number | undefined;
|
|
27458
27953
|
lineStart?: number | undefined;
|
|
27459
27954
|
lineEnd?: number | undefined;
|
|
27955
|
+
fieldPath?: string | undefined;
|
|
27460
27956
|
}>>;
|
|
27461
27957
|
}, "strip", z.ZodTypeAny, {
|
|
27462
27958
|
sourceSpanId: string;
|
|
27463
27959
|
quote?: string | undefined;
|
|
27464
27960
|
documentId?: string | undefined;
|
|
27961
|
+
chunkId?: string | undefined;
|
|
27962
|
+
hash?: string | undefined;
|
|
27465
27963
|
location?: {
|
|
27466
27964
|
page?: number | undefined;
|
|
27467
|
-
fieldPath?: string | undefined;
|
|
27468
27965
|
startPage?: number | undefined;
|
|
27469
27966
|
endPage?: number | undefined;
|
|
27470
27967
|
charStart?: number | undefined;
|
|
27471
27968
|
charEnd?: number | undefined;
|
|
27472
27969
|
lineStart?: number | undefined;
|
|
27473
27970
|
lineEnd?: number | undefined;
|
|
27971
|
+
fieldPath?: string | undefined;
|
|
27474
27972
|
} | undefined;
|
|
27475
|
-
chunkId?: string | undefined;
|
|
27476
|
-
hash?: string | undefined;
|
|
27477
27973
|
}, {
|
|
27478
27974
|
sourceSpanId: string;
|
|
27479
27975
|
quote?: string | undefined;
|
|
27480
27976
|
documentId?: string | undefined;
|
|
27977
|
+
chunkId?: string | undefined;
|
|
27978
|
+
hash?: string | undefined;
|
|
27481
27979
|
location?: {
|
|
27482
27980
|
page?: number | undefined;
|
|
27483
|
-
fieldPath?: string | undefined;
|
|
27484
27981
|
startPage?: number | undefined;
|
|
27485
27982
|
endPage?: number | undefined;
|
|
27486
27983
|
charStart?: number | undefined;
|
|
27487
27984
|
charEnd?: number | undefined;
|
|
27488
27985
|
lineStart?: number | undefined;
|
|
27489
27986
|
lineEnd?: number | undefined;
|
|
27987
|
+
fieldPath?: string | undefined;
|
|
27490
27988
|
} | undefined;
|
|
27491
|
-
chunkId?: string | undefined;
|
|
27492
|
-
hash?: string | undefined;
|
|
27493
27989
|
}>;
|
|
27494
27990
|
type SourceSpanRef = z.infer<typeof SourceSpanRefSchema>;
|
|
27495
27991
|
declare const SourceChunkSchema: z.ZodObject<{
|
|
@@ -27503,18 +27999,18 @@ declare const SourceChunkSchema: z.ZodObject<{
|
|
|
27503
27999
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
27504
28000
|
}, "strip", z.ZodTypeAny, {
|
|
27505
28001
|
sourceSpanIds: string[];
|
|
28002
|
+
text: string;
|
|
27506
28003
|
id: string;
|
|
27507
28004
|
documentId: string;
|
|
27508
|
-
text: string;
|
|
27509
|
-
metadata: Record<string, string>;
|
|
27510
28005
|
textHash: string;
|
|
28006
|
+
metadata: Record<string, string>;
|
|
27511
28007
|
pageStart?: number | undefined;
|
|
27512
28008
|
pageEnd?: number | undefined;
|
|
27513
28009
|
}, {
|
|
27514
28010
|
sourceSpanIds: string[];
|
|
28011
|
+
text: string;
|
|
27515
28012
|
id: string;
|
|
27516
28013
|
documentId: string;
|
|
27517
|
-
text: string;
|
|
27518
28014
|
textHash: string;
|
|
27519
28015
|
pageStart?: number | undefined;
|
|
27520
28016
|
pageEnd?: number | undefined;
|
|
@@ -27561,13 +28057,12 @@ declare const DocumentSourceNodeSchema: z.ZodObject<{
|
|
|
27561
28057
|
path: string;
|
|
27562
28058
|
title: string;
|
|
27563
28059
|
sourceSpanIds: string[];
|
|
27564
|
-
kind: "endorsement" | "schedule" | "page" | "text" | "section" | "table" | "table_row" | "table_cell" | "document" | "page_group" | "form" | "clause";
|
|
27565
28060
|
id: string;
|
|
27566
28061
|
documentId: string;
|
|
28062
|
+
kind: "endorsement" | "schedule" | "page" | "section" | "table" | "table_row" | "table_cell" | "text" | "document" | "page_group" | "form" | "clause";
|
|
27567
28063
|
order: number;
|
|
27568
28064
|
pageStart?: number | undefined;
|
|
27569
28065
|
pageEnd?: number | undefined;
|
|
27570
|
-
metadata?: Record<string, unknown> | undefined;
|
|
27571
28066
|
bbox?: {
|
|
27572
28067
|
page: number;
|
|
27573
28068
|
x: number;
|
|
@@ -27575,6 +28070,7 @@ declare const DocumentSourceNodeSchema: z.ZodObject<{
|
|
|
27575
28070
|
width: number;
|
|
27576
28071
|
height: number;
|
|
27577
28072
|
}[] | undefined;
|
|
28073
|
+
metadata?: Record<string, unknown> | undefined;
|
|
27578
28074
|
parentId?: string | undefined;
|
|
27579
28075
|
textExcerpt?: string | undefined;
|
|
27580
28076
|
}, {
|
|
@@ -27582,13 +28078,12 @@ declare const DocumentSourceNodeSchema: z.ZodObject<{
|
|
|
27582
28078
|
path: string;
|
|
27583
28079
|
title: string;
|
|
27584
28080
|
sourceSpanIds: string[];
|
|
27585
|
-
kind: "endorsement" | "schedule" | "page" | "text" | "section" | "table" | "table_row" | "table_cell" | "document" | "page_group" | "form" | "clause";
|
|
27586
28081
|
id: string;
|
|
27587
28082
|
documentId: string;
|
|
28083
|
+
kind: "endorsement" | "schedule" | "page" | "section" | "table" | "table_row" | "table_cell" | "text" | "document" | "page_group" | "form" | "clause";
|
|
27588
28084
|
order: number;
|
|
27589
28085
|
pageStart?: number | undefined;
|
|
27590
28086
|
pageEnd?: number | undefined;
|
|
27591
|
-
metadata?: Record<string, unknown> | undefined;
|
|
27592
28087
|
bbox?: {
|
|
27593
28088
|
page: number;
|
|
27594
28089
|
x: number;
|
|
@@ -27596,6 +28091,7 @@ declare const DocumentSourceNodeSchema: z.ZodObject<{
|
|
|
27596
28091
|
width: number;
|
|
27597
28092
|
height: number;
|
|
27598
28093
|
}[] | undefined;
|
|
28094
|
+
metadata?: Record<string, unknown> | undefined;
|
|
27599
28095
|
parentId?: string | undefined;
|
|
27600
28096
|
textExcerpt?: string | undefined;
|
|
27601
28097
|
}>;
|
|
@@ -27615,8 +28111,8 @@ declare const SourceBackedValueSchema: z.ZodObject<{
|
|
|
27615
28111
|
}, {
|
|
27616
28112
|
value: string;
|
|
27617
28113
|
sourceSpanIds?: string[] | undefined;
|
|
27618
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
27619
28114
|
normalizedValue?: string | undefined;
|
|
28115
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27620
28116
|
sourceNodeIds?: string[] | undefined;
|
|
27621
28117
|
}>;
|
|
27622
28118
|
type SourceBackedValue = z.infer<typeof SourceBackedValueSchema>;
|
|
@@ -27685,7 +28181,7 @@ declare const OperationalDeclarationFactSchema: z.ZodObject<{
|
|
|
27685
28181
|
sourceSpanIds: string[];
|
|
27686
28182
|
confidence: "low" | "medium" | "high";
|
|
27687
28183
|
sourceNodeIds: string[];
|
|
27688
|
-
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "
|
|
28184
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured" | "insurer" | "broker" | "expirationDate";
|
|
27689
28185
|
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
27690
28186
|
address?: {
|
|
27691
28187
|
street1?: string | undefined;
|
|
@@ -27696,11 +28192,11 @@ declare const OperationalDeclarationFactSchema: z.ZodObject<{
|
|
|
27696
28192
|
country?: string | undefined;
|
|
27697
28193
|
formatted?: string | undefined;
|
|
27698
28194
|
} | undefined;
|
|
27699
|
-
label?: string | undefined;
|
|
27700
28195
|
normalizedValue?: string | undefined;
|
|
28196
|
+
label?: string | undefined;
|
|
27701
28197
|
}, {
|
|
27702
28198
|
value: string;
|
|
27703
|
-
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "
|
|
28199
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured" | "insurer" | "broker" | "expirationDate";
|
|
27704
28200
|
sourceSpanIds?: string[] | undefined;
|
|
27705
28201
|
address?: {
|
|
27706
28202
|
street1?: string | undefined;
|
|
@@ -27711,10 +28207,10 @@ declare const OperationalDeclarationFactSchema: z.ZodObject<{
|
|
|
27711
28207
|
country?: string | undefined;
|
|
27712
28208
|
formatted?: string | undefined;
|
|
27713
28209
|
} | undefined;
|
|
27714
|
-
label?: string | undefined;
|
|
27715
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
27716
28210
|
normalizedValue?: string | undefined;
|
|
28211
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27717
28212
|
sourceNodeIds?: string[] | undefined;
|
|
28213
|
+
label?: string | undefined;
|
|
27718
28214
|
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
27719
28215
|
}>;
|
|
27720
28216
|
type OperationalDeclarationFact = z.infer<typeof OperationalDeclarationFactSchema>;
|
|
@@ -27729,9 +28225,9 @@ declare const OperationalCoverageTermSchema: z.ZodObject<{
|
|
|
27729
28225
|
}, "strip", z.ZodTypeAny, {
|
|
27730
28226
|
value: string;
|
|
27731
28227
|
sourceSpanIds: string[];
|
|
27732
|
-
label: string;
|
|
27733
28228
|
kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
|
|
27734
28229
|
sourceNodeIds: string[];
|
|
28230
|
+
label: string;
|
|
27735
28231
|
amount?: number | undefined;
|
|
27736
28232
|
appliesTo?: string | undefined;
|
|
27737
28233
|
}, {
|
|
@@ -27766,9 +28262,9 @@ declare const OperationalCoverageLineSchema: z.ZodObject<{
|
|
|
27766
28262
|
}, "strip", z.ZodTypeAny, {
|
|
27767
28263
|
value: string;
|
|
27768
28264
|
sourceSpanIds: string[];
|
|
27769
|
-
label: string;
|
|
27770
28265
|
kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
|
|
27771
28266
|
sourceNodeIds: string[];
|
|
28267
|
+
label: string;
|
|
27772
28268
|
amount?: number | undefined;
|
|
27773
28269
|
appliesTo?: string | undefined;
|
|
27774
28270
|
}, {
|
|
@@ -27788,9 +28284,9 @@ declare const OperationalCoverageLineSchema: z.ZodObject<{
|
|
|
27788
28284
|
limits: {
|
|
27789
28285
|
value: string;
|
|
27790
28286
|
sourceSpanIds: string[];
|
|
27791
|
-
label: string;
|
|
27792
28287
|
kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
|
|
27793
28288
|
sourceNodeIds: string[];
|
|
28289
|
+
label: string;
|
|
27794
28290
|
amount?: number | undefined;
|
|
27795
28291
|
appliesTo?: string | undefined;
|
|
27796
28292
|
}[];
|
|
@@ -27828,6 +28324,167 @@ declare const OperationalCoverageLineSchema: z.ZodObject<{
|
|
|
27828
28324
|
endorsementNumber?: string | undefined;
|
|
27829
28325
|
}>;
|
|
27830
28326
|
type OperationalCoverageLine = z.infer<typeof OperationalCoverageLineSchema>;
|
|
28327
|
+
declare const OperationalCoverageScheduleValueSchema: z.ZodObject<{
|
|
28328
|
+
label: z.ZodString;
|
|
28329
|
+
value: z.ZodString;
|
|
28330
|
+
}, "strip", z.ZodTypeAny, {
|
|
28331
|
+
value: string;
|
|
28332
|
+
label: string;
|
|
28333
|
+
}, {
|
|
28334
|
+
value: string;
|
|
28335
|
+
label: string;
|
|
28336
|
+
}>;
|
|
28337
|
+
type OperationalCoverageScheduleValue = z.infer<typeof OperationalCoverageScheduleValueSchema>;
|
|
28338
|
+
declare const OperationalCoverageScheduleItemSchema: z.ZodObject<{
|
|
28339
|
+
label: z.ZodString;
|
|
28340
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28341
|
+
values: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28342
|
+
label: z.ZodString;
|
|
28343
|
+
value: z.ZodString;
|
|
28344
|
+
}, "strip", z.ZodTypeAny, {
|
|
28345
|
+
value: string;
|
|
28346
|
+
label: string;
|
|
28347
|
+
}, {
|
|
28348
|
+
value: string;
|
|
28349
|
+
label: string;
|
|
28350
|
+
}>, "many">>;
|
|
28351
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28352
|
+
}, "strip", z.ZodTypeAny, {
|
|
28353
|
+
values: {
|
|
28354
|
+
value: string;
|
|
28355
|
+
label: string;
|
|
28356
|
+
}[];
|
|
28357
|
+
sourceSpanIds: string[];
|
|
28358
|
+
label: string;
|
|
28359
|
+
description?: string | undefined;
|
|
28360
|
+
}, {
|
|
28361
|
+
label: string;
|
|
28362
|
+
description?: string | undefined;
|
|
28363
|
+
values?: {
|
|
28364
|
+
value: string;
|
|
28365
|
+
label: string;
|
|
28366
|
+
}[] | undefined;
|
|
28367
|
+
sourceSpanIds?: string[] | undefined;
|
|
28368
|
+
}>;
|
|
28369
|
+
type OperationalCoverageScheduleItem = z.infer<typeof OperationalCoverageScheduleItemSchema>;
|
|
28370
|
+
declare const OperationalCoverageScheduleSchema: z.ZodObject<{
|
|
28371
|
+
name: z.ZodString;
|
|
28372
|
+
kind: z.ZodEnum<["vehicle", "property", "location", "other"]>;
|
|
28373
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28374
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28375
|
+
label: z.ZodString;
|
|
28376
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28377
|
+
values: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28378
|
+
label: z.ZodString;
|
|
28379
|
+
value: z.ZodString;
|
|
28380
|
+
}, "strip", z.ZodTypeAny, {
|
|
28381
|
+
value: string;
|
|
28382
|
+
label: string;
|
|
28383
|
+
}, {
|
|
28384
|
+
value: string;
|
|
28385
|
+
label: string;
|
|
28386
|
+
}>, "many">>;
|
|
28387
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28388
|
+
}, "strip", z.ZodTypeAny, {
|
|
28389
|
+
values: {
|
|
28390
|
+
value: string;
|
|
28391
|
+
label: string;
|
|
28392
|
+
}[];
|
|
28393
|
+
sourceSpanIds: string[];
|
|
28394
|
+
label: string;
|
|
28395
|
+
description?: string | undefined;
|
|
28396
|
+
}, {
|
|
28397
|
+
label: string;
|
|
28398
|
+
description?: string | undefined;
|
|
28399
|
+
values?: {
|
|
28400
|
+
value: string;
|
|
28401
|
+
label: string;
|
|
28402
|
+
}[] | undefined;
|
|
28403
|
+
sourceSpanIds?: string[] | undefined;
|
|
28404
|
+
}>, "many">>;
|
|
28405
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28406
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
28407
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
28408
|
+
}, "strip", z.ZodTypeAny, {
|
|
28409
|
+
sourceSpanIds: string[];
|
|
28410
|
+
name: string;
|
|
28411
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
28412
|
+
items: {
|
|
28413
|
+
values: {
|
|
28414
|
+
value: string;
|
|
28415
|
+
label: string;
|
|
28416
|
+
}[];
|
|
28417
|
+
sourceSpanIds: string[];
|
|
28418
|
+
label: string;
|
|
28419
|
+
description?: string | undefined;
|
|
28420
|
+
}[];
|
|
28421
|
+
description?: string | undefined;
|
|
28422
|
+
pageStart?: number | undefined;
|
|
28423
|
+
pageEnd?: number | undefined;
|
|
28424
|
+
}, {
|
|
28425
|
+
name: string;
|
|
28426
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
28427
|
+
description?: string | undefined;
|
|
28428
|
+
sourceSpanIds?: string[] | undefined;
|
|
28429
|
+
pageStart?: number | undefined;
|
|
28430
|
+
pageEnd?: number | undefined;
|
|
28431
|
+
items?: {
|
|
28432
|
+
label: string;
|
|
28433
|
+
description?: string | undefined;
|
|
28434
|
+
values?: {
|
|
28435
|
+
value: string;
|
|
28436
|
+
label: string;
|
|
28437
|
+
}[] | undefined;
|
|
28438
|
+
sourceSpanIds?: string[] | undefined;
|
|
28439
|
+
}[] | undefined;
|
|
28440
|
+
}>;
|
|
28441
|
+
type OperationalCoverageSchedule = z.infer<typeof OperationalCoverageScheduleSchema>;
|
|
28442
|
+
declare const OperationalPremiumLineSchema: z.ZodObject<{
|
|
28443
|
+
line: z.ZodString;
|
|
28444
|
+
amount: z.ZodString;
|
|
28445
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
28446
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28447
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28448
|
+
}, "strip", z.ZodTypeAny, {
|
|
28449
|
+
sourceSpanIds: string[];
|
|
28450
|
+
amount: string;
|
|
28451
|
+
line: string;
|
|
28452
|
+
sourceNodeIds: string[];
|
|
28453
|
+
amountValue?: number | undefined;
|
|
28454
|
+
}, {
|
|
28455
|
+
amount: string;
|
|
28456
|
+
line: string;
|
|
28457
|
+
sourceSpanIds?: string[] | undefined;
|
|
28458
|
+
amountValue?: number | undefined;
|
|
28459
|
+
sourceNodeIds?: string[] | undefined;
|
|
28460
|
+
}>;
|
|
28461
|
+
type OperationalPremiumLine = z.infer<typeof OperationalPremiumLineSchema>;
|
|
28462
|
+
declare const OperationalTaxFeeItemSchema: z.ZodObject<{
|
|
28463
|
+
name: z.ZodString;
|
|
28464
|
+
amount: z.ZodString;
|
|
28465
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
28466
|
+
type: z.ZodOptional<z.ZodString>;
|
|
28467
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28468
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28469
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28470
|
+
}, "strip", z.ZodTypeAny, {
|
|
28471
|
+
sourceSpanIds: string[];
|
|
28472
|
+
name: string;
|
|
28473
|
+
amount: string;
|
|
28474
|
+
sourceNodeIds: string[];
|
|
28475
|
+
type?: string | undefined;
|
|
28476
|
+
description?: string | undefined;
|
|
28477
|
+
amountValue?: number | undefined;
|
|
28478
|
+
}, {
|
|
28479
|
+
name: string;
|
|
28480
|
+
amount: string;
|
|
28481
|
+
type?: string | undefined;
|
|
28482
|
+
description?: string | undefined;
|
|
28483
|
+
sourceSpanIds?: string[] | undefined;
|
|
28484
|
+
amountValue?: number | undefined;
|
|
28485
|
+
sourceNodeIds?: string[] | undefined;
|
|
28486
|
+
}>;
|
|
28487
|
+
type OperationalTaxFeeItem = z.infer<typeof OperationalTaxFeeItemSchema>;
|
|
27831
28488
|
declare const OperationalPartySchema: z.ZodObject<{
|
|
27832
28489
|
role: z.ZodString;
|
|
27833
28490
|
name: z.ZodString;
|
|
@@ -27898,8 +28555,8 @@ declare const OperationalEndorsementSupportSchema: z.ZodObject<{
|
|
|
27898
28555
|
status: "supported" | "excluded" | "requires_review";
|
|
27899
28556
|
sourceSpanIds: string[];
|
|
27900
28557
|
kind: string;
|
|
27901
|
-
summary: string;
|
|
27902
28558
|
sourceNodeIds: string[];
|
|
28559
|
+
summary: string;
|
|
27903
28560
|
}, {
|
|
27904
28561
|
status: "supported" | "excluded" | "requires_review";
|
|
27905
28562
|
kind: string;
|
|
@@ -27926,8 +28583,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27926
28583
|
}, {
|
|
27927
28584
|
value: string;
|
|
27928
28585
|
sourceSpanIds?: string[] | undefined;
|
|
27929
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
27930
28586
|
normalizedValue?: string | undefined;
|
|
28587
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27931
28588
|
sourceNodeIds?: string[] | undefined;
|
|
27932
28589
|
}>>;
|
|
27933
28590
|
namedInsured: z.ZodOptional<z.ZodObject<{
|
|
@@ -27945,8 +28602,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27945
28602
|
}, {
|
|
27946
28603
|
value: string;
|
|
27947
28604
|
sourceSpanIds?: string[] | undefined;
|
|
27948
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
27949
28605
|
normalizedValue?: string | undefined;
|
|
28606
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27950
28607
|
sourceNodeIds?: string[] | undefined;
|
|
27951
28608
|
}>>;
|
|
27952
28609
|
insurer: z.ZodOptional<z.ZodObject<{
|
|
@@ -27964,8 +28621,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27964
28621
|
}, {
|
|
27965
28622
|
value: string;
|
|
27966
28623
|
sourceSpanIds?: string[] | undefined;
|
|
27967
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
27968
28624
|
normalizedValue?: string | undefined;
|
|
28625
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27969
28626
|
sourceNodeIds?: string[] | undefined;
|
|
27970
28627
|
}>>;
|
|
27971
28628
|
broker: z.ZodOptional<z.ZodObject<{
|
|
@@ -27983,8 +28640,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
27983
28640
|
}, {
|
|
27984
28641
|
value: string;
|
|
27985
28642
|
sourceSpanIds?: string[] | undefined;
|
|
27986
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
27987
28643
|
normalizedValue?: string | undefined;
|
|
28644
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
27988
28645
|
sourceNodeIds?: string[] | undefined;
|
|
27989
28646
|
}>>;
|
|
27990
28647
|
effectiveDate: z.ZodOptional<z.ZodObject<{
|
|
@@ -28002,8 +28659,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28002
28659
|
}, {
|
|
28003
28660
|
value: string;
|
|
28004
28661
|
sourceSpanIds?: string[] | undefined;
|
|
28005
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28006
28662
|
normalizedValue?: string | undefined;
|
|
28663
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28007
28664
|
sourceNodeIds?: string[] | undefined;
|
|
28008
28665
|
}>>;
|
|
28009
28666
|
expirationDate: z.ZodOptional<z.ZodObject<{
|
|
@@ -28021,8 +28678,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28021
28678
|
}, {
|
|
28022
28679
|
value: string;
|
|
28023
28680
|
sourceSpanIds?: string[] | undefined;
|
|
28024
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28025
28681
|
normalizedValue?: string | undefined;
|
|
28682
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28026
28683
|
sourceNodeIds?: string[] | undefined;
|
|
28027
28684
|
}>>;
|
|
28028
28685
|
retroactiveDate: z.ZodOptional<z.ZodObject<{
|
|
@@ -28040,8 +28697,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28040
28697
|
}, {
|
|
28041
28698
|
value: string;
|
|
28042
28699
|
sourceSpanIds?: string[] | undefined;
|
|
28043
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28044
28700
|
normalizedValue?: string | undefined;
|
|
28701
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28045
28702
|
sourceNodeIds?: string[] | undefined;
|
|
28046
28703
|
}>>;
|
|
28047
28704
|
premium: z.ZodOptional<z.ZodObject<{
|
|
@@ -28059,8 +28716,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28059
28716
|
}, {
|
|
28060
28717
|
value: string;
|
|
28061
28718
|
sourceSpanIds?: string[] | undefined;
|
|
28062
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28063
28719
|
normalizedValue?: string | undefined;
|
|
28720
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28064
28721
|
sourceNodeIds?: string[] | undefined;
|
|
28065
28722
|
}>>;
|
|
28066
28723
|
operationsDescription: z.ZodOptional<z.ZodObject<{
|
|
@@ -28078,8 +28735,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28078
28735
|
}, {
|
|
28079
28736
|
value: string;
|
|
28080
28737
|
sourceSpanIds?: string[] | undefined;
|
|
28081
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28082
28738
|
normalizedValue?: string | undefined;
|
|
28739
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28083
28740
|
sourceNodeIds?: string[] | undefined;
|
|
28084
28741
|
}>>;
|
|
28085
28742
|
declarationFacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -28121,7 +28778,7 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28121
28778
|
sourceSpanIds: string[];
|
|
28122
28779
|
confidence: "low" | "medium" | "high";
|
|
28123
28780
|
sourceNodeIds: string[];
|
|
28124
|
-
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "
|
|
28781
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured" | "insurer" | "broker" | "expirationDate";
|
|
28125
28782
|
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
28126
28783
|
address?: {
|
|
28127
28784
|
street1?: string | undefined;
|
|
@@ -28132,11 +28789,11 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28132
28789
|
country?: string | undefined;
|
|
28133
28790
|
formatted?: string | undefined;
|
|
28134
28791
|
} | undefined;
|
|
28135
|
-
label?: string | undefined;
|
|
28136
28792
|
normalizedValue?: string | undefined;
|
|
28793
|
+
label?: string | undefined;
|
|
28137
28794
|
}, {
|
|
28138
28795
|
value: string;
|
|
28139
|
-
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "
|
|
28796
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured" | "insurer" | "broker" | "expirationDate";
|
|
28140
28797
|
sourceSpanIds?: string[] | undefined;
|
|
28141
28798
|
address?: {
|
|
28142
28799
|
street1?: string | undefined;
|
|
@@ -28147,10 +28804,10 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28147
28804
|
country?: string | undefined;
|
|
28148
28805
|
formatted?: string | undefined;
|
|
28149
28806
|
} | undefined;
|
|
28150
|
-
label?: string | undefined;
|
|
28151
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28152
28807
|
normalizedValue?: string | undefined;
|
|
28808
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28153
28809
|
sourceNodeIds?: string[] | undefined;
|
|
28810
|
+
label?: string | undefined;
|
|
28154
28811
|
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
28155
28812
|
}>, "many">>;
|
|
28156
28813
|
coverages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -28175,9 +28832,9 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28175
28832
|
}, "strip", z.ZodTypeAny, {
|
|
28176
28833
|
value: string;
|
|
28177
28834
|
sourceSpanIds: string[];
|
|
28178
|
-
label: string;
|
|
28179
28835
|
kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
|
|
28180
28836
|
sourceNodeIds: string[];
|
|
28837
|
+
label: string;
|
|
28181
28838
|
amount?: number | undefined;
|
|
28182
28839
|
appliesTo?: string | undefined;
|
|
28183
28840
|
}, {
|
|
@@ -28197,9 +28854,9 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28197
28854
|
limits: {
|
|
28198
28855
|
value: string;
|
|
28199
28856
|
sourceSpanIds: string[];
|
|
28200
|
-
label: string;
|
|
28201
28857
|
kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
|
|
28202
28858
|
sourceNodeIds: string[];
|
|
28859
|
+
label: string;
|
|
28203
28860
|
amount?: number | undefined;
|
|
28204
28861
|
appliesTo?: string | undefined;
|
|
28205
28862
|
}[];
|
|
@@ -28236,6 +28893,140 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28236
28893
|
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
28237
28894
|
endorsementNumber?: string | undefined;
|
|
28238
28895
|
}>, "many">>;
|
|
28896
|
+
coverageSchedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28897
|
+
name: z.ZodString;
|
|
28898
|
+
kind: z.ZodEnum<["vehicle", "property", "location", "other"]>;
|
|
28899
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28900
|
+
items: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28901
|
+
label: z.ZodString;
|
|
28902
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28903
|
+
values: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28904
|
+
label: z.ZodString;
|
|
28905
|
+
value: z.ZodString;
|
|
28906
|
+
}, "strip", z.ZodTypeAny, {
|
|
28907
|
+
value: string;
|
|
28908
|
+
label: string;
|
|
28909
|
+
}, {
|
|
28910
|
+
value: string;
|
|
28911
|
+
label: string;
|
|
28912
|
+
}>, "many">>;
|
|
28913
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28914
|
+
}, "strip", z.ZodTypeAny, {
|
|
28915
|
+
values: {
|
|
28916
|
+
value: string;
|
|
28917
|
+
label: string;
|
|
28918
|
+
}[];
|
|
28919
|
+
sourceSpanIds: string[];
|
|
28920
|
+
label: string;
|
|
28921
|
+
description?: string | undefined;
|
|
28922
|
+
}, {
|
|
28923
|
+
label: string;
|
|
28924
|
+
description?: string | undefined;
|
|
28925
|
+
values?: {
|
|
28926
|
+
value: string;
|
|
28927
|
+
label: string;
|
|
28928
|
+
}[] | undefined;
|
|
28929
|
+
sourceSpanIds?: string[] | undefined;
|
|
28930
|
+
}>, "many">>;
|
|
28931
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28932
|
+
pageStart: z.ZodOptional<z.ZodNumber>;
|
|
28933
|
+
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
28934
|
+
}, "strip", z.ZodTypeAny, {
|
|
28935
|
+
sourceSpanIds: string[];
|
|
28936
|
+
name: string;
|
|
28937
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
28938
|
+
items: {
|
|
28939
|
+
values: {
|
|
28940
|
+
value: string;
|
|
28941
|
+
label: string;
|
|
28942
|
+
}[];
|
|
28943
|
+
sourceSpanIds: string[];
|
|
28944
|
+
label: string;
|
|
28945
|
+
description?: string | undefined;
|
|
28946
|
+
}[];
|
|
28947
|
+
description?: string | undefined;
|
|
28948
|
+
pageStart?: number | undefined;
|
|
28949
|
+
pageEnd?: number | undefined;
|
|
28950
|
+
}, {
|
|
28951
|
+
name: string;
|
|
28952
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
28953
|
+
description?: string | undefined;
|
|
28954
|
+
sourceSpanIds?: string[] | undefined;
|
|
28955
|
+
pageStart?: number | undefined;
|
|
28956
|
+
pageEnd?: number | undefined;
|
|
28957
|
+
items?: {
|
|
28958
|
+
label: string;
|
|
28959
|
+
description?: string | undefined;
|
|
28960
|
+
values?: {
|
|
28961
|
+
value: string;
|
|
28962
|
+
label: string;
|
|
28963
|
+
}[] | undefined;
|
|
28964
|
+
sourceSpanIds?: string[] | undefined;
|
|
28965
|
+
}[] | undefined;
|
|
28966
|
+
}>, "many">>;
|
|
28967
|
+
premiumBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28968
|
+
line: z.ZodString;
|
|
28969
|
+
amount: z.ZodString;
|
|
28970
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
28971
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28972
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28973
|
+
}, "strip", z.ZodTypeAny, {
|
|
28974
|
+
sourceSpanIds: string[];
|
|
28975
|
+
amount: string;
|
|
28976
|
+
line: string;
|
|
28977
|
+
sourceNodeIds: string[];
|
|
28978
|
+
amountValue?: number | undefined;
|
|
28979
|
+
}, {
|
|
28980
|
+
amount: string;
|
|
28981
|
+
line: string;
|
|
28982
|
+
sourceSpanIds?: string[] | undefined;
|
|
28983
|
+
amountValue?: number | undefined;
|
|
28984
|
+
sourceNodeIds?: string[] | undefined;
|
|
28985
|
+
}>, "many">>;
|
|
28986
|
+
taxesAndFees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28987
|
+
name: z.ZodString;
|
|
28988
|
+
amount: z.ZodString;
|
|
28989
|
+
amountValue: z.ZodOptional<z.ZodNumber>;
|
|
28990
|
+
type: z.ZodOptional<z.ZodString>;
|
|
28991
|
+
description: z.ZodOptional<z.ZodString>;
|
|
28992
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28993
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28994
|
+
}, "strip", z.ZodTypeAny, {
|
|
28995
|
+
sourceSpanIds: string[];
|
|
28996
|
+
name: string;
|
|
28997
|
+
amount: string;
|
|
28998
|
+
sourceNodeIds: string[];
|
|
28999
|
+
type?: string | undefined;
|
|
29000
|
+
description?: string | undefined;
|
|
29001
|
+
amountValue?: number | undefined;
|
|
29002
|
+
}, {
|
|
29003
|
+
name: string;
|
|
29004
|
+
amount: string;
|
|
29005
|
+
type?: string | undefined;
|
|
29006
|
+
description?: string | undefined;
|
|
29007
|
+
sourceSpanIds?: string[] | undefined;
|
|
29008
|
+
amountValue?: number | undefined;
|
|
29009
|
+
sourceNodeIds?: string[] | undefined;
|
|
29010
|
+
}>, "many">>;
|
|
29011
|
+
totalCost: z.ZodOptional<z.ZodObject<{
|
|
29012
|
+
value: z.ZodString;
|
|
29013
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
29014
|
+
confidence: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
29015
|
+
sourceNodeIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
29016
|
+
sourceSpanIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
29017
|
+
}, "strip", z.ZodTypeAny, {
|
|
29018
|
+
value: string;
|
|
29019
|
+
sourceSpanIds: string[];
|
|
29020
|
+
confidence: "low" | "medium" | "high";
|
|
29021
|
+
sourceNodeIds: string[];
|
|
29022
|
+
normalizedValue?: string | undefined;
|
|
29023
|
+
}, {
|
|
29024
|
+
value: string;
|
|
29025
|
+
sourceSpanIds?: string[] | undefined;
|
|
29026
|
+
normalizedValue?: string | undefined;
|
|
29027
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
29028
|
+
sourceNodeIds?: string[] | undefined;
|
|
29029
|
+
}>>;
|
|
28239
29030
|
parties: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
28240
29031
|
role: z.ZodString;
|
|
28241
29032
|
name: z.ZodString;
|
|
@@ -28305,8 +29096,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28305
29096
|
status: "supported" | "excluded" | "requires_review";
|
|
28306
29097
|
sourceSpanIds: string[];
|
|
28307
29098
|
kind: string;
|
|
28308
|
-
summary: string;
|
|
28309
29099
|
sourceNodeIds: string[];
|
|
29100
|
+
summary: string;
|
|
28310
29101
|
}, {
|
|
28311
29102
|
status: "supported" | "excluded" | "requires_review";
|
|
28312
29103
|
kind: string;
|
|
@@ -28325,9 +29116,9 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28325
29116
|
limits: {
|
|
28326
29117
|
value: string;
|
|
28327
29118
|
sourceSpanIds: string[];
|
|
28328
|
-
label: string;
|
|
28329
29119
|
kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
|
|
28330
29120
|
sourceNodeIds: string[];
|
|
29121
|
+
label: string;
|
|
28331
29122
|
amount?: number | undefined;
|
|
28332
29123
|
appliesTo?: string | undefined;
|
|
28333
29124
|
}[];
|
|
@@ -28342,15 +29133,15 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28342
29133
|
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
28343
29134
|
endorsementNumber?: string | undefined;
|
|
28344
29135
|
}[];
|
|
28345
|
-
linesOfBusiness: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[];
|
|
28346
29136
|
sourceNodeIds: string[];
|
|
29137
|
+
linesOfBusiness: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[];
|
|
28347
29138
|
documentType: "policy" | "quote";
|
|
28348
29139
|
declarationFacts: {
|
|
28349
29140
|
value: string;
|
|
28350
29141
|
sourceSpanIds: string[];
|
|
28351
29142
|
confidence: "low" | "medium" | "high";
|
|
28352
29143
|
sourceNodeIds: string[];
|
|
28353
|
-
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "
|
|
29144
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured" | "insurer" | "broker" | "expirationDate";
|
|
28354
29145
|
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
28355
29146
|
address?: {
|
|
28356
29147
|
street1?: string | undefined;
|
|
@@ -28361,8 +29152,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28361
29152
|
country?: string | undefined;
|
|
28362
29153
|
formatted?: string | undefined;
|
|
28363
29154
|
} | undefined;
|
|
28364
|
-
label?: string | undefined;
|
|
28365
29155
|
normalizedValue?: string | undefined;
|
|
29156
|
+
label?: string | undefined;
|
|
28366
29157
|
}[];
|
|
28367
29158
|
parties: {
|
|
28368
29159
|
sourceSpanIds: string[];
|
|
@@ -28383,8 +29174,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28383
29174
|
status: "supported" | "excluded" | "requires_review";
|
|
28384
29175
|
sourceSpanIds: string[];
|
|
28385
29176
|
kind: string;
|
|
28386
|
-
summary: string;
|
|
28387
29177
|
sourceNodeIds: string[];
|
|
29178
|
+
summary: string;
|
|
28388
29179
|
}[];
|
|
28389
29180
|
warnings: string[];
|
|
28390
29181
|
retroactiveDate?: {
|
|
@@ -28415,7 +29206,7 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28415
29206
|
sourceNodeIds: string[];
|
|
28416
29207
|
normalizedValue?: string | undefined;
|
|
28417
29208
|
} | undefined;
|
|
28418
|
-
|
|
29209
|
+
namedInsured?: {
|
|
28419
29210
|
value: string;
|
|
28420
29211
|
sourceSpanIds: string[];
|
|
28421
29212
|
confidence: "low" | "medium" | "high";
|
|
@@ -28436,7 +29227,7 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28436
29227
|
sourceNodeIds: string[];
|
|
28437
29228
|
normalizedValue?: string | undefined;
|
|
28438
29229
|
} | undefined;
|
|
28439
|
-
|
|
29230
|
+
expirationDate?: {
|
|
28440
29231
|
value: string;
|
|
28441
29232
|
sourceSpanIds: string[];
|
|
28442
29233
|
confidence: "low" | "medium" | "high";
|
|
@@ -28450,27 +29241,67 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28450
29241
|
sourceNodeIds: string[];
|
|
28451
29242
|
normalizedValue?: string | undefined;
|
|
28452
29243
|
} | undefined;
|
|
29244
|
+
coverageSchedules?: {
|
|
29245
|
+
sourceSpanIds: string[];
|
|
29246
|
+
name: string;
|
|
29247
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
29248
|
+
items: {
|
|
29249
|
+
values: {
|
|
29250
|
+
value: string;
|
|
29251
|
+
label: string;
|
|
29252
|
+
}[];
|
|
29253
|
+
sourceSpanIds: string[];
|
|
29254
|
+
label: string;
|
|
29255
|
+
description?: string | undefined;
|
|
29256
|
+
}[];
|
|
29257
|
+
description?: string | undefined;
|
|
29258
|
+
pageStart?: number | undefined;
|
|
29259
|
+
pageEnd?: number | undefined;
|
|
29260
|
+
}[] | undefined;
|
|
29261
|
+
premiumBreakdown?: {
|
|
29262
|
+
sourceSpanIds: string[];
|
|
29263
|
+
amount: string;
|
|
29264
|
+
line: string;
|
|
29265
|
+
sourceNodeIds: string[];
|
|
29266
|
+
amountValue?: number | undefined;
|
|
29267
|
+
}[] | undefined;
|
|
29268
|
+
taxesAndFees?: {
|
|
29269
|
+
sourceSpanIds: string[];
|
|
29270
|
+
name: string;
|
|
29271
|
+
amount: string;
|
|
29272
|
+
sourceNodeIds: string[];
|
|
29273
|
+
type?: string | undefined;
|
|
29274
|
+
description?: string | undefined;
|
|
29275
|
+
amountValue?: number | undefined;
|
|
29276
|
+
}[] | undefined;
|
|
29277
|
+
totalCost?: {
|
|
29278
|
+
value: string;
|
|
29279
|
+
sourceSpanIds: string[];
|
|
29280
|
+
confidence: "low" | "medium" | "high";
|
|
29281
|
+
sourceNodeIds: string[];
|
|
29282
|
+
normalizedValue?: string | undefined;
|
|
29283
|
+
} | undefined;
|
|
28453
29284
|
}, {
|
|
28454
29285
|
sourceSpanIds?: string[] | undefined;
|
|
28455
29286
|
retroactiveDate?: {
|
|
28456
29287
|
value: string;
|
|
28457
29288
|
sourceSpanIds?: string[] | undefined;
|
|
28458
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28459
29289
|
normalizedValue?: string | undefined;
|
|
29290
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28460
29291
|
sourceNodeIds?: string[] | undefined;
|
|
28461
29292
|
} | undefined;
|
|
28462
29293
|
premium?: {
|
|
28463
29294
|
value: string;
|
|
28464
29295
|
sourceSpanIds?: string[] | undefined;
|
|
28465
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28466
29296
|
normalizedValue?: string | undefined;
|
|
29297
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28467
29298
|
sourceNodeIds?: string[] | undefined;
|
|
28468
29299
|
} | undefined;
|
|
28469
29300
|
effectiveDate?: {
|
|
28470
29301
|
value: string;
|
|
28471
29302
|
sourceSpanIds?: string[] | undefined;
|
|
28472
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28473
29303
|
normalizedValue?: string | undefined;
|
|
29304
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28474
29305
|
sourceNodeIds?: string[] | undefined;
|
|
28475
29306
|
} | undefined;
|
|
28476
29307
|
coverages?: {
|
|
@@ -28499,51 +29330,51 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28499
29330
|
policyNumber?: {
|
|
28500
29331
|
value: string;
|
|
28501
29332
|
sourceSpanIds?: string[] | undefined;
|
|
28502
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28503
29333
|
normalizedValue?: string | undefined;
|
|
29334
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28504
29335
|
sourceNodeIds?: string[] | undefined;
|
|
28505
29336
|
} | undefined;
|
|
28506
|
-
|
|
29337
|
+
sourceNodeIds?: string[] | undefined;
|
|
29338
|
+
namedInsured?: {
|
|
28507
29339
|
value: string;
|
|
28508
29340
|
sourceSpanIds?: string[] | undefined;
|
|
28509
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28510
29341
|
normalizedValue?: string | undefined;
|
|
29342
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28511
29343
|
sourceNodeIds?: string[] | undefined;
|
|
28512
29344
|
} | undefined;
|
|
28513
|
-
linesOfBusiness?: unknown;
|
|
28514
29345
|
insurer?: {
|
|
28515
29346
|
value: string;
|
|
28516
29347
|
sourceSpanIds?: string[] | undefined;
|
|
28517
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28518
29348
|
normalizedValue?: string | undefined;
|
|
29349
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28519
29350
|
sourceNodeIds?: string[] | undefined;
|
|
28520
29351
|
} | undefined;
|
|
28521
29352
|
broker?: {
|
|
28522
29353
|
value: string;
|
|
28523
29354
|
sourceSpanIds?: string[] | undefined;
|
|
28524
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28525
29355
|
normalizedValue?: string | undefined;
|
|
29356
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28526
29357
|
sourceNodeIds?: string[] | undefined;
|
|
28527
29358
|
} | undefined;
|
|
28528
|
-
|
|
28529
|
-
namedInsured?: {
|
|
29359
|
+
expirationDate?: {
|
|
28530
29360
|
value: string;
|
|
28531
29361
|
sourceSpanIds?: string[] | undefined;
|
|
28532
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28533
29362
|
normalizedValue?: string | undefined;
|
|
29363
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28534
29364
|
sourceNodeIds?: string[] | undefined;
|
|
28535
29365
|
} | undefined;
|
|
29366
|
+
linesOfBusiness?: unknown;
|
|
28536
29367
|
documentType?: "policy" | "quote" | undefined;
|
|
28537
29368
|
operationsDescription?: {
|
|
28538
29369
|
value: string;
|
|
28539
29370
|
sourceSpanIds?: string[] | undefined;
|
|
28540
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28541
29371
|
normalizedValue?: string | undefined;
|
|
29372
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28542
29373
|
sourceNodeIds?: string[] | undefined;
|
|
28543
29374
|
} | undefined;
|
|
28544
29375
|
declarationFacts?: {
|
|
28545
29376
|
value: string;
|
|
28546
|
-
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "
|
|
29377
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured" | "insurer" | "broker" | "expirationDate";
|
|
28547
29378
|
sourceSpanIds?: string[] | undefined;
|
|
28548
29379
|
address?: {
|
|
28549
29380
|
street1?: string | undefined;
|
|
@@ -28554,12 +29385,52 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28554
29385
|
country?: string | undefined;
|
|
28555
29386
|
formatted?: string | undefined;
|
|
28556
29387
|
} | undefined;
|
|
28557
|
-
label?: string | undefined;
|
|
28558
|
-
confidence?: "low" | "medium" | "high" | undefined;
|
|
28559
29388
|
normalizedValue?: string | undefined;
|
|
29389
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
28560
29390
|
sourceNodeIds?: string[] | undefined;
|
|
29391
|
+
label?: string | undefined;
|
|
28561
29392
|
valueKind?: "string" | "number" | "date" | "unknown" | "address" | "money" | "list" | undefined;
|
|
28562
29393
|
}[] | undefined;
|
|
29394
|
+
coverageSchedules?: {
|
|
29395
|
+
name: string;
|
|
29396
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
29397
|
+
description?: string | undefined;
|
|
29398
|
+
sourceSpanIds?: string[] | undefined;
|
|
29399
|
+
pageStart?: number | undefined;
|
|
29400
|
+
pageEnd?: number | undefined;
|
|
29401
|
+
items?: {
|
|
29402
|
+
label: string;
|
|
29403
|
+
description?: string | undefined;
|
|
29404
|
+
values?: {
|
|
29405
|
+
value: string;
|
|
29406
|
+
label: string;
|
|
29407
|
+
}[] | undefined;
|
|
29408
|
+
sourceSpanIds?: string[] | undefined;
|
|
29409
|
+
}[] | undefined;
|
|
29410
|
+
}[] | undefined;
|
|
29411
|
+
premiumBreakdown?: {
|
|
29412
|
+
amount: string;
|
|
29413
|
+
line: string;
|
|
29414
|
+
sourceSpanIds?: string[] | undefined;
|
|
29415
|
+
amountValue?: number | undefined;
|
|
29416
|
+
sourceNodeIds?: string[] | undefined;
|
|
29417
|
+
}[] | undefined;
|
|
29418
|
+
taxesAndFees?: {
|
|
29419
|
+
name: string;
|
|
29420
|
+
amount: string;
|
|
29421
|
+
type?: string | undefined;
|
|
29422
|
+
description?: string | undefined;
|
|
29423
|
+
sourceSpanIds?: string[] | undefined;
|
|
29424
|
+
amountValue?: number | undefined;
|
|
29425
|
+
sourceNodeIds?: string[] | undefined;
|
|
29426
|
+
}[] | undefined;
|
|
29427
|
+
totalCost?: {
|
|
29428
|
+
value: string;
|
|
29429
|
+
sourceSpanIds?: string[] | undefined;
|
|
29430
|
+
normalizedValue?: string | undefined;
|
|
29431
|
+
confidence?: "low" | "medium" | "high" | undefined;
|
|
29432
|
+
sourceNodeIds?: string[] | undefined;
|
|
29433
|
+
} | undefined;
|
|
28563
29434
|
parties?: {
|
|
28564
29435
|
name: string;
|
|
28565
29436
|
role: string;
|
|
@@ -28591,9 +29462,9 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28591
29462
|
limits: {
|
|
28592
29463
|
value: string;
|
|
28593
29464
|
sourceSpanIds: string[];
|
|
28594
|
-
label: string;
|
|
28595
29465
|
kind: "other" | "deductible" | "sublimit" | "premium" | "retention" | "each_claim_limit" | "each_occurrence_limit" | "each_loss_limit" | "aggregate_limit" | "retroactive_date";
|
|
28596
29466
|
sourceNodeIds: string[];
|
|
29467
|
+
label: string;
|
|
28597
29468
|
amount?: number | undefined;
|
|
28598
29469
|
appliesTo?: string | undefined;
|
|
28599
29470
|
}[];
|
|
@@ -28608,15 +29479,15 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28608
29479
|
lineOfBusiness?: "AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV" | undefined;
|
|
28609
29480
|
endorsementNumber?: string | undefined;
|
|
28610
29481
|
}[];
|
|
28611
|
-
linesOfBusiness: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[];
|
|
28612
29482
|
sourceNodeIds: string[];
|
|
29483
|
+
linesOfBusiness: ("AAPPL" | "AGLIA" | "AGPP" | "AGPR" | "AIRC" | "AIRPFB" | "APKG" | "APKGE" | "APROD" | "ARVP" | "AUTO" | "AUTOB" | "AUTOP" | "AVPKG" | "BANDM" | "BLANK" | "BMISC" | "BOAT" | "BOP" | "BOPGL" | "BOPPR" | "CAVN" | "CEQFL" | "CFIRE" | "CFRM" | "CGL" | "COMAR" | "COMR" | "CONTR" | "CPKGE" | "CPMP" | "CRIME" | "DFIRE" | "DISAB" | "DO" | "EDP" | "EL" | "EO" | "EPLI" | "EQ" | "EQPFL" | "EXLIA" | "FIDTY" | "FIDUC" | "FINEA" | "FLOOD" | "GARAG" | "GL" | "GLASS" | "HANG" | "HBB" | "HOME" | "INBR" | "INMAR" | "INMRC" | "INMRP" | "JUDCL" | "KIDRA" | "LL" | "MHOME" | "MMAL" | "Motorcycle" | "MTRTK" | "OLIB" | "PHYS" | "PKG" | "PL" | "PLMSC" | "PPKGE" | "PROP" | "PROPC" | "PUBOF" | "RECV" | "SCHPR" | "SIGNS" | "SMP" | "SURE" | "TRANS" | "TRUCK" | "UMBRC" | "UMBRL" | "UMBRP" | "UN" | "WCMA" | "WIND" | "WORK" | "WORKP" | "WORKV")[];
|
|
28613
29484
|
documentType: "policy" | "quote";
|
|
28614
29485
|
declarationFacts: {
|
|
28615
29486
|
value: string;
|
|
28616
29487
|
sourceSpanIds: string[];
|
|
28617
29488
|
confidence: "low" | "medium" | "high";
|
|
28618
29489
|
sourceNodeIds: string[];
|
|
28619
|
-
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "
|
|
29490
|
+
field: "other" | "premium" | "effectiveDate" | "policyNumber" | "namedInsured" | "mailingAddress" | "dba" | "entityType" | "taxId" | "additionalNamedInsured" | "insurer" | "broker" | "expirationDate";
|
|
28620
29491
|
valueKind: "string" | "number" | "date" | "unknown" | "address" | "money" | "list";
|
|
28621
29492
|
address?: {
|
|
28622
29493
|
street1?: string | undefined;
|
|
@@ -28627,8 +29498,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28627
29498
|
country?: string | undefined;
|
|
28628
29499
|
formatted?: string | undefined;
|
|
28629
29500
|
} | undefined;
|
|
28630
|
-
label?: string | undefined;
|
|
28631
29501
|
normalizedValue?: string | undefined;
|
|
29502
|
+
label?: string | undefined;
|
|
28632
29503
|
}[];
|
|
28633
29504
|
parties: {
|
|
28634
29505
|
sourceSpanIds: string[];
|
|
@@ -28649,8 +29520,8 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28649
29520
|
status: "supported" | "excluded" | "requires_review";
|
|
28650
29521
|
sourceSpanIds: string[];
|
|
28651
29522
|
kind: string;
|
|
28652
|
-
summary: string;
|
|
28653
29523
|
sourceNodeIds: string[];
|
|
29524
|
+
summary: string;
|
|
28654
29525
|
}[];
|
|
28655
29526
|
warnings: string[];
|
|
28656
29527
|
retroactiveDate?: {
|
|
@@ -28681,7 +29552,7 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28681
29552
|
sourceNodeIds: string[];
|
|
28682
29553
|
normalizedValue?: string | undefined;
|
|
28683
29554
|
} | undefined;
|
|
28684
|
-
|
|
29555
|
+
namedInsured?: {
|
|
28685
29556
|
value: string;
|
|
28686
29557
|
sourceSpanIds: string[];
|
|
28687
29558
|
confidence: "low" | "medium" | "high";
|
|
@@ -28702,7 +29573,7 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28702
29573
|
sourceNodeIds: string[];
|
|
28703
29574
|
normalizedValue?: string | undefined;
|
|
28704
29575
|
} | undefined;
|
|
28705
|
-
|
|
29576
|
+
expirationDate?: {
|
|
28706
29577
|
value: string;
|
|
28707
29578
|
sourceSpanIds: string[];
|
|
28708
29579
|
confidence: "low" | "medium" | "high";
|
|
@@ -28716,6 +29587,46 @@ declare const PolicyOperationalProfileSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28716
29587
|
sourceNodeIds: string[];
|
|
28717
29588
|
normalizedValue?: string | undefined;
|
|
28718
29589
|
} | undefined;
|
|
29590
|
+
coverageSchedules?: {
|
|
29591
|
+
sourceSpanIds: string[];
|
|
29592
|
+
name: string;
|
|
29593
|
+
kind: "other" | "property" | "location" | "vehicle";
|
|
29594
|
+
items: {
|
|
29595
|
+
values: {
|
|
29596
|
+
value: string;
|
|
29597
|
+
label: string;
|
|
29598
|
+
}[];
|
|
29599
|
+
sourceSpanIds: string[];
|
|
29600
|
+
label: string;
|
|
29601
|
+
description?: string | undefined;
|
|
29602
|
+
}[];
|
|
29603
|
+
description?: string | undefined;
|
|
29604
|
+
pageStart?: number | undefined;
|
|
29605
|
+
pageEnd?: number | undefined;
|
|
29606
|
+
}[] | undefined;
|
|
29607
|
+
premiumBreakdown?: {
|
|
29608
|
+
sourceSpanIds: string[];
|
|
29609
|
+
amount: string;
|
|
29610
|
+
line: string;
|
|
29611
|
+
sourceNodeIds: string[];
|
|
29612
|
+
amountValue?: number | undefined;
|
|
29613
|
+
}[] | undefined;
|
|
29614
|
+
taxesAndFees?: {
|
|
29615
|
+
sourceSpanIds: string[];
|
|
29616
|
+
name: string;
|
|
29617
|
+
amount: string;
|
|
29618
|
+
sourceNodeIds: string[];
|
|
29619
|
+
type?: string | undefined;
|
|
29620
|
+
description?: string | undefined;
|
|
29621
|
+
amountValue?: number | undefined;
|
|
29622
|
+
}[] | undefined;
|
|
29623
|
+
totalCost?: {
|
|
29624
|
+
value: string;
|
|
29625
|
+
sourceSpanIds: string[];
|
|
29626
|
+
confidence: "low" | "medium" | "high";
|
|
29627
|
+
sourceNodeIds: string[];
|
|
29628
|
+
normalizedValue?: string | undefined;
|
|
29629
|
+
} | undefined;
|
|
28719
29630
|
}, unknown>;
|
|
28720
29631
|
type PolicyOperationalProfile = z.infer<typeof PolicyOperationalProfileSchema>;
|
|
28721
29632
|
|
|
@@ -28769,10 +29680,10 @@ declare const ApplicationFieldSchema: z.ZodObject<{
|
|
|
28769
29680
|
acroFormName: z.ZodOptional<z.ZodString>;
|
|
28770
29681
|
validationStatus: z.ZodOptional<z.ZodEnum<["valid", "needs_review", "unsupported", "missing"]>>;
|
|
28771
29682
|
}, "strip", z.ZodTypeAny, {
|
|
28772
|
-
label: string;
|
|
28773
|
-
id: string;
|
|
28774
29683
|
section: string;
|
|
28775
|
-
|
|
29684
|
+
id: string;
|
|
29685
|
+
label: string;
|
|
29686
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
28776
29687
|
required: boolean;
|
|
28777
29688
|
value?: string | undefined;
|
|
28778
29689
|
options?: string[] | undefined;
|
|
@@ -28791,10 +29702,10 @@ declare const ApplicationFieldSchema: z.ZodObject<{
|
|
|
28791
29702
|
fieldAnchorId?: string | undefined;
|
|
28792
29703
|
validationStatus?: "valid" | "needs_review" | "unsupported" | "missing" | undefined;
|
|
28793
29704
|
}, {
|
|
28794
|
-
label: string;
|
|
28795
|
-
id: string;
|
|
28796
29705
|
section: string;
|
|
28797
|
-
|
|
29706
|
+
id: string;
|
|
29707
|
+
label: string;
|
|
29708
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
28798
29709
|
required: boolean;
|
|
28799
29710
|
value?: string | undefined;
|
|
28800
29711
|
options?: string[] | undefined;
|
|
@@ -28839,13 +29750,13 @@ declare const ApplicationRepeatSchema: z.ZodObject<{
|
|
|
28839
29750
|
max: z.ZodOptional<z.ZodNumber>;
|
|
28840
29751
|
label: z.ZodOptional<z.ZodString>;
|
|
28841
29752
|
}, "strip", z.ZodTypeAny, {
|
|
28842
|
-
label?: string | undefined;
|
|
28843
29753
|
min?: number | undefined;
|
|
28844
29754
|
max?: number | undefined;
|
|
28845
|
-
}, {
|
|
28846
29755
|
label?: string | undefined;
|
|
29756
|
+
}, {
|
|
28847
29757
|
min?: number | undefined;
|
|
28848
29758
|
max?: number | undefined;
|
|
29759
|
+
label?: string | undefined;
|
|
28849
29760
|
}>;
|
|
28850
29761
|
type ApplicationRepeat = z.infer<typeof ApplicationRepeatSchema>;
|
|
28851
29762
|
interface ApplicationQuestionNode {
|
|
@@ -28952,10 +29863,10 @@ declare const ApplicationTemplateSchema: z.ZodObject<{
|
|
|
28952
29863
|
acroFormName: z.ZodOptional<z.ZodString>;
|
|
28953
29864
|
validationStatus: z.ZodOptional<z.ZodEnum<["valid", "needs_review", "unsupported", "missing"]>>;
|
|
28954
29865
|
}, "strip", z.ZodTypeAny, {
|
|
28955
|
-
label: string;
|
|
28956
|
-
id: string;
|
|
28957
29866
|
section: string;
|
|
28958
|
-
|
|
29867
|
+
id: string;
|
|
29868
|
+
label: string;
|
|
29869
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
28959
29870
|
required: boolean;
|
|
28960
29871
|
value?: string | undefined;
|
|
28961
29872
|
options?: string[] | undefined;
|
|
@@ -28974,10 +29885,10 @@ declare const ApplicationTemplateSchema: z.ZodObject<{
|
|
|
28974
29885
|
fieldAnchorId?: string | undefined;
|
|
28975
29886
|
validationStatus?: "valid" | "needs_review" | "unsupported" | "missing" | undefined;
|
|
28976
29887
|
}, {
|
|
28977
|
-
label: string;
|
|
28978
|
-
id: string;
|
|
28979
29888
|
section: string;
|
|
28980
|
-
|
|
29889
|
+
id: string;
|
|
29890
|
+
label: string;
|
|
29891
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
28981
29892
|
required: boolean;
|
|
28982
29893
|
value?: string | undefined;
|
|
28983
29894
|
options?: string[] | undefined;
|
|
@@ -29011,10 +29922,10 @@ declare const ApplicationTemplateSchema: z.ZodObject<{
|
|
|
29011
29922
|
};
|
|
29012
29923
|
applicationType?: string | null | undefined;
|
|
29013
29924
|
fields?: {
|
|
29014
|
-
label: string;
|
|
29015
|
-
id: string;
|
|
29016
29925
|
section: string;
|
|
29017
|
-
|
|
29926
|
+
id: string;
|
|
29927
|
+
label: string;
|
|
29928
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
29018
29929
|
required: boolean;
|
|
29019
29930
|
value?: string | undefined;
|
|
29020
29931
|
options?: string[] | undefined;
|
|
@@ -29048,10 +29959,10 @@ declare const ApplicationTemplateSchema: z.ZodObject<{
|
|
|
29048
29959
|
};
|
|
29049
29960
|
applicationType?: string | null | undefined;
|
|
29050
29961
|
fields?: {
|
|
29051
|
-
label: string;
|
|
29052
|
-
id: string;
|
|
29053
29962
|
section: string;
|
|
29054
|
-
|
|
29963
|
+
id: string;
|
|
29964
|
+
label: string;
|
|
29965
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
29055
29966
|
required: boolean;
|
|
29056
29967
|
value?: string | undefined;
|
|
29057
29968
|
options?: string[] | undefined;
|
|
@@ -29116,10 +30027,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
|
|
|
29116
30027
|
acroFormName: z.ZodOptional<z.ZodString>;
|
|
29117
30028
|
validationStatus: z.ZodOptional<z.ZodEnum<["valid", "needs_review", "unsupported", "missing"]>>;
|
|
29118
30029
|
}, "strip", z.ZodTypeAny, {
|
|
29119
|
-
label: string;
|
|
29120
|
-
id: string;
|
|
29121
30030
|
section: string;
|
|
29122
|
-
|
|
30031
|
+
id: string;
|
|
30032
|
+
label: string;
|
|
30033
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
29123
30034
|
required: boolean;
|
|
29124
30035
|
value?: string | undefined;
|
|
29125
30036
|
options?: string[] | undefined;
|
|
@@ -29138,10 +30049,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
|
|
|
29138
30049
|
fieldAnchorId?: string | undefined;
|
|
29139
30050
|
validationStatus?: "valid" | "needs_review" | "unsupported" | "missing" | undefined;
|
|
29140
30051
|
}, {
|
|
29141
|
-
label: string;
|
|
29142
|
-
id: string;
|
|
29143
30052
|
section: string;
|
|
29144
|
-
|
|
30053
|
+
id: string;
|
|
30054
|
+
label: string;
|
|
30055
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
29145
30056
|
required: boolean;
|
|
29146
30057
|
value?: string | undefined;
|
|
29147
30058
|
options?: string[] | undefined;
|
|
@@ -29162,10 +30073,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
|
|
|
29162
30073
|
}>, "many">;
|
|
29163
30074
|
}, "strip", z.ZodTypeAny, {
|
|
29164
30075
|
fields: {
|
|
29165
|
-
label: string;
|
|
29166
|
-
id: string;
|
|
29167
30076
|
section: string;
|
|
29168
|
-
|
|
30077
|
+
id: string;
|
|
30078
|
+
label: string;
|
|
30079
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
29169
30080
|
required: boolean;
|
|
29170
30081
|
value?: string | undefined;
|
|
29171
30082
|
options?: string[] | undefined;
|
|
@@ -29186,10 +30097,10 @@ declare const FieldExtractionResultSchema: z.ZodObject<{
|
|
|
29186
30097
|
}[];
|
|
29187
30098
|
}, {
|
|
29188
30099
|
fields: {
|
|
29189
|
-
label: string;
|
|
29190
|
-
id: string;
|
|
29191
30100
|
section: string;
|
|
29192
|
-
|
|
30101
|
+
id: string;
|
|
30102
|
+
label: string;
|
|
30103
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
29193
30104
|
required: boolean;
|
|
29194
30105
|
value?: string | undefined;
|
|
29195
30106
|
options?: string[] | undefined;
|
|
@@ -29733,8 +30644,8 @@ declare const ApplicationPacketAnswerSchema: z.ZodObject<{
|
|
|
29733
30644
|
userSourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29734
30645
|
}, "strip", z.ZodTypeAny, {
|
|
29735
30646
|
value: string;
|
|
29736
|
-
label: string;
|
|
29737
30647
|
section: string;
|
|
30648
|
+
label: string;
|
|
29738
30649
|
source: string;
|
|
29739
30650
|
fieldId: string;
|
|
29740
30651
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -29742,8 +30653,8 @@ declare const ApplicationPacketAnswerSchema: z.ZodObject<{
|
|
|
29742
30653
|
userSourceSpanIds?: string[] | undefined;
|
|
29743
30654
|
}, {
|
|
29744
30655
|
value: string;
|
|
29745
|
-
label: string;
|
|
29746
30656
|
section: string;
|
|
30657
|
+
label: string;
|
|
29747
30658
|
source: string;
|
|
29748
30659
|
fieldId: string;
|
|
29749
30660
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -29767,8 +30678,8 @@ declare const ApplicationPacketSchema: z.ZodObject<{
|
|
|
29767
30678
|
userSourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29768
30679
|
}, "strip", z.ZodTypeAny, {
|
|
29769
30680
|
value: string;
|
|
29770
|
-
label: string;
|
|
29771
30681
|
section: string;
|
|
30682
|
+
label: string;
|
|
29772
30683
|
source: string;
|
|
29773
30684
|
fieldId: string;
|
|
29774
30685
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -29776,8 +30687,8 @@ declare const ApplicationPacketSchema: z.ZodObject<{
|
|
|
29776
30687
|
userSourceSpanIds?: string[] | undefined;
|
|
29777
30688
|
}, {
|
|
29778
30689
|
value: string;
|
|
29779
|
-
label: string;
|
|
29780
30690
|
section: string;
|
|
30691
|
+
label: string;
|
|
29781
30692
|
source: string;
|
|
29782
30693
|
fieldId: string;
|
|
29783
30694
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -29933,8 +30844,8 @@ declare const ApplicationPacketSchema: z.ZodObject<{
|
|
|
29933
30844
|
createdAt: number;
|
|
29934
30845
|
answers: {
|
|
29935
30846
|
value: string;
|
|
29936
|
-
label: string;
|
|
29937
30847
|
section: string;
|
|
30848
|
+
label: string;
|
|
29938
30849
|
source: string;
|
|
29939
30850
|
fieldId: string;
|
|
29940
30851
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -29980,8 +30891,8 @@ declare const ApplicationPacketSchema: z.ZodObject<{
|
|
|
29980
30891
|
createdAt: number;
|
|
29981
30892
|
answers: {
|
|
29982
30893
|
value: string;
|
|
29983
|
-
label: string;
|
|
29984
30894
|
section: string;
|
|
30895
|
+
label: string;
|
|
29985
30896
|
source: string;
|
|
29986
30897
|
fieldId: string;
|
|
29987
30898
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -30086,10 +30997,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30086
30997
|
acroFormName: z.ZodOptional<z.ZodString>;
|
|
30087
30998
|
validationStatus: z.ZodOptional<z.ZodEnum<["valid", "needs_review", "unsupported", "missing"]>>;
|
|
30088
30999
|
}, "strip", z.ZodTypeAny, {
|
|
30089
|
-
label: string;
|
|
30090
|
-
id: string;
|
|
30091
31000
|
section: string;
|
|
30092
|
-
|
|
31001
|
+
id: string;
|
|
31002
|
+
label: string;
|
|
31003
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
30093
31004
|
required: boolean;
|
|
30094
31005
|
value?: string | undefined;
|
|
30095
31006
|
options?: string[] | undefined;
|
|
@@ -30108,10 +31019,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30108
31019
|
fieldAnchorId?: string | undefined;
|
|
30109
31020
|
validationStatus?: "valid" | "needs_review" | "unsupported" | "missing" | undefined;
|
|
30110
31021
|
}, {
|
|
30111
|
-
label: string;
|
|
30112
|
-
id: string;
|
|
30113
31022
|
section: string;
|
|
30114
|
-
|
|
31023
|
+
id: string;
|
|
31024
|
+
label: string;
|
|
31025
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
30115
31026
|
required: boolean;
|
|
30116
31027
|
value?: string | undefined;
|
|
30117
31028
|
options?: string[] | undefined;
|
|
@@ -30145,10 +31056,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30145
31056
|
};
|
|
30146
31057
|
applicationType?: string | null | undefined;
|
|
30147
31058
|
fields?: {
|
|
30148
|
-
label: string;
|
|
30149
|
-
id: string;
|
|
30150
31059
|
section: string;
|
|
30151
|
-
|
|
31060
|
+
id: string;
|
|
31061
|
+
label: string;
|
|
31062
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
30152
31063
|
required: boolean;
|
|
30153
31064
|
value?: string | undefined;
|
|
30154
31065
|
options?: string[] | undefined;
|
|
@@ -30182,10 +31093,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30182
31093
|
};
|
|
30183
31094
|
applicationType?: string | null | undefined;
|
|
30184
31095
|
fields?: {
|
|
30185
|
-
label: string;
|
|
30186
|
-
id: string;
|
|
30187
31096
|
section: string;
|
|
30188
|
-
|
|
31097
|
+
id: string;
|
|
31098
|
+
label: string;
|
|
31099
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
30189
31100
|
required: boolean;
|
|
30190
31101
|
value?: string | undefined;
|
|
30191
31102
|
options?: string[] | undefined;
|
|
@@ -30261,10 +31172,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30261
31172
|
acroFormName: z.ZodOptional<z.ZodString>;
|
|
30262
31173
|
validationStatus: z.ZodOptional<z.ZodEnum<["valid", "needs_review", "unsupported", "missing"]>>;
|
|
30263
31174
|
}, "strip", z.ZodTypeAny, {
|
|
30264
|
-
label: string;
|
|
30265
|
-
id: string;
|
|
30266
31175
|
section: string;
|
|
30267
|
-
|
|
31176
|
+
id: string;
|
|
31177
|
+
label: string;
|
|
31178
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
30268
31179
|
required: boolean;
|
|
30269
31180
|
value?: string | undefined;
|
|
30270
31181
|
options?: string[] | undefined;
|
|
@@ -30283,10 +31194,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30283
31194
|
fieldAnchorId?: string | undefined;
|
|
30284
31195
|
validationStatus?: "valid" | "needs_review" | "unsupported" | "missing" | undefined;
|
|
30285
31196
|
}, {
|
|
30286
|
-
label: string;
|
|
30287
|
-
id: string;
|
|
30288
31197
|
section: string;
|
|
30289
|
-
|
|
31198
|
+
id: string;
|
|
31199
|
+
label: string;
|
|
31200
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
30290
31201
|
required: boolean;
|
|
30291
31202
|
value?: string | undefined;
|
|
30292
31203
|
options?: string[] | undefined;
|
|
@@ -30354,8 +31265,8 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30354
31265
|
userSourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30355
31266
|
}, "strip", z.ZodTypeAny, {
|
|
30356
31267
|
value: string;
|
|
30357
|
-
label: string;
|
|
30358
31268
|
section: string;
|
|
31269
|
+
label: string;
|
|
30359
31270
|
source: string;
|
|
30360
31271
|
fieldId: string;
|
|
30361
31272
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -30363,8 +31274,8 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30363
31274
|
userSourceSpanIds?: string[] | undefined;
|
|
30364
31275
|
}, {
|
|
30365
31276
|
value: string;
|
|
30366
|
-
label: string;
|
|
30367
31277
|
section: string;
|
|
31278
|
+
label: string;
|
|
30368
31279
|
source: string;
|
|
30369
31280
|
fieldId: string;
|
|
30370
31281
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -30520,8 +31431,8 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30520
31431
|
createdAt: number;
|
|
30521
31432
|
answers: {
|
|
30522
31433
|
value: string;
|
|
30523
|
-
label: string;
|
|
30524
31434
|
section: string;
|
|
31435
|
+
label: string;
|
|
30525
31436
|
source: string;
|
|
30526
31437
|
fieldId: string;
|
|
30527
31438
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -30567,8 +31478,8 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30567
31478
|
createdAt: number;
|
|
30568
31479
|
answers: {
|
|
30569
31480
|
value: string;
|
|
30570
|
-
label: string;
|
|
30571
31481
|
section: string;
|
|
31482
|
+
label: string;
|
|
30572
31483
|
source: string;
|
|
30573
31484
|
fieldId: string;
|
|
30574
31485
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -30756,10 +31667,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30756
31667
|
createdAt: number;
|
|
30757
31668
|
updatedAt: number;
|
|
30758
31669
|
fields: {
|
|
30759
|
-
label: string;
|
|
30760
|
-
id: string;
|
|
30761
31670
|
section: string;
|
|
30762
|
-
|
|
31671
|
+
id: string;
|
|
31672
|
+
label: string;
|
|
31673
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
30763
31674
|
required: boolean;
|
|
30764
31675
|
value?: string | undefined;
|
|
30765
31676
|
options?: string[] | undefined;
|
|
@@ -30838,10 +31749,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30838
31749
|
};
|
|
30839
31750
|
applicationType?: string | null | undefined;
|
|
30840
31751
|
fields?: {
|
|
30841
|
-
label: string;
|
|
30842
|
-
id: string;
|
|
30843
31752
|
section: string;
|
|
30844
|
-
|
|
31753
|
+
id: string;
|
|
31754
|
+
label: string;
|
|
31755
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
30845
31756
|
required: boolean;
|
|
30846
31757
|
value?: string | undefined;
|
|
30847
31758
|
options?: string[] | undefined;
|
|
@@ -30879,8 +31790,8 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30879
31790
|
createdAt: number;
|
|
30880
31791
|
answers: {
|
|
30881
31792
|
value: string;
|
|
30882
|
-
label: string;
|
|
30883
31793
|
section: string;
|
|
31794
|
+
label: string;
|
|
30884
31795
|
source: string;
|
|
30885
31796
|
fieldId: string;
|
|
30886
31797
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -30926,10 +31837,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
30926
31837
|
createdAt: number;
|
|
30927
31838
|
updatedAt: number;
|
|
30928
31839
|
fields: {
|
|
30929
|
-
label: string;
|
|
30930
|
-
id: string;
|
|
30931
31840
|
section: string;
|
|
30932
|
-
|
|
31841
|
+
id: string;
|
|
31842
|
+
label: string;
|
|
31843
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
30933
31844
|
required: boolean;
|
|
30934
31845
|
value?: string | undefined;
|
|
30935
31846
|
options?: string[] | undefined;
|
|
@@ -31007,10 +31918,10 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
31007
31918
|
};
|
|
31008
31919
|
applicationType?: string | null | undefined;
|
|
31009
31920
|
fields?: {
|
|
31010
|
-
label: string;
|
|
31011
|
-
id: string;
|
|
31012
31921
|
section: string;
|
|
31013
|
-
|
|
31922
|
+
id: string;
|
|
31923
|
+
label: string;
|
|
31924
|
+
fieldType: "date" | "numeric" | "table" | "text" | "declaration" | "currency" | "yes_no";
|
|
31014
31925
|
required: boolean;
|
|
31015
31926
|
value?: string | undefined;
|
|
31016
31927
|
options?: string[] | undefined;
|
|
@@ -31049,8 +31960,8 @@ declare const ApplicationStateSchema: z.ZodObject<{
|
|
|
31049
31960
|
createdAt: number;
|
|
31050
31961
|
answers: {
|
|
31051
31962
|
value: string;
|
|
31052
|
-
label: string;
|
|
31053
31963
|
section: string;
|
|
31964
|
+
label: string;
|
|
31054
31965
|
source: string;
|
|
31055
31966
|
fieldId: string;
|
|
31056
31967
|
sourceSpanIds?: string[] | undefined;
|
|
@@ -31328,4 +32239,4 @@ declare function flattenQuestionGraph(graph: ApplicationQuestionGraph): Applicat
|
|
|
31328
32239
|
declare function getActiveApplicationFields(state: Pick<ApplicationState, "fields" | "questionGraph">): ApplicationField[];
|
|
31329
32240
|
declare function getNextApplicationQuestions(state: Pick<ApplicationState, "fields" | "questionGraph" | "batches" | "currentBatchIndex">, limit?: number): ApplicationField[];
|
|
31330
32241
|
|
|
31331
|
-
export { type ApplicationQuestionCondition as $, type AgentContext as A, type BaseQualityIssue as B, ApplicationEmailReviewSchema as C, type DocumentSourceNode as D, type ApplicationField as E, ApplicationFieldSchema as F, type GenerateObject as G, type ApplicationListFilters as H, type InsuranceDocument as I, type ApplicationNextQuestions as J, type ApplicationPacket as K, type LogFn as L, type ModelTaskKind as M, type ApplicationPacketAnswer as N, type OperationalCoverageLine as O, type
|
|
32242
|
+
export { type ApplicationQuestionCondition as $, type AgentContext as A, type BaseQualityIssue as B, ApplicationEmailReviewSchema as C, type DocumentSourceNode as D, type ApplicationField as E, ApplicationFieldSchema as F, type GenerateObject as G, type ApplicationListFilters as H, type InsuranceDocument as I, type ApplicationNextQuestions as J, type ApplicationPacket as K, type LogFn as L, type ModelTaskKind as M, type ApplicationPacketAnswer as N, type OperationalCoverageLine as O, type PolicyOperationalProfile as P, type QualityGateStatus as Q, ApplicationPacketAnswerSchema as R, type SourceSpanLocation as S, type TokenUsage as T, type UnifiedQualityReport as U, ApplicationPacketSchema as V, type ApplicationPipelineConfig as W, ApplicationQualityArtifactSchema as X, ApplicationQualityIssueSchema as Y, ApplicationQualityReportSchema as Z, ApplicationQualityRoundSchema as _, type ModelBudgetResolution as a, type OperationalAddress as a$, ApplicationQuestionConditionSchema as a0, type ApplicationQuestionGraph as a1, ApplicationQuestionGraphSchema as a2, type ApplicationQuestionNode as a3, ApplicationQuestionNodeSchema as a4, type ApplicationRepeat as a5, ApplicationRepeatSchema as a6, type ApplicationState as a7, ApplicationStateSchema as a8, type ApplicationStore as a9, type DocumentFilters as aA, type DocumentMetadata as aB, DocumentMetadataSchema as aC, type DocumentNode as aD, DocumentNodeSchema as aE, type DocumentPageMapEntry as aF, DocumentPageMapEntrySchema as aG, type DocumentSourceNodeKind as aH, DocumentSourceNodeKindSchema as aI, DocumentSourceNodeSchema as aJ, type DocumentTableOfContentsEntry as aK, DocumentTableOfContentsEntrySchema as aL, type EmbedText as aM, type FieldExtractionResult as aN, FieldExtractionResultSchema as aO, type FieldType as aP, FieldTypeSchema as aQ, type FlatPdfPlacement as aR, FlatPdfPlacementSchema as aS, InsuranceDocumentSchema as aT, type LookupFill as aU, type LookupFillResult as aV, LookupFillResultSchema as aW, LookupFillSchema as aX, type LookupRequest as aY, LookupRequestSchema as aZ, type ModelCallReport as a_, type ApplicationTemplate as aa, type ApplicationTemplateListFilters as ab, ApplicationTemplateSchema as ac, type ApplicationTemplateStore as ad, type AutoFillMatch as ae, AutoFillMatchSchema as af, type AutoFillResult as ag, AutoFillResultSchema as ah, type AuxiliaryFact as ai, AuxiliaryFactSchema as aj, type BackfillProvider as ak, type BuildApplicationPacketInput as al, type BuildApplicationPacketResult as am, type ChunkFilter as an, type CommunicationIntent as ao, CommunicationIntentSchema as ap, type ContextProposalResult as aq, type ConversationTurn as ar, type ConvertPdfToImagesFn as as, type CoveredReason as at, CoveredReasonSchema as au, type CreateApplicationRunInput as av, type Definition as aw, DefinitionSchema as ax, type DocumentAgentGuidance as ay, DocumentAgentGuidanceSchema as az, type ModelCallTrace as b, applyApplicationAnswers as b$, OperationalAddressSchema as b0, OperationalCoverageLineSchema as b1, type OperationalCoverageSchedule as b2, type OperationalCoverageScheduleItem as b3, OperationalCoverageScheduleItemSchema as b4, OperationalCoverageScheduleSchema as b5, type OperationalCoverageScheduleValue as b6, OperationalCoverageScheduleValueSchema as b7, type OperationalCoverageTerm as b8, OperationalCoverageTermSchema as b9, QuestionBatchResultSchema as bA, type QuoteDocument as bB, QuoteDocumentSchema as bC, type ReplyIntent as bD, ReplyIntentSchema as bE, type ResolveModelBudgetParams as bF, type Section as bG, SectionSchema as bH, type SourceBackedValue as bI, SourceBackedValueSchema as bJ, SourceChunkSchema as bK, SourceKindSchema as bL, SourceSpanBBoxSchema as bM, type SourceSpanKind as bN, SourceSpanKindSchema as bO, SourceSpanLocationSchema as bP, type SourceSpanRef as bQ, SourceSpanRefSchema as bR, SourceSpanSchema as bS, SourceSpanTableLocationSchema as bT, SourceSpanUnitSchema as bU, type Subjectivity as bV, SubjectivitySchema as bW, type Subsection as bX, SubsectionSchema as bY, type UnderwritingCondition as bZ, UnderwritingConditionSchema as b_, type OperationalDeclarationFact as ba, OperationalDeclarationFactSchema as bb, type OperationalEndorsementSupport as bc, OperationalEndorsementSupportSchema as bd, type OperationalParty as be, OperationalPartySchema as bf, type OperationalPremiumLine as bg, OperationalPremiumLineSchema as bh, type OperationalTaxFeeItem as bi, OperationalTaxFeeItemSchema as bj, PLATFORM_CONFIGS as bk, type ParsedAnswer as bl, ParsedAnswerSchema as bm, type PlatformConfig as bn, PlatformSchema as bo, type PolicyDocument as bp, PolicyDocumentSchema as bq, PolicyOperationalProfileSchema as br, type PremiumLine as bs, PremiumLineSchema as bt, type PriorAnswer as bu, type ProcessApplicationInput as bv, type ProcessApplicationResult as bw, type ProcessReplyInput as bx, type ProcessReplyResult as by, type QuestionBatchResult as bz, type SourceSpan as c, buildApplicationPacket as c0, buildQuestionGraphFromFields as c1, createApplicationPipeline as c2, createApplicationRun as c3, extractQuestionGraphFromFields as c4, flattenQuestionGraph as c5, getActiveApplicationFields as c6, getNextApplicationQuestions as c7, normalizeApplicationQuestionGraph as c8, planNextApplicationQuestions as c9, proposeContextWrites as ca, resolveModelBudget as cb, validateApplicationPacket as cc, type SourceKind as d, type SourceSpanUnit as e, type SourceSpanTableLocation as f, type SourceChunk as g, type SourceSpanBBox as h, type PerformanceReport as i, type ModelCapabilities as j, type ModelBudgetConstraint as k, type PdfInput as l, type DocumentChunk as m, type QualityGateMode as n, type GenerateText as o, type DocumentStore as p, type MemoryStore as q, type Platform as r, type AcroFormMapping as s, AcroFormMappingSchema as t, type AnswerParsingResult as u, AnswerParsingResultSchema as v, type ApplicationClassifyResult as w, ApplicationClassifyResultSchema as x, type ApplicationContextProposal as y, ApplicationContextProposalSchema as z };
|