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