@claritylabs/cl-sdk 1.2.1 → 1.3.1
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 +4 -2
- package/dist/index.d.mts +250 -82
- package/dist/index.d.ts +250 -82
- package/dist/index.js +114 -96
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +114 -96
- package/dist/index.mjs.map +1 -1
- package/dist/storage-sqlite.d.mts +96 -34
- package/dist/storage-sqlite.d.ts +96 -34
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -63,6 +63,16 @@ type PdfInput = string | URL | Uint8Array | {
|
|
|
63
63
|
fileId: string;
|
|
64
64
|
mimeType?: string;
|
|
65
65
|
};
|
|
66
|
+
interface ModelCallTrace {
|
|
67
|
+
label?: string;
|
|
68
|
+
extractorName?: string;
|
|
69
|
+
startPage?: number;
|
|
70
|
+
endPage?: number;
|
|
71
|
+
batchIndex?: number;
|
|
72
|
+
batchCount?: number;
|
|
73
|
+
phase?: string;
|
|
74
|
+
sourceBacked?: boolean;
|
|
75
|
+
}
|
|
66
76
|
/** Callback to generate text from a prompt. Provider-agnostic. */
|
|
67
77
|
type GenerateText = (params: {
|
|
68
78
|
prompt: string;
|
|
@@ -72,6 +82,8 @@ type GenerateText = (params: {
|
|
|
72
82
|
taskKind?: ModelTaskKind;
|
|
73
83
|
/** Resolved budget diagnostics for hosts that route/escalate based on truncation risk. */
|
|
74
84
|
budgetDiagnostics?: ModelBudgetResolution;
|
|
85
|
+
/** Optional host telemetry metadata for debugging model-call purpose. */
|
|
86
|
+
trace?: ModelCallTrace;
|
|
75
87
|
providerOptions?: Record<string, unknown>;
|
|
76
88
|
}) => Promise<{
|
|
77
89
|
text: string;
|
|
@@ -105,6 +117,8 @@ type GenerateObject<T = unknown> = (params: {
|
|
|
105
117
|
taskKind?: ModelTaskKind;
|
|
106
118
|
/** Resolved budget diagnostics for hosts that route/escalate based on truncation risk. */
|
|
107
119
|
budgetDiagnostics?: ModelBudgetResolution;
|
|
120
|
+
/** Optional host telemetry metadata for debugging model-call purpose. */
|
|
121
|
+
trace?: ModelCallTrace;
|
|
108
122
|
providerOptions?: Record<string, unknown>;
|
|
109
123
|
}) => Promise<{
|
|
110
124
|
object: T;
|
|
@@ -832,7 +846,8 @@ declare const EndorsementSchema: z.ZodObject<{
|
|
|
832
846
|
}>, "many">>;
|
|
833
847
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
834
848
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
835
|
-
|
|
849
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
850
|
+
content: z.ZodOptional<z.ZodString>;
|
|
836
851
|
pageStart: z.ZodNumber;
|
|
837
852
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
838
853
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -843,7 +858,6 @@ declare const EndorsementSchema: z.ZodObject<{
|
|
|
843
858
|
formNumber: string;
|
|
844
859
|
pageStart: number;
|
|
845
860
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
846
|
-
content: string;
|
|
847
861
|
editionDate?: string | undefined;
|
|
848
862
|
pageEnd?: number | undefined;
|
|
849
863
|
recordId?: string | undefined;
|
|
@@ -867,12 +881,13 @@ declare const EndorsementSchema: z.ZodObject<{
|
|
|
867
881
|
}[] | undefined;
|
|
868
882
|
keyTerms?: string[] | undefined;
|
|
869
883
|
premiumImpact?: string | undefined;
|
|
884
|
+
excerpt?: string | undefined;
|
|
885
|
+
content?: string | undefined;
|
|
870
886
|
}, {
|
|
871
887
|
title: string;
|
|
872
888
|
formNumber: string;
|
|
873
889
|
pageStart: number;
|
|
874
890
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
875
|
-
content: string;
|
|
876
891
|
editionDate?: string | undefined;
|
|
877
892
|
pageEnd?: number | undefined;
|
|
878
893
|
recordId?: string | undefined;
|
|
@@ -896,6 +911,8 @@ declare const EndorsementSchema: z.ZodObject<{
|
|
|
896
911
|
}[] | undefined;
|
|
897
912
|
keyTerms?: string[] | undefined;
|
|
898
913
|
premiumImpact?: string | undefined;
|
|
914
|
+
excerpt?: string | undefined;
|
|
915
|
+
content?: string | undefined;
|
|
899
916
|
}>;
|
|
900
917
|
type Endorsement = z.infer<typeof EndorsementSchema>;
|
|
901
918
|
|
|
@@ -6284,16 +6301,25 @@ declare const SubsectionSchema: z.ZodObject<{
|
|
|
6284
6301
|
title: z.ZodString;
|
|
6285
6302
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
6286
6303
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6287
|
-
|
|
6304
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
6305
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6306
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6307
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6288
6308
|
}, "strip", z.ZodTypeAny, {
|
|
6289
6309
|
title: string;
|
|
6290
|
-
content: string;
|
|
6291
6310
|
pageNumber?: number | undefined;
|
|
6311
|
+
sourceSpanIds?: string[] | undefined;
|
|
6312
|
+
sourceTextHash?: string | undefined;
|
|
6313
|
+
excerpt?: string | undefined;
|
|
6314
|
+
content?: string | undefined;
|
|
6292
6315
|
sectionNumber?: string | undefined;
|
|
6293
6316
|
}, {
|
|
6294
6317
|
title: string;
|
|
6295
|
-
content: string;
|
|
6296
6318
|
pageNumber?: number | undefined;
|
|
6319
|
+
sourceSpanIds?: string[] | undefined;
|
|
6320
|
+
sourceTextHash?: string | undefined;
|
|
6321
|
+
excerpt?: string | undefined;
|
|
6322
|
+
content?: string | undefined;
|
|
6297
6323
|
sectionNumber?: string | undefined;
|
|
6298
6324
|
}>;
|
|
6299
6325
|
type Subsection = z.infer<typeof SubsectionSchema>;
|
|
@@ -6304,21 +6330,31 @@ declare const SectionSchema: z.ZodObject<{
|
|
|
6304
6330
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6305
6331
|
type: z.ZodString;
|
|
6306
6332
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
6307
|
-
|
|
6333
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
6334
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6308
6335
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6309
6336
|
title: z.ZodString;
|
|
6310
6337
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
6311
6338
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6312
|
-
|
|
6339
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
6340
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6341
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6342
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6313
6343
|
}, "strip", z.ZodTypeAny, {
|
|
6314
6344
|
title: string;
|
|
6315
|
-
content: string;
|
|
6316
6345
|
pageNumber?: number | undefined;
|
|
6346
|
+
sourceSpanIds?: string[] | undefined;
|
|
6347
|
+
sourceTextHash?: string | undefined;
|
|
6348
|
+
excerpt?: string | undefined;
|
|
6349
|
+
content?: string | undefined;
|
|
6317
6350
|
sectionNumber?: string | undefined;
|
|
6318
6351
|
}, {
|
|
6319
6352
|
title: string;
|
|
6320
|
-
content: string;
|
|
6321
6353
|
pageNumber?: number | undefined;
|
|
6354
|
+
sourceSpanIds?: string[] | undefined;
|
|
6355
|
+
sourceTextHash?: string | undefined;
|
|
6356
|
+
excerpt?: string | undefined;
|
|
6357
|
+
content?: string | undefined;
|
|
6322
6358
|
sectionNumber?: string | undefined;
|
|
6323
6359
|
}>, "many">>;
|
|
6324
6360
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -6328,34 +6364,42 @@ declare const SectionSchema: z.ZodObject<{
|
|
|
6328
6364
|
type: string;
|
|
6329
6365
|
title: string;
|
|
6330
6366
|
pageStart: number;
|
|
6331
|
-
content: string;
|
|
6332
6367
|
pageEnd?: number | undefined;
|
|
6333
6368
|
recordId?: string | undefined;
|
|
6334
6369
|
sourceSpanIds?: string[] | undefined;
|
|
6335
6370
|
sourceTextHash?: string | undefined;
|
|
6371
|
+
excerpt?: string | undefined;
|
|
6372
|
+
content?: string | undefined;
|
|
6336
6373
|
sectionNumber?: string | undefined;
|
|
6337
6374
|
coverageType?: string | undefined;
|
|
6338
6375
|
subsections?: {
|
|
6339
6376
|
title: string;
|
|
6340
|
-
content: string;
|
|
6341
6377
|
pageNumber?: number | undefined;
|
|
6378
|
+
sourceSpanIds?: string[] | undefined;
|
|
6379
|
+
sourceTextHash?: string | undefined;
|
|
6380
|
+
excerpt?: string | undefined;
|
|
6381
|
+
content?: string | undefined;
|
|
6342
6382
|
sectionNumber?: string | undefined;
|
|
6343
6383
|
}[] | undefined;
|
|
6344
6384
|
}, {
|
|
6345
6385
|
type: string;
|
|
6346
6386
|
title: string;
|
|
6347
6387
|
pageStart: number;
|
|
6348
|
-
content: string;
|
|
6349
6388
|
pageEnd?: number | undefined;
|
|
6350
6389
|
recordId?: string | undefined;
|
|
6351
6390
|
sourceSpanIds?: string[] | undefined;
|
|
6352
6391
|
sourceTextHash?: string | undefined;
|
|
6392
|
+
excerpt?: string | undefined;
|
|
6393
|
+
content?: string | undefined;
|
|
6353
6394
|
sectionNumber?: string | undefined;
|
|
6354
6395
|
coverageType?: string | undefined;
|
|
6355
6396
|
subsections?: {
|
|
6356
6397
|
title: string;
|
|
6357
|
-
content: string;
|
|
6358
6398
|
pageNumber?: number | undefined;
|
|
6399
|
+
sourceSpanIds?: string[] | undefined;
|
|
6400
|
+
sourceTextHash?: string | undefined;
|
|
6401
|
+
excerpt?: string | undefined;
|
|
6402
|
+
content?: string | undefined;
|
|
6359
6403
|
sectionNumber?: string | undefined;
|
|
6360
6404
|
}[] | undefined;
|
|
6361
6405
|
}>;
|
|
@@ -6557,21 +6601,31 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6557
6601
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6558
6602
|
type: z.ZodString;
|
|
6559
6603
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
6560
|
-
|
|
6604
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
6605
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6561
6606
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6562
6607
|
title: z.ZodString;
|
|
6563
6608
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
6564
6609
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6565
|
-
|
|
6610
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
6611
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6612
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6613
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
6566
6614
|
}, "strip", z.ZodTypeAny, {
|
|
6567
6615
|
title: string;
|
|
6568
|
-
content: string;
|
|
6569
6616
|
pageNumber?: number | undefined;
|
|
6617
|
+
sourceSpanIds?: string[] | undefined;
|
|
6618
|
+
sourceTextHash?: string | undefined;
|
|
6619
|
+
excerpt?: string | undefined;
|
|
6620
|
+
content?: string | undefined;
|
|
6570
6621
|
sectionNumber?: string | undefined;
|
|
6571
6622
|
}, {
|
|
6572
6623
|
title: string;
|
|
6573
|
-
content: string;
|
|
6574
6624
|
pageNumber?: number | undefined;
|
|
6625
|
+
sourceSpanIds?: string[] | undefined;
|
|
6626
|
+
sourceTextHash?: string | undefined;
|
|
6627
|
+
excerpt?: string | undefined;
|
|
6628
|
+
content?: string | undefined;
|
|
6575
6629
|
sectionNumber?: string | undefined;
|
|
6576
6630
|
}>, "many">>;
|
|
6577
6631
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -6581,34 +6635,42 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6581
6635
|
type: string;
|
|
6582
6636
|
title: string;
|
|
6583
6637
|
pageStart: number;
|
|
6584
|
-
content: string;
|
|
6585
6638
|
pageEnd?: number | undefined;
|
|
6586
6639
|
recordId?: string | undefined;
|
|
6587
6640
|
sourceSpanIds?: string[] | undefined;
|
|
6588
6641
|
sourceTextHash?: string | undefined;
|
|
6642
|
+
excerpt?: string | undefined;
|
|
6643
|
+
content?: string | undefined;
|
|
6589
6644
|
sectionNumber?: string | undefined;
|
|
6590
6645
|
coverageType?: string | undefined;
|
|
6591
6646
|
subsections?: {
|
|
6592
6647
|
title: string;
|
|
6593
|
-
content: string;
|
|
6594
6648
|
pageNumber?: number | undefined;
|
|
6649
|
+
sourceSpanIds?: string[] | undefined;
|
|
6650
|
+
sourceTextHash?: string | undefined;
|
|
6651
|
+
excerpt?: string | undefined;
|
|
6652
|
+
content?: string | undefined;
|
|
6595
6653
|
sectionNumber?: string | undefined;
|
|
6596
6654
|
}[] | undefined;
|
|
6597
6655
|
}, {
|
|
6598
6656
|
type: string;
|
|
6599
6657
|
title: string;
|
|
6600
6658
|
pageStart: number;
|
|
6601
|
-
content: string;
|
|
6602
6659
|
pageEnd?: number | undefined;
|
|
6603
6660
|
recordId?: string | undefined;
|
|
6604
6661
|
sourceSpanIds?: string[] | undefined;
|
|
6605
6662
|
sourceTextHash?: string | undefined;
|
|
6663
|
+
excerpt?: string | undefined;
|
|
6664
|
+
content?: string | undefined;
|
|
6606
6665
|
sectionNumber?: string | undefined;
|
|
6607
6666
|
coverageType?: string | undefined;
|
|
6608
6667
|
subsections?: {
|
|
6609
6668
|
title: string;
|
|
6610
|
-
content: string;
|
|
6611
6669
|
pageNumber?: number | undefined;
|
|
6670
|
+
sourceSpanIds?: string[] | undefined;
|
|
6671
|
+
sourceTextHash?: string | undefined;
|
|
6672
|
+
excerpt?: string | undefined;
|
|
6673
|
+
content?: string | undefined;
|
|
6612
6674
|
sectionNumber?: string | undefined;
|
|
6613
6675
|
}[] | undefined;
|
|
6614
6676
|
}>, "many">>;
|
|
@@ -6925,7 +6987,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6925
6987
|
}>, "many">>;
|
|
6926
6988
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6927
6989
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
6928
|
-
|
|
6990
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
6991
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6929
6992
|
pageStart: z.ZodNumber;
|
|
6930
6993
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6931
6994
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -6936,7 +6999,6 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6936
6999
|
formNumber: string;
|
|
6937
7000
|
pageStart: number;
|
|
6938
7001
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
6939
|
-
content: string;
|
|
6940
7002
|
editionDate?: string | undefined;
|
|
6941
7003
|
pageEnd?: number | undefined;
|
|
6942
7004
|
recordId?: string | undefined;
|
|
@@ -6960,12 +7022,13 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6960
7022
|
}[] | undefined;
|
|
6961
7023
|
keyTerms?: string[] | undefined;
|
|
6962
7024
|
premiumImpact?: string | undefined;
|
|
7025
|
+
excerpt?: string | undefined;
|
|
7026
|
+
content?: string | undefined;
|
|
6963
7027
|
}, {
|
|
6964
7028
|
title: string;
|
|
6965
7029
|
formNumber: string;
|
|
6966
7030
|
pageStart: number;
|
|
6967
7031
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
6968
|
-
content: string;
|
|
6969
7032
|
editionDate?: string | undefined;
|
|
6970
7033
|
pageEnd?: number | undefined;
|
|
6971
7034
|
recordId?: string | undefined;
|
|
@@ -6989,6 +7052,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6989
7052
|
}[] | undefined;
|
|
6990
7053
|
keyTerms?: string[] | undefined;
|
|
6991
7054
|
premiumImpact?: string | undefined;
|
|
7055
|
+
excerpt?: string | undefined;
|
|
7056
|
+
content?: string | undefined;
|
|
6992
7057
|
}>, "many">>;
|
|
6993
7058
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6994
7059
|
name: z.ZodString;
|
|
@@ -10804,17 +10869,21 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
10804
10869
|
type: string;
|
|
10805
10870
|
title: string;
|
|
10806
10871
|
pageStart: number;
|
|
10807
|
-
content: string;
|
|
10808
10872
|
pageEnd?: number | undefined;
|
|
10809
10873
|
recordId?: string | undefined;
|
|
10810
10874
|
sourceSpanIds?: string[] | undefined;
|
|
10811
10875
|
sourceTextHash?: string | undefined;
|
|
10876
|
+
excerpt?: string | undefined;
|
|
10877
|
+
content?: string | undefined;
|
|
10812
10878
|
sectionNumber?: string | undefined;
|
|
10813
10879
|
coverageType?: string | undefined;
|
|
10814
10880
|
subsections?: {
|
|
10815
10881
|
title: string;
|
|
10816
|
-
content: string;
|
|
10817
10882
|
pageNumber?: number | undefined;
|
|
10883
|
+
sourceSpanIds?: string[] | undefined;
|
|
10884
|
+
sourceTextHash?: string | undefined;
|
|
10885
|
+
excerpt?: string | undefined;
|
|
10886
|
+
content?: string | undefined;
|
|
10818
10887
|
sectionNumber?: string | undefined;
|
|
10819
10888
|
}[] | undefined;
|
|
10820
10889
|
}[] | undefined;
|
|
@@ -10916,7 +10985,6 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
10916
10985
|
formNumber: string;
|
|
10917
10986
|
pageStart: number;
|
|
10918
10987
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
10919
|
-
content: string;
|
|
10920
10988
|
editionDate?: string | undefined;
|
|
10921
10989
|
pageEnd?: number | undefined;
|
|
10922
10990
|
recordId?: string | undefined;
|
|
@@ -10940,6 +11008,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
10940
11008
|
}[] | undefined;
|
|
10941
11009
|
keyTerms?: string[] | undefined;
|
|
10942
11010
|
premiumImpact?: string | undefined;
|
|
11011
|
+
excerpt?: string | undefined;
|
|
11012
|
+
content?: string | undefined;
|
|
10943
11013
|
}[] | undefined;
|
|
10944
11014
|
exclusions?: {
|
|
10945
11015
|
name: string;
|
|
@@ -11782,17 +11852,21 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
11782
11852
|
type: string;
|
|
11783
11853
|
title: string;
|
|
11784
11854
|
pageStart: number;
|
|
11785
|
-
content: string;
|
|
11786
11855
|
pageEnd?: number | undefined;
|
|
11787
11856
|
recordId?: string | undefined;
|
|
11788
11857
|
sourceSpanIds?: string[] | undefined;
|
|
11789
11858
|
sourceTextHash?: string | undefined;
|
|
11859
|
+
excerpt?: string | undefined;
|
|
11860
|
+
content?: string | undefined;
|
|
11790
11861
|
sectionNumber?: string | undefined;
|
|
11791
11862
|
coverageType?: string | undefined;
|
|
11792
11863
|
subsections?: {
|
|
11793
11864
|
title: string;
|
|
11794
|
-
content: string;
|
|
11795
11865
|
pageNumber?: number | undefined;
|
|
11866
|
+
sourceSpanIds?: string[] | undefined;
|
|
11867
|
+
sourceTextHash?: string | undefined;
|
|
11868
|
+
excerpt?: string | undefined;
|
|
11869
|
+
content?: string | undefined;
|
|
11796
11870
|
sectionNumber?: string | undefined;
|
|
11797
11871
|
}[] | undefined;
|
|
11798
11872
|
}[] | undefined;
|
|
@@ -11894,7 +11968,6 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
11894
11968
|
formNumber: string;
|
|
11895
11969
|
pageStart: number;
|
|
11896
11970
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
11897
|
-
content: string;
|
|
11898
11971
|
editionDate?: string | undefined;
|
|
11899
11972
|
pageEnd?: number | undefined;
|
|
11900
11973
|
recordId?: string | undefined;
|
|
@@ -11918,6 +11991,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
11918
11991
|
}[] | undefined;
|
|
11919
11992
|
keyTerms?: string[] | undefined;
|
|
11920
11993
|
premiumImpact?: string | undefined;
|
|
11994
|
+
excerpt?: string | undefined;
|
|
11995
|
+
content?: string | undefined;
|
|
11921
11996
|
}[] | undefined;
|
|
11922
11997
|
exclusions?: {
|
|
11923
11998
|
name: string;
|
|
@@ -12264,21 +12339,31 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12264
12339
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
12265
12340
|
type: z.ZodString;
|
|
12266
12341
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
12267
|
-
|
|
12342
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
12343
|
+
content: z.ZodOptional<z.ZodString>;
|
|
12268
12344
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12269
12345
|
title: z.ZodString;
|
|
12270
12346
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
12271
12347
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
12272
|
-
|
|
12348
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
12349
|
+
content: z.ZodOptional<z.ZodString>;
|
|
12350
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12351
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
12273
12352
|
}, "strip", z.ZodTypeAny, {
|
|
12274
12353
|
title: string;
|
|
12275
|
-
content: string;
|
|
12276
12354
|
pageNumber?: number | undefined;
|
|
12355
|
+
sourceSpanIds?: string[] | undefined;
|
|
12356
|
+
sourceTextHash?: string | undefined;
|
|
12357
|
+
excerpt?: string | undefined;
|
|
12358
|
+
content?: string | undefined;
|
|
12277
12359
|
sectionNumber?: string | undefined;
|
|
12278
12360
|
}, {
|
|
12279
12361
|
title: string;
|
|
12280
|
-
content: string;
|
|
12281
12362
|
pageNumber?: number | undefined;
|
|
12363
|
+
sourceSpanIds?: string[] | undefined;
|
|
12364
|
+
sourceTextHash?: string | undefined;
|
|
12365
|
+
excerpt?: string | undefined;
|
|
12366
|
+
content?: string | undefined;
|
|
12282
12367
|
sectionNumber?: string | undefined;
|
|
12283
12368
|
}>, "many">>;
|
|
12284
12369
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -12288,34 +12373,42 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12288
12373
|
type: string;
|
|
12289
12374
|
title: string;
|
|
12290
12375
|
pageStart: number;
|
|
12291
|
-
content: string;
|
|
12292
12376
|
pageEnd?: number | undefined;
|
|
12293
12377
|
recordId?: string | undefined;
|
|
12294
12378
|
sourceSpanIds?: string[] | undefined;
|
|
12295
12379
|
sourceTextHash?: string | undefined;
|
|
12380
|
+
excerpt?: string | undefined;
|
|
12381
|
+
content?: string | undefined;
|
|
12296
12382
|
sectionNumber?: string | undefined;
|
|
12297
12383
|
coverageType?: string | undefined;
|
|
12298
12384
|
subsections?: {
|
|
12299
12385
|
title: string;
|
|
12300
|
-
content: string;
|
|
12301
12386
|
pageNumber?: number | undefined;
|
|
12387
|
+
sourceSpanIds?: string[] | undefined;
|
|
12388
|
+
sourceTextHash?: string | undefined;
|
|
12389
|
+
excerpt?: string | undefined;
|
|
12390
|
+
content?: string | undefined;
|
|
12302
12391
|
sectionNumber?: string | undefined;
|
|
12303
12392
|
}[] | undefined;
|
|
12304
12393
|
}, {
|
|
12305
12394
|
type: string;
|
|
12306
12395
|
title: string;
|
|
12307
12396
|
pageStart: number;
|
|
12308
|
-
content: string;
|
|
12309
12397
|
pageEnd?: number | undefined;
|
|
12310
12398
|
recordId?: string | undefined;
|
|
12311
12399
|
sourceSpanIds?: string[] | undefined;
|
|
12312
12400
|
sourceTextHash?: string | undefined;
|
|
12401
|
+
excerpt?: string | undefined;
|
|
12402
|
+
content?: string | undefined;
|
|
12313
12403
|
sectionNumber?: string | undefined;
|
|
12314
12404
|
coverageType?: string | undefined;
|
|
12315
12405
|
subsections?: {
|
|
12316
12406
|
title: string;
|
|
12317
|
-
content: string;
|
|
12318
12407
|
pageNumber?: number | undefined;
|
|
12408
|
+
sourceSpanIds?: string[] | undefined;
|
|
12409
|
+
sourceTextHash?: string | undefined;
|
|
12410
|
+
excerpt?: string | undefined;
|
|
12411
|
+
content?: string | undefined;
|
|
12319
12412
|
sectionNumber?: string | undefined;
|
|
12320
12413
|
}[] | undefined;
|
|
12321
12414
|
}>, "many">>;
|
|
@@ -12632,7 +12725,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12632
12725
|
}>, "many">>;
|
|
12633
12726
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12634
12727
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
12635
|
-
|
|
12728
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
12729
|
+
content: z.ZodOptional<z.ZodString>;
|
|
12636
12730
|
pageStart: z.ZodNumber;
|
|
12637
12731
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
12638
12732
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -12643,7 +12737,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12643
12737
|
formNumber: string;
|
|
12644
12738
|
pageStart: number;
|
|
12645
12739
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
12646
|
-
content: string;
|
|
12647
12740
|
editionDate?: string | undefined;
|
|
12648
12741
|
pageEnd?: number | undefined;
|
|
12649
12742
|
recordId?: string | undefined;
|
|
@@ -12667,12 +12760,13 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12667
12760
|
}[] | undefined;
|
|
12668
12761
|
keyTerms?: string[] | undefined;
|
|
12669
12762
|
premiumImpact?: string | undefined;
|
|
12763
|
+
excerpt?: string | undefined;
|
|
12764
|
+
content?: string | undefined;
|
|
12670
12765
|
}, {
|
|
12671
12766
|
title: string;
|
|
12672
12767
|
formNumber: string;
|
|
12673
12768
|
pageStart: number;
|
|
12674
12769
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
12675
|
-
content: string;
|
|
12676
12770
|
editionDate?: string | undefined;
|
|
12677
12771
|
pageEnd?: number | undefined;
|
|
12678
12772
|
recordId?: string | undefined;
|
|
@@ -12696,6 +12790,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12696
12790
|
}[] | undefined;
|
|
12697
12791
|
keyTerms?: string[] | undefined;
|
|
12698
12792
|
premiumImpact?: string | undefined;
|
|
12793
|
+
excerpt?: string | undefined;
|
|
12794
|
+
content?: string | undefined;
|
|
12699
12795
|
}>, "many">>;
|
|
12700
12796
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12701
12797
|
name: z.ZodString;
|
|
@@ -16506,17 +16602,21 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
16506
16602
|
type: string;
|
|
16507
16603
|
title: string;
|
|
16508
16604
|
pageStart: number;
|
|
16509
|
-
content: string;
|
|
16510
16605
|
pageEnd?: number | undefined;
|
|
16511
16606
|
recordId?: string | undefined;
|
|
16512
16607
|
sourceSpanIds?: string[] | undefined;
|
|
16513
16608
|
sourceTextHash?: string | undefined;
|
|
16609
|
+
excerpt?: string | undefined;
|
|
16610
|
+
content?: string | undefined;
|
|
16514
16611
|
sectionNumber?: string | undefined;
|
|
16515
16612
|
coverageType?: string | undefined;
|
|
16516
16613
|
subsections?: {
|
|
16517
16614
|
title: string;
|
|
16518
|
-
content: string;
|
|
16519
16615
|
pageNumber?: number | undefined;
|
|
16616
|
+
sourceSpanIds?: string[] | undefined;
|
|
16617
|
+
sourceTextHash?: string | undefined;
|
|
16618
|
+
excerpt?: string | undefined;
|
|
16619
|
+
content?: string | undefined;
|
|
16520
16620
|
sectionNumber?: string | undefined;
|
|
16521
16621
|
}[] | undefined;
|
|
16522
16622
|
}[] | undefined;
|
|
@@ -16618,7 +16718,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
16618
16718
|
formNumber: string;
|
|
16619
16719
|
pageStart: number;
|
|
16620
16720
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
16621
|
-
content: string;
|
|
16622
16721
|
editionDate?: string | undefined;
|
|
16623
16722
|
pageEnd?: number | undefined;
|
|
16624
16723
|
recordId?: string | undefined;
|
|
@@ -16642,6 +16741,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
16642
16741
|
}[] | undefined;
|
|
16643
16742
|
keyTerms?: string[] | undefined;
|
|
16644
16743
|
premiumImpact?: string | undefined;
|
|
16744
|
+
excerpt?: string | undefined;
|
|
16745
|
+
content?: string | undefined;
|
|
16645
16746
|
}[] | undefined;
|
|
16646
16747
|
exclusions?: {
|
|
16647
16748
|
name: string;
|
|
@@ -17513,17 +17614,21 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
17513
17614
|
type: string;
|
|
17514
17615
|
title: string;
|
|
17515
17616
|
pageStart: number;
|
|
17516
|
-
content: string;
|
|
17517
17617
|
pageEnd?: number | undefined;
|
|
17518
17618
|
recordId?: string | undefined;
|
|
17519
17619
|
sourceSpanIds?: string[] | undefined;
|
|
17520
17620
|
sourceTextHash?: string | undefined;
|
|
17621
|
+
excerpt?: string | undefined;
|
|
17622
|
+
content?: string | undefined;
|
|
17521
17623
|
sectionNumber?: string | undefined;
|
|
17522
17624
|
coverageType?: string | undefined;
|
|
17523
17625
|
subsections?: {
|
|
17524
17626
|
title: string;
|
|
17525
|
-
content: string;
|
|
17526
17627
|
pageNumber?: number | undefined;
|
|
17628
|
+
sourceSpanIds?: string[] | undefined;
|
|
17629
|
+
sourceTextHash?: string | undefined;
|
|
17630
|
+
excerpt?: string | undefined;
|
|
17631
|
+
content?: string | undefined;
|
|
17527
17632
|
sectionNumber?: string | undefined;
|
|
17528
17633
|
}[] | undefined;
|
|
17529
17634
|
}[] | undefined;
|
|
@@ -17625,7 +17730,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
17625
17730
|
formNumber: string;
|
|
17626
17731
|
pageStart: number;
|
|
17627
17732
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
17628
|
-
content: string;
|
|
17629
17733
|
editionDate?: string | undefined;
|
|
17630
17734
|
pageEnd?: number | undefined;
|
|
17631
17735
|
recordId?: string | undefined;
|
|
@@ -17649,6 +17753,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
17649
17753
|
}[] | undefined;
|
|
17650
17754
|
keyTerms?: string[] | undefined;
|
|
17651
17755
|
premiumImpact?: string | undefined;
|
|
17756
|
+
excerpt?: string | undefined;
|
|
17757
|
+
content?: string | undefined;
|
|
17652
17758
|
}[] | undefined;
|
|
17653
17759
|
exclusions?: {
|
|
17654
17760
|
name: string;
|
|
@@ -17954,21 +18060,31 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
17954
18060
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
17955
18061
|
type: z.ZodString;
|
|
17956
18062
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
17957
|
-
|
|
18063
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
18064
|
+
content: z.ZodOptional<z.ZodString>;
|
|
17958
18065
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17959
18066
|
title: z.ZodString;
|
|
17960
18067
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
17961
18068
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
17962
|
-
|
|
18069
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
18070
|
+
content: z.ZodOptional<z.ZodString>;
|
|
18071
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18072
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
17963
18073
|
}, "strip", z.ZodTypeAny, {
|
|
17964
18074
|
title: string;
|
|
17965
|
-
content: string;
|
|
17966
18075
|
pageNumber?: number | undefined;
|
|
18076
|
+
sourceSpanIds?: string[] | undefined;
|
|
18077
|
+
sourceTextHash?: string | undefined;
|
|
18078
|
+
excerpt?: string | undefined;
|
|
18079
|
+
content?: string | undefined;
|
|
17967
18080
|
sectionNumber?: string | undefined;
|
|
17968
18081
|
}, {
|
|
17969
18082
|
title: string;
|
|
17970
|
-
content: string;
|
|
17971
18083
|
pageNumber?: number | undefined;
|
|
18084
|
+
sourceSpanIds?: string[] | undefined;
|
|
18085
|
+
sourceTextHash?: string | undefined;
|
|
18086
|
+
excerpt?: string | undefined;
|
|
18087
|
+
content?: string | undefined;
|
|
17972
18088
|
sectionNumber?: string | undefined;
|
|
17973
18089
|
}>, "many">>;
|
|
17974
18090
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -17978,34 +18094,42 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
17978
18094
|
type: string;
|
|
17979
18095
|
title: string;
|
|
17980
18096
|
pageStart: number;
|
|
17981
|
-
content: string;
|
|
17982
18097
|
pageEnd?: number | undefined;
|
|
17983
18098
|
recordId?: string | undefined;
|
|
17984
18099
|
sourceSpanIds?: string[] | undefined;
|
|
17985
18100
|
sourceTextHash?: string | undefined;
|
|
18101
|
+
excerpt?: string | undefined;
|
|
18102
|
+
content?: string | undefined;
|
|
17986
18103
|
sectionNumber?: string | undefined;
|
|
17987
18104
|
coverageType?: string | undefined;
|
|
17988
18105
|
subsections?: {
|
|
17989
18106
|
title: string;
|
|
17990
|
-
content: string;
|
|
17991
18107
|
pageNumber?: number | undefined;
|
|
18108
|
+
sourceSpanIds?: string[] | undefined;
|
|
18109
|
+
sourceTextHash?: string | undefined;
|
|
18110
|
+
excerpt?: string | undefined;
|
|
18111
|
+
content?: string | undefined;
|
|
17992
18112
|
sectionNumber?: string | undefined;
|
|
17993
18113
|
}[] | undefined;
|
|
17994
18114
|
}, {
|
|
17995
18115
|
type: string;
|
|
17996
18116
|
title: string;
|
|
17997
18117
|
pageStart: number;
|
|
17998
|
-
content: string;
|
|
17999
18118
|
pageEnd?: number | undefined;
|
|
18000
18119
|
recordId?: string | undefined;
|
|
18001
18120
|
sourceSpanIds?: string[] | undefined;
|
|
18002
18121
|
sourceTextHash?: string | undefined;
|
|
18122
|
+
excerpt?: string | undefined;
|
|
18123
|
+
content?: string | undefined;
|
|
18003
18124
|
sectionNumber?: string | undefined;
|
|
18004
18125
|
coverageType?: string | undefined;
|
|
18005
18126
|
subsections?: {
|
|
18006
18127
|
title: string;
|
|
18007
|
-
content: string;
|
|
18008
18128
|
pageNumber?: number | undefined;
|
|
18129
|
+
sourceSpanIds?: string[] | undefined;
|
|
18130
|
+
sourceTextHash?: string | undefined;
|
|
18131
|
+
excerpt?: string | undefined;
|
|
18132
|
+
content?: string | undefined;
|
|
18009
18133
|
sectionNumber?: string | undefined;
|
|
18010
18134
|
}[] | undefined;
|
|
18011
18135
|
}>, "many">>;
|
|
@@ -18322,7 +18446,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18322
18446
|
}>, "many">>;
|
|
18323
18447
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18324
18448
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
18325
|
-
|
|
18449
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
18450
|
+
content: z.ZodOptional<z.ZodString>;
|
|
18326
18451
|
pageStart: z.ZodNumber;
|
|
18327
18452
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
18328
18453
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -18333,7 +18458,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18333
18458
|
formNumber: string;
|
|
18334
18459
|
pageStart: number;
|
|
18335
18460
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
18336
|
-
content: string;
|
|
18337
18461
|
editionDate?: string | undefined;
|
|
18338
18462
|
pageEnd?: number | undefined;
|
|
18339
18463
|
recordId?: string | undefined;
|
|
@@ -18357,12 +18481,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18357
18481
|
}[] | undefined;
|
|
18358
18482
|
keyTerms?: string[] | undefined;
|
|
18359
18483
|
premiumImpact?: string | undefined;
|
|
18484
|
+
excerpt?: string | undefined;
|
|
18485
|
+
content?: string | undefined;
|
|
18360
18486
|
}, {
|
|
18361
18487
|
title: string;
|
|
18362
18488
|
formNumber: string;
|
|
18363
18489
|
pageStart: number;
|
|
18364
18490
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
18365
|
-
content: string;
|
|
18366
18491
|
editionDate?: string | undefined;
|
|
18367
18492
|
pageEnd?: number | undefined;
|
|
18368
18493
|
recordId?: string | undefined;
|
|
@@ -18386,6 +18511,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18386
18511
|
}[] | undefined;
|
|
18387
18512
|
keyTerms?: string[] | undefined;
|
|
18388
18513
|
premiumImpact?: string | undefined;
|
|
18514
|
+
excerpt?: string | undefined;
|
|
18515
|
+
content?: string | undefined;
|
|
18389
18516
|
}>, "many">>;
|
|
18390
18517
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18391
18518
|
name: z.ZodString;
|
|
@@ -22201,17 +22328,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
22201
22328
|
type: string;
|
|
22202
22329
|
title: string;
|
|
22203
22330
|
pageStart: number;
|
|
22204
|
-
content: string;
|
|
22205
22331
|
pageEnd?: number | undefined;
|
|
22206
22332
|
recordId?: string | undefined;
|
|
22207
22333
|
sourceSpanIds?: string[] | undefined;
|
|
22208
22334
|
sourceTextHash?: string | undefined;
|
|
22335
|
+
excerpt?: string | undefined;
|
|
22336
|
+
content?: string | undefined;
|
|
22209
22337
|
sectionNumber?: string | undefined;
|
|
22210
22338
|
coverageType?: string | undefined;
|
|
22211
22339
|
subsections?: {
|
|
22212
22340
|
title: string;
|
|
22213
|
-
content: string;
|
|
22214
22341
|
pageNumber?: number | undefined;
|
|
22342
|
+
sourceSpanIds?: string[] | undefined;
|
|
22343
|
+
sourceTextHash?: string | undefined;
|
|
22344
|
+
excerpt?: string | undefined;
|
|
22345
|
+
content?: string | undefined;
|
|
22215
22346
|
sectionNumber?: string | undefined;
|
|
22216
22347
|
}[] | undefined;
|
|
22217
22348
|
}[] | undefined;
|
|
@@ -22313,7 +22444,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
22313
22444
|
formNumber: string;
|
|
22314
22445
|
pageStart: number;
|
|
22315
22446
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
22316
|
-
content: string;
|
|
22317
22447
|
editionDate?: string | undefined;
|
|
22318
22448
|
pageEnd?: number | undefined;
|
|
22319
22449
|
recordId?: string | undefined;
|
|
@@ -22337,6 +22467,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
22337
22467
|
}[] | undefined;
|
|
22338
22468
|
keyTerms?: string[] | undefined;
|
|
22339
22469
|
premiumImpact?: string | undefined;
|
|
22470
|
+
excerpt?: string | undefined;
|
|
22471
|
+
content?: string | undefined;
|
|
22340
22472
|
}[] | undefined;
|
|
22341
22473
|
exclusions?: {
|
|
22342
22474
|
name: string;
|
|
@@ -23179,17 +23311,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23179
23311
|
type: string;
|
|
23180
23312
|
title: string;
|
|
23181
23313
|
pageStart: number;
|
|
23182
|
-
content: string;
|
|
23183
23314
|
pageEnd?: number | undefined;
|
|
23184
23315
|
recordId?: string | undefined;
|
|
23185
23316
|
sourceSpanIds?: string[] | undefined;
|
|
23186
23317
|
sourceTextHash?: string | undefined;
|
|
23318
|
+
excerpt?: string | undefined;
|
|
23319
|
+
content?: string | undefined;
|
|
23187
23320
|
sectionNumber?: string | undefined;
|
|
23188
23321
|
coverageType?: string | undefined;
|
|
23189
23322
|
subsections?: {
|
|
23190
23323
|
title: string;
|
|
23191
|
-
content: string;
|
|
23192
23324
|
pageNumber?: number | undefined;
|
|
23325
|
+
sourceSpanIds?: string[] | undefined;
|
|
23326
|
+
sourceTextHash?: string | undefined;
|
|
23327
|
+
excerpt?: string | undefined;
|
|
23328
|
+
content?: string | undefined;
|
|
23193
23329
|
sectionNumber?: string | undefined;
|
|
23194
23330
|
}[] | undefined;
|
|
23195
23331
|
}[] | undefined;
|
|
@@ -23291,7 +23427,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23291
23427
|
formNumber: string;
|
|
23292
23428
|
pageStart: number;
|
|
23293
23429
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
23294
|
-
content: string;
|
|
23295
23430
|
editionDate?: string | undefined;
|
|
23296
23431
|
pageEnd?: number | undefined;
|
|
23297
23432
|
recordId?: string | undefined;
|
|
@@ -23315,6 +23450,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23315
23450
|
}[] | undefined;
|
|
23316
23451
|
keyTerms?: string[] | undefined;
|
|
23317
23452
|
premiumImpact?: string | undefined;
|
|
23453
|
+
excerpt?: string | undefined;
|
|
23454
|
+
content?: string | undefined;
|
|
23318
23455
|
}[] | undefined;
|
|
23319
23456
|
exclusions?: {
|
|
23320
23457
|
name: string;
|
|
@@ -23659,21 +23796,31 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23659
23796
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
23660
23797
|
type: z.ZodString;
|
|
23661
23798
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
23662
|
-
|
|
23799
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
23800
|
+
content: z.ZodOptional<z.ZodString>;
|
|
23663
23801
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23664
23802
|
title: z.ZodString;
|
|
23665
23803
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
23666
23804
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
23667
|
-
|
|
23805
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
23806
|
+
content: z.ZodOptional<z.ZodString>;
|
|
23807
|
+
sourceSpanIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23808
|
+
sourceTextHash: z.ZodOptional<z.ZodString>;
|
|
23668
23809
|
}, "strip", z.ZodTypeAny, {
|
|
23669
23810
|
title: string;
|
|
23670
|
-
content: string;
|
|
23671
23811
|
pageNumber?: number | undefined;
|
|
23812
|
+
sourceSpanIds?: string[] | undefined;
|
|
23813
|
+
sourceTextHash?: string | undefined;
|
|
23814
|
+
excerpt?: string | undefined;
|
|
23815
|
+
content?: string | undefined;
|
|
23672
23816
|
sectionNumber?: string | undefined;
|
|
23673
23817
|
}, {
|
|
23674
23818
|
title: string;
|
|
23675
|
-
content: string;
|
|
23676
23819
|
pageNumber?: number | undefined;
|
|
23820
|
+
sourceSpanIds?: string[] | undefined;
|
|
23821
|
+
sourceTextHash?: string | undefined;
|
|
23822
|
+
excerpt?: string | undefined;
|
|
23823
|
+
content?: string | undefined;
|
|
23677
23824
|
sectionNumber?: string | undefined;
|
|
23678
23825
|
}>, "many">>;
|
|
23679
23826
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -23683,34 +23830,42 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23683
23830
|
type: string;
|
|
23684
23831
|
title: string;
|
|
23685
23832
|
pageStart: number;
|
|
23686
|
-
content: string;
|
|
23687
23833
|
pageEnd?: number | undefined;
|
|
23688
23834
|
recordId?: string | undefined;
|
|
23689
23835
|
sourceSpanIds?: string[] | undefined;
|
|
23690
23836
|
sourceTextHash?: string | undefined;
|
|
23837
|
+
excerpt?: string | undefined;
|
|
23838
|
+
content?: string | undefined;
|
|
23691
23839
|
sectionNumber?: string | undefined;
|
|
23692
23840
|
coverageType?: string | undefined;
|
|
23693
23841
|
subsections?: {
|
|
23694
23842
|
title: string;
|
|
23695
|
-
content: string;
|
|
23696
23843
|
pageNumber?: number | undefined;
|
|
23844
|
+
sourceSpanIds?: string[] | undefined;
|
|
23845
|
+
sourceTextHash?: string | undefined;
|
|
23846
|
+
excerpt?: string | undefined;
|
|
23847
|
+
content?: string | undefined;
|
|
23697
23848
|
sectionNumber?: string | undefined;
|
|
23698
23849
|
}[] | undefined;
|
|
23699
23850
|
}, {
|
|
23700
23851
|
type: string;
|
|
23701
23852
|
title: string;
|
|
23702
23853
|
pageStart: number;
|
|
23703
|
-
content: string;
|
|
23704
23854
|
pageEnd?: number | undefined;
|
|
23705
23855
|
recordId?: string | undefined;
|
|
23706
23856
|
sourceSpanIds?: string[] | undefined;
|
|
23707
23857
|
sourceTextHash?: string | undefined;
|
|
23858
|
+
excerpt?: string | undefined;
|
|
23859
|
+
content?: string | undefined;
|
|
23708
23860
|
sectionNumber?: string | undefined;
|
|
23709
23861
|
coverageType?: string | undefined;
|
|
23710
23862
|
subsections?: {
|
|
23711
23863
|
title: string;
|
|
23712
|
-
content: string;
|
|
23713
23864
|
pageNumber?: number | undefined;
|
|
23865
|
+
sourceSpanIds?: string[] | undefined;
|
|
23866
|
+
sourceTextHash?: string | undefined;
|
|
23867
|
+
excerpt?: string | undefined;
|
|
23868
|
+
content?: string | undefined;
|
|
23714
23869
|
sectionNumber?: string | undefined;
|
|
23715
23870
|
}[] | undefined;
|
|
23716
23871
|
}>, "many">>;
|
|
@@ -24027,7 +24182,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24027
24182
|
}>, "many">>;
|
|
24028
24183
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24029
24184
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
24030
|
-
|
|
24185
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
24186
|
+
content: z.ZodOptional<z.ZodString>;
|
|
24031
24187
|
pageStart: z.ZodNumber;
|
|
24032
24188
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
24033
24189
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -24038,7 +24194,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24038
24194
|
formNumber: string;
|
|
24039
24195
|
pageStart: number;
|
|
24040
24196
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
24041
|
-
content: string;
|
|
24042
24197
|
editionDate?: string | undefined;
|
|
24043
24198
|
pageEnd?: number | undefined;
|
|
24044
24199
|
recordId?: string | undefined;
|
|
@@ -24062,12 +24217,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24062
24217
|
}[] | undefined;
|
|
24063
24218
|
keyTerms?: string[] | undefined;
|
|
24064
24219
|
premiumImpact?: string | undefined;
|
|
24220
|
+
excerpt?: string | undefined;
|
|
24221
|
+
content?: string | undefined;
|
|
24065
24222
|
}, {
|
|
24066
24223
|
title: string;
|
|
24067
24224
|
formNumber: string;
|
|
24068
24225
|
pageStart: number;
|
|
24069
24226
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
24070
|
-
content: string;
|
|
24071
24227
|
editionDate?: string | undefined;
|
|
24072
24228
|
pageEnd?: number | undefined;
|
|
24073
24229
|
recordId?: string | undefined;
|
|
@@ -24091,6 +24247,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24091
24247
|
}[] | undefined;
|
|
24092
24248
|
keyTerms?: string[] | undefined;
|
|
24093
24249
|
premiumImpact?: string | undefined;
|
|
24250
|
+
excerpt?: string | undefined;
|
|
24251
|
+
content?: string | undefined;
|
|
24094
24252
|
}>, "many">>;
|
|
24095
24253
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24096
24254
|
name: z.ZodString;
|
|
@@ -27901,17 +28059,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
27901
28059
|
type: string;
|
|
27902
28060
|
title: string;
|
|
27903
28061
|
pageStart: number;
|
|
27904
|
-
content: string;
|
|
27905
28062
|
pageEnd?: number | undefined;
|
|
27906
28063
|
recordId?: string | undefined;
|
|
27907
28064
|
sourceSpanIds?: string[] | undefined;
|
|
27908
28065
|
sourceTextHash?: string | undefined;
|
|
28066
|
+
excerpt?: string | undefined;
|
|
28067
|
+
content?: string | undefined;
|
|
27909
28068
|
sectionNumber?: string | undefined;
|
|
27910
28069
|
coverageType?: string | undefined;
|
|
27911
28070
|
subsections?: {
|
|
27912
28071
|
title: string;
|
|
27913
|
-
content: string;
|
|
27914
28072
|
pageNumber?: number | undefined;
|
|
28073
|
+
sourceSpanIds?: string[] | undefined;
|
|
28074
|
+
sourceTextHash?: string | undefined;
|
|
28075
|
+
excerpt?: string | undefined;
|
|
28076
|
+
content?: string | undefined;
|
|
27915
28077
|
sectionNumber?: string | undefined;
|
|
27916
28078
|
}[] | undefined;
|
|
27917
28079
|
}[] | undefined;
|
|
@@ -28013,7 +28175,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
28013
28175
|
formNumber: string;
|
|
28014
28176
|
pageStart: number;
|
|
28015
28177
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
28016
|
-
content: string;
|
|
28017
28178
|
editionDate?: string | undefined;
|
|
28018
28179
|
pageEnd?: number | undefined;
|
|
28019
28180
|
recordId?: string | undefined;
|
|
@@ -28037,6 +28198,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
28037
28198
|
}[] | undefined;
|
|
28038
28199
|
keyTerms?: string[] | undefined;
|
|
28039
28200
|
premiumImpact?: string | undefined;
|
|
28201
|
+
excerpt?: string | undefined;
|
|
28202
|
+
content?: string | undefined;
|
|
28040
28203
|
}[] | undefined;
|
|
28041
28204
|
exclusions?: {
|
|
28042
28205
|
name: string;
|
|
@@ -28908,17 +29071,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
28908
29071
|
type: string;
|
|
28909
29072
|
title: string;
|
|
28910
29073
|
pageStart: number;
|
|
28911
|
-
content: string;
|
|
28912
29074
|
pageEnd?: number | undefined;
|
|
28913
29075
|
recordId?: string | undefined;
|
|
28914
29076
|
sourceSpanIds?: string[] | undefined;
|
|
28915
29077
|
sourceTextHash?: string | undefined;
|
|
29078
|
+
excerpt?: string | undefined;
|
|
29079
|
+
content?: string | undefined;
|
|
28916
29080
|
sectionNumber?: string | undefined;
|
|
28917
29081
|
coverageType?: string | undefined;
|
|
28918
29082
|
subsections?: {
|
|
28919
29083
|
title: string;
|
|
28920
|
-
content: string;
|
|
28921
29084
|
pageNumber?: number | undefined;
|
|
29085
|
+
sourceSpanIds?: string[] | undefined;
|
|
29086
|
+
sourceTextHash?: string | undefined;
|
|
29087
|
+
excerpt?: string | undefined;
|
|
29088
|
+
content?: string | undefined;
|
|
28922
29089
|
sectionNumber?: string | undefined;
|
|
28923
29090
|
}[] | undefined;
|
|
28924
29091
|
}[] | undefined;
|
|
@@ -29020,7 +29187,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
29020
29187
|
formNumber: string;
|
|
29021
29188
|
pageStart: number;
|
|
29022
29189
|
endorsementType: "other" | "additional_insured" | "waiver_of_subrogation" | "primary_noncontributory" | "blanket_additional_insured" | "loss_payee" | "mortgage_holder" | "broadening" | "restriction" | "exclusion" | "amendatory" | "notice_of_cancellation" | "designated_premises" | "classification_change" | "schedule_update" | "deductible_change" | "limit_change" | "territorial_extension";
|
|
29023
|
-
content: string;
|
|
29024
29190
|
editionDate?: string | undefined;
|
|
29025
29191
|
pageEnd?: number | undefined;
|
|
29026
29192
|
recordId?: string | undefined;
|
|
@@ -29044,6 +29210,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
29044
29210
|
}[] | undefined;
|
|
29045
29211
|
keyTerms?: string[] | undefined;
|
|
29046
29212
|
premiumImpact?: string | undefined;
|
|
29213
|
+
excerpt?: string | undefined;
|
|
29214
|
+
content?: string | undefined;
|
|
29047
29215
|
}[] | undefined;
|
|
29048
29216
|
exclusions?: {
|
|
29049
29217
|
name: string;
|