@claritylabs/cl-sdk 1.1.0 → 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 +18 -3
- package/dist/index.d.mts +322 -84
- package/dist/index.d.ts +322 -84
- package/dist/index.js +503 -144
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +498 -144
- 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
|
@@ -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;
|
|
@@ -86,6 +98,7 @@ type GenerateText = (params: {
|
|
|
86
98
|
* - `providerOptions.pdfBytes` — `Uint8Array` of raw PDF bytes
|
|
87
99
|
* - `providerOptions.fileId` — provider-specific file reference (e.g., OpenAI file_id)
|
|
88
100
|
* - `providerOptions.images` — `Array<{ imageBase64: string; mimeType: string }>` page images
|
|
101
|
+
* - `providerOptions.doclingText` — full or page-scoped text normalized from a host-provided DoclingDocument
|
|
89
102
|
* - `providerOptions.attachments` — generic multimodal attachments such as
|
|
90
103
|
* `Array<{ kind: "image" | "pdf" | "text"; name?: string; mimeType?: string; base64?: string; text?: string; description?: string }>`
|
|
91
104
|
*
|
|
@@ -104,6 +117,8 @@ type GenerateObject<T = unknown> = (params: {
|
|
|
104
117
|
taskKind?: ModelTaskKind;
|
|
105
118
|
/** Resolved budget diagnostics for hosts that route/escalate based on truncation risk. */
|
|
106
119
|
budgetDiagnostics?: ModelBudgetResolution;
|
|
120
|
+
/** Optional host telemetry metadata for debugging model-call purpose. */
|
|
121
|
+
trace?: ModelCallTrace;
|
|
107
122
|
providerOptions?: Record<string, unknown>;
|
|
108
123
|
}) => Promise<{
|
|
109
124
|
object: T;
|
|
@@ -831,7 +846,8 @@ declare const EndorsementSchema: z.ZodObject<{
|
|
|
831
846
|
}>, "many">>;
|
|
832
847
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
833
848
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
834
|
-
|
|
849
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
850
|
+
content: z.ZodOptional<z.ZodString>;
|
|
835
851
|
pageStart: z.ZodNumber;
|
|
836
852
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
837
853
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -842,7 +858,6 @@ declare const EndorsementSchema: z.ZodObject<{
|
|
|
842
858
|
formNumber: string;
|
|
843
859
|
pageStart: number;
|
|
844
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";
|
|
845
|
-
content: string;
|
|
846
861
|
editionDate?: string | undefined;
|
|
847
862
|
pageEnd?: number | undefined;
|
|
848
863
|
recordId?: string | undefined;
|
|
@@ -866,12 +881,13 @@ declare const EndorsementSchema: z.ZodObject<{
|
|
|
866
881
|
}[] | undefined;
|
|
867
882
|
keyTerms?: string[] | undefined;
|
|
868
883
|
premiumImpact?: string | undefined;
|
|
884
|
+
excerpt?: string | undefined;
|
|
885
|
+
content?: string | undefined;
|
|
869
886
|
}, {
|
|
870
887
|
title: string;
|
|
871
888
|
formNumber: string;
|
|
872
889
|
pageStart: number;
|
|
873
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";
|
|
874
|
-
content: string;
|
|
875
891
|
editionDate?: string | undefined;
|
|
876
892
|
pageEnd?: number | undefined;
|
|
877
893
|
recordId?: string | undefined;
|
|
@@ -895,6 +911,8 @@ declare const EndorsementSchema: z.ZodObject<{
|
|
|
895
911
|
}[] | undefined;
|
|
896
912
|
keyTerms?: string[] | undefined;
|
|
897
913
|
premiumImpact?: string | undefined;
|
|
914
|
+
excerpt?: string | undefined;
|
|
915
|
+
content?: string | undefined;
|
|
898
916
|
}>;
|
|
899
917
|
type Endorsement = z.infer<typeof EndorsementSchema>;
|
|
900
918
|
|
|
@@ -6283,16 +6301,25 @@ declare const SubsectionSchema: z.ZodObject<{
|
|
|
6283
6301
|
title: z.ZodString;
|
|
6284
6302
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
6285
6303
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6286
|
-
|
|
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>;
|
|
6287
6308
|
}, "strip", z.ZodTypeAny, {
|
|
6288
6309
|
title: string;
|
|
6289
|
-
content: string;
|
|
6290
6310
|
pageNumber?: number | undefined;
|
|
6311
|
+
sourceSpanIds?: string[] | undefined;
|
|
6312
|
+
sourceTextHash?: string | undefined;
|
|
6313
|
+
excerpt?: string | undefined;
|
|
6314
|
+
content?: string | undefined;
|
|
6291
6315
|
sectionNumber?: string | undefined;
|
|
6292
6316
|
}, {
|
|
6293
6317
|
title: string;
|
|
6294
|
-
content: string;
|
|
6295
6318
|
pageNumber?: number | undefined;
|
|
6319
|
+
sourceSpanIds?: string[] | undefined;
|
|
6320
|
+
sourceTextHash?: string | undefined;
|
|
6321
|
+
excerpt?: string | undefined;
|
|
6322
|
+
content?: string | undefined;
|
|
6296
6323
|
sectionNumber?: string | undefined;
|
|
6297
6324
|
}>;
|
|
6298
6325
|
type Subsection = z.infer<typeof SubsectionSchema>;
|
|
@@ -6303,21 +6330,31 @@ declare const SectionSchema: z.ZodObject<{
|
|
|
6303
6330
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6304
6331
|
type: z.ZodString;
|
|
6305
6332
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
6306
|
-
|
|
6333
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
6334
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6307
6335
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6308
6336
|
title: z.ZodString;
|
|
6309
6337
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
6310
6338
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6311
|
-
|
|
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>;
|
|
6312
6343
|
}, "strip", z.ZodTypeAny, {
|
|
6313
6344
|
title: string;
|
|
6314
|
-
content: string;
|
|
6315
6345
|
pageNumber?: number | undefined;
|
|
6346
|
+
sourceSpanIds?: string[] | undefined;
|
|
6347
|
+
sourceTextHash?: string | undefined;
|
|
6348
|
+
excerpt?: string | undefined;
|
|
6349
|
+
content?: string | undefined;
|
|
6316
6350
|
sectionNumber?: string | undefined;
|
|
6317
6351
|
}, {
|
|
6318
6352
|
title: string;
|
|
6319
|
-
content: string;
|
|
6320
6353
|
pageNumber?: number | undefined;
|
|
6354
|
+
sourceSpanIds?: string[] | undefined;
|
|
6355
|
+
sourceTextHash?: string | undefined;
|
|
6356
|
+
excerpt?: string | undefined;
|
|
6357
|
+
content?: string | undefined;
|
|
6321
6358
|
sectionNumber?: string | undefined;
|
|
6322
6359
|
}>, "many">>;
|
|
6323
6360
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -6327,34 +6364,42 @@ declare const SectionSchema: z.ZodObject<{
|
|
|
6327
6364
|
type: string;
|
|
6328
6365
|
title: string;
|
|
6329
6366
|
pageStart: number;
|
|
6330
|
-
content: string;
|
|
6331
6367
|
pageEnd?: number | undefined;
|
|
6332
6368
|
recordId?: string | undefined;
|
|
6333
6369
|
sourceSpanIds?: string[] | undefined;
|
|
6334
6370
|
sourceTextHash?: string | undefined;
|
|
6371
|
+
excerpt?: string | undefined;
|
|
6372
|
+
content?: string | undefined;
|
|
6335
6373
|
sectionNumber?: string | undefined;
|
|
6336
6374
|
coverageType?: string | undefined;
|
|
6337
6375
|
subsections?: {
|
|
6338
6376
|
title: string;
|
|
6339
|
-
content: string;
|
|
6340
6377
|
pageNumber?: number | undefined;
|
|
6378
|
+
sourceSpanIds?: string[] | undefined;
|
|
6379
|
+
sourceTextHash?: string | undefined;
|
|
6380
|
+
excerpt?: string | undefined;
|
|
6381
|
+
content?: string | undefined;
|
|
6341
6382
|
sectionNumber?: string | undefined;
|
|
6342
6383
|
}[] | undefined;
|
|
6343
6384
|
}, {
|
|
6344
6385
|
type: string;
|
|
6345
6386
|
title: string;
|
|
6346
6387
|
pageStart: number;
|
|
6347
|
-
content: string;
|
|
6348
6388
|
pageEnd?: number | undefined;
|
|
6349
6389
|
recordId?: string | undefined;
|
|
6350
6390
|
sourceSpanIds?: string[] | undefined;
|
|
6351
6391
|
sourceTextHash?: string | undefined;
|
|
6392
|
+
excerpt?: string | undefined;
|
|
6393
|
+
content?: string | undefined;
|
|
6352
6394
|
sectionNumber?: string | undefined;
|
|
6353
6395
|
coverageType?: string | undefined;
|
|
6354
6396
|
subsections?: {
|
|
6355
6397
|
title: string;
|
|
6356
|
-
content: string;
|
|
6357
6398
|
pageNumber?: number | undefined;
|
|
6399
|
+
sourceSpanIds?: string[] | undefined;
|
|
6400
|
+
sourceTextHash?: string | undefined;
|
|
6401
|
+
excerpt?: string | undefined;
|
|
6402
|
+
content?: string | undefined;
|
|
6358
6403
|
sectionNumber?: string | undefined;
|
|
6359
6404
|
}[] | undefined;
|
|
6360
6405
|
}>;
|
|
@@ -6556,21 +6601,31 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6556
6601
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6557
6602
|
type: z.ZodString;
|
|
6558
6603
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
6559
|
-
|
|
6604
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
6605
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6560
6606
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6561
6607
|
title: z.ZodString;
|
|
6562
6608
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
6563
6609
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
6564
|
-
|
|
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>;
|
|
6565
6614
|
}, "strip", z.ZodTypeAny, {
|
|
6566
6615
|
title: string;
|
|
6567
|
-
content: string;
|
|
6568
6616
|
pageNumber?: number | undefined;
|
|
6617
|
+
sourceSpanIds?: string[] | undefined;
|
|
6618
|
+
sourceTextHash?: string | undefined;
|
|
6619
|
+
excerpt?: string | undefined;
|
|
6620
|
+
content?: string | undefined;
|
|
6569
6621
|
sectionNumber?: string | undefined;
|
|
6570
6622
|
}, {
|
|
6571
6623
|
title: string;
|
|
6572
|
-
content: string;
|
|
6573
6624
|
pageNumber?: number | undefined;
|
|
6625
|
+
sourceSpanIds?: string[] | undefined;
|
|
6626
|
+
sourceTextHash?: string | undefined;
|
|
6627
|
+
excerpt?: string | undefined;
|
|
6628
|
+
content?: string | undefined;
|
|
6574
6629
|
sectionNumber?: string | undefined;
|
|
6575
6630
|
}>, "many">>;
|
|
6576
6631
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -6580,34 +6635,42 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6580
6635
|
type: string;
|
|
6581
6636
|
title: string;
|
|
6582
6637
|
pageStart: number;
|
|
6583
|
-
content: string;
|
|
6584
6638
|
pageEnd?: number | undefined;
|
|
6585
6639
|
recordId?: string | undefined;
|
|
6586
6640
|
sourceSpanIds?: string[] | undefined;
|
|
6587
6641
|
sourceTextHash?: string | undefined;
|
|
6642
|
+
excerpt?: string | undefined;
|
|
6643
|
+
content?: string | undefined;
|
|
6588
6644
|
sectionNumber?: string | undefined;
|
|
6589
6645
|
coverageType?: string | undefined;
|
|
6590
6646
|
subsections?: {
|
|
6591
6647
|
title: string;
|
|
6592
|
-
content: string;
|
|
6593
6648
|
pageNumber?: number | undefined;
|
|
6649
|
+
sourceSpanIds?: string[] | undefined;
|
|
6650
|
+
sourceTextHash?: string | undefined;
|
|
6651
|
+
excerpt?: string | undefined;
|
|
6652
|
+
content?: string | undefined;
|
|
6594
6653
|
sectionNumber?: string | undefined;
|
|
6595
6654
|
}[] | undefined;
|
|
6596
6655
|
}, {
|
|
6597
6656
|
type: string;
|
|
6598
6657
|
title: string;
|
|
6599
6658
|
pageStart: number;
|
|
6600
|
-
content: string;
|
|
6601
6659
|
pageEnd?: number | undefined;
|
|
6602
6660
|
recordId?: string | undefined;
|
|
6603
6661
|
sourceSpanIds?: string[] | undefined;
|
|
6604
6662
|
sourceTextHash?: string | undefined;
|
|
6663
|
+
excerpt?: string | undefined;
|
|
6664
|
+
content?: string | undefined;
|
|
6605
6665
|
sectionNumber?: string | undefined;
|
|
6606
6666
|
coverageType?: string | undefined;
|
|
6607
6667
|
subsections?: {
|
|
6608
6668
|
title: string;
|
|
6609
|
-
content: string;
|
|
6610
6669
|
pageNumber?: number | undefined;
|
|
6670
|
+
sourceSpanIds?: string[] | undefined;
|
|
6671
|
+
sourceTextHash?: string | undefined;
|
|
6672
|
+
excerpt?: string | undefined;
|
|
6673
|
+
content?: string | undefined;
|
|
6611
6674
|
sectionNumber?: string | undefined;
|
|
6612
6675
|
}[] | undefined;
|
|
6613
6676
|
}>, "many">>;
|
|
@@ -6924,7 +6987,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6924
6987
|
}>, "many">>;
|
|
6925
6988
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6926
6989
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
6927
|
-
|
|
6990
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
6991
|
+
content: z.ZodOptional<z.ZodString>;
|
|
6928
6992
|
pageStart: z.ZodNumber;
|
|
6929
6993
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
6930
6994
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -6935,7 +6999,6 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6935
6999
|
formNumber: string;
|
|
6936
7000
|
pageStart: number;
|
|
6937
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";
|
|
6938
|
-
content: string;
|
|
6939
7002
|
editionDate?: string | undefined;
|
|
6940
7003
|
pageEnd?: number | undefined;
|
|
6941
7004
|
recordId?: string | undefined;
|
|
@@ -6959,12 +7022,13 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6959
7022
|
}[] | undefined;
|
|
6960
7023
|
keyTerms?: string[] | undefined;
|
|
6961
7024
|
premiumImpact?: string | undefined;
|
|
7025
|
+
excerpt?: string | undefined;
|
|
7026
|
+
content?: string | undefined;
|
|
6962
7027
|
}, {
|
|
6963
7028
|
title: string;
|
|
6964
7029
|
formNumber: string;
|
|
6965
7030
|
pageStart: number;
|
|
6966
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";
|
|
6967
|
-
content: string;
|
|
6968
7032
|
editionDate?: string | undefined;
|
|
6969
7033
|
pageEnd?: number | undefined;
|
|
6970
7034
|
recordId?: string | undefined;
|
|
@@ -6988,6 +7052,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
6988
7052
|
}[] | undefined;
|
|
6989
7053
|
keyTerms?: string[] | undefined;
|
|
6990
7054
|
premiumImpact?: string | undefined;
|
|
7055
|
+
excerpt?: string | undefined;
|
|
7056
|
+
content?: string | undefined;
|
|
6991
7057
|
}>, "many">>;
|
|
6992
7058
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6993
7059
|
name: z.ZodString;
|
|
@@ -10803,17 +10869,21 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
10803
10869
|
type: string;
|
|
10804
10870
|
title: string;
|
|
10805
10871
|
pageStart: number;
|
|
10806
|
-
content: string;
|
|
10807
10872
|
pageEnd?: number | undefined;
|
|
10808
10873
|
recordId?: string | undefined;
|
|
10809
10874
|
sourceSpanIds?: string[] | undefined;
|
|
10810
10875
|
sourceTextHash?: string | undefined;
|
|
10876
|
+
excerpt?: string | undefined;
|
|
10877
|
+
content?: string | undefined;
|
|
10811
10878
|
sectionNumber?: string | undefined;
|
|
10812
10879
|
coverageType?: string | undefined;
|
|
10813
10880
|
subsections?: {
|
|
10814
10881
|
title: string;
|
|
10815
|
-
content: string;
|
|
10816
10882
|
pageNumber?: number | undefined;
|
|
10883
|
+
sourceSpanIds?: string[] | undefined;
|
|
10884
|
+
sourceTextHash?: string | undefined;
|
|
10885
|
+
excerpt?: string | undefined;
|
|
10886
|
+
content?: string | undefined;
|
|
10817
10887
|
sectionNumber?: string | undefined;
|
|
10818
10888
|
}[] | undefined;
|
|
10819
10889
|
}[] | undefined;
|
|
@@ -10915,7 +10985,6 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
10915
10985
|
formNumber: string;
|
|
10916
10986
|
pageStart: number;
|
|
10917
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";
|
|
10918
|
-
content: string;
|
|
10919
10988
|
editionDate?: string | undefined;
|
|
10920
10989
|
pageEnd?: number | undefined;
|
|
10921
10990
|
recordId?: string | undefined;
|
|
@@ -10939,6 +11008,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
10939
11008
|
}[] | undefined;
|
|
10940
11009
|
keyTerms?: string[] | undefined;
|
|
10941
11010
|
premiumImpact?: string | undefined;
|
|
11011
|
+
excerpt?: string | undefined;
|
|
11012
|
+
content?: string | undefined;
|
|
10942
11013
|
}[] | undefined;
|
|
10943
11014
|
exclusions?: {
|
|
10944
11015
|
name: string;
|
|
@@ -11781,17 +11852,21 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
11781
11852
|
type: string;
|
|
11782
11853
|
title: string;
|
|
11783
11854
|
pageStart: number;
|
|
11784
|
-
content: string;
|
|
11785
11855
|
pageEnd?: number | undefined;
|
|
11786
11856
|
recordId?: string | undefined;
|
|
11787
11857
|
sourceSpanIds?: string[] | undefined;
|
|
11788
11858
|
sourceTextHash?: string | undefined;
|
|
11859
|
+
excerpt?: string | undefined;
|
|
11860
|
+
content?: string | undefined;
|
|
11789
11861
|
sectionNumber?: string | undefined;
|
|
11790
11862
|
coverageType?: string | undefined;
|
|
11791
11863
|
subsections?: {
|
|
11792
11864
|
title: string;
|
|
11793
|
-
content: string;
|
|
11794
11865
|
pageNumber?: number | undefined;
|
|
11866
|
+
sourceSpanIds?: string[] | undefined;
|
|
11867
|
+
sourceTextHash?: string | undefined;
|
|
11868
|
+
excerpt?: string | undefined;
|
|
11869
|
+
content?: string | undefined;
|
|
11795
11870
|
sectionNumber?: string | undefined;
|
|
11796
11871
|
}[] | undefined;
|
|
11797
11872
|
}[] | undefined;
|
|
@@ -11893,7 +11968,6 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
11893
11968
|
formNumber: string;
|
|
11894
11969
|
pageStart: number;
|
|
11895
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";
|
|
11896
|
-
content: string;
|
|
11897
11971
|
editionDate?: string | undefined;
|
|
11898
11972
|
pageEnd?: number | undefined;
|
|
11899
11973
|
recordId?: string | undefined;
|
|
@@ -11917,6 +11991,8 @@ declare const PolicyDocumentSchema: z.ZodObject<{
|
|
|
11917
11991
|
}[] | undefined;
|
|
11918
11992
|
keyTerms?: string[] | undefined;
|
|
11919
11993
|
premiumImpact?: string | undefined;
|
|
11994
|
+
excerpt?: string | undefined;
|
|
11995
|
+
content?: string | undefined;
|
|
11920
11996
|
}[] | undefined;
|
|
11921
11997
|
exclusions?: {
|
|
11922
11998
|
name: string;
|
|
@@ -12263,21 +12339,31 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12263
12339
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
12264
12340
|
type: z.ZodString;
|
|
12265
12341
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
12266
|
-
|
|
12342
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
12343
|
+
content: z.ZodOptional<z.ZodString>;
|
|
12267
12344
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12268
12345
|
title: z.ZodString;
|
|
12269
12346
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
12270
12347
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
12271
|
-
|
|
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>;
|
|
12272
12352
|
}, "strip", z.ZodTypeAny, {
|
|
12273
12353
|
title: string;
|
|
12274
|
-
content: string;
|
|
12275
12354
|
pageNumber?: number | undefined;
|
|
12355
|
+
sourceSpanIds?: string[] | undefined;
|
|
12356
|
+
sourceTextHash?: string | undefined;
|
|
12357
|
+
excerpt?: string | undefined;
|
|
12358
|
+
content?: string | undefined;
|
|
12276
12359
|
sectionNumber?: string | undefined;
|
|
12277
12360
|
}, {
|
|
12278
12361
|
title: string;
|
|
12279
|
-
content: string;
|
|
12280
12362
|
pageNumber?: number | undefined;
|
|
12363
|
+
sourceSpanIds?: string[] | undefined;
|
|
12364
|
+
sourceTextHash?: string | undefined;
|
|
12365
|
+
excerpt?: string | undefined;
|
|
12366
|
+
content?: string | undefined;
|
|
12281
12367
|
sectionNumber?: string | undefined;
|
|
12282
12368
|
}>, "many">>;
|
|
12283
12369
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -12287,34 +12373,42 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12287
12373
|
type: string;
|
|
12288
12374
|
title: string;
|
|
12289
12375
|
pageStart: number;
|
|
12290
|
-
content: string;
|
|
12291
12376
|
pageEnd?: number | undefined;
|
|
12292
12377
|
recordId?: string | undefined;
|
|
12293
12378
|
sourceSpanIds?: string[] | undefined;
|
|
12294
12379
|
sourceTextHash?: string | undefined;
|
|
12380
|
+
excerpt?: string | undefined;
|
|
12381
|
+
content?: string | undefined;
|
|
12295
12382
|
sectionNumber?: string | undefined;
|
|
12296
12383
|
coverageType?: string | undefined;
|
|
12297
12384
|
subsections?: {
|
|
12298
12385
|
title: string;
|
|
12299
|
-
content: string;
|
|
12300
12386
|
pageNumber?: number | undefined;
|
|
12387
|
+
sourceSpanIds?: string[] | undefined;
|
|
12388
|
+
sourceTextHash?: string | undefined;
|
|
12389
|
+
excerpt?: string | undefined;
|
|
12390
|
+
content?: string | undefined;
|
|
12301
12391
|
sectionNumber?: string | undefined;
|
|
12302
12392
|
}[] | undefined;
|
|
12303
12393
|
}, {
|
|
12304
12394
|
type: string;
|
|
12305
12395
|
title: string;
|
|
12306
12396
|
pageStart: number;
|
|
12307
|
-
content: string;
|
|
12308
12397
|
pageEnd?: number | undefined;
|
|
12309
12398
|
recordId?: string | undefined;
|
|
12310
12399
|
sourceSpanIds?: string[] | undefined;
|
|
12311
12400
|
sourceTextHash?: string | undefined;
|
|
12401
|
+
excerpt?: string | undefined;
|
|
12402
|
+
content?: string | undefined;
|
|
12312
12403
|
sectionNumber?: string | undefined;
|
|
12313
12404
|
coverageType?: string | undefined;
|
|
12314
12405
|
subsections?: {
|
|
12315
12406
|
title: string;
|
|
12316
|
-
content: string;
|
|
12317
12407
|
pageNumber?: number | undefined;
|
|
12408
|
+
sourceSpanIds?: string[] | undefined;
|
|
12409
|
+
sourceTextHash?: string | undefined;
|
|
12410
|
+
excerpt?: string | undefined;
|
|
12411
|
+
content?: string | undefined;
|
|
12318
12412
|
sectionNumber?: string | undefined;
|
|
12319
12413
|
}[] | undefined;
|
|
12320
12414
|
}>, "many">>;
|
|
@@ -12631,7 +12725,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12631
12725
|
}>, "many">>;
|
|
12632
12726
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12633
12727
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
12634
|
-
|
|
12728
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
12729
|
+
content: z.ZodOptional<z.ZodString>;
|
|
12635
12730
|
pageStart: z.ZodNumber;
|
|
12636
12731
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
12637
12732
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -12642,7 +12737,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12642
12737
|
formNumber: string;
|
|
12643
12738
|
pageStart: number;
|
|
12644
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";
|
|
12645
|
-
content: string;
|
|
12646
12740
|
editionDate?: string | undefined;
|
|
12647
12741
|
pageEnd?: number | undefined;
|
|
12648
12742
|
recordId?: string | undefined;
|
|
@@ -12666,12 +12760,13 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12666
12760
|
}[] | undefined;
|
|
12667
12761
|
keyTerms?: string[] | undefined;
|
|
12668
12762
|
premiumImpact?: string | undefined;
|
|
12763
|
+
excerpt?: string | undefined;
|
|
12764
|
+
content?: string | undefined;
|
|
12669
12765
|
}, {
|
|
12670
12766
|
title: string;
|
|
12671
12767
|
formNumber: string;
|
|
12672
12768
|
pageStart: number;
|
|
12673
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";
|
|
12674
|
-
content: string;
|
|
12675
12770
|
editionDate?: string | undefined;
|
|
12676
12771
|
pageEnd?: number | undefined;
|
|
12677
12772
|
recordId?: string | undefined;
|
|
@@ -12695,6 +12790,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
12695
12790
|
}[] | undefined;
|
|
12696
12791
|
keyTerms?: string[] | undefined;
|
|
12697
12792
|
premiumImpact?: string | undefined;
|
|
12793
|
+
excerpt?: string | undefined;
|
|
12794
|
+
content?: string | undefined;
|
|
12698
12795
|
}>, "many">>;
|
|
12699
12796
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12700
12797
|
name: z.ZodString;
|
|
@@ -16505,17 +16602,21 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
16505
16602
|
type: string;
|
|
16506
16603
|
title: string;
|
|
16507
16604
|
pageStart: number;
|
|
16508
|
-
content: string;
|
|
16509
16605
|
pageEnd?: number | undefined;
|
|
16510
16606
|
recordId?: string | undefined;
|
|
16511
16607
|
sourceSpanIds?: string[] | undefined;
|
|
16512
16608
|
sourceTextHash?: string | undefined;
|
|
16609
|
+
excerpt?: string | undefined;
|
|
16610
|
+
content?: string | undefined;
|
|
16513
16611
|
sectionNumber?: string | undefined;
|
|
16514
16612
|
coverageType?: string | undefined;
|
|
16515
16613
|
subsections?: {
|
|
16516
16614
|
title: string;
|
|
16517
|
-
content: string;
|
|
16518
16615
|
pageNumber?: number | undefined;
|
|
16616
|
+
sourceSpanIds?: string[] | undefined;
|
|
16617
|
+
sourceTextHash?: string | undefined;
|
|
16618
|
+
excerpt?: string | undefined;
|
|
16619
|
+
content?: string | undefined;
|
|
16519
16620
|
sectionNumber?: string | undefined;
|
|
16520
16621
|
}[] | undefined;
|
|
16521
16622
|
}[] | undefined;
|
|
@@ -16617,7 +16718,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
16617
16718
|
formNumber: string;
|
|
16618
16719
|
pageStart: number;
|
|
16619
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";
|
|
16620
|
-
content: string;
|
|
16621
16721
|
editionDate?: string | undefined;
|
|
16622
16722
|
pageEnd?: number | undefined;
|
|
16623
16723
|
recordId?: string | undefined;
|
|
@@ -16641,6 +16741,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
16641
16741
|
}[] | undefined;
|
|
16642
16742
|
keyTerms?: string[] | undefined;
|
|
16643
16743
|
premiumImpact?: string | undefined;
|
|
16744
|
+
excerpt?: string | undefined;
|
|
16745
|
+
content?: string | undefined;
|
|
16644
16746
|
}[] | undefined;
|
|
16645
16747
|
exclusions?: {
|
|
16646
16748
|
name: string;
|
|
@@ -17512,17 +17614,21 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
17512
17614
|
type: string;
|
|
17513
17615
|
title: string;
|
|
17514
17616
|
pageStart: number;
|
|
17515
|
-
content: string;
|
|
17516
17617
|
pageEnd?: number | undefined;
|
|
17517
17618
|
recordId?: string | undefined;
|
|
17518
17619
|
sourceSpanIds?: string[] | undefined;
|
|
17519
17620
|
sourceTextHash?: string | undefined;
|
|
17621
|
+
excerpt?: string | undefined;
|
|
17622
|
+
content?: string | undefined;
|
|
17520
17623
|
sectionNumber?: string | undefined;
|
|
17521
17624
|
coverageType?: string | undefined;
|
|
17522
17625
|
subsections?: {
|
|
17523
17626
|
title: string;
|
|
17524
|
-
content: string;
|
|
17525
17627
|
pageNumber?: number | undefined;
|
|
17628
|
+
sourceSpanIds?: string[] | undefined;
|
|
17629
|
+
sourceTextHash?: string | undefined;
|
|
17630
|
+
excerpt?: string | undefined;
|
|
17631
|
+
content?: string | undefined;
|
|
17526
17632
|
sectionNumber?: string | undefined;
|
|
17527
17633
|
}[] | undefined;
|
|
17528
17634
|
}[] | undefined;
|
|
@@ -17624,7 +17730,6 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
17624
17730
|
formNumber: string;
|
|
17625
17731
|
pageStart: number;
|
|
17626
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";
|
|
17627
|
-
content: string;
|
|
17628
17733
|
editionDate?: string | undefined;
|
|
17629
17734
|
pageEnd?: number | undefined;
|
|
17630
17735
|
recordId?: string | undefined;
|
|
@@ -17648,6 +17753,8 @@ declare const QuoteDocumentSchema: z.ZodObject<{
|
|
|
17648
17753
|
}[] | undefined;
|
|
17649
17754
|
keyTerms?: string[] | undefined;
|
|
17650
17755
|
premiumImpact?: string | undefined;
|
|
17756
|
+
excerpt?: string | undefined;
|
|
17757
|
+
content?: string | undefined;
|
|
17651
17758
|
}[] | undefined;
|
|
17652
17759
|
exclusions?: {
|
|
17653
17760
|
name: string;
|
|
@@ -17953,21 +18060,31 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
17953
18060
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
17954
18061
|
type: z.ZodString;
|
|
17955
18062
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
17956
|
-
|
|
18063
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
18064
|
+
content: z.ZodOptional<z.ZodString>;
|
|
17957
18065
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17958
18066
|
title: z.ZodString;
|
|
17959
18067
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
17960
18068
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
17961
|
-
|
|
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>;
|
|
17962
18073
|
}, "strip", z.ZodTypeAny, {
|
|
17963
18074
|
title: string;
|
|
17964
|
-
content: string;
|
|
17965
18075
|
pageNumber?: number | undefined;
|
|
18076
|
+
sourceSpanIds?: string[] | undefined;
|
|
18077
|
+
sourceTextHash?: string | undefined;
|
|
18078
|
+
excerpt?: string | undefined;
|
|
18079
|
+
content?: string | undefined;
|
|
17966
18080
|
sectionNumber?: string | undefined;
|
|
17967
18081
|
}, {
|
|
17968
18082
|
title: string;
|
|
17969
|
-
content: string;
|
|
17970
18083
|
pageNumber?: number | undefined;
|
|
18084
|
+
sourceSpanIds?: string[] | undefined;
|
|
18085
|
+
sourceTextHash?: string | undefined;
|
|
18086
|
+
excerpt?: string | undefined;
|
|
18087
|
+
content?: string | undefined;
|
|
17971
18088
|
sectionNumber?: string | undefined;
|
|
17972
18089
|
}>, "many">>;
|
|
17973
18090
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -17977,34 +18094,42 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
17977
18094
|
type: string;
|
|
17978
18095
|
title: string;
|
|
17979
18096
|
pageStart: number;
|
|
17980
|
-
content: string;
|
|
17981
18097
|
pageEnd?: number | undefined;
|
|
17982
18098
|
recordId?: string | undefined;
|
|
17983
18099
|
sourceSpanIds?: string[] | undefined;
|
|
17984
18100
|
sourceTextHash?: string | undefined;
|
|
18101
|
+
excerpt?: string | undefined;
|
|
18102
|
+
content?: string | undefined;
|
|
17985
18103
|
sectionNumber?: string | undefined;
|
|
17986
18104
|
coverageType?: string | undefined;
|
|
17987
18105
|
subsections?: {
|
|
17988
18106
|
title: string;
|
|
17989
|
-
content: string;
|
|
17990
18107
|
pageNumber?: number | undefined;
|
|
18108
|
+
sourceSpanIds?: string[] | undefined;
|
|
18109
|
+
sourceTextHash?: string | undefined;
|
|
18110
|
+
excerpt?: string | undefined;
|
|
18111
|
+
content?: string | undefined;
|
|
17991
18112
|
sectionNumber?: string | undefined;
|
|
17992
18113
|
}[] | undefined;
|
|
17993
18114
|
}, {
|
|
17994
18115
|
type: string;
|
|
17995
18116
|
title: string;
|
|
17996
18117
|
pageStart: number;
|
|
17997
|
-
content: string;
|
|
17998
18118
|
pageEnd?: number | undefined;
|
|
17999
18119
|
recordId?: string | undefined;
|
|
18000
18120
|
sourceSpanIds?: string[] | undefined;
|
|
18001
18121
|
sourceTextHash?: string | undefined;
|
|
18122
|
+
excerpt?: string | undefined;
|
|
18123
|
+
content?: string | undefined;
|
|
18002
18124
|
sectionNumber?: string | undefined;
|
|
18003
18125
|
coverageType?: string | undefined;
|
|
18004
18126
|
subsections?: {
|
|
18005
18127
|
title: string;
|
|
18006
|
-
content: string;
|
|
18007
18128
|
pageNumber?: number | undefined;
|
|
18129
|
+
sourceSpanIds?: string[] | undefined;
|
|
18130
|
+
sourceTextHash?: string | undefined;
|
|
18131
|
+
excerpt?: string | undefined;
|
|
18132
|
+
content?: string | undefined;
|
|
18008
18133
|
sectionNumber?: string | undefined;
|
|
18009
18134
|
}[] | undefined;
|
|
18010
18135
|
}>, "many">>;
|
|
@@ -18321,7 +18446,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18321
18446
|
}>, "many">>;
|
|
18322
18447
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18323
18448
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
18324
|
-
|
|
18449
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
18450
|
+
content: z.ZodOptional<z.ZodString>;
|
|
18325
18451
|
pageStart: z.ZodNumber;
|
|
18326
18452
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
18327
18453
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -18332,7 +18458,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18332
18458
|
formNumber: string;
|
|
18333
18459
|
pageStart: number;
|
|
18334
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";
|
|
18335
|
-
content: string;
|
|
18336
18461
|
editionDate?: string | undefined;
|
|
18337
18462
|
pageEnd?: number | undefined;
|
|
18338
18463
|
recordId?: string | undefined;
|
|
@@ -18356,12 +18481,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18356
18481
|
}[] | undefined;
|
|
18357
18482
|
keyTerms?: string[] | undefined;
|
|
18358
18483
|
premiumImpact?: string | undefined;
|
|
18484
|
+
excerpt?: string | undefined;
|
|
18485
|
+
content?: string | undefined;
|
|
18359
18486
|
}, {
|
|
18360
18487
|
title: string;
|
|
18361
18488
|
formNumber: string;
|
|
18362
18489
|
pageStart: number;
|
|
18363
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";
|
|
18364
|
-
content: string;
|
|
18365
18491
|
editionDate?: string | undefined;
|
|
18366
18492
|
pageEnd?: number | undefined;
|
|
18367
18493
|
recordId?: string | undefined;
|
|
@@ -18385,6 +18511,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
18385
18511
|
}[] | undefined;
|
|
18386
18512
|
keyTerms?: string[] | undefined;
|
|
18387
18513
|
premiumImpact?: string | undefined;
|
|
18514
|
+
excerpt?: string | undefined;
|
|
18515
|
+
content?: string | undefined;
|
|
18388
18516
|
}>, "many">>;
|
|
18389
18517
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18390
18518
|
name: z.ZodString;
|
|
@@ -22200,17 +22328,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
22200
22328
|
type: string;
|
|
22201
22329
|
title: string;
|
|
22202
22330
|
pageStart: number;
|
|
22203
|
-
content: string;
|
|
22204
22331
|
pageEnd?: number | undefined;
|
|
22205
22332
|
recordId?: string | undefined;
|
|
22206
22333
|
sourceSpanIds?: string[] | undefined;
|
|
22207
22334
|
sourceTextHash?: string | undefined;
|
|
22335
|
+
excerpt?: string | undefined;
|
|
22336
|
+
content?: string | undefined;
|
|
22208
22337
|
sectionNumber?: string | undefined;
|
|
22209
22338
|
coverageType?: string | undefined;
|
|
22210
22339
|
subsections?: {
|
|
22211
22340
|
title: string;
|
|
22212
|
-
content: string;
|
|
22213
22341
|
pageNumber?: number | undefined;
|
|
22342
|
+
sourceSpanIds?: string[] | undefined;
|
|
22343
|
+
sourceTextHash?: string | undefined;
|
|
22344
|
+
excerpt?: string | undefined;
|
|
22345
|
+
content?: string | undefined;
|
|
22214
22346
|
sectionNumber?: string | undefined;
|
|
22215
22347
|
}[] | undefined;
|
|
22216
22348
|
}[] | undefined;
|
|
@@ -22312,7 +22444,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
22312
22444
|
formNumber: string;
|
|
22313
22445
|
pageStart: number;
|
|
22314
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";
|
|
22315
|
-
content: string;
|
|
22316
22447
|
editionDate?: string | undefined;
|
|
22317
22448
|
pageEnd?: number | undefined;
|
|
22318
22449
|
recordId?: string | undefined;
|
|
@@ -22336,6 +22467,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
22336
22467
|
}[] | undefined;
|
|
22337
22468
|
keyTerms?: string[] | undefined;
|
|
22338
22469
|
premiumImpact?: string | undefined;
|
|
22470
|
+
excerpt?: string | undefined;
|
|
22471
|
+
content?: string | undefined;
|
|
22339
22472
|
}[] | undefined;
|
|
22340
22473
|
exclusions?: {
|
|
22341
22474
|
name: string;
|
|
@@ -23178,17 +23311,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23178
23311
|
type: string;
|
|
23179
23312
|
title: string;
|
|
23180
23313
|
pageStart: number;
|
|
23181
|
-
content: string;
|
|
23182
23314
|
pageEnd?: number | undefined;
|
|
23183
23315
|
recordId?: string | undefined;
|
|
23184
23316
|
sourceSpanIds?: string[] | undefined;
|
|
23185
23317
|
sourceTextHash?: string | undefined;
|
|
23318
|
+
excerpt?: string | undefined;
|
|
23319
|
+
content?: string | undefined;
|
|
23186
23320
|
sectionNumber?: string | undefined;
|
|
23187
23321
|
coverageType?: string | undefined;
|
|
23188
23322
|
subsections?: {
|
|
23189
23323
|
title: string;
|
|
23190
|
-
content: string;
|
|
23191
23324
|
pageNumber?: number | undefined;
|
|
23325
|
+
sourceSpanIds?: string[] | undefined;
|
|
23326
|
+
sourceTextHash?: string | undefined;
|
|
23327
|
+
excerpt?: string | undefined;
|
|
23328
|
+
content?: string | undefined;
|
|
23192
23329
|
sectionNumber?: string | undefined;
|
|
23193
23330
|
}[] | undefined;
|
|
23194
23331
|
}[] | undefined;
|
|
@@ -23290,7 +23427,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23290
23427
|
formNumber: string;
|
|
23291
23428
|
pageStart: number;
|
|
23292
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";
|
|
23293
|
-
content: string;
|
|
23294
23430
|
editionDate?: string | undefined;
|
|
23295
23431
|
pageEnd?: number | undefined;
|
|
23296
23432
|
recordId?: string | undefined;
|
|
@@ -23314,6 +23450,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23314
23450
|
}[] | undefined;
|
|
23315
23451
|
keyTerms?: string[] | undefined;
|
|
23316
23452
|
premiumImpact?: string | undefined;
|
|
23453
|
+
excerpt?: string | undefined;
|
|
23454
|
+
content?: string | undefined;
|
|
23317
23455
|
}[] | undefined;
|
|
23318
23456
|
exclusions?: {
|
|
23319
23457
|
name: string;
|
|
@@ -23658,21 +23796,31 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23658
23796
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
23659
23797
|
type: z.ZodString;
|
|
23660
23798
|
coverageType: z.ZodOptional<z.ZodString>;
|
|
23661
|
-
|
|
23799
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
23800
|
+
content: z.ZodOptional<z.ZodString>;
|
|
23662
23801
|
subsections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23663
23802
|
title: z.ZodString;
|
|
23664
23803
|
sectionNumber: z.ZodOptional<z.ZodString>;
|
|
23665
23804
|
pageNumber: z.ZodOptional<z.ZodNumber>;
|
|
23666
|
-
|
|
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>;
|
|
23667
23809
|
}, "strip", z.ZodTypeAny, {
|
|
23668
23810
|
title: string;
|
|
23669
|
-
content: string;
|
|
23670
23811
|
pageNumber?: number | undefined;
|
|
23812
|
+
sourceSpanIds?: string[] | undefined;
|
|
23813
|
+
sourceTextHash?: string | undefined;
|
|
23814
|
+
excerpt?: string | undefined;
|
|
23815
|
+
content?: string | undefined;
|
|
23671
23816
|
sectionNumber?: string | undefined;
|
|
23672
23817
|
}, {
|
|
23673
23818
|
title: string;
|
|
23674
|
-
content: string;
|
|
23675
23819
|
pageNumber?: number | undefined;
|
|
23820
|
+
sourceSpanIds?: string[] | undefined;
|
|
23821
|
+
sourceTextHash?: string | undefined;
|
|
23822
|
+
excerpt?: string | undefined;
|
|
23823
|
+
content?: string | undefined;
|
|
23676
23824
|
sectionNumber?: string | undefined;
|
|
23677
23825
|
}>, "many">>;
|
|
23678
23826
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -23682,34 +23830,42 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
23682
23830
|
type: string;
|
|
23683
23831
|
title: string;
|
|
23684
23832
|
pageStart: number;
|
|
23685
|
-
content: string;
|
|
23686
23833
|
pageEnd?: number | undefined;
|
|
23687
23834
|
recordId?: string | undefined;
|
|
23688
23835
|
sourceSpanIds?: string[] | undefined;
|
|
23689
23836
|
sourceTextHash?: string | undefined;
|
|
23837
|
+
excerpt?: string | undefined;
|
|
23838
|
+
content?: string | undefined;
|
|
23690
23839
|
sectionNumber?: string | undefined;
|
|
23691
23840
|
coverageType?: string | undefined;
|
|
23692
23841
|
subsections?: {
|
|
23693
23842
|
title: string;
|
|
23694
|
-
content: string;
|
|
23695
23843
|
pageNumber?: number | undefined;
|
|
23844
|
+
sourceSpanIds?: string[] | undefined;
|
|
23845
|
+
sourceTextHash?: string | undefined;
|
|
23846
|
+
excerpt?: string | undefined;
|
|
23847
|
+
content?: string | undefined;
|
|
23696
23848
|
sectionNumber?: string | undefined;
|
|
23697
23849
|
}[] | undefined;
|
|
23698
23850
|
}, {
|
|
23699
23851
|
type: string;
|
|
23700
23852
|
title: string;
|
|
23701
23853
|
pageStart: number;
|
|
23702
|
-
content: string;
|
|
23703
23854
|
pageEnd?: number | undefined;
|
|
23704
23855
|
recordId?: string | undefined;
|
|
23705
23856
|
sourceSpanIds?: string[] | undefined;
|
|
23706
23857
|
sourceTextHash?: string | undefined;
|
|
23858
|
+
excerpt?: string | undefined;
|
|
23859
|
+
content?: string | undefined;
|
|
23707
23860
|
sectionNumber?: string | undefined;
|
|
23708
23861
|
coverageType?: string | undefined;
|
|
23709
23862
|
subsections?: {
|
|
23710
23863
|
title: string;
|
|
23711
|
-
content: string;
|
|
23712
23864
|
pageNumber?: number | undefined;
|
|
23865
|
+
sourceSpanIds?: string[] | undefined;
|
|
23866
|
+
sourceTextHash?: string | undefined;
|
|
23867
|
+
excerpt?: string | undefined;
|
|
23868
|
+
content?: string | undefined;
|
|
23713
23869
|
sectionNumber?: string | undefined;
|
|
23714
23870
|
}[] | undefined;
|
|
23715
23871
|
}>, "many">>;
|
|
@@ -24026,7 +24182,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24026
24182
|
}>, "many">>;
|
|
24027
24183
|
keyTerms: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24028
24184
|
premiumImpact: z.ZodOptional<z.ZodString>;
|
|
24029
|
-
|
|
24185
|
+
excerpt: z.ZodOptional<z.ZodString>;
|
|
24186
|
+
content: z.ZodOptional<z.ZodString>;
|
|
24030
24187
|
pageStart: z.ZodNumber;
|
|
24031
24188
|
pageEnd: z.ZodOptional<z.ZodNumber>;
|
|
24032
24189
|
recordId: z.ZodOptional<z.ZodString>;
|
|
@@ -24037,7 +24194,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24037
24194
|
formNumber: string;
|
|
24038
24195
|
pageStart: number;
|
|
24039
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";
|
|
24040
|
-
content: string;
|
|
24041
24197
|
editionDate?: string | undefined;
|
|
24042
24198
|
pageEnd?: number | undefined;
|
|
24043
24199
|
recordId?: string | undefined;
|
|
@@ -24061,12 +24217,13 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24061
24217
|
}[] | undefined;
|
|
24062
24218
|
keyTerms?: string[] | undefined;
|
|
24063
24219
|
premiumImpact?: string | undefined;
|
|
24220
|
+
excerpt?: string | undefined;
|
|
24221
|
+
content?: string | undefined;
|
|
24064
24222
|
}, {
|
|
24065
24223
|
title: string;
|
|
24066
24224
|
formNumber: string;
|
|
24067
24225
|
pageStart: number;
|
|
24068
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";
|
|
24069
|
-
content: string;
|
|
24070
24227
|
editionDate?: string | undefined;
|
|
24071
24228
|
pageEnd?: number | undefined;
|
|
24072
24229
|
recordId?: string | undefined;
|
|
@@ -24090,6 +24247,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
24090
24247
|
}[] | undefined;
|
|
24091
24248
|
keyTerms?: string[] | undefined;
|
|
24092
24249
|
premiumImpact?: string | undefined;
|
|
24250
|
+
excerpt?: string | undefined;
|
|
24251
|
+
content?: string | undefined;
|
|
24093
24252
|
}>, "many">>;
|
|
24094
24253
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24095
24254
|
name: z.ZodString;
|
|
@@ -27900,17 +28059,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
27900
28059
|
type: string;
|
|
27901
28060
|
title: string;
|
|
27902
28061
|
pageStart: number;
|
|
27903
|
-
content: string;
|
|
27904
28062
|
pageEnd?: number | undefined;
|
|
27905
28063
|
recordId?: string | undefined;
|
|
27906
28064
|
sourceSpanIds?: string[] | undefined;
|
|
27907
28065
|
sourceTextHash?: string | undefined;
|
|
28066
|
+
excerpt?: string | undefined;
|
|
28067
|
+
content?: string | undefined;
|
|
27908
28068
|
sectionNumber?: string | undefined;
|
|
27909
28069
|
coverageType?: string | undefined;
|
|
27910
28070
|
subsections?: {
|
|
27911
28071
|
title: string;
|
|
27912
|
-
content: string;
|
|
27913
28072
|
pageNumber?: number | undefined;
|
|
28073
|
+
sourceSpanIds?: string[] | undefined;
|
|
28074
|
+
sourceTextHash?: string | undefined;
|
|
28075
|
+
excerpt?: string | undefined;
|
|
28076
|
+
content?: string | undefined;
|
|
27914
28077
|
sectionNumber?: string | undefined;
|
|
27915
28078
|
}[] | undefined;
|
|
27916
28079
|
}[] | undefined;
|
|
@@ -28012,7 +28175,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
28012
28175
|
formNumber: string;
|
|
28013
28176
|
pageStart: number;
|
|
28014
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";
|
|
28015
|
-
content: string;
|
|
28016
28178
|
editionDate?: string | undefined;
|
|
28017
28179
|
pageEnd?: number | undefined;
|
|
28018
28180
|
recordId?: string | undefined;
|
|
@@ -28036,6 +28198,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
28036
28198
|
}[] | undefined;
|
|
28037
28199
|
keyTerms?: string[] | undefined;
|
|
28038
28200
|
premiumImpact?: string | undefined;
|
|
28201
|
+
excerpt?: string | undefined;
|
|
28202
|
+
content?: string | undefined;
|
|
28039
28203
|
}[] | undefined;
|
|
28040
28204
|
exclusions?: {
|
|
28041
28205
|
name: string;
|
|
@@ -28907,17 +29071,21 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
28907
29071
|
type: string;
|
|
28908
29072
|
title: string;
|
|
28909
29073
|
pageStart: number;
|
|
28910
|
-
content: string;
|
|
28911
29074
|
pageEnd?: number | undefined;
|
|
28912
29075
|
recordId?: string | undefined;
|
|
28913
29076
|
sourceSpanIds?: string[] | undefined;
|
|
28914
29077
|
sourceTextHash?: string | undefined;
|
|
29078
|
+
excerpt?: string | undefined;
|
|
29079
|
+
content?: string | undefined;
|
|
28915
29080
|
sectionNumber?: string | undefined;
|
|
28916
29081
|
coverageType?: string | undefined;
|
|
28917
29082
|
subsections?: {
|
|
28918
29083
|
title: string;
|
|
28919
|
-
content: string;
|
|
28920
29084
|
pageNumber?: number | undefined;
|
|
29085
|
+
sourceSpanIds?: string[] | undefined;
|
|
29086
|
+
sourceTextHash?: string | undefined;
|
|
29087
|
+
excerpt?: string | undefined;
|
|
29088
|
+
content?: string | undefined;
|
|
28921
29089
|
sectionNumber?: string | undefined;
|
|
28922
29090
|
}[] | undefined;
|
|
28923
29091
|
}[] | undefined;
|
|
@@ -29019,7 +29187,6 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
29019
29187
|
formNumber: string;
|
|
29020
29188
|
pageStart: number;
|
|
29021
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";
|
|
29022
|
-
content: string;
|
|
29023
29190
|
editionDate?: string | undefined;
|
|
29024
29191
|
pageEnd?: number | undefined;
|
|
29025
29192
|
recordId?: string | undefined;
|
|
@@ -29043,6 +29210,8 @@ declare const InsuranceDocumentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
29043
29210
|
}[] | undefined;
|
|
29044
29211
|
keyTerms?: string[] | undefined;
|
|
29045
29212
|
premiumImpact?: string | undefined;
|
|
29213
|
+
excerpt?: string | undefined;
|
|
29214
|
+
content?: string | undefined;
|
|
29046
29215
|
}[] | undefined;
|
|
29047
29216
|
exclusions?: {
|
|
29048
29217
|
name: string;
|
|
@@ -31503,6 +31672,74 @@ declare class MemorySourceStore implements SourceStore {
|
|
|
31503
31672
|
searchSourceSpans(query: SourceRetrievalQuery): Promise<SourceRetrievalResult[]>;
|
|
31504
31673
|
}
|
|
31505
31674
|
|
|
31675
|
+
interface DoclingReferenceLike {
|
|
31676
|
+
$ref?: string;
|
|
31677
|
+
ref?: string;
|
|
31678
|
+
}
|
|
31679
|
+
interface DoclingProvenanceLike {
|
|
31680
|
+
page_no?: number;
|
|
31681
|
+
pageNo?: number;
|
|
31682
|
+
page?: number;
|
|
31683
|
+
bbox?: unknown;
|
|
31684
|
+
}
|
|
31685
|
+
interface DoclingItemLike {
|
|
31686
|
+
self_ref?: string;
|
|
31687
|
+
selfRef?: string;
|
|
31688
|
+
label?: string;
|
|
31689
|
+
text?: string;
|
|
31690
|
+
orig?: string;
|
|
31691
|
+
prov?: DoclingProvenanceLike[];
|
|
31692
|
+
children?: Array<string | DoclingReferenceLike>;
|
|
31693
|
+
data?: unknown;
|
|
31694
|
+
captions?: Array<string | DoclingReferenceLike>;
|
|
31695
|
+
}
|
|
31696
|
+
interface DoclingNodeLike {
|
|
31697
|
+
self_ref?: string;
|
|
31698
|
+
selfRef?: string;
|
|
31699
|
+
label?: string;
|
|
31700
|
+
children?: Array<string | DoclingReferenceLike>;
|
|
31701
|
+
}
|
|
31702
|
+
interface DoclingDocumentLike {
|
|
31703
|
+
name?: string;
|
|
31704
|
+
texts?: DoclingItemLike[];
|
|
31705
|
+
tables?: DoclingItemLike[];
|
|
31706
|
+
pictures?: DoclingItemLike[];
|
|
31707
|
+
key_value_items?: DoclingItemLike[];
|
|
31708
|
+
keyValueItems?: DoclingItemLike[];
|
|
31709
|
+
groups?: DoclingNodeLike[];
|
|
31710
|
+
body?: DoclingNodeLike;
|
|
31711
|
+
furniture?: DoclingNodeLike;
|
|
31712
|
+
pages?: unknown;
|
|
31713
|
+
}
|
|
31714
|
+
interface DoclingExtractionInput {
|
|
31715
|
+
kind: "docling_document";
|
|
31716
|
+
document: DoclingDocumentLike;
|
|
31717
|
+
sourceKind?: SourceKind;
|
|
31718
|
+
}
|
|
31719
|
+
interface DoclingNormalizedUnit {
|
|
31720
|
+
ref: string;
|
|
31721
|
+
label?: string;
|
|
31722
|
+
text: string;
|
|
31723
|
+
pageStart?: number;
|
|
31724
|
+
pageEnd?: number;
|
|
31725
|
+
bboxes?: SourceSpanBBox[];
|
|
31726
|
+
}
|
|
31727
|
+
interface NormalizedDoclingDocument {
|
|
31728
|
+
pageCount: number;
|
|
31729
|
+
fullText: string;
|
|
31730
|
+
pageTexts: Map<number, string>;
|
|
31731
|
+
units: DoclingNormalizedUnit[];
|
|
31732
|
+
sourceSpans: SourceSpan[];
|
|
31733
|
+
}
|
|
31734
|
+
declare function isDoclingExtractionInput(input: unknown): input is DoclingExtractionInput;
|
|
31735
|
+
declare function normalizeDoclingDocument(document: DoclingDocumentLike, options: {
|
|
31736
|
+
documentId: string;
|
|
31737
|
+
sourceKind?: SourceKind;
|
|
31738
|
+
}): NormalizedDoclingDocument;
|
|
31739
|
+
declare function getDoclingPageRangeText(normalized: NormalizedDoclingDocument, startPage: number, endPage: number): string;
|
|
31740
|
+
declare function buildDoclingProviderOptions(normalized: NormalizedDoclingDocument, existingOptions?: Record<string, unknown>): Record<string, unknown>;
|
|
31741
|
+
declare function mergeSourceSpans(spans: SourceSpan[]): SourceSpan[];
|
|
31742
|
+
|
|
31506
31743
|
declare const ClassifyResultSchema: z.ZodObject<{
|
|
31507
31744
|
documentType: z.ZodEnum<["policy", "quote"]>;
|
|
31508
31745
|
policyTypes: z.ZodArray<z.ZodEnum<["general_liability", "commercial_property", "commercial_auto", "non_owned_auto", "workers_comp", "umbrella", "excess_liability", "professional_liability", "cyber", "epli", "directors_officers", "fiduciary_liability", "crime_fidelity", "inland_marine", "builders_risk", "environmental", "ocean_marine", "surety", "product_liability", "bop", "management_liability_package", "property", "homeowners_ho3", "homeowners_ho5", "renters_ho4", "condo_ho6", "dwelling_fire", "mobile_home", "personal_auto", "personal_umbrella", "flood_nfip", "flood_private", "earthquake", "personal_inland_marine", "watercraft", "recreational_vehicle", "farm_ranch", "pet", "travel", "identity_theft", "title", "other"]>, "many">;
|
|
@@ -31731,8 +31968,9 @@ interface ExtractOptions {
|
|
|
31731
31968
|
/** Caller-provided raw source spans for this document, reused for evidence grounding and optional persistence. */
|
|
31732
31969
|
sourceSpans?: SourceSpan[];
|
|
31733
31970
|
}
|
|
31971
|
+
type ExtractionInput = PdfInput | DoclingExtractionInput;
|
|
31734
31972
|
declare function createExtractor(config: ExtractorConfig): {
|
|
31735
|
-
extract: (
|
|
31973
|
+
extract: (input: ExtractionInput, documentId?: string, options?: ExtractOptions) => Promise<ExtractionResult>;
|
|
31736
31974
|
};
|
|
31737
31975
|
|
|
31738
31976
|
/**
|
|
@@ -34160,4 +34398,4 @@ interface DocumentTemplate {
|
|
|
34160
34398
|
}
|
|
34161
34399
|
declare function getTemplate(policyType: string): DocumentTemplate;
|
|
34162
34400
|
|
|
34163
|
-
export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AgenticExecutionMode, AgenticExecutionModeSchema, type AnswerMergeResult, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, type AuxiliaryFact, AuxiliaryFactSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type CaseAction, CaseActionSchema, type CaseCitation, CaseCitationSchema, type CaseEvidence, type CaseEvidenceSource, CaseEvidenceSourceSchema, type CaseField, type CaseItem, type CasePacketArtifact, type CasePacketArtifactKind, CasePacketArtifactKindSchema, CasePacketArtifactSchema, type CaseProposal, CaseProposalSchema, type CaseProposalScore, CaseProposalScoreSchema, type CaseState, type CaseSubmissionPacket, CaseSubmissionPacketSchema, type CaseValidationIssue, CaseValidationIssueSchema, type CaseWorkflowPlan, type ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CoveredReason, CoveredReasonSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type Definition, DefinitionSchema, type DocumentChunk, type DocumentFilters, type DocumentStore, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionResult, type ExtractionState, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GeneratePceSubmissionPacketInput, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, type MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, type ModelBudgetConstraint, type ModelBudgetResolution, type ModelCallReport, type ModelCapabilities, type ModelTaskKind, type NamedInsured, NamedInsuredSchema, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PceAgentConfig, type PceCaseState, PceCaseStateSchema, type PceEvidenceSource, type PceExecutionModePreference, type PceMissingInfoQuestion, type PceNormalizationResult, PceNormalizationResultSchema, type PceQualityGateStatus, type PceQualityReport, type PceSubmissionPacket, PceSubmissionPacketSchema, type PceValidationIssue, type PdfInput, type PerformanceReport, type PersonalArticlesDeclarations, PersonalArticlesDeclarationsSchema, type PersonalAutoDeclarations, PersonalAutoDeclarationsSchema, type PersonalAutoUsage, PersonalAutoUsageSchema, type PersonalUmbrellaDeclarations, PersonalUmbrellaDeclarationsSchema, type PersonalVehicleDetails, PersonalVehicleDetailsSchema, type PetDeclarations, PetDeclarationsSchema, type PetSpecies, PetSpeciesSchema, type PipelineCheckpoint, type PipelineContext, type PipelineContextOptions, type Platform, type PlatformConfig, PlatformSchema, type PolicyChangeAction, PolicyChangeActionSchema, type PolicyChangeConfidence, PolicyChangeConfidenceSchema, type PolicyChangeImpact, PolicyChangeImpactSchema, type PolicyChangeItem, PolicyChangeItemSchema, type PolicyChangeKind, PolicyChangeKindSchema, type PolicyChangeMissingInfoQuestion, type PolicyChangePacket, type PolicyChangeRequest, PolicyChangeRequestSchema, type PolicyChangeState, type PolicyChangeStatus, PolicyChangeStatusSchema, type PolicyChangeValidationIssue, type PolicyCondition, PolicyConditionSchema, type PolicyDocument, PolicyDocumentSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessPceChangeRequestInput, type ProcessPceChangeRequestResult, type ProcessPceReplyInput, type ProcessPceReplyResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QueryRetrievalMode, QueryRetrievalModeSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type ResolveModelBudgetParams, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SectionSourceSpanOptions, type SharedLimit, SharedLimitSchema, type SourceChunk, type SourceChunkOptions, SourceChunkSchema, type SourceKind, SourceKindSchema, type SourcePageInput, type SourceRetrievalMode, type SourceRetrievalQuery, type SourceRetrievalResult, type SourceRetriever, type SourceSpan, type SourceSpanBBox, SourceSpanBBoxSchema, type SourceSpanIdInput, type SourceSpanKind, SourceSpanKindSchema, type SourceSpanLocation, SourceSpanLocationSchema, type SourceSpanRef, SourceSpanRefSchema, SourceSpanSchema, type SourceStore, type SourceTextUnitInput, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValidationIssueSeverity, ValidationIssueSeveritySchema, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildPageSourceSpans, buildPceNormalizePrompt, buildPceQualityReport, buildPceReplyPrompt, buildPceSubmissionPacket, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildSectionSourceSpans, buildSourceSpan, buildSourceSpanId, buildTextSourceSpans, buildVerifyPrompt, chunkDocument, chunkSourceSpans, collectPceEvidenceSources, compareSourceEvidence, createApplicationPipeline, createExtractor, createPceAgent, createPipelineContext, createQueryAgent, evaluateCaseProposals, evidenceContainsQuote, extractPageRange, fillAcroForm, generateNextMessage, getAcroFormFields, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isFileReference, mergeQuestionAnswers, normalizeForMatch, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, resolveModelBudget, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };
|
|
34401
|
+
export { ADMITTED_STATUSES, AGENT_TOOLS, APPLICATION_CLASSIFY_PROMPT, AUDIT_TYPES, type AcroFormFieldInfo, type AcroFormMapping, AcroFormMappingSchema, type Address, AddressSchema, type AdmittedStatus, AdmittedStatusSchema, type AgentContext, type AgenticExecutionMode, AgenticExecutionModeSchema, type AnswerMergeResult, type AnswerParsingResult, AnswerParsingResultSchema, type ApplicationClassifyResult, ApplicationClassifyResultSchema, ApplicationEmailReviewSchema, type ApplicationField, ApplicationFieldSchema, type ApplicationListFilters, type ApplicationPipelineConfig, ApplicationQualityArtifactSchema, ApplicationQualityIssueSchema, ApplicationQualityReportSchema, ApplicationQualityRoundSchema, type ApplicationState, ApplicationStateSchema, type ApplicationStore, type AttachmentInterpretation, AttachmentInterpretationSchema, type AuditType, AuditTypeSchema, type AutoFillMatch, AutoFillMatchSchema, type AutoFillResult, AutoFillResultSchema, type AuxiliaryFact, AuxiliaryFactSchema, BOAT_TYPES, type BackfillProvider, type BindingAuthority, BindingAuthoritySchema, type BoatType, BoatTypeSchema, CHUNK_TYPES, CLAIM_STATUSES, COI_GENERATION_TOOL, CONDITION_TYPES, CONSTRUCTION_TYPES, CONTEXT_KEY_MAP, COVERAGE_COMPARISON_TOOL, COVERAGE_FORMS, COVERAGE_TRIGGERS, type CaseAction, CaseActionSchema, type CaseCitation, CaseCitationSchema, type CaseEvidence, type CaseEvidenceSource, CaseEvidenceSourceSchema, type CaseField, type CaseItem, type CasePacketArtifact, type CasePacketArtifactKind, CasePacketArtifactKindSchema, CasePacketArtifactSchema, type CaseProposal, CaseProposalSchema, type CaseProposalScore, CaseProposalScoreSchema, type CaseState, type CaseSubmissionPacket, CaseSubmissionPacketSchema, type CaseValidationIssue, CaseValidationIssueSchema, type CaseWorkflowPlan, type ChunkFilter, type ChunkType, ChunkTypeSchema, type Citation, CitationSchema, type ClaimRecord, ClaimRecordSchema, type ClaimStatus, ClaimStatusSchema, type ClassificationCode, ClassificationCodeSchema, type CommercialAutoDeclarations, CommercialAutoDeclarationsSchema, type CommercialPropertyDeclarations, CommercialPropertyDeclarationsSchema, type CommunicationIntent, CommunicationIntentSchema, ConditionKeyValueSchema, type ConditionType, ConditionTypeSchema, type ConstructionType, ConstructionTypeSchema, type Contact, ContactSchema, type ContextKeyMapping, type ConversationTurn, type ConvertPdfToImagesFn, type Coverage, type CoverageForm, CoverageFormSchema, CoverageSchema, type CoverageTrigger, CoverageTriggerSchema, type CoverageValueType, CoverageValueTypeSchema, type CoveredReason, CoveredReasonSchema, type CrimeDeclarations, CrimeDeclarationsSchema, type CyberDeclarations, CyberDeclarationsSchema, DEDUCTIBLE_TYPES, DEFENSE_COST_TREATMENTS, DOCUMENT_LOOKUP_TOOL, DOCUMENT_TYPES, type DODeclarations, DODeclarationsSchema, DWELLING_FIRE_FORM_TYPES, type Declarations, DeclarationsSchema, type DeductibleSchedule, DeductibleScheduleSchema, type DeductibleType, DeductibleTypeSchema, type DefenseCostTreatment, DefenseCostTreatmentSchema, type Definition, DefinitionSchema, type DoclingDocumentLike, type DoclingExtractionInput, type DoclingItemLike, type DoclingNodeLike, type DoclingNormalizedUnit, type DoclingProvenanceLike, type DocumentChunk, type DocumentFilters, type DocumentStore, type DocumentTemplate, type DocumentType, DocumentTypeSchema, type DriverRecord, DriverRecordSchema, type DwellingDetails, DwellingDetailsSchema, type DwellingFireDeclarations, DwellingFireDeclarationsSchema, type DwellingFireFormType, DwellingFireFormTypeSchema, ENDORSEMENT_PARTY_ROLES, ENDORSEMENT_TYPES, ENTITY_TYPES, type EarthquakeDeclarations, EarthquakeDeclarationsSchema, type EmbedText, type EmployersLiabilityLimits, EmployersLiabilityLimitsSchema, type Endorsement, type EndorsementParty, type EndorsementPartyRole, EndorsementPartyRoleSchema, EndorsementPartySchema, EndorsementSchema, type EndorsementType, EndorsementTypeSchema, type EnrichedCoverage, EnrichedCoverageSchema, type EnrichedSubjectivity, EnrichedSubjectivitySchema, type EnrichedUnderwritingCondition, EnrichedUnderwritingConditionSchema, type EntityType, EntityTypeSchema, type EvidenceItem, EvidenceItemSchema, type Exclusion, ExclusionSchema, type ExperienceMod, ExperienceModSchema, type ExtendedReportingPeriod, ExtendedReportingPeriodSchema, type ExtractOptions, type ExtractionInput, type ExtractionResult, type ExtractionState, type ExtractorConfig, type ExtractorDef, FLOOD_ZONES, FOUNDATION_TYPES, type FarmRanchDeclarations, FarmRanchDeclarationsSchema, type FieldExtractionResult, FieldExtractionResultSchema, type FieldMapping, type FieldType, FieldTypeSchema, type FlatPdfPlacement, FlatPdfPlacementSchema, type FloodDeclarations, FloodDeclarationsSchema, type FloodZone, FloodZoneSchema, type FormReference, FormReferenceSchema, type FoundationType, FoundationTypeSchema, type GLDeclarations, GLDeclarationsSchema, type GenerateObject, type GeneratePceSubmissionPacketInput, type GenerateText, HOMEOWNERS_FORM_TYPES, type HomeownersDeclarations, HomeownersDeclarationsSchema, type HomeownersFormType, HomeownersFormTypeSchema, type IdentityTheftDeclarations, IdentityTheftDeclarationsSchema, type InsuranceDocument, InsuranceDocumentSchema, type InsuredLocation, InsuredLocationSchema, type InsuredVehicle, InsuredVehicleSchema, type InsurerInfo, InsurerInfoSchema, LIMIT_TYPES, LOSS_SETTLEMENTS, type LimitSchedule, LimitScheduleSchema, type LimitType, LimitTypeSchema, type LocationPremium, LocationPremiumSchema, type LogFn, type LookupFill, type LookupFillResult, LookupFillResultSchema, LookupFillSchema, type LookupRequest, LookupRequestSchema, type LossSettlement, LossSettlementSchema, type LossSummary, LossSummarySchema, MemorySourceStore, type MemoryStore, type MissingInfoQuestion, MissingInfoQuestionSchema, type ModelBudgetConstraint, type ModelBudgetResolution, type ModelCallReport, type ModelCapabilities, type ModelTaskKind, type NamedInsured, NamedInsuredSchema, type NormalizedDoclingDocument, type OrderableSourceEvidence, PERSONAL_AUTO_USAGES, PET_SPECIES, PLATFORM_CONFIGS, POLICY_SECTION_TYPES, POLICY_TERM_TYPES, POLICY_TYPES, type ParsedAnswer, ParsedAnswerSchema, type PaymentInstallment, PaymentInstallmentSchema, type PaymentPlan, PaymentPlanSchema, type PceAgentConfig, type PceCaseState, PceCaseStateSchema, type PceEvidenceSource, type PceExecutionModePreference, type PceMissingInfoQuestion, type PceNormalizationResult, PceNormalizationResultSchema, type PceQualityGateStatus, type PceQualityReport, type PceSubmissionPacket, PceSubmissionPacketSchema, type PceValidationIssue, type PdfInput, type PerformanceReport, type PersonalArticlesDeclarations, PersonalArticlesDeclarationsSchema, type PersonalAutoDeclarations, PersonalAutoDeclarationsSchema, type PersonalAutoUsage, PersonalAutoUsageSchema, type PersonalUmbrellaDeclarations, PersonalUmbrellaDeclarationsSchema, type PersonalVehicleDetails, PersonalVehicleDetailsSchema, type PetDeclarations, PetDeclarationsSchema, type PetSpecies, PetSpeciesSchema, type PipelineCheckpoint, type PipelineContext, type PipelineContextOptions, type Platform, type PlatformConfig, PlatformSchema, type PolicyChangeAction, PolicyChangeActionSchema, type PolicyChangeConfidence, PolicyChangeConfidenceSchema, type PolicyChangeImpact, PolicyChangeImpactSchema, type PolicyChangeItem, PolicyChangeItemSchema, type PolicyChangeKind, PolicyChangeKindSchema, type PolicyChangeMissingInfoQuestion, type PolicyChangePacket, type PolicyChangeRequest, PolicyChangeRequestSchema, type PolicyChangeState, type PolicyChangeStatus, PolicyChangeStatusSchema, type PolicyChangeValidationIssue, type PolicyCondition, PolicyConditionSchema, type PolicyDocument, PolicyDocumentSchema, type PolicySectionType, PolicySectionTypeSchema, type PolicyTermType, PolicyTermTypeSchema, type PolicyType, PolicyTypeSchema, type PremiumLine, PremiumLineSchema, type PriorAnswer, type ProcessApplicationInput, type ProcessApplicationResult, type ProcessPceChangeRequestInput, type ProcessPceChangeRequestResult, type ProcessPceReplyInput, type ProcessPceReplyResult, type ProcessReplyInput, type ProcessReplyResult, type ProducerInfo, ProducerInfoSchema, type ProfessionalLiabilityDeclarations, ProfessionalLiabilityDeclarationsSchema, QUOTE_SECTION_TYPES, type QueryAttachment, type QueryAttachmentKind, QueryAttachmentKindSchema, QueryAttachmentSchema, type QueryClassifyResult, QueryClassifyResultSchema, type QueryConfig, type QueryInput, type QueryIntent, QueryIntentSchema, type QueryOutput, type QueryResult, QueryResultSchema, type QueryRetrievalMode, QueryRetrievalModeSchema, type QuestionBatchResult, QuestionBatchResultSchema, type QuoteDocument, QuoteDocumentSchema, type QuoteSectionType, QuoteSectionTypeSchema, RATING_BASIS_TYPES, ROOF_TYPES, type RVType, RVTypeSchema, RV_TYPES, type RatingBasis, RatingBasisSchema, type RatingBasisType, RatingBasisTypeSchema, type RecreationalVehicleDeclarations, RecreationalVehicleDeclarationsSchema, type ReplyIntent, ReplyIntentSchema, type ResolveModelBudgetParams, type RetrievalResult, RetrievalResultSchema, type RoofType, RoofTypeSchema, SCHEDULED_ITEM_CATEGORIES, SUBJECTIVITY_CATEGORIES, type SafeGenerateOptions, type SafeGenerateParams, type ScheduledItemCategory, ScheduledItemCategorySchema, type Section, SectionSchema, type SectionSourceSpanOptions, type SharedLimit, SharedLimitSchema, type SourceChunk, type SourceChunkOptions, SourceChunkSchema, type SourceKind, SourceKindSchema, type SourcePageInput, type SourceRetrievalMode, type SourceRetrievalQuery, type SourceRetrievalResult, type SourceRetriever, type SourceSpan, type SourceSpanBBox, SourceSpanBBoxSchema, type SourceSpanIdInput, type SourceSpanKind, SourceSpanKindSchema, type SourceSpanLocation, SourceSpanLocationSchema, type SourceSpanRef, SourceSpanRefSchema, SourceSpanSchema, type SourceStore, type SourceTextUnitInput, type SubAnswer, SubAnswerSchema, type SubQuestion, SubQuestionSchema, type Subjectivity, type SubjectivityCategory, SubjectivityCategorySchema, SubjectivitySchema, type Sublimit, SublimitSchema, type Subsection, SubsectionSchema, TITLE_POLICY_TYPES, type TaxFeeItem, TaxFeeItemSchema, type TextOverlay, type TitleDeclarations, TitleDeclarationsSchema, type TitlePolicyType, TitlePolicyTypeSchema, type TokenUsage, type ToolDefinition, type TravelDeclarations, TravelDeclarationsSchema, type UmbrellaExcessDeclarations, UmbrellaExcessDeclarationsSchema, type UnderwritingCondition, UnderwritingConditionSchema, VALUATION_METHODS, VEHICLE_COVERAGE_TYPES, type ValidationIssueSeverity, ValidationIssueSeveritySchema, type ValuationMethod, ValuationMethodSchema, type VehicleCoverage, VehicleCoverageSchema, type VehicleCoverageType, VehicleCoverageTypeSchema, type VerifyResult, VerifyResultSchema, type WatercraftDeclarations, WatercraftDeclarationsSchema, type WorkersCompDeclarations, WorkersCompDeclarationsSchema, buildAcroFormMappingPrompt, buildAgentSystemPrompt, buildAnswerParsingPrompt, buildAutoFillPrompt, buildBatchEmailGenerationPrompt, buildClassifyMessagePrompt, buildCoiRoutingPrompt, buildConfirmationSummaryPrompt, buildConversationMemoryGuidance, buildCoverageGapPrompt, buildDoclingProviderOptions, buildFieldExplanationPrompt, buildFieldExtractionPrompt, buildFlatPdfMappingPrompt, buildFormattingPrompt, buildIdentityPrompt, buildIntentPrompt, buildInterpretAttachmentPrompt, buildLookupFillPrompt, buildPageSourceSpans, buildPceNormalizePrompt, buildPceQualityReport, buildPceReplyPrompt, buildPceSubmissionPacket, buildPdfProviderOptions, buildQueryClassifyPrompt, buildQuestionBatchPrompt, buildQuotesPoliciesPrompt, buildReasonPrompt, buildReplyIntentClassificationPrompt, buildRespondPrompt, buildSafetyPrompt, buildSectionSourceSpans, buildSourceSpan, buildSourceSpanId, buildTextSourceSpans, buildVerifyPrompt, chunkDocument, chunkSourceSpans, collectPceEvidenceSources, compareSourceEvidence, createApplicationPipeline, createExtractor, createPceAgent, createPipelineContext, createQueryAgent, evaluateCaseProposals, evidenceContainsQuote, extractPageRange, fillAcroForm, generateNextMessage, getAcroFormFields, getDoclingPageRangeText, getExtractor, getFileIdentifier, getPdfPageCount, getTemplate, isDoclingExtractionInput, isFileReference, mergeQuestionAnswers, mergeSourceSpans, normalizeDoclingDocument, normalizeForMatch, orderSourceEvidence, overlayTextOnPdf, pLimit, pdfInputToBase64, pdfInputToBytes, processReply, resolveModelBudget, safeGenerateObject, sanitizeNulls, scoreCaseProposal, selectPceExecutionMode, sourceSpanTextHash, stableCaseId, stableHash, stablePolicyChangeItemId, stableStringify, stripFences, toStrictSchema, validateEvidence, validatePceItems, validateQuotedEvidence, withRetry };
|